Skip to content

Commit e1cfb90

Browse files
committed
host_os_name value in config-scripts has changed to 'solaris'
2 parents 2bc20b7 + 19e03f5 commit e1cfb90

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

config-scripts/cups-directories.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,11 @@ AC_ARG_WITH([rundir], AS_HELP_STRING([--with-rundir], [set transient run-time st
266266
AS_CASE(["$host_os_name"], [darwin*], [
267267
# Darwin (macOS)
268268
CUPS_STATEDIR="$CUPS_SERVERROOT"
269-
], [sun* | solaris*], [
269+
], [sunos* | solaris*], [
270270
AS_IF([test -d /system/volatile], [
271271
CUPS_STATEDIR="/system/volatile/cups"
272+
], [
273+
CUPS_STATEDIR="$localstatedir/run/cups"
272274
])
273275
], [*], [
274276
# All others

config-scripts/cups-threads.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ AS_IF([test x$ac_cv_header_pthread_h = xyes], [
3838
3939
# Solaris requires -D_POSIX_PTHREAD_SEMANTICS to be POSIX-
4040
# compliant... :(
41-
AS_IF([test $host_os_name = solaris], [
41+
AS_IF([test $host_os_name = sunos -o $host_os_name = solaris], [
4242
PTHREAD_FLAGS="$PTHREAD_FLAGS -D_POSIX_PTHREAD_SEMANTICS"
4343
])
4444
break

0 commit comments

Comments
 (0)