bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

diff for gnustep-base configure.in


From: Chris B . Vetter
Subject: diff for gnustep-base configure.in
Date: Thu, 25 Oct 2001 12:12:58 -0700

Hi,

I know it's crude, but it does what it is supposed to ...

:0> diff configure.in.org configure.in
623a624,647
> 
> #
> # Solaris and *BSD use LLONG_MAX instead
> #
>      AC_MSG_CHECKING([whether to use LLONG_MAX instead])
> 
>      AC_TRY_CPP([#include <limits.h>
>      #include <machine/limits.h>
>      #if defined(LLONG_MAX)
>      #if LONG_MAX != LLONG_MAX
>      #endif
>      #endif
>      ], llmax=yes, llmax=no)
> 
>      if test $llmax = yes; then
>        AC_MSG_RESULT(yes)
>        AC_DEFINE(HANDLE_LONG_LONG_MAX)
>        LLONG_MAX="-DLONG_LONG_MAX=LLONG_MAX"
>        LLONG_MIN="-DLONG_LONG_MIN=LLONG_MIN"
>        ULLONG_MAX="-DULONG_LONG_MAX=ULLONG_MAX"
>        CPPFLAGS="$LLONG_MAX $LLONG_MIN $ULLONG_MAX $CPPFLAGS"
>      else
>        AC_MSG_RESULT(no)
>      fi
860a885,891
> 
>      AC_CHECK_LIB(cipher,des_setkey,cipher_ok=yes,cipher_ok=no)
>      if test "$cipher_ok" = yes; then
>        LIBS="$LIBS -lcipher"
>        AC_DEFINE(HAVE_LIB_CIPHER)
>      fi
> 

will add -lcipher (--enable-openssl) and define LONG_LONG_MAX on
*BSD and Solaris.

-- 
Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]