Author: AlbrechtS
Date: 2012-04-07 04:56:09 -0700 (Sat, 07 Apr 2012)
New Revision: 9328
Log:
simplify MinGW install directory check.
Modified:
branches/branch-1.3/configure.in
Modified: branches/branch-1.3/configure.in
===================================================================
--- branches/branch-1.3/configure.in 2012-04-05 15:04:43 UTC (rev 9327)
+++ branches/branch-1.3/configure.in 2012-04-07 11:56:09 UTC (rev 9328)
@@ -1290,7 +1290,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