diff options
author | Werner Koch <[email protected]> | 1999-02-16 13:16:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1999-02-16 13:16:33 +0000 |
commit | e1a1b3fc90af66a5db5ee92514b0a7c52e49d1ed (patch) | |
tree | 31dd54ac26b4c3fc30cc93d66161e72bf4cf7927 /configure.in | |
parent | See ChangeLog: Sat Feb 13 14:13:04 CET 1999 Werner Koch (diff) | |
download | gnupg-e1a1b3fc90af66a5db5ee92514b0a7c52e49d1ed.tar.gz gnupg-e1a1b3fc90af66a5db5ee92514b0a7c52e49d1ed.zip |
See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner Koch
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/configure.in b/configure.in index e16954361..f912ec4e2 100644 --- a/configure.in +++ b/configure.in @@ -90,9 +90,9 @@ dnl AC_CYGWIN32 MPI_OPT_FLAGS="" if test "$GCC" = yes; then - CFLAGS="$CFLAGS -Wall" + CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes" dnl Always enable optimazation in MPI - if echo "$CFLAGS" | grep "[-]O" >/dev/null ; then + if (echo "$CFLAGS" | grep '[-]O') >/dev/null ; then : else MPI_OPT_FLAGS=-O2 @@ -129,6 +129,13 @@ case "${target}" in CFLAGS="$CFLAGS -Ae -D_HPUX_SOURCE" fi ;; + *-dec-osf4*) + if test -z "$GCC" ; then + # Suppress all warnings + # to get rid of the unsigned/signed char mismatch warnings. + CFLAGS="$CFLAGS -w" + fi + ;; m68k-atari-mint) ;; *) @@ -188,6 +195,10 @@ if test "$try_gdbm" = yes; then AC_CHECK_LIB(gdbm,gdbm_firstkey) fi +dnl Solaris needs -lsocket and -lnsl +AC_CHECK_LIB(socket, socket) +AC_CHECK_LIB(nsl, gethostbyname) + if test "$try_dynload" = yes ; then AC_CHECK_LIB(dl,dlopen) |