From af7bd84d62d097066dd9a5e465d0422e6f6e2603 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 24 Dec 1996 21:09:58 +0000 Subject: [PATCH] * configure.in: Fix up "test $ac_cv_c_cross" to deal with autoconf-2.12, since that variable can be set to a null string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9687 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 5 +++++ src/appl/bsd/configure.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index a0f9faf19..f5b533421 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 24 16:08:41 1996 Tom Yu + + * configure.in: Fix up "test $ac_cv_c_cross" to deal with + autoconf-2.12, since that variable can be set to a null string. + Fri Dec 6 00:53:08 1996 Theodore Y. Ts'o * v4rcp.c: Extend the platform-specific braindamage so that diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in index d8ca7c72f..ab2789aa3 100644 --- a/src/appl/bsd/configure.in +++ b/src/appl/bsd/configure.in @@ -177,7 +177,7 @@ dnl AC_MSG_CHECKING([/etc/environment]) AC_CACHE_VAL(krb5_cv_etc_environment, [AC_C_CROSS -if test $ac_cv_c_cross = yes; then +if test "$ac_cv_c_cross" = yes; then errprint(__file__:__line__: warning: Cannot check for file existence when cross compiling )dnl AC_MSG_ERROR(Cannot check for file existence when cross compiling) @@ -197,7 +197,7 @@ dnl AC_MSG_CHECKING([/etc/TIMEZONE]) AC_CACHE_VAL(krb5_cv_etc_timezone, [AC_C_CROSS -if test $ac_cv_c_cross = yes; then +if test "$ac_cv_c_cross" = yes; then errprint(__file__:__line__: warning: Cannot check for file existence when cross compiling )dnl AC_MSG_ERROR(Cannot check for file existence when cross compiling) -- 2.26.2