diff options
-rw-r--r-- | configure.ac | 36 | ||||
-rw-r--r-- | include/Makefile.am | 1 |
2 files changed, 34 insertions, 3 deletions
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 diff --git a/include/Makefile.am b/include/Makefile.am index e69de29..e531c43 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -0,0 +1 @@ +noinst_HEADERS = gettext.h
\ No newline at end of file |