lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] CF_FIND_LINKAGE


From: Thomas Dickey
Subject: [Lynx-dev] CF_FIND_LINKAGE
Date: Sun, 18 Jan 2009 18:34:31 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

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 <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]