aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorgrischka <grischka>2016-12-15 17:04:07 +0100
committergrischka <grischka>2016-12-15 17:04:07 +0100
commit2b7ee000cd3dd49283f73a95bb0a09cb2de7039f (patch)
tree0a44baf6b854f9a09fb9d950434adccc498d129e /configure
parentca92bfc3c64128872793c167de3a58a78b9a1299 (diff)
downloadtinycc-2b7ee000cd3dd49283f73a95bb0a09cb2de7039f.tar.gz
tinycc-2b7ee000cd3dd49283f73a95bb0a09cb2de7039f.tar.bz2
tests: add .so/.dll creation test
Also remove bitfield test from tcctest.c because gcc versions don't agree among each other.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index f02d6e4..42821ce 100755
--- a/configure
+++ b/configure
@@ -38,6 +38,7 @@ bigendian="no"
mingw32="no"
LIBSUF=".a"
EXESUF=""
+DLLSUF=".so"
tcc_sysincludepaths=""
tcc_libpaths=""
tcc_crtprefix=""
@@ -222,6 +223,7 @@ if test "$mingw32" = "yes" ; then
infodir="${sharedir}/info"
LIBSUF=".lib"
EXESUF=".exe"
+ DLLSUF=".dll"
else
if test -z "$prefix" ; then
prefix="/usr/local"
@@ -416,6 +418,7 @@ CFLAGS=$CFLAGS
LDFLAGS=$LDFLAGS
LIBSUF=$LIBSUF
EXESUF=$EXESUF
+DLLSUF=$DLLSUF
EOF
print_inc() {