dnl ======================== Default setting
CFLAGS="-O2 -Wall"
-ALL_LINGUAS="cs de et fi nl sk pl it sl"
+ALL_LINGUAS="cs de et fi nl sk pl it"
dnl ======================== Checks for programs.
AC_PROG_CC
AC_ARG_ENABLE(debug,
[ --enable-debug compile with debug code],
- [ if test "x$GCC" = "xyes"; then
- CFLAGS="-ggdb3 -Wall"
- fi
+ [ CFLAGS="-g -Wall"
AC_DEFINE(DEBUG)
debug="yes" ],
[ debug="no" ]
AC_MSG_WARN(Disabling xgnokii.)
else
AC_CHECK_LIB(Xpm, XpmWriteFileFromXpmImage,
- [ XPM_CFLAGS="-I$x_includes" XPM_LIBS="-L$x_libraries -lX11 -lXpm"
+ [ XPM_CFLAGS="-I$x_includes" XPM_LIBS="-L$x_libraries -lXpm -lX11"
AC_DEFINE(XPM) ],
AC_MSG_WARN(Cannot found library libXpm - disabling XPM support.),
[ -L$x_libraries -lX11 ]
AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_FUNC_STRFTIME
-AC_CHECK_FUNCS(mktime select strdup strstr strtol strtok strsep snprintf vsnprintf asprintf vasprintf)
+AC_CHECK_FUNCS(mktime select strdup strstr strtol strtok strsep snprintf)
CFLAGS="$CFLAGS $NLS_CFLAGS"
LIBS="$LIBS $NLS_LIBS"
Win32: $win32
Prefix: $prefix
- Type '${MAKE}' for compilation and then '${MAKE} install',
- '${MAKE} install-suid', '${MAKE} install-strip' or '${MAKE} install-ss' to
- install gnokii.
+ Type '${MAKE}' for compilation or '${MAKE} makelib' when want to compile
+ all binaries with one shared library
+
+ After it '${MAKE} install', '${MAKE} install-suid', '${MAKE} install-strip'
+ or '${MAKE} install-ss' to install gnokii.
"