then :
case "$host_os_name" in #(
- linux* | gnu* | *bsd* | darwin*) :
+ linux* | gnu* | *bsd* | darwin* | solaris*) :
CUPS_LOCALEDIR="$datarootdir/locale"
;; #(
# Darwin (macOS)
CUPS_STATEDIR="$CUPS_SERVERROOT"
;; #(
+ sunos* | solaris*) :
+
+ if test -d /system/volatile
+then :
+
+ CUPS_STATEDIR="/system/volatile/cups"
+
+else $as_nop
+
+ CUPS_STATEDIR="$localstatedir/run/cups"
+
+fi
+ ;; #(
*) :
# All others
DSOXX="\$(CXX)"
DSOFLAGS="$DSOFLAGS -Wl,-h\`basename \$@\` -G"
;; #(
- linux* | gnu* | *bsd*) :
+ linux* | gnu* | *bsd* | solaris*) :
LIBCUPS="lib$cupsbase.so.2"
if test "x$cupsimagebase" != x
# need this option, even when the library is installed in a
# standard location...
case $host_os_name in #(
- sunos*) :
+ sunos* | solaris*) :
# Solaris...
if test $exec_prefix != /usr
# Add vendor-specific compiler options...
case $host_os_name in #(
- sunos*) :
+ sunos* | solaris*) :
# Solaris
if test -z "$OPTIM"
fi
;; #(
- sunos*) :
+ sunos* | solaris*) :
# Solaris has a non-standard krb5-config, don't use it!
SAVELIBS="$LIBS"
# Solaris requires -D_POSIX_PTHREAD_SEMANTICS to be POSIX-
# compliant... :(
- if test $host_os_name = sunos
+ if test $host_os_name = sunos -o $host_os_name = solaris
then :
PTHREAD_FLAGS="$PTHREAD_FLAGS -D_POSIX_PTHREAD_SEMANTICS"
CUPS_DEFAULT_PRINTCAP="/Library/Preferences/org.cups.printers.plist"
;; #(
- sunos*) :
+ sunos* | solaris*) :
CUPS_DEFAULT_PRINTCAP="/etc/printers.conf"
;; #(