]> git.saurik.com Git - wxWidgets.git/commitdiff
Revert previous commit for fear that 'test -h' may not work everywhere
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 19 Sep 2005 20:16:19 +0000 (20:16 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 19 Sep 2005 20:16:19 +0000 (20:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

acinclude.m4

index 83e577c1f9a616d7fed5351feb5ddb4be4860fb5..51cd13f6a3aaedbb88aba29423798588a52aadf8 100644 (file)
@@ -35,8 +35,7 @@ AC_DEFUN([WX_PATH_FIND_INCLUDES],
 ac_find_includes=
 for ac_dir in $1 /usr/include;
   do
-    wx_ac_hdr="$ac_dir/$2"
-    if test -f "$wx_ac_hdr" -o -h "$wx_ac_hdr"; then
+    if test -f "$ac_dir/$2"; then
       ac_find_includes=$ac_dir
       break
     fi
@@ -53,8 +52,7 @@ AC_DEFUN([WX_PATH_FIND_LIBRARIES],
   for ac_dir in $1;
   do
     for ac_extension in a so sl dylib dll.a; do
-      wx_ac_lib="$ac_dir/lib$2.$ac_extension"
-      if test -f "$wx_ac_lib" -o -h "$wx_ac_lib"; then
+      if test -f "$ac_dir/lib$2.$ac_extension"; then
         ac_find_libraries=$ac_dir
         break 2
       fi