diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-19 12:20:52 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-19 12:20:52 +0000 |
commit | f1bcdf518fa7868b7819b0248f4b8da02a954dde (patch) | |
tree | 9717e9ec3bc9e7ebb8d930fd04808b98fe41b069 /package/libgcrypt/libgcrypt-00-ac_cv_sys_symbol_underscore.patch | |
parent | 721599538656b49ccd037cdc345bba710c4cdbc7 (diff) | |
download | buildroot-novena-f1bcdf518fa7868b7819b0248f4b8da02a954dde.tar.gz buildroot-novena-f1bcdf518fa7868b7819b0248f4b8da02a954dde.zip |
- 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 !)
Diffstat (limited to 'package/libgcrypt/libgcrypt-00-ac_cv_sys_symbol_underscore.patch')
-rw-r--r-- | package/libgcrypt/libgcrypt-00-ac_cv_sys_symbol_underscore.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/libgcrypt/libgcrypt-00-ac_cv_sys_symbol_underscore.patch b/package/libgcrypt/libgcrypt-00-ac_cv_sys_symbol_underscore.patch new file mode 100644 index 000000000..fe713601e --- /dev/null +++ b/package/libgcrypt/libgcrypt-00-ac_cv_sys_symbol_underscore.patch @@ -0,0 +1,24 @@ +diff -u libgcrypt-1.2.4.oorig/acinclude.m4 libgcrypt-1.2.4/acinclude.m4 +--- libgcrypt-1.2.4.oorig/acinclude.m4 2005-07-29 15:45:48.000000000 +0200 ++++ libgcrypt-1.2.4/acinclude.m4 2007-09-19 13:33:19.000000000 +0200 +@@ -99,12 +99,14 @@ + i386-emx-os2 | i[3456]86-pc-os2*emx | i386-pc-msdosdjgpp) + ac_cv_sys_symbol_underscore=yes + ;; +- *) +- if test "$cross_compiling" = yes; then +- ac_cv_sys_symbol_underscore=yes +- else +- tmp_do_check="yes" +- fi ++ *) 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 |