projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sg: don't return success if non bdev/char is used
[fio.git]
/
configure
diff --git
a/configure
b/configure
index aaad70e20958129ef8f837411c7b1235f0306f1b..892335b92b8a37b95ed166cac6d677aebdf10d72 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-165,6
+165,8
@@
for opt do
;;
--enable-libhdfs) libhdfs="yes"
;;
;;
--enable-libhdfs) libhdfs="yes"
;;
+ --disable-shm) output_sym "CONFIG_NO_SHM"
+ ;;
--help)
show_help="yes"
;;
--help)
show_help="yes"
;;
@@
-885,7
+887,7
@@
cat > $TMPC << EOF
int main(int argc, char **argv)
{
struct bitmask *mask = numa_parse_nodestring(NULL);
int main(int argc, char **argv)
{
struct bitmask *mask = numa_parse_nodestring(NULL);
- return 0;
+ return
mask->size ==
0;
}
EOF
if compile_prog "" "" "libnuma api"; then
}
EOF
if compile_prog "" "" "libnuma api"; then
@@
-1010,6
+1012,8
@@
int main(void)
}
EOF
GTK_CFLAGS=$(pkg-config --cflags gtk+-2.0 gthread-2.0)
}
EOF
GTK_CFLAGS=$(pkg-config --cflags gtk+-2.0 gthread-2.0)
+ORG_LDFLAGS=$LDFLAGS
+LDFLAGS=$(echo $LDFLAGS | sed s/"-static"//g)
if test "$?" != "0" ; then
echo "configure: gtk and gthread not found"
exit 1
if test "$?" != "0" ; then
echo "configure: gtk and gthread not found"
exit 1
@@
-1023,7
+1027,7
@@
if compile_prog "$GTK_CFLAGS" "$GTK_LIBS" "gfio" ; then
r=$($TMPE)
if test "$r" != "0" ; then
gfio="yes"
r=$($TMPE)
if test "$r" != "0" ; then
gfio="yes"
- LIBS="$LIBS $GTK_LIBS"
+
GFIO_
LIBS="$LIBS $GTK_LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
else
echo "GTK found, but need version 2.18 or higher"
CFLAGS="$CFLAGS $GTK_CFLAGS"
else
echo "GTK found, but need version 2.18 or higher"
@@
-1033,6
+1037,7
@@
else
echo "Please install gtk and gdk libraries"
gfio="no"
fi
echo "Please install gtk and gdk libraries"
gfio="no"
fi
+LDFLAGS=$ORG_LDFLAGS
fi
if test "$gfio_check" = "yes" ; then
fi
if test "$gfio_check" = "yes" ; then
@@
-1563,7
+1568,10
@@
if test "$gf_trim" = "yes" ; then
fi
if test "$libhdfs" = "yes" ; then
output_sym "CONFIG_LIBHDFS"
fi
if test "$libhdfs" = "yes" ; then
output_sym "CONFIG_LIBHDFS"
-fi
+ echo "JAVA_HOME=$JAVA_HOME" >> $config_host_mak
+ echo "FIO_LIBHDFS_INCLUDE=$FIO_LIBHDFS_INCLUDE" >> $config_host_mak
+ echo "FIO_LIBHDFS_LIB=$FIO_LIBHDFS_LIB" >> $config_host_mak
+ fi
if test "$arith" = "yes" ; then
output_sym "CONFIG_ARITHMETIC"
if test "$yacc_is_bison" = "yes" ; then
if test "$arith" = "yes" ; then
output_sym "CONFIG_ARITHMETIC"
if test "$yacc_is_bison" = "yes" ; then
@@
-1578,6
+1586,7
@@
if test "$zlib" = "no" ; then
fi
echo "LIBS+=$LIBS" >> $config_host_mak
fi
echo "LIBS+=$LIBS" >> $config_host_mak
+echo "GFIO_LIBS+=$GFIO_LIBS" >> $config_host_mak
echo "CFLAGS+=$CFLAGS" >> $config_host_mak
echo "LDFLAGS+=$LDFLAGS" >> $config_host_mak
echo "CC=$cc" >> $config_host_mak
echo "CFLAGS+=$CFLAGS" >> $config_host_mak
echo "LDFLAGS+=$LDFLAGS" >> $config_host_mak
echo "CC=$cc" >> $config_host_mak