comparison 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
comparison
equal deleted inserted replaced
89:03e0eebe5bb8 90:99da576a67e7
1137 * ) opsys=hpux ;; 1137 * ) opsys=hpux ;;
1138 esac 1138 esac
1139 ;; 1139 ;;
1140 esac 1140 esac
1141 1141
1142 if [ $opsys = hpux10 ]; then
1143 NON_GNU_CC="cc -Ae"
1144 NON_GNU_CPP="cc -Ae -E"
1145 fi
1146
1142 case "${canonical}" in *-hp-hpux*shr* ) opsys="${opsys}-shr" ;; esac 1147 case "${canonical}" in *-hp-hpux*shr* ) opsys="${opsys}-shr" ;; esac
1143 ;; 1148 ;;
1144 1149
1145 hppa-*-nextstep* ) machine=hp800 opsys=nextstep ;; 1150 hppa-*-nextstep* ) machine=hp800 opsys=nextstep ;;
1146 1151
1594 # it omits the redirection of all output to /dev/null. 1599 # it omits the redirection of all output to /dev/null.
1595 ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS' 1600 ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS'
1596 fi 1601 fi
1597 1602
1598 #### Choose a compiler. 1603 #### Choose a compiler.
1599 if test "x$CC" = x ; then 1604 if test "x$CC" != x ; then
1600 cc_specified=1 1605 cc_specified=1
1601 fi 1606 fi
1602 1607
1603 # Save the value of CFLAGS that the user specified. 1608 # Save the value of CFLAGS that the user specified.
1604 SPECIFIED_CFLAGS="$CFLAGS" 1609 SPECIFIED_CFLAGS="$CFLAGS"
3668 ac_save_LIBS="${LIBS}" 3673 ac_save_LIBS="${LIBS}"
3669 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm" 3674 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm"
3670 if test ${machine} = sparc -a ${opsys} = linux; then 3675 if test ${machine} = sparc -a ${opsys} = linux; then
3671 LIBS="${LIBS} -lICE -lSM" 3676 LIBS="${LIBS} -lICE -lSM"
3672 fi 3677 fi
3678 ac_have_lib=""
3679 cat > conftest.${ac_ext} <<EOF
3680 int main() { return 0; }
3681 EOF
3682 if eval $ac_compile; then
3683 rm -rf conftest*
3684 ac_have_lib="1"
3685 fi
3686 rm -f conftest*
3687 LIBS="${ac_save_LIBS}"
3688 test -n "${ac_have_lib}" && with_xmu="yes"
3689 # end expansion of ac_have_library
3690 fi
3691 # Sparc/Linux test - fp
3692 if test "${with_xmu}" != "yes" -a ${machine} = sparc -a ${opsys} = linux; then
3693 # begin expansion of ac_have_library
3694 ac_save_LIBS="${LIBS}"
3695 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm -lICE -lSM"
3673 ac_have_lib="" 3696 ac_have_lib=""
3674 cat > conftest.${ac_ext} <<EOF 3697 cat > conftest.${ac_ext} <<EOF
3675 int main() { return 0; } 3698 int main() { return 0; }
3676 EOF 3699 EOF
3677 if eval $ac_compile; then 3700 if eval $ac_compile; then