From ad4ba1ad3c7c5f581a160c408178d6a5007804c8 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 5 Dec 2002 06:16:32 +0000 Subject: Grmf --- configure.ac | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f038c06..6a2bda7 100644 --- a/configure.ac +++ b/configure.ac @@ -40,7 +40,37 @@ AC_FUNC_MMAP AC_FUNC_REALLOC AC_CHECK_FUNCS([__argz_count __argz_next __argz_stringify getcwd mempcpy munmap nl_langinfo setlocale stpcpy strcasecmp strchr strcspn strdup strstr strtoul]) -AC_CONFIG_FILES([Makefile - intl/Makefile - m4/Makefile]) +AC_PATH_PROG(gmakepath, gmake) +AC_PATH_PROG(unamepath, uname) +if test "x$unamepath" = x; then + system="unknown" +else + AC_MSG_CHECKING(system type) + system=`$unamepath -s` + AC_MSG_RESULT($system) +fi + +AC_CONFIG_FILES([Makefile] + [intl/Makefile] + [m4/Makefile] + [include/Makefile] + [po/Makefile.in] + [lib/Makefile] + [src/Makefile]) AC_OUTPUT + +echo +echo \-\-\= $PACKAGE $VERSION \=\-\- +echo + +echo Build System .................... : $system +echo Build Host ...................... : $host +echo Install Prefix .................. : $prefix +echo + +if test _"$gmakepath" = _; then + echo configure complete, now type \'make\' +else + echo configure complete, now type \'gmake\' +fi + \ No newline at end of file -- cgit v1.2.3