apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r421539 - in /apr/apr/trunk: build/apr_hints.m4 configure.in
Date Thu, 13 Jul 2006 08:17:34 GMT
Author: jerenkrantz
Date: Thu Jul 13 01:17:33 2006
New Revision: 421539

URL: http://svn.apache.org/viewvc?rev=421539&view=rev
Log:
Move some of the mingw-specific checks into the hints m4 file instead.

Modified:
    apr/apr/trunk/build/apr_hints.m4
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/build/apr_hints.m4
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/apr_hints.m4?rev=421539&r1=421538&r2=421539&view=diff
==============================================================================
--- apr/apr/trunk/build/apr_hints.m4 (original)
+++ apr/apr/trunk/build/apr_hints.m4 Thu Jul 13 01:17:33 2006
@@ -424,6 +424,8 @@
 	;;
     *mingw*)
 	APR_ADDTO(LDFLAGS, [-Wl,--enable-auto-import,--subsystem,console])
+	APR_SETIFNULL(apr_lock_method, [win32])
+	APR_SETIFNULL(have_unicode_fs, [1])
 	;;
   esac
 

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=421539&r1=421538&r2=421539&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Thu Jul 13 01:17:33 2006
@@ -1707,11 +1707,6 @@
 if test "x$apr_lock_method" != "x"; then
     APR_DECISION_FORCE($apr_lock_method)
 fi
-case "$host" in
-    *mingw* )
-        APR_DECISION_FORCE(win32)
-        ;;
-esac
 APR_END_DECISION
 AC_DEFINE_UNQUOTED($ac_decision)
 
@@ -2086,12 +2081,9 @@
 
 dnl Do we have a Win32-centric Unicode FS?
 
-have_unicode_fs="0"
-case "$host" in
-  *mingw* )
-    have_unicode_fs="1"
-    ;;
-esac
+if test -z "$have_unicode_fs"; then
+  have_unicode_fs="0"
+fi
 
 AC_SUBST(have_unicode_fs)
 



Mime
View raw message