[33716] trunk/base/aclocal.m4

afb at macports.org afb at macports.org
Sun Feb 3 15:09:47 PST 2008


Revision: 33716
          http://trac.macosforge.org/projects/macports/changeset/33716
Author:   afb at macports.org
Date:     2008-02-03 15:09:46 -0800 (Sun, 03 Feb 2008)

Log Message:
-----------
avoid hardcoding X11 lib path, explicitly call included AC_PATH_X

Modified Paths:
--------------
    trunk/base/aclocal.m4

Modified: trunk/base/aclocal.m4
===================================================================
--- trunk/base/aclocal.m4	2008-02-03 23:04:14 UTC (rev 33715)
+++ trunk/base/aclocal.m4	2008-02-03 23:09:46 UTC (rev 33716)
@@ -448,12 +448,13 @@
 # ---------------------
 AC_DEFUN([MP_CHECK_X11], [
 
+	AC_PATH_X
 	AC_PATH_XTRA
 
 	# Check for libX11
 	AC_CHECK_LIB([X11], [XOpenDisplay],[
 		has_x_runtime=yes
-		], [ has_x_runtime=no ], [-L/usr/X11R6/lib $X_LIBS])
+		], [ has_x_runtime=no ], [$X_LIBS])
 
 # 	echo "------done---------"
 # 	echo "x_includes=${x_includes}"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080203/e4907f79/attachment.html


More information about the macports-changes mailing list