Help with shell script error
I have some shell script
#!/bin/sh if test $ac_cv_sizeof_short -eq 0 \ -o $ac_cv_sizeof_unsigned_short -eq 0 \ -o $ac_cv_sizeof_int -eq 0 \ -o $ac_cv_sizeof_unsigned_int -eq 0 \ -o $ac_cv_sizeof_long -eq 0 \ -o $ac_cv_sizeof_unsigned_long -eq 0 \ -o $ac_cv_sizeof_long_long -eq 0 \ -o $ac_cv_sizeof_unsigned_long_long -eq 0 \ -o $ac_cv_sizeof_float -eq 0 \ -o $ac_cv_sizeof_double -eq 0 ; then echo '*** I have a problem determining the size of some variable types. Either' echo '*** you compiler is broken, or your system+compiler combination is not' echo '*** supportet by the "autoconf" framework we use to generate this' echo '*** configure script.' exit 1 fi that produces this error: some-sh.sh: line 3: test: too many arguments How can I fix this? |
How many arguments are you passing to it?
|
All times are GMT -5. The time now is 03:33 AM. |