Ticket #13901: patch-configure.diff
File patch-configure.diff, 3.2 KB (added by blb@…, 17 years ago) |
---|
-
configure
old new 2675 2675 2676 2676 fi; 2677 2677 2678 LDFLAGS="$LDFLAGS -L/usr/local/lib"2679 2678 2680 2679 case "$host" in 2681 2680 *-apple-darwin*) … … 2695 2694 gww_define_caps_for_alt="1" 2696 2695 2697 2696 2698 CPPFLAGS="$CPPFLAGS -I /sw/include"2699 LDFLAGS="$LDFLAGS -L /sw/lib"2700 gww_rpath="-rpath /sw/lib"2697 CPPFLAGS="$CPPFLAGS -I@@PREFIX@@/include" 2698 LDFLAGS="$LDFLAGS -L@@PREFIX@@/lib" 2699 gww_rpath="-rpath @@PREFIX@@/lib" 2701 2700 LIBS="-Wl,/System/Library/Frameworks/CoreServices.framework/CoreServices $LIBS" 2702 2701 2703 2702 ;; … … 19171 19170 19172 19171 fi 19173 19172 19174 echo "$as_me:$LINENO: checking for /usr/include/libxml2/libxml" >&519175 echo $ECHO_N "checking for /usr/include/libxml2/libxml... $ECHO_C" >&619176 if test "${ac_cv_file__ usr_include_libxml2_libxml+set}" = set; then19173 echo "$as_me:$LINENO: checking for @@PREFIX@@/include/libxml2/libxml" >&5 19174 echo $ECHO_N "checking for @@PREFIX@@/include/libxml2/libxml... $ECHO_C" >&6 19175 if test "${ac_cv_file__opt_local_include_libxml2_libxml+set}" = set; then 19177 19176 echo $ECHO_N "(cached) $ECHO_C" >&6 19178 19177 else 19179 19178 test "$cross_compiling" = yes && 19180 19179 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 19181 19180 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 19182 19181 { (exit 1); exit 1; }; } 19183 if test -r " /usr/include/libxml2/libxml"; then19184 ac_cv_file__ usr_include_libxml2_libxml=yes19182 if test -r "@@PREFIX@@/include/libxml2/libxml"; then 19183 ac_cv_file__opt_local_include_libxml2_libxml=yes 19185 19184 else 19186 ac_cv_file__ usr_include_libxml2_libxml=no19185 ac_cv_file__opt_local_include_libxml2_libxml=no 19187 19186 fi 19188 19187 fi 19189 echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_libxml2_libxml" >&5 19190 echo "${ECHO_T}$ac_cv_file__usr_include_libxml2_libxml" >&6 19191 if test $ac_cv_file__usr_include_libxml2_libxml = yes; then 19192 CFLAGS="$CFLAGS -I/usr/include/libxml2/" 19193 else 19194 19195 echo "$as_me:$LINENO: checking for /usr/local/include/libxml2/libxml" >&5 19196 echo $ECHO_N "checking for /usr/local/include/libxml2/libxml... $ECHO_C" >&6 19197 if test "${ac_cv_file__usr_local_include_libxml2_libxml+set}" = set; then 19198 echo $ECHO_N "(cached) $ECHO_C" >&6 19199 else 19200 test "$cross_compiling" = yes && 19201 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 19202 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 19203 { (exit 1); exit 1; }; } 19204 if test -r "/usr/local/include/libxml2/libxml"; then 19205 ac_cv_file__usr_local_include_libxml2_libxml=yes 19206 else 19207 ac_cv_file__usr_local_include_libxml2_libxml=no 19208 fi 19188 echo "$as_me:$LINENO: result: $ac_cv_file__opt_local_include_libxml2_libxml" >&5 19189 echo "${ECHO_T}$ac_cv_file__opt_local_include_libxml2_libxml" >&6 19190 if test $ac_cv_file__opt_local_include_libxml2_libxml = yes; then 19191 CFLAGS="$CFLAGS -I@@PREFIX@@/include -I@@PREFIX@@/include/libxml2/" 19209 19192 fi 19210 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_libxml2_libxml" >&519211 echo "${ECHO_T}$ac_cv_file__usr_local_include_libxml2_libxml" >&619212 if test $ac_cv_file__usr_local_include_libxml2_libxml = yes; then19213 CFLAGS="$CFLAGS -I/usr/local/include -I/usr/local/include/libxml2/"19214 else19215 cat >>confdefs.h <<\_ACEOF19216 #define _NO_LIBXML 119217 _ACEOF19218 19219 fi19220 19221 fi19222 19223 19193 19224 19194 19225 19195 echo "$as_me:$LINENO: checking for DGifOpenFileName in -lgif" >&5