summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authoreathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-11 21:06:25 +0000
committereathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-11 21:06:25 +0000
commit415e738feb188909dea60831aef07c4fb0fe0f17 (patch)
tree655d59ab571962a2b3fa2fdc492bee3b83b024cc /configure
parentd187830a9f19239d7f43729a51198ed9dd8c176f (diff)
downloadhercules-415e738feb188909dea60831aef07c4fb0fe0f17.tar.gz
hercules-415e738feb188909dea60831aef07c4fb0fe0f17.tar.bz2
hercules-415e738feb188909dea60831aef07c4fb0fe0f17.tar.xz
hercules-415e738feb188909dea60831aef07c4fb0fe0f17.zip
* Merged changes up to eAthena 15032.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15065 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure68
1 files changed, 0 insertions, 68 deletions
diff --git a/configure b/configure
index e26d187e8..606107040 100755
--- a/configure
+++ b/configure
@@ -3523,74 +3523,6 @@ fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-#
-# DB_MANUAL_CAST_TO_UNION
-#
-echo "$as_me:$LINENO: checking whether $CC is able to typecast to union" >&5
-echo $ECHO_N "checking whether $CC is able to typecast to union... $ECHO_C" >&6
-cat >conftest.$ac_ext <<_ACEOF
-
- typedef union Foonion
- {
- int i;
- unsigned int ui;
- const char* s;
- }
- Foonion;
-
- int bar(Foonion onion)
- {
- return onion.i;
- }
-
- int foo(void)
- {
- int i = 0;
-
- return bar(((Foonion)(int)i));
- }
-
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
-
- echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
- CFLAGS="$CFLAGS -DDB_MANUAL_CAST_TO_UNION"
-
-
-fi
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-
-
###############################################################################
# Check for libraries and header files.
#