projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update the examples filenames in the Windows installer.
[fio.git]
/
configure
diff --git
a/configure
b/configure
index 1ca461dd739d3cd27b142b214dbdca34f0ce2d7d..7be8789ff37f2d211470152b4187cdcbc10b7ec4 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-94,9
+94,13
@@
compile_prog() {
feature_not_found() {
feature=$1
feature_not_found() {
feature=$1
+ packages=$2
echo "ERROR"
echo "ERROR: User requested feature $feature"
echo "ERROR"
echo "ERROR: User requested feature $feature"
+ if test ! -z "$packages" ; then
+ echo "ERROR: That feature needs $packages installed"
+ fi
echo "ERROR: configure was not able to find it"
fatal "ERROR"
}
echo "ERROR: configure was not able to find it"
fatal "ERROR"
}
@@
-411,9
+415,6
@@
EOF
if compile_prog "" "-lz" "zlib" ; then
zlib=yes
LIBS="-lz $LIBS"
if compile_prog "" "-lz" "zlib" ; then
zlib=yes
LIBS="-lz $LIBS"
-else
- feature_not_found "zlib"
- zlib=no
fi
echo "zlib $zlib"
fi
echo "zlib $zlib"
@@
-434,7
+435,7
@@
if compile_prog "" "-laio" "libaio" ; then
LIBS="-laio $LIBS"
else
if test "$libaio" = "yes" ; then
LIBS="-laio $LIBS"
else
if test "$libaio" = "yes" ; then
- feature_not_found "linux AIO"
+ feature_not_found "linux AIO"
"libaio-dev or libaio-devel"
fi
libaio=no
fi
fi
libaio=no
fi
@@
-955,7
+956,7
@@
fi
echo "__thread $tls_thread"
##########################################
echo "__thread $tls_thread"
##########################################
-#
Whether or not __thread is supported for TLS
+#
Check if we have required gtk/glib support for gfio
if test "$gfio" = "yes" ; then
cat > $TMPC << EOF
#include <glib.h>
if test "$gfio" = "yes" ; then
cat > $TMPC << EOF
#include <glib.h>
@@
-995,7
+996,7
@@
else
fi
fi
fi
fi
-echo "g
fio
$gfio"
+echo "g
tk 2.18 or higher
$gfio"
# Check whether we have getrusage(RUSAGE_THREAD)
rusage_thread="no"
# Check whether we have getrusage(RUSAGE_THREAD)
rusage_thread="no"
@@
-1079,6
+1080,9
@@
if test "$bigendian" = "yes" ; then
else
output_sym "CONFIG_LITTLE_ENDIAN"
fi
else
output_sym "CONFIG_LITTLE_ENDIAN"
fi
+if test "$zlib" = "yes" ; then
+ output_sym "CONFIG_ZLIB"
+fi
if test "$libaio" = "yes" ; then
output_sym "CONFIG_LIBAIO"
fi
if test "$libaio" = "yes" ; then
output_sym "CONFIG_LIBAIO"
fi