aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2012-11-23 19:59:10 +0200
committerEli Zaretskii2012-11-23 19:59:10 +0200
commita414bed56d8fed3e1c55341025d707b139c2ce41 (patch)
treed231288bbbb9015d8a1eea9093e7b880b75f40c1
parentfb0862b2cdc9adca81238329d20b460fe4fc9303 (diff)
downloademacs-a414bed56d8fed3e1c55341025d707b139c2ce41.tar.gz
emacs-a414bed56d8fed3e1c55341025d707b139c2ce41.zip
configure runs to the end, need to analyze differences vs config.nt.
-rw-r--r--configure.ac26
1 files changed, 13 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index 0db26fb2d9f..a6b8210fbf2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -926,10 +926,6 @@ case "$opsys" in
926 case $host_cpu in mips*) LD_SWITCH_SYSTEM="-G 0";; esac 926 case $host_cpu in mips*) LD_SWITCH_SYSTEM="-G 0";; esac
927 ;; 927 ;;
928 928
929 mingw32)
930 LD_SWITCH_SYSTEM="-Wl,-stack,0x00800000 -Wl,-heap,0x00100000 -Wl,-image-base,0x01000000 -Wl,-subsystem,console -Wl,-entry,__start -Wl,-Map,./temacs.map"
931 ;;
932
933 netbsd) 929 netbsd)
934### It's not our place to do this. See bug#10313#17. 930### It's not our place to do this. See bug#10313#17.
935### LD_SWITCH_SYSTEM="-Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib" 931### LD_SWITCH_SYSTEM="-Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib"
@@ -2182,6 +2178,11 @@ if test "${with_gnutls}" = "yes" ; then
2182 if test "${HAVE_GNUTLS_CALLBACK_CERTIFICATE_VERIFY}" = "yes"; then 2178 if test "${HAVE_GNUTLS_CALLBACK_CERTIFICATE_VERIFY}" = "yes"; then
2183 AC_DEFINE(HAVE_GNUTLS_CALLBACK_CERTIFICATE_VERIFY, 1, [Define if using GnuTLS certificate verification callbacks.]) 2179 AC_DEFINE(HAVE_GNUTLS_CALLBACK_CERTIFICATE_VERIFY, 1, [Define if using GnuTLS certificate verification callbacks.])
2184 fi 2180 fi
2181
2182 # Windows loads GnuTLS dynamically
2183 if test "${opsys}" = "mingw32"; then
2184 LIBGNUTLS_LIBS=
2185 fi
2185fi 2186fi
2186 2187
2187AC_SUBST(LIBGNUTLS_LIBS) 2188AC_SUBST(LIBGNUTLS_LIBS)
@@ -2550,7 +2551,6 @@ AC_SUBST(M17N_FLT_LIBS)
2550### mingw32 doesn't use -lXpm, since it loads the library dynamically. 2551### mingw32 doesn't use -lXpm, since it loads the library dynamically.
2551HAVE_XPM=no 2552HAVE_XPM=no
2552LIBXPM= 2553LIBXPM=
2553
2554if test "${HAVE_W32}" = "yes" && test "${opsys}" = "cygwin"; then 2554if test "${HAVE_W32}" = "yes" && test "${opsys}" = "cygwin"; then
2555 if test "${with_xpm}" != "no"; then 2555 if test "${with_xpm}" != "no"; then
2556 SAVE_CPPFLAGS="$CPPFLAGS" 2556 SAVE_CPPFLAGS="$CPPFLAGS"
@@ -2614,14 +2614,8 @@ fi
2614 2614
2615if test "${opsys}" = "mingw32"; then 2615if test "${opsys}" = "mingw32"; then
2616 if test "${with_xpm}" != "no"; then 2616 if test "${with_xpm}" != "no"; then
2617 AC_CHECK_HEADER(X11/xpm.h, HAVE_XPM=yes, HAVE_XPM=no, [ 2617 AC_CHECK_HEADERS(X11/xpm.h, HAVE_XPM=yes, HAVE_XPM=no, [
2618#define FOR_MSW 1]) 2618#define FOR_MSW 1])
2619 if test "${HAVE_XPM}" = "yes"; then
2620 AC_MSG_RESULT(yes)
2621 else
2622 AC_MSG_RESULT(no)
2623 fi
2624 fi
2625 fi 2619 fi
2626 2620
2627 if test "${HAVE_XPM}" = "yes"; then 2621 if test "${HAVE_XPM}" = "yes"; then
@@ -2885,6 +2879,8 @@ if test "${with_xml2}" != "no"; then
2885 if test "${opsys}" != "mingw32"; then 2879 if test "${opsys}" != "mingw32"; then
2886 LIBS="$LIBXML2_LIBS $LIBS" 2880 LIBS="$LIBXML2_LIBS $LIBS"
2887 AC_CHECK_LIB(xml2, htmlReadMemory, HAVE_LIBXML2=yes, HAVE_LIBXML2=no) 2881 AC_CHECK_LIB(xml2, htmlReadMemory, HAVE_LIBXML2=yes, HAVE_LIBXML2=no)
2882 else
2883 LIBXML2_LIBS=""
2888 fi 2884 fi
2889 if test "${HAVE_LIBXML2}" = "yes"; then 2885 if test "${HAVE_LIBXML2}" = "yes"; then
2890 AC_DEFINE(HAVE_LIBXML2, 1, [Define to 1 if you have the libxml library (-lxml2).]) 2886 AC_DEFINE(HAVE_LIBXML2, 1, [Define to 1 if you have the libxml library (-lxml2).])
@@ -3066,7 +3062,7 @@ AC_DEFUN([tputs_link_source], [
3066 return 0; 3062 return 0;
3067 }]]) 3063 }]])
3068]) 3064])
3069if test "${opsys} = "mingw32"; then 3065if test "${opsys}" = "mingw32"; then
3070 msg='none required' 3066 msg='none required'
3071else 3067else
3072 # Maybe curses should be tried earlier? 3068 # Maybe curses should be tried earlier?
@@ -4418,6 +4414,10 @@ case "$opsys" in
4418 ## It seems clearer therefore to put this piece in LD_SWITCH_SYSTEM_TEMACS. 4414 ## It seems clearer therefore to put this piece in LD_SWITCH_SYSTEM_TEMACS.
4419 gnu*) LD_SWITCH_SYSTEM_TEMACS="\$(LD_SWITCH_X_SITE_RPATH)" ;; 4415 gnu*) LD_SWITCH_SYSTEM_TEMACS="\$(LD_SWITCH_X_SITE_RPATH)" ;;
4420 4416
4417 mingw32)
4418 LD_SWITCH_SYSTEM_TEMACS="-Wl,-stack,0x00800000 -Wl,-heap,0x00100000 -Wl,-image-base,0x01000000 -Wl,-subsystem,console -Wl,-entry,__start -Wl,-Map,./temacs.map"
4419 ;;
4420
4421 *) LD_SWITCH_SYSTEM_TEMACS= ;; 4421 *) LD_SWITCH_SYSTEM_TEMACS= ;;
4422esac 4422esac
4423 4423