]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix misspelled variable names in configure script 173/head
authorPavel Roskin <plroskin@gmail.com>
Sun, 11 Apr 2021 18:22:03 +0000 (11:22 -0700)
committerPavel Roskin <plroskin@gmail.com>
Sun, 11 Apr 2021 18:37:45 +0000 (11:37 -0700)
have_system should be have_systemd. have_thread should be have_pthread.

config-scripts/cups-startup.m4
config-scripts/cups-threads.m4
configure

index c20830a395fa201b3b9a3c12d2143e8af1d9f9e3..fb08286ac0459d8461a0154726b8d3e499da9392 100644 (file)
@@ -89,7 +89,7 @@ AS_IF([test $with_ondemand = systemd -o $with_ondemand = yes], [
            AC_MSG_RESULT([no])
        ])
 
-       AS_IF([test $have_system = yes], [
+       AS_IF([test $have_systemd = yes], [
            AC_DEFINE([HAVE_SYSTEMD], [1], [Have systemd support?])
            AC_DEFINE([HAVE_ONDEMAND], [1], [Have on-demand launch support?])
            AC_CHECK_HEADER([systemd/sd-journal.h], [
index 98933a9577d24c6b2d8ba5750fd3c17656a9dfc2..8699f7df156bc8433d5afb90cc326e47e1a0f07b 100644 (file)
@@ -33,7 +33,7 @@ AS_IF([test x$ac_cv_header_pthread_h = xyes], [
        ])
        AC_MSG_RESULT([$have_pthread])
 
-       AS_IF([test $have_thread = yes], [
+       AS_IF([test $have_pthread = yes], [
            PTHREAD_FLAGS="-D_THREAD_SAFE -D_REENTRANT"
 
            # Solaris requires -D_POSIX_PTHREAD_SEMANTICS to be POSIX-
index fe89d47c7d730b5db8afc8d81cbce407a473c32e..73afebe1b26fe990a7ed431cfad768bb7e4ff284 100755 (executable)
--- a/configure
+++ b/configure
@@ -9605,7 +9605,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \
        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_pthread" >&5
 printf "%s\n" "$have_pthread" >&6; }
 
-       if test $have_thread = yes
+       if test $have_pthread = yes
 then :
 
            PTHREAD_FLAGS="-D_THREAD_SAFE -D_REENTRANT"
@@ -11281,7 +11281,7 @@ printf "%s\n" "no" >&6; }
 
 fi
 
-       if test $have_system = yes
+       if test $have_systemd = yes
 then :