CHANGES IN CUPS V1.1.21rc2
+ - Configure script changes for GNU/Hurd (STR #838)
- The lppasswd program was not installed properly by GNU
install when the installer was not root (STR #836)
- Updated the cups-lpd man page (STR #843)
dnl
-dnl "$Id: cups-common.m4,v 1.46 2004/07/02 04:44:19 mike Exp $"
+dnl "$Id: cups-common.m4,v 1.47 2004/08/11 14:39:26 mike Exp $"
dnl
dnl Common configuration stuff for the Common UNIX Printing System (CUPS).
dnl
AC_MSG_CHECKING(for correct format string to use with strftime)
case "$uname" in
- IRIX* | SunOS*)
+ IRIX | SunOS*)
# IRIX and SunOS
AC_MSG_RESULT(NULL)
AC_DEFINE(CUPS_STRFTIME_FORMAT, NULL)
AC_CHECK_FUNCS(vsyslog)
dnl Checks for signal functions.
-if test "$uname" != "Linux"; then
- AC_CHECK_FUNCS(sigset)
-fi
+case "$uname" in
+ Linux | GNU)
+ # Do not use sigset on Linux or GNU HURD
+ ;;
+ *)
+ # Use sigset on other platforms, if available
+ AC_CHECK_FUNCS(sigset)
+ ;;
+esac
AC_CHECK_FUNCS(sigaction)
AC_SUBST(COMMONLIBS)
dnl
-dnl End of "$Id: cups-common.m4,v 1.46 2004/07/02 04:44:19 mike Exp $".
+dnl End of "$Id: cups-common.m4,v 1.47 2004/08/11 14:39:26 mike Exp $".
dnl
dnl
-dnl "$Id: cups-compiler.m4,v 1.27 2004/06/29 03:44:52 mike Exp $"
+dnl "$Id: cups-compiler.m4,v 1.28 2004/08/11 14:39:26 mike Exp $"
dnl
dnl Common configuration stuff for the Common UNIX Printing System (CUPS).
dnl
OPTIM="+z $OPTIM"
fi
;;
- IRIX*)
+ IRIX)
if test -z "$OPTIM"; then
if test "x$with_optim" = x; then
OPTIM="-O2"
fi
dnl
-dnl End of "$Id: cups-compiler.m4,v 1.27 2004/06/29 03:44:52 mike Exp $".
+dnl End of "$Id: cups-compiler.m4,v 1.28 2004/08/11 14:39:26 mike Exp $".
dnl
dnl
-dnl "$Id: cups-directories.m4,v 1.12 2004/06/29 03:44:52 mike Exp $"
+dnl "$Id: cups-directories.m4,v 1.13 2004/08/11 14:39:26 mike Exp $"
dnl
dnl Directory stuff for the Common UNIX Printing System (CUPS).
dnl
INITDDIR="/System/Library/StartupItems/PrintingServices"
;;
- Linux*)
- # Linux seems to choose an init.d directory at random...
+ Linux | GNU)
+ # Linux/HURD seems to choose an init.d directory at random...
if test -d /sbin/init.d; then
# SuSE
INITDIR="/sbin/init.d"
dnl Set the CUPS_LOCALE directory...
case "$uname" in
- Linux* | *BSD* | Darwin*)
+ Linux | GNU | *BSD* | Darwin*)
CUPS_LOCALEDIR="$datadir/locale"
AC_DEFINE_UNQUOTED(CUPS_LOCALEDIR, "$datadir/locale")
;;
AC_DEFINE_UNQUOTED(CUPS_FONTPATH, "$fontpath")
dnl
-dnl End of "$Id: cups-directories.m4,v 1.12 2004/06/29 03:44:52 mike Exp $".
+dnl End of "$Id: cups-directories.m4,v 1.13 2004/08/11 14:39:26 mike Exp $".
dnl
dnl
-dnl "$Id: cups-manpages.m4,v 1.9 2004/06/29 03:44:52 mike Exp $"
+dnl "$Id: cups-manpages.m4,v 1.10 2004/08/11 14:39:26 mike Exp $"
dnl
dnl Manpage stuff for the Common UNIX Printing System (CUPS).
dnl
dnl Fix "mandir" variable...
if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then
case "$uname" in
- Darwin* | Linux* | *BSD* | AIX*)
- # Darwin, MacOS X, Linux, *BSD, and AIX
+ Darwin* | Linux | GNU | *BSD* | AIX*)
+ # Darwin, MacOS X, Linux, GNU HURD, *BSD, and AIX
mandir="/usr/share/man"
AMANDIR="/usr/share/man"
PMANDIR="/usr/share/man"
;;
- IRIX*)
+ IRIX)
# SGI IRIX
mandir="/usr/share/catman/u_man"
AMANDIR="/usr/share/catman/a_man"
AC_SUBST(MAN8DIR)
dnl
-dnl End of "$Id: cups-manpages.m4,v 1.9 2004/06/29 03:44:52 mike Exp $".
+dnl End of "$Id: cups-manpages.m4,v 1.10 2004/08/11 14:39:26 mike Exp $".
dnl
dnl
-dnl "$Id: cups-opsys.m4,v 1.12 2004/06/29 03:44:52 mike Exp $"
+dnl "$Id: cups-opsys.m4,v 1.13 2004/08/11 14:39:26 mike Exp $"
dnl
dnl Operating system stuff for the Common UNIX Printing System (CUPS).
dnl
dnl Get the operating system and version number...
uname=`uname`
uversion=`uname -r | sed -e '1,$s/[[^0-9]]//g'`
-if test x$uname = xIRIX64; then
- uname="IRIX"
-fi
+case "$uname" in
+ GNU* | GNU/*)
+ uname="GNU"
+ ;;
+ IRIX*)
+ uname="IRIX"
+ ;;
+ Linux*)
+ uname="Linux"
+ ;;
+esac
dnl Determine the correct username and group for this OS...
AC_ARG_WITH(cups-user, [ --with-cups-user set default user for CUPS],
AC_DEFINE_UNQUOTED(CUPS_DEFAULT_GROUP, "$CUPS_GROUP")
dnl
-dnl "$Id: cups-opsys.m4,v 1.12 2004/06/29 03:44:52 mike Exp $"
+dnl "$Id: cups-opsys.m4,v 1.13 2004/08/11 14:39:26 mike Exp $"
dnl
dnl
-dnl "$Id: cups-pam.m4,v 1.10 2004/06/29 03:44:52 mike Exp $"
+dnl "$Id: cups-pam.m4,v 1.11 2004/08/11 14:39:26 mike Exp $"
dnl
dnl PAM stuff for the Common UNIX Printing System (CUPS).
dnl
# Darwin, MacOS X
PAMFILE="pam.darwin"
;;
- IRIX*)
+ IRIX)
# SGI IRIX
PAMFILE="pam.irix"
;;
AC_SUBST(PAMMOD)
dnl
-dnl End of "$Id: cups-pam.m4,v 1.10 2004/06/29 03:44:52 mike Exp $".
+dnl End of "$Id: cups-pam.m4,v 1.11 2004/08/11 14:39:26 mike Exp $".
dnl
dnl
-dnl "$Id: cups-sharedlibs.m4,v 1.24 2004/06/29 03:44:52 mike Exp $"
+dnl "$Id: cups-sharedlibs.m4,v 1.25 2004/08/11 14:39:26 mike Exp $"
dnl
dnl Shared library support for the Common UNIX Printing System (CUPS).
dnl
DSO="ld"
DSOFLAGS="$DSOFLAGS -b -z +h \$@"
;;
- IRIX*)
+ IRIX)
LIBCUPS="libcups.so.2"
LIBCUPSIMAGE="libcupsimage.so.2"
DSO="\$(CC)"
DSOFLAGS="$DSOFLAGS -Wl,-rpath,\$(libdir),-set_version,sgi2.5,-soname,\$@ -shared \$(OPTIM)"
;;
- OSF1* | Linux* | *BSD*)
+ OSF1* | Linux | GNU | *BSD*)
LIBCUPS="libcups.so.2"
LIBCUPSIMAGE="libcupsimage.so.2"
DSO="\$(CC)"
LDFLAGS="$LDFLAGS -Wl,-R$libdir"
EXPORT_LDFLAGS="-Wl,-R$libdir"
;;
- Linux*)
- # Linux
+ Linux | GNU)
+ # Linux and HURD
DSOFLAGS="-Wl,-rpath,$libdir $DSOFLAGS"
LDFLAGS="$LDFLAGS -Wl,-rpath,$libdir"
EXPORT_LDFLAGS="-Wl,-rpath,$libdir"
AC_SUBST(EXPORT_LDFLAGS)
dnl
-dnl End of "$Id: cups-sharedlibs.m4,v 1.24 2004/06/29 03:44:52 mike Exp $".
+dnl End of "$Id: cups-sharedlibs.m4,v 1.25 2004/08/11 14:39:26 mike Exp $".
dnl