Mercurial > hg > svgui
comparison configure.ac @ 579:b716527bb0c9
* Update config per recent changes to svcore
author | Chris Cannam |
---|---|
date | Tue, 08 Mar 2011 11:28:53 +0000 |
parents | 462e4f59c261 |
children | 6948c3cc151e |
comparison
equal
deleted
inserted
replaced
578:e2211947cbfd | 579:b716527bb0c9 |
---|---|
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 |