aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-05-01 06:17:25 -0400
committerGlenn Morris2012-05-01 06:17:25 -0400
commitae629daec9f8d0e4d2bd7b4ba9e42ab94ec672e6 (patch)
tree239d1aec0279765793ba4b0585508f505df01d8c
parent290af740031366b4d7ba35edf83dc1aff971d551 (diff)
downloademacs-ae629daec9f8d0e4d2bd7b4ba9e42ab94ec672e6.tar.gz
emacs-ae629daec9f8d0e4d2bd7b4ba9e42ab94ec672e6.zip
Auto-commit of generated files.
-rw-r--r--autogen/Makefile.in3
-rw-r--r--autogen/config.in3
-rwxr-xr-xautogen/configure83
3 files changed, 32 insertions, 57 deletions
diff --git a/autogen/Makefile.in b/autogen/Makefile.in
index 597fa3ec6aa..0fa0710d725 100644
--- a/autogen/Makefile.in
+++ b/autogen/Makefile.in
@@ -488,8 +488,7 @@ LD_FIRSTFLAG = @LD_FIRSTFLAG@
488LD_SWITCH_SYSTEM = @LD_SWITCH_SYSTEM@ 488LD_SWITCH_SYSTEM = @LD_SWITCH_SYSTEM@
489LD_SWITCH_SYSTEM_TEMACS = @LD_SWITCH_SYSTEM_TEMACS@ 489LD_SWITCH_SYSTEM_TEMACS = @LD_SWITCH_SYSTEM_TEMACS@
490LD_SWITCH_X_SITE = @LD_SWITCH_X_SITE@ 490LD_SWITCH_X_SITE = @LD_SWITCH_X_SITE@
491LD_SWITCH_X_SITE_AUX = @LD_SWITCH_X_SITE_AUX@ 491LD_SWITCH_X_SITE_RPATH = @LD_SWITCH_X_SITE_RPATH@
492LD_SWITCH_X_SITE_AUX_RPATH = @LD_SWITCH_X_SITE_AUX_RPATH@
493LIBGIF = @LIBGIF@ 492LIBGIF = @LIBGIF@
494LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ 493LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@
495LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ 494LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@
diff --git a/autogen/config.in b/autogen/config.in
index 805629c9c8f..10efc70e6d3 100644
--- a/autogen/config.in
+++ b/autogen/config.in
@@ -474,9 +474,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
474/* Define to 1 if you have the `mail' library (-lmail). */ 474/* Define to 1 if you have the `mail' library (-lmail). */
475#undef HAVE_LIBMAIL 475#undef HAVE_LIBMAIL
476 476
477/* Define to 1 if you have the `ncurses' library (-lncurses). */
478#undef HAVE_LIBNCURSES
479
480/* Define to 1 if using libotf. */ 477/* Define to 1 if using libotf. */
481#undef HAVE_LIBOTF 478#undef HAVE_LIBOTF
482 479
diff --git a/autogen/configure b/autogen/configure
index 5c57dcc0374..6e8ddc505fe 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -1164,8 +1164,7 @@ LIB_STANDARD
1164NS_OBJC_OBJ 1164NS_OBJC_OBJ
1165NS_OBJ 1165NS_OBJ
1166TEMACS_LDFLAGS2 1166TEMACS_LDFLAGS2
1167LD_SWITCH_X_SITE_AUX_RPATH 1167LD_SWITCH_X_SITE_RPATH
1168LD_SWITCH_X_SITE_AUX
1169XMKMF 1168XMKMF
1170DEPFLAGS 1169DEPFLAGS
1171MKDEPDIR 1170MKDEPDIR
@@ -8359,7 +8358,7 @@ esac
8359 8358
8360ac_link="$ac_link $LD_SWITCH_SYSTEM" 8359ac_link="$ac_link $LD_SWITCH_SYSTEM"
8361 8360
8362## This setting of LD_SWITCH_SYSTEM references LD_SWITCH_X_SITE_AUX, 8361## This setting of LD_SWITCH_SYSTEM references LD_SWITCH_X_SITE_RPATH,
8363## which has not been defined yet. When this was handled with cpp, 8362## which has not been defined yet. When this was handled with cpp,
8364## it was expanded to null when configure sourced the s/*.h file. 8363## it was expanded to null when configure sourced the s/*.h file.
8365## Thus LD_SWITCH_SYSTEM had different values in configure and the Makefiles. 8364## Thus LD_SWITCH_SYSTEM had different values in configure and the Makefiles.
@@ -8371,8 +8370,7 @@ ac_link="$ac_link $LD_SWITCH_SYSTEM"
8371## LD_SWITCH_SYSTEM_TEMACS. 8370## LD_SWITCH_SYSTEM_TEMACS.
8372case "$opsys" in 8371case "$opsys" in
8373 netbsd|openbsd) 8372 netbsd|openbsd)
8374 ## _AUX_RPATH is like _AUX, but uses -rpath instead of -R. 8373 LD_SWITCH_SYSTEM="\$(LD_SWITCH_X_SITE_RPATH) $LD_SWITCH_SYSTEM" ;;
8375 LD_SWITCH_SYSTEM="\$(LD_SWITCH_X_SITE_AUX_RPATH) $LD_SWITCH_SYSTEM" ;;
8376esac 8374esac
8377 8375
8378 8376
@@ -10253,13 +10251,11 @@ else
10253 window_system=x11 10251 window_system=x11
10254fi 10252fi
10255 10253
10256LD_SWITCH_X_SITE_AUX= 10254LD_SWITCH_X_SITE_RPATH=
10257LD_SWITCH_X_SITE_AUX_RPATH=
10258if test "${x_libraries}" != NONE; then 10255if test "${x_libraries}" != NONE; then
10259 if test -n "${x_libraries}"; then 10256 if test -n "${x_libraries}"; then
10260 LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` 10257 LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
10261 LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"` 10258 LD_SWITCH_X_SITE_RPATH=-Wl,-rpath,`echo ${x_libraries} | sed -e "s/:/ -Wl,-rpath,/g"`
10262 LD_SWITCH_X_SITE_AUX_RPATH=`echo ${LD_SWITCH_X_SITE_AUX} | sed -e 's/-R/-Wl,-rpath,/'`
10263 fi 10259 fi
10264 x_default_search_path="" 10260 x_default_search_path=""
10265 x_search_path=${x_libraries} 10261 x_search_path=${x_libraries}
@@ -10284,7 +10280,6 @@ ${x_library}/X11/%T/%N%S"
10284fi 10280fi
10285 10281
10286 10282
10287
10288if test "${x_includes}" != NONE && test -n "${x_includes}"; then 10283if test "${x_includes}" != NONE && test -n "${x_includes}"; then
10289 C_SWITCH_X_SITE="$isystem"`echo ${x_includes} | sed -e "s/:/ $isystem/g"` 10284 C_SWITCH_X_SITE="$isystem"`echo ${x_includes} | sed -e "s/:/ $isystem/g"`
10290fi 10285fi
@@ -11089,9 +11084,9 @@ if test "${HAVE_X11}" = "yes"; then
11089 CPPFLAGS="$C_SWITCH_X_SITE $CPPFLAGS" 11084 CPPFLAGS="$C_SWITCH_X_SITE $CPPFLAGS"
11090 11085
11091 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests. 11086 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
11092 # This is handled by LD_SWITCH_X_SITE_AUX during the real build, 11087 # This is handled by LD_SWITCH_X_SITE_RPATH during the real build,
11093 # but it's more convenient here to set LD_RUN_PATH 11088 # but it's more convenient here to set LD_RUN_PATH since this
11094 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX. 11089 # also works on hosts that don't understand LD_SWITCH_X_SITE_RPATH.
11095 if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then 11090 if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
11096 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 11091 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
11097 export LD_RUN_PATH 11092 export LD_RUN_PATH
@@ -14818,7 +14813,7 @@ $as_echo_n "checking for library containing tputs... " >&6; }
14818 14813
14819# Maybe curses should be tried earlier? 14814# Maybe curses should be tried earlier?
14820# See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9736#35 14815# See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9736#35
14821for tputs_library in '' ncurses terminfo termcap curses; do 14816for tputs_library in '' tinfo ncurses terminfo termcap curses; do
14822 OLIBS=$LIBS 14817 OLIBS=$LIBS
14823 if test -z "$tputs_library"; then 14818 if test -z "$tputs_library"; then
14824 LIBS_TERMCAP= 14819 LIBS_TERMCAP=
@@ -14879,42 +14874,28 @@ done
14879$as_echo "$msg" >&6; } 14874$as_echo "$msg" >&6; }
14880if test "X$msg" = Xno; then 14875if test "X$msg" = Xno; then
14881 as_fn_error "The required function \`tputs' was not found in any library. 14876 as_fn_error "The required function \`tputs' was not found in any library.
14882These libraries were tried: libncurses, libterminfo, libtermcap, libcurses. 14877The following libraries were tried (in order):
14878 libtinfo, libncurses, libterminfo, libtermcap, libcurses
14883Please try installing whichever of these libraries is most appropriate 14879Please try installing whichever of these libraries is most appropriate
14884for your system, together with its header files. 14880for your system, together with its header files.
14885For example, a libncurses-dev(el) or similar package." "$LINENO" 5 14881For example, a libncurses-dev(el) or similar package." "$LINENO" 5
14886fi 14882fi
14887# Must define this when any termcap library is found.
14888
14889$as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h
14890 14883
14891## FIXME This was the cpp logic, but I am not sure it is right. 14884## Use termcap instead of terminfo?
14892## The above test has not necessarily found libncurses. 14885## Only true for: freebsd < 40000, ms-w32, msdos, netbsd < 599002500.
14893HAVE_LIBNCURSES=yes 14886TERMINFO=yes
14894 14887## FIXME? In the cases below where we unconditionally set
14895## Use terminfo instead of termcap? 14888## LIBS_TERMCAP="-lncurses", this overrides LIBS_TERMCAP = -ltinfo,
14896## Note only system files NOT using terminfo are: 14889## if that was found above to have tputs.
14897## freebsd < 40000, ms-w32, msdos, netbsd < 599002500, and 14890## Should we use the gnu* logic everywhere?
14898## darwin|gnu without ncurses.
14899TERMINFO=no
14900case "$opsys" in 14891case "$opsys" in
14901 ## cygwin: Fewer environment variables to go wrong, more terminal types.
14902 ## hpux10-20: Use the system provided termcap(3) library.
14903 ## openbsd: David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
14904 ## is necessary. Otherwise Emacs dumps core when run -nw.
14905 aix4-2|cygwin|hpux*|irix6-5|openbsd|sol2*|unixware) TERMINFO=yes ;;
14906
14907 ## darwin: Prevents crashes when running Emacs in Terminal.app under 10.2. 14892 ## darwin: Prevents crashes when running Emacs in Terminal.app under 10.2.
14908 ## The ncurses library has been moved out of the System framework in 14893 ## The ncurses library has been moved out of the System framework in
14909 ## Mac OS X 10.2. So if configure detects it, set the command-line 14894 ## Mac OS X 10.2. So if configure detects it, set the command-line
14910 ## option to use it. 14895 ## option to use it.
14911 darwin|gnu*) 14896 darwin) LIBS_TERMCAP="-lncurses" ;;
14912 ## (HAVE_LIBNCURSES was not always true, but is since 2010-03-18.) 14897
14913 if test "x$HAVE_LIBNCURSES" = "xyes"; then 14898 gnu*) "x$LIBS_TERMCAP" = x && LIBS_TERMCAP="-lncurses" ;;
14914 TERMINFO=yes
14915 LIBS_TERMCAP="-lncurses"
14916 fi
14917 ;;
14918 14899
14919 freebsd) 14900 freebsd)
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5 14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
@@ -14950,34 +14931,31 @@ fi
14950$as_echo "$emacs_cv_freebsd_terminfo" >&6; } 14931$as_echo "$emacs_cv_freebsd_terminfo" >&6; }
14951 14932
14952 if test $emacs_cv_freebsd_terminfo = yes; then 14933 if test $emacs_cv_freebsd_terminfo = yes; then
14953 TERMINFO=yes
14954 LIBS_TERMCAP="-lncurses" 14934 LIBS_TERMCAP="-lncurses"
14955 else 14935 else
14936 TERMINFO=no
14956 LIBS_TERMCAP="-ltermcap" 14937 LIBS_TERMCAP="-ltermcap"
14957 fi 14938 fi
14958 ;; 14939 ;;
14959 14940
14960 netbsd) 14941 netbsd)
14961 if test $ac_cv_search_tputs = -lterminfo; then 14942 if test $ac_cv_search_tputs = -lterminfo; then
14962 TERMINFO=yes
14963 LIBS_TERMCAP="-lterminfo" 14943 LIBS_TERMCAP="-lterminfo"
14964 else 14944 else
14945 TERMINFO=no
14965 LIBS_TERMCAP="-ltermcap" 14946 LIBS_TERMCAP="-ltermcap"
14966 fi 14947 fi
14967 ;; 14948 ;;
14968 14949
14969esac 14950 openbsd) LIBS_TERMCAP="-lncurses" ;;
14970 14951
14971case "$opsys" in
14972 ## hpux: Make sure we get select from libc rather than from libcurses 14952 ## hpux: Make sure we get select from libc rather than from libcurses
14973 ## because libcurses on HPUX 10.10 has a broken version of select. 14953 ## because libcurses on HPUX 10.10 has a broken version of select.
14974 ## We used to use -lc -lcurses, but this may be cleaner. 14954 ## We used to use -lc -lcurses, but this may be cleaner.
14955 ## FIXME? But TERMINFO = yes on hpux (it used to be explicitly
14956 # set that way, now it uses the default). Isn't this a contradiction?
14975 hpux*) LIBS_TERMCAP="-ltermcap" ;; 14957 hpux*) LIBS_TERMCAP="-ltermcap" ;;
14976 14958
14977 openbsd) LIBS_TERMCAP="-lncurses" ;;
14978
14979 ## Must use system termcap, if we use any termcap. It does special things.
14980 sol2*) test "$TERMINFO" != yes && LIBS_TERMCAP="-ltermcap" ;;
14981esac 14959esac
14982 14960
14983TERMCAP_OBJ=tparam.o 14961TERMCAP_OBJ=tparam.o
@@ -22854,13 +22832,14 @@ case "$opsys" in
22854 LD_SWITCH_SYSTEM_TEMACS="-X $LD_SWITCH_SYSTEM_TEMACS" 22832 LD_SWITCH_SYSTEM_TEMACS="-X $LD_SWITCH_SYSTEM_TEMACS"
22855 ;; 22833 ;;
22856 22834
22857 ## LD_SWITCH_X_SITE_AUX is a -R option saying where to find X at run-time. 22835 ## LD_SWITCH_X_SITE_RPATH is a -rpath option saying where to
22858 ## When handled by cpp, this was in LD_SWITCH_SYSTEM. However, at 22836 ## find X at run-time.
22859 ## the point where configure sourced the s/*.h file, LD_SWITCH_X_SITE_AUX 22837 ## When handled by cpp, this was in LD_SWITCH_SYSTEM. However, at the
22838 ## point where configure sourced the s/*.h file, LD_SWITCH_X_SITE_RPATH
22860 ## had not yet been defined and was expanded to null. Hence LD_SWITCH_SYSTEM 22839 ## had not yet been defined and was expanded to null. Hence LD_SWITCH_SYSTEM
22861 ## had different values in configure (in ac_link) and src/Makefile.in. 22840 ## had different values in configure (in ac_link) and src/Makefile.in.
22862 ## It seems clearer therefore to put this piece in LD_SWITCH_SYSTEM_TEMACS. 22841 ## It seems clearer therefore to put this piece in LD_SWITCH_SYSTEM_TEMACS.
22863 gnu*) LD_SWITCH_SYSTEM_TEMACS="\$(LD_SWITCH_X_SITE_AUX_RPATH)" ;; 22842 gnu*) LD_SWITCH_SYSTEM_TEMACS="\$(LD_SWITCH_X_SITE_RPATH)" ;;
22864 22843
22865 *) LD_SWITCH_SYSTEM_TEMACS= ;; 22844 *) LD_SWITCH_SYSTEM_TEMACS= ;;
22866esac 22845esac