]> git.lyx.org Git - lyx.git/commitdiff
* get rid of the --export-all-symbol in order to speed-up linking time
authorAbdelrazak Younes <younes@lyx.org>
Fri, 14 Apr 2006 15:10:16 +0000 (15:10 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 14 Apr 2006 15:10:16 +0000 (15:10 +0000)
* put two TODO in comments

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13679 a592a061-630c-0410-9148-cb99ea01b6c8

config/cygwin.m4

index 9db86cf489c4917cd2bcfed31fae026f7287eae3..26aed831ed058ac5436f9b705882bc1e8e5da878 100644 (file)
@@ -5,18 +5,10 @@ AC_DEFUN([CHECK_WITH_CYGWIN],
 [
   case $host_os in
   cygwin* | mingw* | pw32* )
-    # Export all symbols to Win32 DLL using MinGW 2.0 ld.
-    WIN32_LD_EXPORT_ALL_SYMBOLS=''
-    AC_MSG_CHECKING([whether ld accepts --export-all-symbols])
-    if $LD --help 2>&1 | egrep 'export-all-symbols' > /dev/null; then
-      WIN32_LD_EXPORT_ALL_SYMBOLS='-Wl,--export-all-symbols'
-      AC_MSG_RESULT([yes])
-    else
-      AC_MSG_RESULT([no])
-    fi
-    if test x"$WIN32_LD_EXPORT_ALL_SYMBOLS" != x; then
-      LDFLAGS="$LDFLAGS $WIN32_LD_EXPORT_ALL_SYMBOLS"
-    fi
+    # TODO 1: pass -DQ_CYGWIN_WIN" *when* the option
+    # --without-x is passed to configure *and* platform is cygwin
+    # TODO 2: see how to pass -mno-cygwin when building native
+    # mingw within cygwin
     ;;
   esac
 ])