summaryrefslogtreecommitdiffstats
path: root/package/libgcrypt/libgcrypt-00-ac_cv_sys_symbol_underscore.patch
blob: 95db0fbba88afb8be2575ecdf0557683b6b37444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/acinclude.m4 b/acinclude.m4
index a7bc0fa..1a5bffc 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -76,13 +76,14 @@ case "${host}" in
     i386-emx-os2 | i[3456]86-pc-os2*emx | i386-pc-msdosdjgpp)
         ac_cv_sys_symbol_underscore=yes
         ;;
-    *)
-      if test "$cross_compiling" = yes; then
-        if test "x$ac_cv_sys_symbol_underscore" = x ; then
-           ac_cv_sys_symbol_underscore=yes
-        fi
-      else
-         tmp_do_check="yes"
+    *) if test -z "$ac_cv_sys_symbol_underscore"; then
+         if test "$cross_compiling" = yes; then
+           if test "x$ac_cv_sys_symbol_underscore" = x ; then
+              ac_cv_sys_symbol_underscore=yes
+           fi
+         else
+            tmp_do_check="yes"
+         fi
       fi
        ;;
 esac