summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-03-09 11:28:17 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-03-09 11:59:26 (GMT)
commitcbfc8b442e6765bf23de1ead6699bd7cf5b8cd57 (patch)
treefe0fe169b401ee00fe0c6cb4cc45f38db62041d5 /configure
parentc6333338b900f0571428af84f1da74aa9dfb1a80 (diff)
downloadQt-cbfc8b442e6765bf23de1ead6699bd7cf5b8cd57.zip
Qt-cbfc8b442e6765bf23de1ead6699bd7cf5b8cd57.tar.gz
Qt-cbfc8b442e6765bf23de1ead6699bd7cf5b8cd57.tar.bz2
Remove largefile config test
Somewhere in 2005 the code was changed to no longer run the exe but just to compile it which means that as soon as the simple exe compiled large file support was set to true. Removing the complexity and just setting the default to true in the configure script sounds like the honest thing to do :)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 1 insertions, 18 deletions
diff --git a/configure b/configure
index b6ba1e8..94ea874 100755
--- a/configure
+++ b/configure
@@ -725,7 +725,7 @@ CFG_DBUS=auto
CFG_GLIB=auto
CFG_GSTREAMER=auto
CFG_QGTKSTYLE=auto
-CFG_LARGEFILE=auto
+CFG_LARGEFILE=yes
CFG_OPENSSL=auto
CFG_PTMALLOC=no
CFG_STL=auto
@@ -5888,23 +5888,6 @@ if [ "$CFG_GETIFADDRS" != "no" ]; then
fi
fi
-# find if the platform supports X/Open Large File compilation environment
-if [ "$CFG_LARGEFILE" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/largefile "X/Open Large File" $L_FLAGS $I_FLAGS $l_FLAGS; then
- CFG_LARGEFILE=yes
- else
- if [ "$CFG_LARGEFILE" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
- echo "X/Open Large File support cannot be enabled due to functionality tests!"
- echo " Turn on verbose messaging (-v) to $0 to see the final report."
- echo " If you believe this message is in error you may use the continue"
- echo " switch (-continue) to $0 to continue."
- exit 101
- else
- CFG_LARGEFILE=no
- fi
- fi
-fi
-
# detect OpenSSL
if [ "$CFG_OPENSSL" != "no" ]; then
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/openssl "OpenSSL" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_CONFIG_TEST_COMMANDLINE; then