diff options
author | Werner Koch <wk@gnupg.org> | 2007-07-26 09:15:12 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2007-07-26 09:15:12 +0000 |
commit | db6a84d79e4293194dfa0f68f7ac7dc66bb9c5d5 (patch) | |
tree | ead7238449daf8c7fa9056e0e968bec494892b4a /acinclude.m4 | |
parent | 44e19ed44c2a8c8bd6e94fcf5e98fdc850f15eb5 (diff) | |
download | libgcrypt-db6a84d79e4293194dfa0f68f7ac7dc66bb9c5d5.tar.gz |
Fixed symbol prefix detection.
Typo fixes.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index dae5e223..a7bc0fa7 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -93,12 +93,12 @@ if test "$tmp_do_check" = "yes"; then [ac_cv_sys_symbol_underscore=no cat > conftest.$ac_ext <<EOF void nm_test_func(){} - int main(){nm_test_func;return 0; + int main(){nm_test_func;return 0;} EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. ac_nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| $global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \| cut -d \' \' -f 2 \> $ac_nlist) && test -s "$ac_nlist"; then # See whether the symbols have a leading underscore. if egrep '^_nm_test_func' "$ac_nlist" >/dev/null; then ac_cv_sys_symbol_underscore=yes @@ -110,7 +110,7 @@ EOF fi fi else - echo "configure: cannot run $global_symbol_pipe" >&AC_FD_CC + echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC fi else echo "configure: failed program was:" >&AC_FD_CC |