--- dia-0.97.3/configure.in +++ dia-0.97.3/configure.in @@ -1,13 +1,17 @@ dnl Process this -*- autoconf -*- file with autoconf to produce a dnl configure script. -AC_INIT(dia, 0.97.3, http://bugzilla.gnome.org/enter_bug.cgi?product=dia) +AC_INIT([dia],[0.97.3],[http://bugzilla.gnome.org/enter_bug.cgi?product=dia]) AC_CONFIG_SRCDIR(app/diagram.c) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME,AC_PACKAGE_VERSION) m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) -AC_PREREQ(2.50) +AC_PREREQ([2.69]) AC_REVISION($Revision: 1.288 $) +AC_CONFIG_MACRO_DIR([m4]) +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.22]) + dnl Specify a header configuration file AC_CONFIG_HEADERS(config.h) @@ -21,7 +25,7 @@ dnl Initialize libtool AC_DISABLE_STATIC -AC_PROG_LIBTOOL +LT_INIT dnl Build time sanity check AM_SANITY_CHECK @@ -31,10 +35,8 @@ AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET -AC_ISC_POSIX +AC_SEARCH_LIBS([strerror],[cposix]) -dnl Checks for header files. -AC_HEADER_STDC AC_CHECK_HEADERS(stddef.h fcntl.h unistd.h utime.h) dnl Checks for typedefs, structures, and compiler characteristics. @@ -95,7 +97,7 @@ AC_MSG_CHECKING([whether GNOME specific code should be used]) AC_ARG_ENABLE(gnome, - AC_HELP_STRING([--enable-gnome],[enable gnome code]),, + AS_HELP_STRING([--enable-gnome],[enable gnome code]),, enable_gnome=no) if test "x$enable_gnome" = "xyes" ; then GTK_MODULES="$GTK_MODULES libgnome-2.0 libgnomeui-2.0" @@ -520,8 +522,7 @@ fi -AC_OUTPUT( -Makefile +AC_CONFIG_FILES([Makefile lib/Makefile lib/pixmaps/Makefile po/Makefile.in @@ -626,7 +627,8 @@ installer/win32/Makefile installer/win32/locale/Makefile dia.keys -) +]) +AC_OUTPUT dnl GTK2: simplify this, we will have much less options. echo "