Changeset - r14696:df0a676b3cd3
[Not reviewed]
master
0 1 0
glx - 14 years ago 2010-02-28 15:01:57
glx@openttd.org
(svn r19290) -Fix (r19285): wrong path in log
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -2298,25 +2298,25 @@ detect_library() {
 
		eval "res=\$$2"
 
		if [ -z "$res" ]; then
 
			log 2 "  trying /usr/include/$4$5... no"
 
			eval "$2=`ls -1 /usr/local/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 /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"
 
			log 2 "  trying /mingw/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"
 
		if [ -n "$res" ] && ( [ -n "$force_static" ] || ( [ "$enable_static" != "0" ] && [ "$os" != "OSX" ] ) ); then
 
			eval "res=\$$2"
 
			log 2 "  trying $res... found"
 
			# Now find the static lib, if needed
0 comments (0 inline, 0 general)