sinclude by hand to work around automake 1.3 bug

-Yosh
This commit is contained in:
Manish Singh 1998-10-25 05:07:09 +00:00
parent d40e962505
commit 79589009bd
4 changed files with 39 additions and 4 deletions

View File

@ -1,3 +1,7 @@
Sat Oct 24 22:05:16 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: sinclude by hand to work around automake 1.3 bug
Sat Oct 24 14:53:19 EDT 1998 Adrian Likins <adrian@gimp.org>
* app/plug_in.c: fix from Tor Lillqvist <tml@iki.fi>

View File

@ -482,8 +482,40 @@ if eval "test x$enable_perl != xno"; then
IN_GIMP=1
EXTENSIVE_TESTS=0
dnl include the autoconf fragment from there
sinclude(plug-ins/perl/etc/configure.frag)
dnl This doesn't work with automake 1.3 due to a bug, so for now we'll
dnl include it by hand
dnl sinclude(plug-ins/perl/etc/configure.frag)
AC_CHECK_FUNCS(vsnprintf,AC_DEFINE(HAVE_VSNPRINTF),[
AC_MSG_WARN(vsnprintf not found.. I hope you are using gcc...)
])
dnl disable some warnings I don't want to see
if test "x$GCC" = xyes; then
nowarn="-Wno-parentheses -Wno-unused -Wno-uninitialized"
GIMP_CFLAGS="$GIMP_CFLAGS $nowarn"
GIMP_CFLAGS_NOUI="$GIMP_CFLAGS"
fi
AC_SUBST(EXTENSIVE_TESTS)dnl from Makefile.PL
AC_SUBST(CPPFLAGS)
AC_SUBST(CFLAGS)
AC_SUBST(LDFLAGS)
AC_SUBST(prefix)
AC_SUBST(IN_GIMP)
AC_SUBST(GIMP_CFLAGS)
AC_SUBST(GIMP_CFLAGS_NOUI)
AC_SUBST(GIMP_LIBS)
AC_SUBST(GIMP_LIBS_NOUI)
AC_SUBST(PERL)
AC_SUBST(GIMP)
AC_SUBST(GIMPTOOL)
AC_SUBST(GIMP_CFLAGS)
AC_SUBST(GIMP_LIBS)
dnl we ignore prefix
echo "echo invoking perl for configuration..." >plug-ins/perl/config.status
echo "$PERL Makefile.PL --writemakefile" >>plug-ins/perl/config.status

1
plug-ins/perl/.cvsignore Normal file
View File

@ -0,0 +1 @@
config.pl

View File

@ -27,5 +27,3 @@ AC_SUBST(GIMP)
AC_SUBST(GIMPTOOL)
AC_SUBST(GIMP_CFLAGS)
AC_SUBST(GIMP_LIBS)