aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure b/configure
index 69fa7e9..e8820e9 100755
--- a/configure
+++ b/configure
@@ -24,6 +24,8 @@ enable_quartz=0
fake_w32gdi=0
fake_quartz=0
+os=common
+
for arg in "$@"; do
case "${arg}" in
@@ -52,14 +54,18 @@ for arg in "$@"; do
(--windows=developer) enable_debug=1
enable_dummy=1
enable_w32gdi=1
+ os=w32
;;
(--windows) enable_w32gdi=1
+ os=w32
;;
(--mac-os-x=developer) enable_debug=1
enable_dummy=1
enable_quartz=1
+ os=osx
;;
(--mac-os-x) enable_quartz=1
+ os=osx
;;
(--debug) enable_debug=1 ;;
(--enable-dummy) enable_dummy=1 ;;
@@ -168,6 +174,13 @@ if [ ${fake_quartz} = 1 ]; then
have_quartz='Yes, fake via dummy method, `/dev/null`-style'
fi
fi
+if [ ${os} = w32 ]; then
+ echo 'SO = dll' >&3
+elif [ ${os} = os ]; then
+ echo 'SO = dylib' >&3n
+ echo 'SHARED = -dynamiclib' >&3
+ echo 'LDSO = ' >&3
+fi
echo >&4
echo >&4