diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-09-13 17:27:53 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-09-13 17:27:53 +0300 |
commit | 99290f5ca37cb905f7f1dab9be416b2e2057d243 (patch) | |
tree | b8b337622f6f06293fed652cf93e39ab67a60a75 /configure | |
parent | c2db2b9ff8465cb5044e6f22beb229336479be57 (diff) | |
download | egawk-99290f5ca37cb905f7f1dab9be416b2e2057d243.tar.gz egawk-99290f5ca37cb905f7f1dab9be416b2e2057d243.tar.bz2 egawk-99290f5ca37cb905f7f1dab9be416b2e2057d243.zip |
z/OS changes from Dave Pitts and Arnold.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -10018,9 +10018,6 @@ $as_echo "#define HAVE_MBRTOWC 1" >>confdefs.h ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" if test "x$ac_cv_header_dlfcn_h" = xyes; then : -$as_echo "#define DYNAMIC 1" >>confdefs.h - - # Check this separately. Some systems have dlopen # in libc. Notably freebsd and cygwin. # HP-NSK has it in zrldsrl @@ -10077,9 +10074,19 @@ $as_echo "$ac_cv_search_dlopen" >&6; } ac_res=$ac_cv_search_dlopen if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - + gawk_have_dlopen=yes +else + gawk_have_dlopen=no fi + # Only do DYNAMIC if we have the lip. z/OS (some versions) have + # the header but not the lib, apparently + if test "$gawk_have_dlopen" = yes + then + +$as_echo "#define DYNAMIC 1" >>confdefs.h + + fi fi |