diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-05-12 22:31:51 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-05-12 22:31:51 +0000 |
commit | 3f698bf9a563bffa6f96ed798c0afed5c83b9bb9 (patch) | |
tree | 965ad6f77b0ad5121314521ef5b7086912682b49 /lib/make/configure | |
parent | 38dba69e0d7587e5c40e1b06f4c85a41263d804f (diff) |
Bug fixes for cross-compilation. Now will stop if the various
sizes aren't defined.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1654 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/configure')
-rwxr-xr-x | lib/make/configure | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/make/configure b/lib/make/configure index d6851b00..d77a77b3 100755 --- a/lib/make/configure +++ b/lib/make/configure @@ -1738,8 +1738,8 @@ esac # Check for sizes of integer types -if test "x$cross_compiling" = "yes"; then - if test -z "SIZEOF_LONG_INT" ; then +if test "x$cross_compiling" = "xyes"; then + if test -z "$SIZEOF_LONG_INT" ; then { echo "configure: error: Cross-compiling - no value set for sizeof(long int) please set SIZEOF_LONG_INT" 1>&2; exit 1; } fi fi @@ -1784,8 +1784,8 @@ EOF -if test "x$cross_compiling" = "yes"; then - if test -z "SIZEOF_INT" ; then +if test "x$cross_compiling" = "xyes"; then + if test -z "$SIZEOF_INT" ; then { echo "configure: error: Cross-compiling - no value set for sizeof(int) please set SIZEOF_INT" 1>&2; exit 1; } fi fi @@ -1830,8 +1830,8 @@ EOF -if test "x$cross_compiling" = "yes"; then - if test -z "SIZEOF_SHORT_INT" ; then +if test "x$cross_compiling" = "xyes"; then + if test -z "$SIZEOF_SHORT_INT" ; then { echo "configure: error: Cross-compiling - no value set for sizeof(short int) please set SIZEOF_SHORT_INT" 1>&2; exit 1; } fi fi @@ -1878,8 +1878,8 @@ EOF # Check for sizes of floating point types -if test "x$cross_compiling" = "yes"; then - if test -z "SIZEOF_LONG_DOUBLE" ; then +if test "x$cross_compiling" = "xyes"; then + if test -z "$SIZEOF_LONG_DOUBLE" ; then { echo "configure: error: Cross-compiling - no value set for sizeof(long double) please set SIZEOF_LONG_DOUBLE" 1>&2; exit 1; } fi fi @@ -1924,8 +1924,8 @@ EOF -if test "x$cross_compiling" = "yes"; then - if test -z "SIZEOF_DOUBLE" ; then +if test "x$cross_compiling" = "xyes"; then + if test -z "$SIZEOF_DOUBLE" ; then { echo "configure: error: Cross-compiling - no value set for sizeof(double) please set SIZEOF_DOUBLE" 1>&2; exit 1; } fi fi @@ -1971,8 +1971,8 @@ EOF -if test "x$cross_compiling" = "yes"; then - if test -z "SIZEOF_FLOAT" ; then +if test "x$cross_compiling" = "xyes"; then + if test -z "$SIZEOF_FLOAT" ; then { echo "configure: error: Cross-compiling - no value set for sizeof(float) please set SIZEOF_FLOAT" 1>&2; exit 1; } fi fi @@ -2019,8 +2019,8 @@ EOF # Check for sizes of pointers. -if test "x$cross_compiling" = "yes"; then - if test -z "SIZEOF_POINTER" ; then +if test "x$cross_compiling" = "xyes"; then + if test -z "$SIZEOF_POINTER" ; then { echo "configure: error: Cross-compiling - no value set for sizeof(char *) please set SIZEOF_POINTER" 1>&2; exit 1; } fi fi @@ -2068,8 +2068,8 @@ EOF # See if there's a null device, and what it's called -if test "x$cross_compiling" = "yes"; then - if test -z "NULL_DEVICE" ; then +if test "x$cross_compiling" = "xyes"; then + if test -z "$NULL_DEVICE" ; then echo "configure: warning: Cross-compiling - no value set for location of null device please set NULL_DEVICE" 1>&2 echo "configure: warning: Defaulting to /dev/null" 1>&2 NULL_DEVICE="/dev/null" |