Mercurial > hg > xemacs-beta
comparison configure.in @ 1651:d3af5b868526
[xemacs-hg @ 2003-08-28 15:45:20 by james]
The usual second commit for the toplevel due to unknown brain damage.
author | james |
---|---|
date | Thu, 28 Aug 2003 15:45:30 +0000 |
parents | baca156a450b |
children | 6265c9c31f53 |
comparison
equal
deleted
inserted
replaced
1650:34abfb24e891 | 1651:d3af5b868526 |
---|---|
3182 dnl o XEMACS_CC environment variable | 3182 dnl o XEMACS_CC environment variable |
3183 dnl o same as the regular compiler, (determined previously) | 3183 dnl o same as the regular compiler, (determined previously) |
3184 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" | 3184 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" |
3185 : ${XEMACS_CC:="$CC"} | 3185 : ${XEMACS_CC:="$CC"} |
3186 | 3186 |
3187 dnl If g++ is used, we have to explicitly link modules with -lstdc++ on Cygwin | |
3188 dnl to avoid undefined symbol errors. This will never hurt, so just do it on | |
3189 dnl all platforms in case others have the same brain damage. | |
3190 if test "$xemacs_compiler" = "g++"; then | |
3191 LIBSTDCPP=-lstdc++ | |
3192 else | |
3193 LIBSTDCPP= | |
3194 fi | |
3195 AC_SUBST(LIBSTDCPP) | |
3196 | |
3187 dnl Autodetect dll support | 3197 dnl Autodetect dll support |
3188 dnl This must come before the detection code for anything that is in a module | 3198 dnl This must come before the detection code for anything that is in a module |
3189 if test "$with_modules" != "no"; then | 3199 if test "$with_modules" != "no"; then |
3190 AC_CHECKING(for module support) | 3200 AC_CHECKING(for module support) |
3191 | 3201 |