comparison configure.in @ 91567:03a17567381d

Tom Tromey <tromey at redhat.com> (--with-gcc): Remove.
author Glenn Morris <rgm@gnu.org>
date Wed, 06 Feb 2008 07:53:19 +0000
parents cdc08d88f810
children 4a3d0b905c9e
comparison
equal deleted inserted replaced
91566:0f2aa8d80ecc 91567:03a17567381d
67 dnl HELP-STRING is the help text for the option. 67 dnl HELP-STRING is the help text for the option.
68 AC_DEFUN([OPTION_DEFAULT_ON], [dnl 68 AC_DEFUN([OPTION_DEFAULT_ON], [dnl
69 AC_ARG_WITH([$1],[AS_HELP_STRING([--without-$1],[$2])],[],[dnl 69 AC_ARG_WITH([$1],[AS_HELP_STRING([--without-$1],[$2])],[],[dnl
70 m4_bpatsubst([with_$1], [[^0-9a-z]], [_])=yes])dnl 70 m4_bpatsubst([with_$1], [[^0-9a-z]], [_])=yes])dnl
71 ])dnl 71 ])dnl
72
73 dnl By default, neither off nor on.
74 AC_ARG_WITH([gcc],
75 [AS_HELP_STRING([--without-gcc],
76 [don't use GCC to compile Emacs even if GCC is found])])
77 72
78 OPTION_DEFAULT_ON([pop],[don't support POP mail retrieval with movemail]) 73 OPTION_DEFAULT_ON([pop],[don't support POP mail retrieval with movemail])
79 if test "$with_pop" = yes; then 74 if test "$with_pop" = yes; then
80 AC_DEFINE(MAIL_USE_POP) 75 AC_DEFINE(MAIL_USE_POP)
81 fi 76 fi
824 test -n "$CC" && cc_specified=yes 819 test -n "$CC" && cc_specified=yes
825 820
826 # Save the value of CFLAGS that the user specified. 821 # Save the value of CFLAGS that the user specified.
827 SPECIFIED_CFLAGS="$CFLAGS" 822 SPECIFIED_CFLAGS="$CFLAGS"
828 823
829 case ${with_gcc} in
830 "yes" ) CC="gcc" GCC=yes ;;
831 "no" ) : ${CC=cc} ;;
832 * )
833 esac
834 AC_PROG_CC 824 AC_PROG_CC
835 825
836 # On Suns, sometimes $CPP names a directory. 826 # On Suns, sometimes $CPP names a directory.
837 if test -n "$CPP" && test -d "$CPP"; then 827 if test -n "$CPP" && test -d "$CPP"; then
838 CPP= 828 CPP=