X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=configure.ac;h=8d4ce59a0eec619086b0e8234903efaed945ef37;hp=5960b0871ec7fc720bef13a90d9af5a58dd75e10;hb=3ea5399aeec092dcdb9f039288f1e146aadbb2f7;hpb=75695bba841fc43094ebc669418187080cea00e6 diff --git a/configure.ac b/configure.ac index 5960b087..8d4ce59a 100644 --- a/configure.ac +++ b/configure.ac @@ -65,12 +65,17 @@ AC_DEFUN([LIB_SUBST_FLAGS], [ AC_SUBST($1_ldflags) ]) +AC_USE_SYSTEM_EXTENSIONS AC_C_BIGENDIAN() AC_PATH_PROG([GENGETOPT], [gengetopt]) test -z "$GENGETOPT" && AC_MSG_ERROR( [gengetopt is required to build this package]) +AC_PATH_PROG([M4], [m4]) +test -z "$M4" && AC_MSG_ERROR( + [The m4 macro processor is required to build this package]) + AC_PATH_PROG([HELP2MAN], [help2man]) test -z "$HELP2MAN" && AC_MSG_ERROR( [help2man is required to build this package]) @@ -154,12 +159,6 @@ case "$enable_cryptolib" in ;; esac AC_SUBST(crypto_ldflags) -########################################################################### libsocket -AC_CHECK_LIB([c], [socket], - [socket_ldlflags=], - [socket_ldflags="-lsocket"] -) -AC_SUBST(socket_ldflags) ########################################################################## iconv STASH_FLAGS LIBS= @@ -184,16 +183,9 @@ AC_COMPILE_IFELSE([ AC_DEFINE_UNQUOTED(ICONV_CAST, $cast, [cast for second arg to iconv()]) AC_MSG_RESULT($msg) UNSTASH_FLAGS -########################################################################### libnsl -AC_CHECK_LIB([c], [gethostbyname], - [nsl_ldflags=], - [nsl_ldflags="-lnsl"] -) -AC_SUBST(nsl_ldflags) ########################################################################### ucred AC_MSG_CHECKING(for struct ucred) AC_LINK_IFELSE([AC_LANG_PROGRAM([[ - #define _GNU_SOURCE #include #include ]], [[ @@ -426,6 +418,7 @@ if test -n "$CRYPTOLIB" && test $HAVE_OSL = yes; then close_on_fork mm crypt_common + base64 ipc dccp_send fd @@ -488,6 +481,7 @@ if test -n "$CRYPTOLIB"; then client_common buffer_tree crypt_common + base64 version ggo " @@ -531,6 +525,7 @@ if test -n "$CRYPTOLIB"; then stat net crypt_common + base64 sideband time grab_client @@ -1143,7 +1138,6 @@ audio format handlers: $audio_format_handlers filters: $(echo $filters) writers: $writers -para_fade: $build_fade para_server: $build_server para_gui: $build_gui para_fade: $build_fade