shithub: sox

Download patch

ref: 0354585d13e522d7d03fa784d7ed1f03984595f2
parent: 52135872f325d3053d4d27ec5833908a124ee5c2
author: cbagwell <cbagwell>
date: Sun Dec 27 22:12:09 EST 2009

Move all AM_CONDITIONAL()'s to before call to AC_CONFIG_FILES().
Some version of tools require this.

--- a/configure.ac
+++ b/configure.ac
@@ -565,8 +565,8 @@
 AC_SUBST(SYMLINKS)
 AC_SUBST(PLAYRECLINKS)
 
+AM_CONDITIONAL(STATIC_LIBSOX_ONLY, test "$enable_shared" = "no" -a "$enable_static" = "yes")
 
-
 dnl Generate output files.
 AX_CREATE_STDINT_H(src/soxstdint.h)
 AC_CONFIG_FILES(Makefile src/Makefile libgsm/Makefile lpc10/Makefile sox.pc)
@@ -593,8 +593,6 @@
 else
   pkgconfig_option="$with_pkgconfigdir"
 fi
-
-AM_CONDITIONAL(STATIC_LIBSOX_ONLY, test "$enable_shared" = "no" -a "$enable_static" = "yes")
 
 # Report configuration.
 echo