oops, didn't want to change that
[platform/upstream/gnome-common.git] / configure.in
index b618884..ac99c7e 100644 (file)
@@ -1,36 +1,35 @@
-AC_INIT(intl)
+AC_INIT(macros2/gnome-pkgconfig.m4)
 
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(gnome-common, 0.13)
+AM_INIT_AUTOMAKE(gnome-common, 1.2.4)
 
 AM_MAINTAINER_MODE
 
-AM_ACLOCAL_INCLUDE(macros)
+AM_CONDITIONAL(INSIDE_GNOME_COMMON, true)
 
-GNOME_INIT
+AC_DEFUN([AC_FYI], [echo "FYI: " $1])
 
 AC_ISC_POSIX
 AC_PROG_CC
 AC_PROG_CPP
 AC_STDC_HEADERS
-AC_ARG_PROGRAM
 AM_PROG_LIBTOOL
 
-GNOME_SUPPORT_CHECKS
+AC_PROG_AWK
 
-dnl ## internationalization support
-dnl ALL_LINGUAS=""
-dnl AM_GNU_GETTEXT
-dnl AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl)
+AC_PATH_PROG(PKG_CONFIG, pkg-config)
+if test "!" -x "$PKG_CONFIG" ; then
+   AC_MSG_ERROR([
+*** You need the latest pkg-config.
+*** Get the latest version of pkg-config from
+*** <http://www.freedesktop.org/software/pkgconfig/>.])
+fi
+AC_SUBST(PKG_CONFIG)
 
-AC_OUTPUT(
+AC_OUTPUT([
 Makefile
-dnl ## internationalization support
-dnl po/Makefile.in
-dnl intl/Makefile
+gnome-common.spec
 macros/Makefile
-support/Makefile
-stamp.h)
+macros2/Makefile
+bin/Makefile
+doc/Makefile])
 
-dnl ## internationalization support
-dnl stamp.h],[sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])