index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2012-07-16 14:24:29 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-08-01 09:16:46 -0500 |
commit | d2669b47812aebfe3ada7df4c7d7525790ef9c33 (patch) | |
tree | ac0640af441883a043a468704895ea5cd7862755 /configure.ac | |
parent | e94876089a934fde13984b59e735b35f92837d96 (diff) |
-rw-r--r-- | configure.ac | 5 |
diff --git a/configure.ac b/configure.ac index 5483ee15..7fe696a9 100644 --- a/configure.ac +++ b/configure.ac @@ -66,6 +66,11 @@ LT_INIT LIB_VERSION=`expr lib_current - lib_age`.lib_age.lib_revision LIB_VERSION_INFO="lib_current:lib_revision:lib_age" +# Respect empty CFLAGS during compiler tests +if test "x$CFLAGS" != "x"; then + CFLAGS="" +fi + # Set subsitution values for version stuff in Makefiles and anywhere else, # and put LIB_VERSION in config.h AC_SUBST(LIB_VERSION) |