I can use most of DK's changes (thanks...), but this one raises an issue.
If I'm reading it right, it's allowing the search for includes and libraries
to look in uncorrelated directories.  If so, that would break things like
the check for ncurses, which may have a curses.h conflicting with other
implementations.  So I'm asking for more information - what specific problem
is it fixing?  (can we fix it in a different way).

diff -u -r1.13 CF_FIND_LINKAGE
--- CF_FIND_LINKAGE     2008/12/24 12:59:55     1.13
+++ CF_FIND_LINKAGE     2009/01/12 00:52:42
@@ -38,9 +38,9 @@
     cf_test_CPPFLAGS="$CPPFLAGS"
 
     CF_HEADER_PATH(cf_search,ifelse([$6],,[$3],[$6]))
-    for cf_cv_header_path_$3 in $cf_search
+    for cf_cv_header_path_$3 in dummy $cf_search
     do
-      if test -d $cf_cv_header_path_$3 ; then
+      if (test -d $cf_cv_header_path_$3 || test $cf_cv_header_path_$3 = dummy) 
; then
         CF_VERBOSE(... testing $cf_cv_header_path_$3)
         CPPFLAGS="$cf_save_CPPFLAGS -I$cf_cv_header_path_$3"
         AC_TRY_COMPILE([$1],[$2],[
@@ -72,9 +72,9 @@
 
       if test "$cf_cv_find_linkage_$3" != yes ; then
         CF_LIBRARY_PATH(cf_search,$3)
-        for cf_cv_library_path_$3 in $cf_search
+        for cf_cv_library_path_$3 in dummy $cf_search
         do
-          if test -d $cf_cv_library_path_$3 ; then
+          if (test -d $cf_cv_library_path_$3 || test $cf_cv_library_path_$3 = 
dummy) ; then
             CF_VERBOSE(... testing $cf_cv_library_path_$3)
             CPPFLAGS="$cf_test_CPPFLAGS"
             LIBS="-l$3 $7 $cf_save_LIBS"

-- 
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net


_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to