#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for CUPS 2.4.0.
+# Generated by GNU Autoconf 2.71 for CUPS 2.4b1.
#
# Report bugs to <https://github.com/openprinting/cups/issues>.
#
# Identity of this package.
PACKAGE_NAME='CUPS'
PACKAGE_TARNAME='cups'
-PACKAGE_VERSION='2.4.0'
-PACKAGE_STRING='CUPS 2.4.0'
+PACKAGE_VERSION='2.4b1'
+PACKAGE_STRING='CUPS 2.4b1'
PACKAGE_BUGREPORT='https://github.com/openprinting/cups/issues'
PACKAGE_URL='https://openprinting.github.io/cups'
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures CUPS 2.4.0 to adapt to many kinds of systems.
+\`configure' configures CUPS 2.4b1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of CUPS 2.4.0:";;
+ short | recursive ) echo "Configuration of CUPS 2.4b1:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-CUPS configure 2.4.0
+CUPS configure 2.4b1
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by CUPS $as_me 2.4.0, which was
+It was created by CUPS $as_me 2.4b1, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
ac_config_headers="$ac_config_headers config.h"
-CUPS_VERSION="2.4.0"
-CUPS_API_VERSION="$(echo 2.4.0 | awk -F. '{print $1 "." $2}')"
+CUPS_VERSION="2.4b1"
+CUPS_API_VERSION="$(echo 2.4b1 | awk -F. '{print $1 "." $2}')"
CUPS_BUILD="cups-$CUPS_VERSION"
fi
- # The -fstack-protector option is available with some versions of
- # GCC and adds "stack canaries" which detect when the return address
- # has been overwritten, preventing many types of exploit attacks.
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fstack-protector" >&5
-printf %s "checking whether compiler supports -fstack-protector... " >&6; }
+ # The -fstack-protector-strong and -fstack-protector options are available
+ # with some versions of GCC and adds "stack canaries" which detect
+ # when the return address has been overwritten, preventing many types of exploit attacks.
+ # First check for -fstack-protector-strong, then for -fstack-protector...
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fstack-protector-strong" >&5
+printf %s "checking whether compiler supports -fstack-protector-strong... " >&6; }
OLDCFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -fstack-protector"
+ CFLAGS="$CFLAGS -fstack-protector-strong"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
if ac_fn_c_try_link "$LINENO"
then :
- if test "x$LSB_BUILD" = xy
-then :
-
- # Can't use stack-protector with LSB binaries...
- OPTIM="$OPTIM -fno-stack-protector"
+ OPTIM="$OPTIM -fstack-protector-strong"
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+printf "%s\n" "yes" >&6; }
else $as_nop
- OPTIM="$OPTIM -fstack-protector"
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+printf "%s\n" "no" >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fstack-protector" >&5
+printf %s "checking whether compiler supports -fstack-protector... " >&6; }
+ CFLAGS="$OLDCFLAGS -fstack-protector"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
-fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+int
+main (void)
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"
+then :
+
+ OPTIM="$OPTIM -fstack-protector"
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.beam \
+ conftest$ac_exeext conftest.$ac_ext
+
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by CUPS $as_me 2.4.0, which was
+This file was extended by CUPS $as_me 2.4b1, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-CUPS config.status 2.4.0
+CUPS config.status 2.4b1
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"