diff options
author | Josh Blum | 2010-09-26 22:53:39 -0700 |
---|---|---|
committer | Josh Blum | 2010-09-26 22:53:39 -0700 |
commit | 37f8cc6c26709dc04cc787d631543972805edb4c (patch) | |
tree | a250f971417662b2e11233c54cabe23129825cf9 | |
parent | d2452adf306502b1f7489f49454e8814bc84c6d4 (diff) | |
download | gnuradio-37f8cc6c26709dc04cc787d631543972805edb4c.tar.gz gnuradio-37f8cc6c26709dc04cc787d631543972805edb4c.tar.bz2 gnuradio-37f8cc6c26709dc04cc787d631543972805edb4c.zip |
possible prefix = NONE fix
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4ec2644ee..0bf807287 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,13 @@ dnl Boston, MA 02110-1301, USA. AC_INIT AC_PREREQ(2.57) + +dnl Set the prefix to the default when --prefix is not specified. +dnl This is critical for variable substitutions in the configure. +if test "${prefix}" = "NONE"; then + prefix=${ac_default_prefix} +fi + AM_CONFIG_HEADER(config.h) AC_CONFIG_SRCDIR([gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc]) |