Added gnulib and gnulib stdint module.
[portablexdr.git] / configure.ac
index 95d2f2b..27b51e8 100644 (file)
@@ -1,17 +1,29 @@
-AC_INIT(portablexdr, 5.0.0)
+AC_INIT(portablexdr, 4.9.2)
 AM_INIT_AUTOMAKE
 
 AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_MACRO_DIR([m4])
 
 AC_CANONICAL_HOST
 AC_PROG_CC
-AC_CHECK_PROGS(AR, ar)
+gl_EARLY
+
+AM_PROG_CC_C_O
+
 AC_PROG_INSTALL
 AC_PROG_LIBTOOL
 
 AC_PROG_LEX
 AC_PROG_YACC
 
+gl_INIT
+
+AC_TYPE_SIZE_T
+AC_TYPE_SSIZE_T
+AC_TYPE_OFF_T
+
+AC_CHECK_PROGS(AR, ar)
+
 dnl Look for an external 'cpp' program which can run on a file with any
 dnl extension.  The normal CPP can only run on files with a '.c'
 dnl extension, therefore we prefer to use /usr/bin/cpp if it exists.
@@ -33,5 +45,5 @@ AC_SUBST(MINGW_EXTRA_LDFLAGS)
 AC_CHECK_HEADERS([arpa/inet.h sys/param.h])
 AC_CHECK_FUNCS([ntohl htonl ntohs htons])
 
-AC_OUTPUT(Makefile)
-
+AC_CONFIG_FILES([Makefile lib/Makefile])
+AC_OUTPUT