diff options
author | Frederic Lepied <flepied@mandriva.com> | 2001-07-31 05:30:56 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2001-07-31 05:30:56 +0000 |
commit | 8872a532d7b144d3e2cf655db6a1644f656033b0 (patch) | |
tree | 65a0e6d6cf0a273463592e9d9be326239f2b0bcd /eazel-engine/configure.in | |
parent | fb41d7e8913e99b3f4962d8916578ae60e0c0ce0 (diff) | |
download | common-data-8872a532d7b144d3e2cf655db6a1644f656033b0.tar common-data-8872a532d7b144d3e2cf655db6a1644f656033b0.tar.gz common-data-8872a532d7b144d3e2cf655db6a1644f656033b0.tar.bz2 common-data-8872a532d7b144d3e2cf655db6a1644f656033b0.tar.xz common-data-8872a532d7b144d3e2cf655db6a1644f656033b0.zip |
Initial revision
Diffstat (limited to 'eazel-engine/configure.in')
-rw-r--r-- | eazel-engine/configure.in | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/eazel-engine/configure.in b/eazel-engine/configure.in new file mode 100644 index 0000000..e11c9cd --- /dev/null +++ b/eazel-engine/configure.in @@ -0,0 +1,68 @@ +AC_INIT(src/eazel-theme.h) + +# Save this value here, since automake will set cflags later +cflags_set=${CFLAGS+set} + +AM_INIT_AUTOMAKE(eazel-engine, 0.3) +AM_CONFIG_HEADER(config.h) + +dnl Initialize maintainer mode +AM_MAINTAINER_MODE + +ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" + +AC_CANONICAL_HOST + +AC_PROG_CC +AM_PROG_CC_STDC +AC_PROG_INSTALL +AC_PROG_MAKE_SET + +dnl Initialize libtool +AM_DISABLE_STATIC +AM_PROG_LIBTOOL + +# Checks for programs. +AM_PATH_GTK +AM_PATH_GDK_PIXBUF + +CAPPLET_CFLAGS=`gnome-config --cflags gnomeui capplet` +CAPPLET_LIBS=`gnome-config --libs gnomeui capplet` +AC_SUBST(CAPPLET_CFLAGS) +AC_SUBST(CAPPLET_LIBS) + +GNOME_CFLAGS=`gnome-config --cflags gnomeui libglade` +GNOME_LIBS=`gnome-config --libs gnomeui libglade` +AC_SUBST(GNOME_CFLAGS) +AC_SUBST(GNOME_LIBS) + +# Checks for header files. +AC_HEADER_STDC + +# Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST + +# Checks for endianness (needed by GdkRgb). +AC_C_BIGENDIAN + +# Checks for library functions. +AC_TYPE_SIGNAL +AC_FUNC_MMAP +AC_FUNC_ALLOCA +AC_CHECK_FUNCS(setenv putenv) + +# If using GCC and it doesn't look as though the cflags have been +# set explicitly, add some warning options +if test "x${GCC}" = "xyes" -a "x$CFLAGS" = "x-g -O2"; then + CFLAGS="${CFLAGS} -Wall -Wmissing-prototypes" +fi + +AC_OUTPUT([ +eazel-engine.spec +Makefile +src/Makefile +capplet/Makefile +data/Makefile +Crux/Makefile +Crux/gtk/Makefile +]) |