Mercurial > hg > sonic-visualiser
comparison configure.ac @ 405:85466530456a
* Update config per recent changes to svcore
author | Chris Cannam |
---|---|
date | Tue, 08 Mar 2011 11:31:39 +0000 |
parents | 101f05420cba |
children | 8f0c1b0f17fa |
comparison
equal
deleted
inserted
replaced
404:4dc48a12fe79 | 405:85466530456a |
---|---|
8 # the user's preferences. We need to ensure CXXFLAGS is only set if | 8 # the user's preferences. We need to ensure CXXFLAGS is only set if |
9 # the user has expressly set it. So, save the user's (or empty) | 9 # the user has expressly set it. So, save the user's (or empty) |
10 # setting now and restore it after Autoconf has done its bit of | 10 # setting now and restore it after Autoconf has done its bit of |
11 # piddling about. | 11 # piddling about. |
12 USER_CXXFLAGS="$CXXFLAGS" | 12 USER_CXXFLAGS="$CXXFLAGS" |
13 | |
14 # If the user supplied CFLAGS but not CXXFLAGS, use CFLAGS instead | |
15 if test x"$USER_CXXFLAGS" = x; then | |
16 if test x"$CFLAGS" != x; then | |
17 USER_CXXFLAGS="$CFLAGS" | |
18 fi | |
19 fi | |
13 | 20 |
14 AC_LANG_CPLUSPLUS | 21 AC_LANG_CPLUSPLUS |
15 | 22 |
16 AC_PROG_CC | 23 AC_PROG_CC |
17 AC_PROG_CXX | 24 AC_PROG_CXX |