Author: AlbrechtS
Date: 2012-04-07 05:01:15 -0700 (Sat, 07 Apr 2012)
New Revision: 9329
Log:
simplify MinGW install directory check.

Modified:
   branches/branch-3.0/configure.in

Modified: branches/branch-3.0/configure.in
===================================================================
--- branches/branch-3.0/configure.in    2012-04-07 11:56:09 UTC (rev 9328)
+++ branches/branch-3.0/configure.in    2012-04-07 12:01:15 UTC (rev 9329)
@@ -1274,7 +1274,7 @@
 case $uname in
   MINGW*)
      # Determine the path where MSys has /usr installed
-         msyspath=`mount | grep '\/usr' | grep -v '\/usr\/bin' | cut -d ' ' -f 
-1 | sed -e 's/\\\/\// g'`
+        msyspath=`mount | grep '\/usr ' | cut -d ' ' -f -1 | sed -e 's/\\\/\// 
g'`
      # Then substitute that in the WIN32 path instead of /usr
          AC_DEFINE_UNQUOTED(FLTK_DOCDIR, "$msyspath/local/share/doc/fltk")
     ;;

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to