aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2019-12-22 21:53:33 +0200
committerArnold D. Robbins <arnold@skeeve.com>2019-12-22 21:53:33 +0200
commit6b7b05f011d15d8b12ee497a26d6dc69cbf445ed (patch)
tree41773b2909ef42bfe049b0b37ab5c6a95598e019 /configure
parent0c31cf60d2777573de6b34f239a2c4c21bbb8bfc (diff)
downloadegawk-6b7b05f011d15d8b12ee497a26d6dc69cbf445ed.tar.gz
egawk-6b7b05f011d15d8b12ee497a26d6dc69cbf445ed.tar.bz2
egawk-6b7b05f011d15d8b12ee497a26d6dc69cbf445ed.zip
Fix for building on Windows with msys2.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 8d5d2d21..b771eff4 100755
--- a/configure
+++ b/configure
@@ -11057,11 +11057,17 @@ ac_config_headers="$ac_config_headers config.h:configh.in"
+if test "x$EXEEXT" = x.exe; then :
+ GAWKLIBEXT=dll
+else
+
case $acl_shlibext in
dylib) GAWKLIBEXT=so ;; # MacOS uses .dylib for shared libraries, but libtool uses .so for modules
*) GAWKLIBEXT=$acl_shlibext ;;
esac
+fi
+
ac_config_files="$ac_config_files Makefile support/Makefile awklib/Makefile doc/Makefile extras/Makefile po/Makefile.in test/Makefile"