X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=configure.ac;h=2e4b42ceb064ada1fceda9cfbf88ac5f15685ea8;hp=2b2f2966b980bb6169c9501ce77e1ccaf830b0aa;hb=33ba8eb22b343a76c455bb240fbbfd3dc3063f11;hpb=486314426fcd25e5271fd65a982f8b321585e195 diff --git a/configure.ac b/configure.ac index 2b2f2966..2e4b42ce 100644 --- a/configure.ac +++ b/configure.ac @@ -65,26 +65,16 @@ AC_DEFUN([LIB_SUBST_FLAGS], [ AC_SUBST($1_ldflags) ]) -AC_PATH_PROG(UNAMEPATH, uname, no) -if test "$UNAMEPATH" = "no"; then - AC_MSG_ERROR(unable to determine system type) -fi -AC_MSG_CHECKING(os type) -OSTYPE="`$UNAMEPATH -s`" -AC_MSG_RESULT("$OSTYPE") - -if test "$OSTYPE" = "SunOS"; then - # needed on SunOS for socket magic - arch_cppflags="-D_XOPEN_SOURCE=500 -D__EXTENSIONS__" - AC_SUBST(arch_cppflags) -fi - 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])