Mercurial > hg > xemacs-beta
comparison configure.in @ 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 |
comparison
equal
deleted
inserted
replaced
89:03e0eebe5bb8 | 90:99da576a67e7 |
---|---|
1143 * ) opsys=hpux ;; | 1143 * ) opsys=hpux ;; |
1144 esac | 1144 esac |
1145 ;; | 1145 ;; |
1146 esac | 1146 esac |
1147 | 1147 |
1148 if [ $opsys = hpux10 ]; then | |
1149 NON_GNU_CC="cc -Ae" | |
1150 NON_GNU_CPP="cc -Ae -E" | |
1151 fi | |
1152 | |
1148 case "${canonical}" in *-hp-hpux*shr* ) opsys="${opsys}-shr" ;; esac | 1153 case "${canonical}" in *-hp-hpux*shr* ) opsys="${opsys}-shr" ;; esac |
1149 ;; | 1154 ;; |
1150 | 1155 |
1151 hppa-*-nextstep* ) machine=hp800 opsys=nextstep ;; | 1156 hppa-*-nextstep* ) machine=hp800 opsys=nextstep ;; |
1152 | 1157 |
1614 # it omits the redirection of all output to /dev/null. | 1619 # it omits the redirection of all output to /dev/null. |
1615 ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS' | 1620 ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS' |
1616 fi | 1621 fi |
1617 | 1622 |
1618 #### Choose a compiler. | 1623 #### Choose a compiler. |
1619 if test "x$CC" = x ; then | 1624 if test "x$CC" != x ; then |
1620 cc_specified=1 | 1625 cc_specified=1 |
1621 fi | 1626 fi |
1622 | 1627 |
1623 # Save the value of CFLAGS that the user specified. | 1628 # Save the value of CFLAGS that the user specified. |
1624 SPECIFIED_CFLAGS="$CFLAGS" | 1629 SPECIFIED_CFLAGS="$CFLAGS" |
2368 ac_save_LIBS="${LIBS}" | 2373 ac_save_LIBS="${LIBS}" |
2369 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm" | 2374 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm" |
2370 if test ${machine} = sparc -a ${opsys} = linux; then | 2375 if test ${machine} = sparc -a ${opsys} = linux; then |
2371 LIBS="${LIBS} -lICE -lSM" | 2376 LIBS="${LIBS} -lICE -lSM" |
2372 fi | 2377 fi |
2378 ac_have_lib="" | |
2379 cat > conftest.${ac_ext} <<EOF | |
2380 int main() { return 0; } | |
2381 EOF | |
2382 if eval $ac_compile; then | |
2383 rm -rf conftest* | |
2384 ac_have_lib="1" | |
2385 fi | |
2386 rm -f conftest* | |
2387 LIBS="${ac_save_LIBS}" | |
2388 test -n "${ac_have_lib}" && with_xmu="yes" | |
2389 # end expansion of ac_have_library | |
2390 fi | |
2391 # Sparc/Linux test - fp | |
2392 if test "${with_xmu}" != "yes" -a ${machine} = sparc -a ${opsys} = linux; then | |
2393 # begin expansion of ac_have_library | |
2394 ac_save_LIBS="${LIBS}" | |
2395 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm -lICE -lSM" | |
2373 ac_have_lib="" | 2396 ac_have_lib="" |
2374 cat > conftest.${ac_ext} <<EOF | 2397 cat > conftest.${ac_ext} <<EOF |
2375 int main() { return 0; } | 2398 int main() { return 0; } |
2376 EOF | 2399 EOF |
2377 if eval $ac_compile; then | 2400 if eval $ac_compile; then |