aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-09-13 06:17:31 -0400
committerGlenn Morris2012-09-13 06:17:31 -0400
commit4fa924951b55e6b428e852b62d6c8ef3464ea1dd (patch)
treeb49041e3803f49dc3acdeec0083b676476b6eed4
parent5087f097cd220a82eeeb69de4ef1c642714f3708 (diff)
downloademacs-4fa924951b55e6b428e852b62d6c8ef3464ea1dd.tar.gz
emacs-4fa924951b55e6b428e852b62d6c8ef3464ea1dd.zip
Auto-commit of generated files.
-rw-r--r--autogen/config.in24
-rwxr-xr-xautogen/configure148
2 files changed, 116 insertions, 56 deletions
diff --git a/autogen/config.in b/autogen/config.in
index 99074bd1bc5..f8e4c2bcce3 100644
--- a/autogen/config.in
+++ b/autogen/config.in
@@ -50,9 +50,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
50/* Define to the number of bits in type 'wint_t'. */ 50/* Define to the number of bits in type 'wint_t'. */
51#undef BITSIZEOF_WINT_T 51#undef BITSIZEOF_WINT_T
52 52
53/* Define if FIONREAD should not be used. */
54#undef BROKEN_FIONREAD
55
56/* Define if getwd should not be used. */ 53/* Define if getwd should not be used. */
57#undef BROKEN_GETWD 54#undef BROKEN_GETWD
58 55
@@ -65,18 +62,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
65/* Define if SA_RESTART should only be used in batch mode. */ 62/* Define if SA_RESTART should only be used in batch mode. */
66#undef BROKEN_SA_RESTART 63#undef BROKEN_SA_RESTART
67 64
68/* Define if SIGAIO should not be used. */
69#undef BROKEN_SIGAIO
70
71/* Define if SIGIO should not be used. */
72#undef BROKEN_SIGIO
73
74/* Define if SIGPOLL should not be used. */
75#undef BROKEN_SIGPOLL
76
77/* Define if SIGPTY should not be used. */
78#undef BROKEN_SIGPTY
79
80/* Define if the system is compatible with BSD 4.2. */ 65/* Define if the system is compatible with BSD 4.2. */
81#undef BSD4_2 66#undef BSD4_2
82 67
@@ -1166,9 +1151,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1166/* Define to 1 if your C compiler doesn't accept -c and -o together. */ 1151/* Define to 1 if your C compiler doesn't accept -c and -o together. */
1167#undef NO_MINUS_C_MINUS_O 1152#undef NO_MINUS_C_MINUS_O
1168 1153
1169/* Define if termio.h should not be included. */
1170#undef NO_TERMIO
1171
1172/* Minimum value of NSIG. */ 1154/* Minimum value of NSIG. */
1173#undef NSIG_MINIMUM 1155#undef NSIG_MINIMUM
1174 1156
@@ -1353,6 +1335,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1353/* Define if the system has Unix98 PTYs. */ 1335/* Define if the system has Unix98 PTYs. */
1354#undef UNIX98_PTYS 1336#undef UNIX98_PTYS
1355 1337
1338/* Define to 1 if FIONREAD is usable. */
1339#undef USABLE_FIONREAD
1340
1341/* Define to 1 if SIGIO is usable. */
1342#undef USABLE_SIGIO
1343
1356/* How to get a user's full name. */ 1344/* How to get a user's full name. */
1357#undef USER_FULL_NAME 1345#undef USER_FULL_NAME
1358 1346
diff --git a/autogen/configure b/autogen/configure
index 5f4013e4b88..25391a0469e 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -2062,8 +2062,8 @@ Optional Packages:
2062 string giving default POP mail host 2062 string giving default POP mail host
2063 --without-sound don't compile with sound support 2063 --without-sound don't compile with sound support
2064 --without-sync-input process async input synchronously 2064 --without-sync-input process async input synchronously
2065 --with-x-toolkit=KIT use an X toolkit (KIT one of: yes or gtk, gtk3, 2065 --with-x-toolkit=KIT use an X toolkit (KIT one of: yes or gtk, gtk2,
2066 lucid or athena, motif, no) 2066 gtk3, lucid or athena, motif, no)
2067 --with-wide-int prefer wide Emacs integers (typically 62-bit) 2067 --with-wide-int prefer wide Emacs integers (typically 62-bit)
2068 --without-xpm don't compile with XPM image support 2068 --without-xpm don't compile with XPM image support
2069 --without-jpeg don't compile with JPEG image support 2069 --without-jpeg don't compile with JPEG image support
@@ -3956,11 +3956,13 @@ if test "${with_x_toolkit+set}" = set; then :
3956 a | at | ath | athe | athen | athena ) val=athena ;; 3956 a | at | ath | athe | athen | athena ) val=athena ;;
3957 m | mo | mot | moti | motif ) val=motif ;; 3957 m | mo | mot | moti | motif ) val=motif ;;
3958 g | gt | gtk ) val=gtk ;; 3958 g | gt | gtk ) val=gtk ;;
3959 gtk2 ) val=gtk2 ;;
3959 gtk3 ) val=gtk3 ;; 3960 gtk3 ) val=gtk3 ;;
3960 * ) 3961 * )
3961as_fn_error "\`--with-x-toolkit=$withval' is invalid; 3962as_fn_error "\`--with-x-toolkit=$withval' is invalid;
3962this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or 3963this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk',
3963\`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 3964\`gtk2' or \`gtk3'. \`yes' and \`gtk' are synonyms.
3965\`athena' and \`lucid' are synonyms." "$LINENO" 5
3964 ;; 3966 ;;
3965 esac 3967 esac
3966 with_x_toolkit=$val 3968 with_x_toolkit=$val
@@ -9562,6 +9564,9 @@ case "${window_system}" in
9562 gtk ) with_gtk=yes 9564 gtk ) with_gtk=yes
9563 term_header=gtkutil.h 9565 term_header=gtkutil.h
9564 USE_X_TOOLKIT=none ;; 9566 USE_X_TOOLKIT=none ;;
9567 gtk2 ) with_gtk2=yes
9568 term_header=gtkutil.h
9569 USE_X_TOOLKIT=none ;;
9565 gtk3 ) with_gtk3=yes 9570 gtk3 ) with_gtk3=yes
9566 term_header=gtkutil.h 9571 term_header=gtkutil.h
9567 USE_X_TOOLKIT=none ;; 9572 USE_X_TOOLKIT=none ;;
@@ -10511,7 +10516,9 @@ fi
10511 10516
10512HAVE_GTK=no 10517HAVE_GTK=no
10513GTK_OBJ= 10518GTK_OBJ=
10514if test "${with_gtk3}" = "yes"; then 10519check_gtk2=no
10520gtk3_pkg_errors=
10521if test "${with_gtk3}" = "yes" || test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
10515 GLIB_REQUIRED=2.28 10522 GLIB_REQUIRED=2.28
10516 GTK_REQUIRED=3.0 10523 GTK_REQUIRED=3.0
10517 GTK_MODULES="gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" 10524 GTK_MODULES="gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
@@ -10566,19 +10573,22 @@ $as_echo "no" >&6; }
10566 pkg_check_gtk=no 10573 pkg_check_gtk=no
10567 fi 10574 fi
10568 10575
10569 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 10576 if test "$pkg_check_gtk" = "no" && test "$with_gtk3" = "yes"; then
10570 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 10577 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5
10571 fi 10578 fi
10579 if test "$pkg_check_gtk" = "yes"; then
10572 10580
10573$as_echo "#define HAVE_GTK3 1" >>confdefs.h 10581$as_echo "#define HAVE_GTK3 1" >>confdefs.h
10574 10582
10575 GTK_OBJ=emacsgtkfixed.o 10583 GTK_OBJ=emacsgtkfixed.o
10576 term_header=gtkutil.h 10584 term_header=gtkutil.h
10585 else
10586 check_gtk2=yes
10587 gtk3_pkg_errors="$GTK_PKG_ERRORS "
10588 fi
10577fi 10589fi
10578 10590
10579if test "$pkg_check_gtk" != "yes"; then 10591if test "${with_gtk2}" = "yes" || test "$check_gtk2" = "yes"; then
10580 HAVE_GTK=no
10581if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
10582 GLIB_REQUIRED=2.10 10592 GLIB_REQUIRED=2.10
10583 GTK_REQUIRED=2.10 10593 GTK_REQUIRED=2.10
10584 GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" 10594 GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
@@ -10633,11 +10643,12 @@ $as_echo "no" >&6; }
10633 pkg_check_gtk=no 10643 pkg_check_gtk=no
10634 fi 10644 fi
10635 10645
10636 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 10646 if test "$pkg_check_gtk" = "no"; then
10637 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 10647 if test "$USE_X_TOOLKIT" = "maybe" || test "$with_gtk" = "yes" || test "$with_gtk2" = "yes"; then
10648 as_fn_error "$gtk3_pkg_errors$GTK_PKG_ERRORS" "$LINENO" 5
10649 fi
10638 fi 10650 fi
10639fi 10651fi
10640fi
10641 10652
10642if test x"$pkg_check_gtk" = xyes; then 10653if test x"$pkg_check_gtk" = xyes; then
10643 10654
@@ -11161,8 +11172,6 @@ HAVE_XAW3D=no
11161LUCID_LIBW= 11172LUCID_LIBW=
11162if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 11173if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
11163 if test "$with_xaw3d" != no; then 11174 if test "$with_xaw3d" != no; then
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5
11165$as_echo_n "checking for xaw3d... " >&6; }
11166 if test "${emacs_cv_xaw3d+set}" = set; then : 11175 if test "${emacs_cv_xaw3d+set}" = set; then :
11167 $as_echo_n "(cached) " >&6 11176 $as_echo_n "(cached) " >&6
11168else 11177else
@@ -11233,6 +11242,8 @@ fi
11233 emacs_cv_xaw3d=no 11242 emacs_cv_xaw3d=no
11234 fi 11243 fi
11235 if test $emacs_cv_xaw3d = yes; then 11244 if test $emacs_cv_xaw3d = yes; then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5
11246$as_echo_n "checking for xaw3d... " >&6; }
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5
11237$as_echo "yes; using Lucid toolkit" >&6; } 11248$as_echo "yes; using Lucid toolkit" >&6; }
11238 USE_X_TOOLKIT=LUCID 11249 USE_X_TOOLKIT=LUCID
@@ -11242,6 +11253,8 @@ $as_echo "yes; using Lucid toolkit" >&6; }
11242$as_echo "#define HAVE_XAW3D 1" >>confdefs.h 11253$as_echo "#define HAVE_XAW3D 1" >>confdefs.h
11243 11254
11244 else 11255 else
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5
11257$as_echo_n "checking for xaw3d... " >&6; }
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11246$as_echo "no" >&6; } 11259$as_echo "no" >&6; }
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5
@@ -14891,12 +14904,6 @@ esac
14891 14904
14892 14905
14893case $opsys in 14906case $opsys in
14894 darwin | gnu | hpux* | *bsd )
14895
14896$as_echo "#define NO_TERMIO 1" >>confdefs.h
14897
14898 ;;
14899
14900 irix6-5 | sol2* | unixware ) 14907 irix6-5 | sol2* | unixware )
14901 14908
14902$as_echo "#define NSIG_MINIMUM 32" >>confdefs.h 14909$as_echo "#define NSIG_MINIMUM 32" >>confdefs.h
@@ -14904,29 +14911,15 @@ $as_echo "#define NSIG_MINIMUM 32" >>confdefs.h
14904 ;; 14911 ;;
14905esac 14912esac
14906 14913
14914emacs_broken_SIGIO=no
14907 14915
14908case $opsys in 14916case $opsys in
14909 hpux* | irix6-5 | openbsd | sol2* | unixware ) 14917 hpux* | irix6-5 | openbsd | sol2* | unixware )
14910 14918 emacs_broken_SIGIO=yes
14911$as_echo "#define BROKEN_SIGIO 1" >>confdefs.h
14912
14913 ;; 14919 ;;
14914 14920
14915 aix4-2) 14921 aix4-2)
14916 14922
14917$as_echo "#define BROKEN_FIONREAD 1" >>confdefs.h
14918
14919
14920$as_echo "#define BROKEN_SIGAIO 1" >>confdefs.h
14921
14922
14923$as_echo "#define BROKEN_SIGPOLL 1" >>confdefs.h
14924
14925
14926$as_echo "#define BROKEN_SIGPTY 1" >>confdefs.h
14927
14928
14929
14930$as_echo "#define BROKEN_GET_CURRENT_DIR_NAME 1" >>confdefs.h 14923$as_echo "#define BROKEN_GET_CURRENT_DIR_NAME 1" >>confdefs.h
14931 14924
14932 ;; 14925 ;;
@@ -15637,6 +15630,85 @@ $as_echo "#define SOLARIS2 /**/" >>confdefs.h
15637 ;; 15630 ;;
15638esac 15631esac
15639 15632
15633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable FIONREAD" >&5
15634$as_echo_n "checking for usable FIONREAD... " >&6; }
15635if test "${emacs_cv_usable_FIONREAD+set}" = set; then :
15636 $as_echo_n "(cached) " >&6
15637else
15638 case $opsys in
15639 aix4-2)
15640 emacs_cv_usable_FIONREAD=no
15641 ;;
15642
15643 *)
15644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15645/* end confdefs.h. */
15646#include <sys/types.h>
15647 #include <sys/ioctl.h>
15648 #ifdef USG5_4
15649 # include <sys/filio.h>
15650 #endif
15651
15652int
15653main ()
15654{
15655int foo = ioctl (0, FIONREAD, &foo);
15656 ;
15657 return 0;
15658}
15659_ACEOF
15660if ac_fn_c_try_compile "$LINENO"; then :
15661 emacs_cv_usable_FIONREAD=yes
15662else
15663 emacs_cv_usable_FIONREAD=no
15664fi
15665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15666 ;;
15667 esac
15668fi
15669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_usable_FIONREAD" >&5
15670$as_echo "$emacs_cv_usable_FIONREAD" >&6; }
15671if test $emacs_cv_usable_FIONREAD = yes; then
15672
15673$as_echo "#define USABLE_FIONREAD 1" >>confdefs.h
15674
15675
15676 if test $emacs_broken_SIGIO = no; then
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable SIGIO" >&5
15678$as_echo_n "checking for usable SIGIO... " >&6; }
15679if test "${emacs_cv_usable_SIGIO+set}" = set; then :
15680 $as_echo_n "(cached) " >&6
15681else
15682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683/* end confdefs.h. */
15684#include <fcntl.h>
15685 #include <signal.h>
15686
15687int
15688main ()
15689{
15690int foo = SIGIO | F_SETFL | FASYNC;
15691 ;
15692 return 0;
15693}
15694_ACEOF
15695if ac_fn_c_try_compile "$LINENO"; then :
15696 emacs_cv_usable_SIGIO=yes
15697else
15698 emacs_cv_usable_SIGIO=no
15699fi
15700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15701fi
15702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_usable_SIGIO" >&5
15703$as_echo "$emacs_cv_usable_SIGIO" >&6; }
15704 if test $emacs_cv_usable_SIGIO = yes; then
15705
15706$as_echo "#define USABLE_SIGIO 1" >>confdefs.h
15707
15708 fi
15709 fi
15710fi
15711
15640 15712
15641case $opsys in 15713case $opsys in
15642 cygwin) 15714 cygwin)