feature_not_found() {
feature=$1
+ packages=$2
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"
}
if compile_prog "" "-lz" "zlib" ; then
zlib=yes
LIBS="-lz $LIBS"
-else
- feature_not_found "zlib"
- zlib=no
fi
echo "zlib $zlib"
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
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>
fi
fi
-echo "gfio $gfio"
+echo "gtk 2.18 or higher $gfio"
# Check whether we have getrusage(RUSAGE_THREAD)
rusage_thread="no"
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