buildrootschalter/package/libgcrypt/libgcrypt-01-reconfigure.patch
Bernhard Reutner-Fischer f1bcdf518f - fix incorrect setting of $ac_cv_sys_symbol_underscore.
There is no reason not to AC_COMPILE and use the set cross-nm to look for
  the symbol mangling scheme. Thus it is incorrect to check for cross compilation
  in the GNUPG_SYS_SYMBOL_UNDERSCORE check.
- fix bug when configuring (has to wipe config.cache !)
2007-09-19 12:20:52 +00:00

18 lines
545 B
Diff

--- libgcrypt-1.2.4.oorig/configure 2007-09-19 13:40:48.000000000 +0200
+++ libgcrypt-1.2.4/configure 2007-09-19 13:41:44.000000000 +0200
@@ -27370,12 +27370,13 @@
i386-emx-os2 | i345686-pc-os2*emx | i386-pc-msdosdjgpp)
ac_cv_sys_symbol_underscore=yes
;;
- *)
+ *)if test -z "$ac_cv_sys_symbol_underscore";then
if test "$cross_compiling" = yes; then
ac_cv_sys_symbol_underscore=yes
else
tmp_do_check="yes"
fi
+ fi
;;
esac
if test "$tmp_do_check" = "yes"; then