Commit 79589009 authored by Manish Singh's avatar Manish Singh

sinclude by hand to work around automake 1.3 bug

-Yosh
parent d40e9625
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>
......
......@@ -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
......
......@@ -27,5 +27,3 @@ AC_SUBST(GIMP)
AC_SUBST(GIMPTOOL)
AC_SUBST(GIMP_CFLAGS)
AC_SUBST(GIMP_LIBS)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment