aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2012-07-25 12:48:37 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2012-07-25 12:48:37 -0400
commit0fff60287fb9cc41288b3373f47031ab3dd597ac (patch)
tree91357fd5a4312af8ba6de29c4f60d7063f3ae0ca /configure
parent502050948a347ef5c618886cec1b83357ad7ac3f (diff)
downloadegawk-0fff60287fb9cc41288b3373f47031ab3dd597ac.tar.gz
egawk-0fff60287fb9cc41288b3373f47031ab3dd597ac.tar.bz2
egawk-0fff60287fb9cc41288b3373f47031ab3dd597ac.zip
Minor configure.ac/Makefile.am change for more elegant shared library support.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index d862f94c..c45d0cd0 100755
--- a/configure
+++ b/configure
@@ -629,6 +629,7 @@ ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
subdirs
+GAWKLIBEXT
LIBMPFR
LIBREADLINE
SOCKET_LIBS
@@ -10854,9 +10855,11 @@ ac_config_headers="$ac_config_headers config.h:configh.in"
case $acl_shlibext in
-dylib) acl_shlibext=so ;; # force it
+dylib) GAWKLIBEXT=so ;; # MacOS uses .dylib for shared libraries, but libtool uses .so for modules
+*) GAWKLIBEXT=$acl_shlibext ;;
esac
+
ac_config_files="$ac_config_files Makefile awklib/Makefile doc/Makefile po/Makefile.in test/Makefile"