Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config-scripts/cups-compiler.m4
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ AS_IF([test -n "$GCC"], [
])
], [
# Add vendor-specific compiler options...
AS_CASE([$host_os_name], [sunos*], [
AS_CASE([$host_os_name], [sunos* | solaris*], [
# Solaris
AS_IF([test -z "$OPTIM"], [
OPTIM="-xO2"
Expand Down
2 changes: 1 addition & 1 deletion config-scripts/cups-defaults.m4
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ AS_IF([test x$default_printcap != xno], [
AS_IF([test "x$default_printcap" = "xdefault"], [
AS_CASE([$host_os_name], [darwin*], [
CUPS_DEFAULT_PRINTCAP="/Library/Preferences/org.cups.printers.plist"
], [sunos*], [
], [sunos* | solaris*], [
CUPS_DEFAULT_PRINTCAP="/etc/printers.conf"
], [*], [
CUPS_DEFAULT_PRINTCAP="/etc/printcap"
Expand Down
8 changes: 7 additions & 1 deletion config-scripts/cups-directories.m4
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ AC_SUBST([CUPS_DOCROOT])

# Locale data
AS_IF([test "$localedir" = "\${datarootdir}/locale"], [
AS_CASE(["$host_os_name"], [linux* | gnu* | *bsd* | darwin*], [
AS_CASE(["$host_os_name"], [linux* | gnu* | *bsd* | darwin* | solaris*], [
CUPS_LOCALEDIR="$datarootdir/locale"
], [*], [
# This is the standard System V location...
Expand Down Expand Up @@ -266,6 +266,12 @@ AC_ARG_WITH([rundir], AS_HELP_STRING([--with-rundir], [set transient run-time st
AS_CASE(["$host_os_name"], [darwin*], [
# Darwin (macOS)
CUPS_STATEDIR="$CUPS_SERVERROOT"
], [sunos* | solaris*], [
AS_IF([test -d /system/volatile], [
CUPS_STATEDIR="/system/volatile/cups"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need an 'else' clause for this.

], [
CUPS_STATEDIR="$localstatedir/run/cups"
])
], [*], [
# All others
CUPS_STATEDIR="$localstatedir/run/cups"
Expand Down
2 changes: 1 addition & 1 deletion config-scripts/cups-gssapi.m4
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ AS_IF([test x$enable_gssapi = xyes], [
], [
AC_MSG_RESULT([no])
])
], [sunos*], [
], [sunos* | solaris*], [
# Solaris has a non-standard krb5-config, don't use it!
SAVELIBS="$LIBS"
AC_CHECK_LIB([gss], [gss_display_status], [
Expand Down
4 changes: 2 additions & 2 deletions config-scripts/cups-sharedlibs.m4
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ AS_IF([test x$enable_shared != xno], [
DSO="\$(CC)"
DSOXX="\$(CXX)"
DSOFLAGS="$DSOFLAGS -Wl,-h\`basename \$@\` -G"
], [linux* | gnu* | *bsd*], [
], [linux* | gnu* | *bsd* | solaris*], [
LIBCUPS="lib$cupsbase.so.2"
AS_IF([test "x$cupsimagebase" != x], [
LIBCUPSIMAGE="lib$cupsimagebase.so.2"
Expand Down Expand Up @@ -102,7 +102,7 @@ AS_IF([test "$DSO" != ":"], [
# Tell the run-time linkers where to find a DSO. Some platforms
# need this option, even when the library is installed in a
# standard location...
AS_CASE([$host_os_name], [sunos*], [
AS_CASE([$host_os_name], [sunos* | solaris*], [
# Solaris...
AS_IF([test $exec_prefix != /usr], [
DSOFLAGS="-R$libdir $DSOFLAGS"
Expand Down
2 changes: 1 addition & 1 deletion config-scripts/cups-threads.m4
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ AS_IF([test x$ac_cv_header_pthread_h = xyes], [

# Solaris requires -D_POSIX_PTHREAD_SEMANTICS to be POSIX-
# compliant... :(
AS_IF([test $host_os_name = sunos], [
AS_IF([test $host_os_name = sunos -o $host_os_name = solaris], [
PTHREAD_FLAGS="$PTHREAD_FLAGS -D_POSIX_PTHREAD_SEMANTICS"
])
break
Expand Down