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