projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: allow --cpu to be specified
[fio.git]
/
configure
diff --git
a/configure
b/configure
index c0114367b2b1f7b69facb59fac65f7c71db63695..10a9a4cf59df60b8e74ff78500df1db17d517350 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-129,6
+129,8
@@
exit_val=0
for opt do
optarg=`expr "x$opt" : 'x[^=]*=\(.*\)'`
case "$opt" in
for opt do
optarg=`expr "x$opt" : 'x[^=]*=\(.*\)'`
case "$opt" in
+ --cpu=*) cpu="$optarg"
+ ;;
--cc=*) CC="$optarg"
;;
--extra-cflags=*) CFLAGS="$CFLAGS $optarg"
--cc=*) CC="$optarg"
;;
--extra-cflags=*) CFLAGS="$CFLAGS $optarg"
@@
-146,8
+148,10
@@
for opt do
done
if test "$show_help" = "yes" ; then
done
if test "$show_help" = "yes" ; then
+ echo "--cpu= Specify target CPU if auto-detect fails"
echo "--cc= Specify compiler to use"
echo "--extra-cflags= Specify extra CFLAGS to pass to compiler"
echo "--cc= Specify compiler to use"
echo "--extra-cflags= Specify extra CFLAGS to pass to compiler"
+ echo "--build-32bit-win= Specify yes for a 32-bit build on Windows"
exit $exit_val
fi
exit $exit_val
fi
@@
-199,7
+203,6
@@
CYGWIN*)
fi
output_sym "CONFIG_FADVISE"
output_sym "CONFIG_SOCKLEN_T"
fi
output_sym "CONFIG_FADVISE"
output_sym "CONFIG_SOCKLEN_T"
- output_sym "CONFIG_POSIX_FALLOCATE"
output_sym "CONFIG_FADVISE"
output_sym "CONFIG_SFAA"
output_sym "CONFIG_RUSAGE_THREAD"
output_sym "CONFIG_FADVISE"
output_sym "CONFIG_SFAA"
output_sym "CONFIG_RUSAGE_THREAD"
@@
-276,8
+279,7
@@
case "$cpu" in
cpu="sparc"
;;
*)
cpu="sparc"
;;
*)
- echo "Unknown CPU"
- exit 1;
+ echo "Unknown CPU"
;;
esac
;;
esac