Mercurial > hg > xemacs-beta
diff configure @ 90:99da576a67e7 xemacs-20-0
Import from CVS: tag xemacs-20-0
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:10:46 +0200 |
parents | 821dec489c24 |
children | 6a43545367ac |
line wrap: on
line diff
--- a/configure Mon Aug 13 09:10:01 2007 +0200 +++ b/configure Mon Aug 13 09:10:46 2007 +0200 @@ -1139,6 +1139,11 @@ ;; esac + if [ $opsys = hpux10 ]; then + NON_GNU_CC="cc -Ae" + NON_GNU_CPP="cc -Ae -E" + fi + case "${canonical}" in *-hp-hpux*shr* ) opsys="${opsys}-shr" ;; esac ;; @@ -1596,7 +1601,7 @@ fi #### Choose a compiler. -if test "x$CC" = x ; then +if test "x$CC" != x ; then cc_specified=1 fi @@ -3683,6 +3688,24 @@ test -n "${ac_have_lib}" && with_xmu="yes" # end expansion of ac_have_library fi + # Sparc/Linux test - fp + if test "${with_xmu}" != "yes" -a ${machine} = sparc -a ${opsys} = linux; then + # begin expansion of ac_have_library + ac_save_LIBS="${LIBS}" + LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm -lICE -lSM" + ac_have_lib="" + cat > conftest.${ac_ext} <<EOF +int main() { return 0; } +EOF + if eval $ac_compile; then + rm -rf conftest* + ac_have_lib="1" + fi + rm -f conftest* + LIBS="${ac_save_LIBS}" + test -n "${ac_have_lib}" && with_xmu="yes" + # end expansion of ac_have_library + fi # On UnixWare 2.1 we must kludge harder to try to detect Xmu # Upgrade to autoconf 2 and use ac_check_lib - mrb if test "${with_xmu}" != "yes" && test -f "/.UpgradeVer2.1" ; then