]> andersk Git - nss_nonlocal.git/blobdiff - configure.ac
Guard one-time initialization with memory barriers
[nss_nonlocal.git] / configure.ac
index 912830feaa750c940b957acac45b6f87616d6b9b..317c921fcd57ac01466723c9da9e0c695237553a 100644 (file)
@@ -1,8 +1,23 @@
-AC_INIT([nss_nonlocal], [1.7], [andersk@mit.edu])
+AC_INIT([nss_nonlocal], [2.0], [andersk@mit.edu])
+AC_CANONICAL_TARGET
+AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 
 AC_PREFIX_DEFAULT([/])
+AC_DISABLE_STATIC
 AC_PROG_CC
-AC_PROG_INSTALL
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+AC_PROG_LIBTOOL
 
+AC_HEADER_STDBOOL
+
+case "$target_cpu" in
+    i386 | i486 | i586 | i686 | i786)
+       AC_DEFINE([USE_REGPARMS], [],
+                 [Define if the regparm attribute shall be used for local functions (gcc on ix86 only).])
+       ;;
+esac
+
+AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT
This page took 0.023906 seconds and 4 git commands to generate.