dnl Process this file with autoconf to produce a configure script.
AC_INIT(brushes/flower.gbr)

AM_INIT_AUTOMAKE(gimp-data-extras, 0.99.17)

gimpdatadir=$datadir/gimp

brushdata=`ls -1 brushes | grep -v Makefile`
gradientdata=`ls -1 gradients | grep -v Makefile`
palettedata=`ls -1 palettes | grep -v Makefile`
patterndata=`ls -1 patterns | grep -v Makefile`

brushdata=`echo $brushdata`
gradientdata=`echo $gradientdata`
palettedata=`echo $palettedata`
patterndata=`echo $patterndata`

AC_SUBST(gimpdatadir)
AC_SUBST(brushdata)
AC_SUBST(gradientdata)
AC_SUBST(palettedata)
AC_SUBST(patterndata)

dnl Output the Makefiles
AC_OUTPUT(Makefile brushes/Makefile gradients/Makefile palettes/Makefile patterns/Makefile, [test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h])
