Changeset - r14691:faefe313628d
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2010-02-28 00:22:23
rubidium@openttd.org
(svn r19285) -Change [FS#3638]: add the default installation directory of lzo/zlib for Mac OS X/MinGW to the paths where (the headers of) those libraries are searched
1 file changed with 15 insertions and 0 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -2303,6 +2303,16 @@ detect_library() {
 
		eval "res=\$$2"
 
		if [ -z "$res" ]; then
 
			log 2 "  trying /usr/local/include/$4$5... no"
 
			eval "$2=`ls -1 /mingw/include/$4*.h 2>/dev/null | egrep \"\/$5\$\"`"
 
		fi
 
		eval "res=\$$2"
 
		if [ -z "$res" ]; then
 
			log 2 "  trying /usr/local/include/$4$5... no"
 
			eval "$2=`ls -1 /opt/local/include/$4*.h 2>/dev/null | egrep \"\/$5\$\"`"
 
		fi
 
		eval "res=\$$2"
 
		if [ -z "$res" ]; then
 
			log 2 "  trying /opt/local/include/$4$5... no"
 
		fi
 

	
 
		eval "res=\$$2"
 
@@ -2324,6 +2334,11 @@ detect_library() {
 
			eval "res=\$$2"
 
			if [ -z "$res" ]; then
 
				log 2 "  trying /usr/local/lib/$3... no"
 
				eval "$2=`ls /mingw/lib/*.a 2>/dev/null | egrep \"\/$3\$\"`"
 
			fi
 
			eval "res=\$$2"
 
			if [ -z "$res" ]; then
 
				log 2 "  trying /mingw/lib/$3... no"
 
				log 1 "configure: error: $2 couldn't be found"
 
				log 1 "configure: error: you requested a static link, but I can't find $3"
 

	
0 comments (0 inline, 0 general)