aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure25
1 files changed, 12 insertions, 13 deletions
diff --git a/configure b/configure
index dcea52950b8..4fe49eb034e 100755
--- a/configure
+++ b/configure
@@ -5506,19 +5506,17 @@ with the \`--without-makeinfo' option to build without the manuals. " "$LINENO"
5506fi 5506fi
5507 5507
5508 5508
5509if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x 5509if test x$GCC = xyes; then
5510then 5510 test "x$GCC_LINK_TEST_OPTIONS" != x && \
5511 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" 5511 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
5512fi 5512else
5513 5513 test "x$NON_GCC_LINK_TEST_OPTIONS" != x && \
5514if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x 5514 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
5515then
5516 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
5517fi 5515fi
5518 5516
5519 5517
5520late_LDFLAGS=$LDFLAGS 5518late_LDFLAGS=$LDFLAGS
5521if test "$GCC" = yes; then 5519if test x$GCC = xyes; then
5522 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" 5520 LDFLAGS="$LDFLAGS -Wl,-znocombreloc"
5523else 5521else
5524 LDFLAGS="$LDFLAGS -znocombreloc" 5522 LDFLAGS="$LDFLAGS -znocombreloc"
@@ -8054,6 +8052,7 @@ int
8054main () 8052main ()
8055{ 8053{
8056 char *data, *data2, *data3; 8054 char *data, *data2, *data3;
8055 const char *cdata2;
8057 int i, pagesize; 8056 int i, pagesize;
8058 int fd, fd2; 8057 int fd, fd2;
8059 8058
@@ -8078,10 +8077,10 @@ main ()
8078 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); 8077 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
8079 if (fd2 < 0) 8078 if (fd2 < 0)
8080 return 4; 8079 return 4;
8081 data2 = ""; 8080 cdata2 = "";
8082 if (write (fd2, data2, 1) != 1) 8081 if (write (fd2, cdata2, 1) != 1)
8083 return 5; 8082 return 5;
8084 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); 8083 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
8085 if (data2 == MAP_FAILED) 8084 if (data2 == MAP_FAILED)
8086 return 6; 8085 return 6;
8087 for (i = 0; i < pagesize; ++i) 8086 for (i = 0; i < pagesize; ++i)
@@ -14968,7 +14967,7 @@ echo " Does Emacs use -lgpm? ${HAVE_GPM}"
14968echo " Does Emacs use -ldbus? ${HAVE_DBUS}" 14967echo " Does Emacs use -ldbus? ${HAVE_DBUS}"
14969echo " Does Emacs use -lgconf? ${HAVE_GCONF}" 14968echo " Does Emacs use -lgconf? ${HAVE_GCONF}"
14970echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}" 14969echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}"
14971echo " Does Emacs use -lgnutls (BROKEN)? ${HAVE_GNUTLS}" 14970echo " Does Emacs use -lgnutls? ${HAVE_GNUTLS}"
14972echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}" 14971echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}"
14973 14972
14974echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}" 14973echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}"