diff options
author | Didier Raboud <odyx@debian.org> | 2016-01-04 18:19:54 +0100 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2016-01-04 18:19:54 +0100 |
commit | 7cd61e2a451893b0aca8b2026a9e783a7c03c02c (patch) | |
tree | 708e1bd9a1fcf47869bdc196518b3dfc588bc6ed /configure | |
parent | d41a31a053f081056ed152852f6e493776b447d3 (diff) |
Imported Upstream version 3.9.8
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 620 |
1 files changed, 546 insertions, 74 deletions
@@ -1,8 +1,8 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63 for HP Linux Imaging and Printing 3.9.4b. +# Generated by GNU Autoconf 2.63 for HP Linux Imaging and Printing 3.9.8. # -# Report bugs to <3.9.4b.10>. +# Report bugs to <3.9.8.36>. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. @@ -745,9 +745,9 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='HP Linux Imaging and Printing' PACKAGE_TARNAME='hplip' -PACKAGE_VERSION='3.9.4b' -PACKAGE_STRING='HP Linux Imaging and Printing 3.9.4b' -PACKAGE_BUGREPORT='3.9.4b.10' +PACKAGE_VERSION='3.9.8' +PACKAGE_STRING='HP Linux Imaging and Printing 3.9.8' +PACKAGE_BUGREPORT='3.9.8.36' # Factoring default headers for most tests. ac_includes_default="\ @@ -787,8 +787,20 @@ ac_includes_default="\ ac_subst_vars='LTLIBOBJS LIBOBJS +udev_acl_rules +SNMPLIB +lite_build +hpijs_only_build policykit -epm_qt4_install +epm_scan +epm_lite +epm_full +epm_qt3 +epm_qt4 +epm_hpcups_install +epm_hpijs_install +epm_cups_drv_install +epm_foomatic_drv_install epm_cups_ppd_install epm_foomatic_ppd_install epm_foomatic_rip_hplip_install @@ -800,6 +812,8 @@ APDK_AUTO_INCLUDE_FLAG APDK_ENDIAN_FLAG shadow_build doc_build +hpcups_install +hpijs_install cups_drv_install cups_ppd_install foomatic_filter @@ -857,6 +871,8 @@ FOOMATIC_PPD_INSTALL_FALSE FOOMATIC_PPD_INSTALL_TRUE SHADOW_BUILD_FALSE SHADOW_BUILD_TRUE +UDEV_ACL_RULES_FALSE +UDEV_ACL_RULES_TRUE FAX_BUILD_FALSE FAX_BUILD_TRUE GUI_BUILD_FALSE @@ -865,6 +881,14 @@ SCAN_BUILD_FALSE SCAN_BUILD_TRUE NETWORK_BUILD_FALSE NETWORK_BUILD_TRUE +NEW_HPCUPS_FALSE +NEW_HPCUPS_TRUE +HPCUPS_INSTALL_FALSE +HPCUPS_INSTALL_TRUE +HPIJS_INSTALL_FALSE +HPIJS_INSTALL_TRUE +FULL_BUILD_FALSE +FULL_BUILD_TRUE HPLIP_BUILD_FALSE HPLIP_BUILD_TRUE DOC_BUILD_FALSE @@ -994,6 +1018,10 @@ with_gnu_ld enable_libtool_lock enable_doc_build enable_hpijs_only_build +enable_lite_build +enable_hpijs_install +enable_hpcups_install +enable_new_hpcups enable_network_build enable_pp_build enable_scan_build @@ -1001,6 +1029,7 @@ enable_gui_build enable_fax_build enable_dbus_build enable_cups11_build +enable_udev_acl_rules enable_shadow_build with_cupsbackenddir with_cupsfilterdir @@ -1588,7 +1617,7 @@ if test "$ac_init_help" = "long"; then # 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 HP Linux Imaging and Printing 3.9.4b to adapt to many kinds of systems. +\`configure' configures HP Linux Imaging and Printing 3.9.8 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1658,7 +1687,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of HP Linux Imaging and Printing 3.9.4b:";; + short | recursive ) echo "Configuration of HP Linux Imaging and Printing 3.9.8:";; esac cat <<\_ACEOF @@ -1675,17 +1704,22 @@ Optional Features: --disable-libtool-lock avoid locking (might break parallel builds) --enable-doc-build enable documentation build (default=yes) --enable-hpijs-only-build enable hpijs only build (default=no) + --enable-lite-build enable lite build, print & scan only (default=no) + --enable-hpijs-install enable hpijs install (default=no) + --enable-hpcups-install enable hpcups install (default=yes) + --enable-new-hpcups enable new hpcups install (default=no) --enable-network-build enable network build (default=yes) - --enable-pp-build enable parallel port build (default=yes) + --enable-pp-build enable parallel port build (default=no) --enable-scan-build enable scanner build (default=yes) --enable-gui-build enable gui build (default=yes) --enable-fax-build enable fax build (default=yes) --enable-dbus-build enable dbus build (default=yes) --enable-cups11-build enable cups 1.1.x build (default=no) + --enable-udev-acl-rules enable udev acl rules (default=no) --enable-shadow-build enable shadow build (default=no) --enable-foomatic-ppd-install enable foomatic static ppd install (default=no), uses hpppddir - --enable-foomatic-drv-install enable foomatic dynamic ppd install (default=yes), uses drvdir and hpppddir - --enable-cups-drv-install enable cups dynamic ppd install (default=no), uses drvdir and hpppddir + --enable-foomatic-drv-install enable foomatic dynamic ppd install (default=no), uses drvdir and hpppddir + --enable-cups-drv-install enable cups dynamic ppd install (default=yes), uses drvdir and hpppddir --enable-cups-ppd-install enable cups static ppd install (default=no), uses hpppddir --enable-foomatic-rip-hplip-install enable foomatic-rip-hplip install (default=no), uses cupsfilterdir --enable-qt4 enable qt4 (default=yes) @@ -1737,7 +1771,7 @@ Some influential environment variables: Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. -Report bugs to <3.9.4b.10>. +Report bugs to <3.9.8.36>. _ACEOF ac_status=$? fi @@ -1800,7 +1834,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -HP Linux Imaging and Printing configure 3.9.4b +HP Linux Imaging and Printing configure 3.9.8 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1814,7 +1848,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by HP Linux Imaging and Printing $as_me 3.9.4b, which was +It was created by HP Linux Imaging and Printing $as_me 3.9.8, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ @@ -2182,6 +2216,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu +#AM_INIT_AUTOMAKE([1.9 foreign]) am__api_version='1.10' ac_aux_dir= @@ -2530,7 +2565,7 @@ fi # Define the identity of the package. PACKAGE='hplip' - VERSION='3.9.4b' + VERSION='3.9.8' cat >>confdefs.h <<_ACEOF @@ -4508,13 +4543,13 @@ if test "${lt_cv_nm_interface+set}" = set; then else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:4511: $ac_compile\"" >&5) + (eval echo "\"\$as_me:4546: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:4514: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:4549: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:4517: output\"" >&5) + (eval echo "\"\$as_me:4552: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -5720,7 +5755,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 5723 "configure"' > conftest.$ac_ext + echo '#line 5758 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -7543,11 +7578,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7546: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7581: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7550: \$? = $ac_status" >&5 + echo "$as_me:7585: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7882,11 +7917,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7885: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7920: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7889: \$? = $ac_status" >&5 + echo "$as_me:7924: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7987,11 +8022,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7990: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8025: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:7994: \$? = $ac_status" >&5 + echo "$as_me:8029: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8042,11 +8077,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8045: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8080: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8049: \$? = $ac_status" >&5 + echo "$as_me:8084: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -10855,7 +10890,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10858 "configure" +#line 10893 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10951,7 +10986,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10954 "configure" +#line 10989 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -14191,11 +14226,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14194: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14229: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:14198: \$? = $ac_status" >&5 + echo "$as_me:14233: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -14290,11 +14325,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14293: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14328: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14297: \$? = $ac_status" >&5 + echo "$as_me:14332: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14342,11 +14377,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14345: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14380: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14349: \$? = $ac_status" >&5 + echo "$as_me:14384: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -16625,9 +16660,9 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------ ## -## Report this to 3.9.4b.10 ## -## ------------------------ ## +## ----------------------- ## +## Report this to 3.9.8.36 ## +## ----------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -16780,9 +16815,9 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------ ## -## Report this to 3.9.4b.10 ## -## ------------------------ ## +## ----------------------- ## +## Report this to 3.9.8.36 ## +## ----------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -17436,6 +17471,112 @@ else fi +{ $as_echo "$as_me:$LINENO: checking for lite build" >&5 +$as_echo_n "checking for lite build... " >&6; } +# Check whether --enable-lite_build was given. +if test "${enable_lite_build+set}" = set; then + enableval=$enable_lite_build; lite_build=$enableval +else + lite_build=no +fi + +if test "$lite_build" = "yes"; then + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } + epm_full=\# + epm_lite= +else + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } + epm_full= + epm_lite=\# +fi + if test x$lite_build = xno; then + FULL_BUILD_TRUE= + FULL_BUILD_FALSE='#' +else + FULL_BUILD_TRUE='#' + FULL_BUILD_FALSE= +fi + + +{ $as_echo "$as_me:$LINENO: checking for hpijs install" >&5 +$as_echo_n "checking for hpijs install... " >&6; } +# Check whether --enable-hpijs_install was given. +if test "${enable_hpijs_install+set}" = set; then + enableval=$enable_hpijs_install; hpijs_install=$enableval +else + hpijs_install=no +fi + +if test "$hpijs_install" = "yes"; then + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } + epm_hpijs_install=yes +else + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$hpijs_install = xyes; then + HPIJS_INSTALL_TRUE= + HPIJS_INSTALL_FALSE='#' +else + HPIJS_INSTALL_TRUE='#' + HPIJS_INSTALL_FALSE= +fi + + +{ $as_echo "$as_me:$LINENO: checking for hpcups install" >&5 +$as_echo_n "checking for hpcups install... " >&6; } +# Check whether --enable-hpcups_install was given. +if test "${enable_hpcups_install+set}" = set; then + enableval=$enable_hpcups_install; hpcups_install=$enableval +else + hpcups_install=yes +fi + +if test "$hpcups_install" = "yes"; then + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } + epm_hpcups_install=yes +else + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$hpcups_install = xyes; then + HPCUPS_INSTALL_TRUE= + HPCUPS_INSTALL_FALSE='#' +else + HPCUPS_INSTALL_TRUE='#' + HPCUPS_INSTALL_FALSE= +fi + + +{ $as_echo "$as_me:$LINENO: checking for new hpcups install" >&5 +$as_echo_n "checking for new hpcups install... " >&6; } +# Check whether --enable-new_hpcups was given. +if test "${enable_new_hpcups+set}" = set; then + enableval=$enable_new_hpcups; new_hpcups=$enableval +else + new_hpcups=no +fi + +if test "$new_hpcups" = "yes"; then + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$new_hpcups = xyes; then + NEW_HPCUPS_TRUE= + NEW_HPCUPS_FALSE='#' +else + NEW_HPCUPS_TRUE='#' + NEW_HPCUPS_FALSE= +fi + + { $as_echo "$as_me:$LINENO: checking for network build" >&5 $as_echo_n "checking for network build... " >&6; } # Check whether --enable-network_build was given. @@ -17467,7 +17608,7 @@ $as_echo_n "checking for parallel port build... " >&6; } if test "${enable_pp_build+set}" = set; then enableval=$enable_pp_build; pp_build=$enableval else - pp_build=yes + pp_build=no fi if test "$pp_build" = "yes"; then @@ -17494,9 +17635,11 @@ fi if test "$scan_build" = "yes"; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } + epm_scan= else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } + epm_scan=\# fi if test x$scan_build = xyes; then SCAN_BUILD_TRUE= @@ -17569,10 +17712,6 @@ fi if test "$dbus_build" = "yes"; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } - cat >>confdefs.h <<\_ACEOF -#define HAVE_DBUS 1 -_ACEOF - else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } @@ -17599,6 +17738,31 @@ else $as_echo "no" >&6; } fi +{ $as_echo "$as_me:$LINENO: checking for udev acl rules" >&5 +$as_echo_n "checking for udev acl rules... " >&6; } +# Check whether --enable-udev_acl_rules was given. +if test "${enable_udev_acl_rules+set}" = set; then + enableval=$enable_udev_acl_rules; udev_acl_rules=$enableval +else + udev_acl_rules=no +fi + +if test "$udev_acl_rules" = "yes"; then + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$udev_acl_rules = xyes; then + UDEV_ACL_RULES_TRUE= + UDEV_ACL_RULES_FALSE='#' +else + UDEV_ACL_RULES_TRUE='#' + UDEV_ACL_RULES_FALSE= +fi + + { $as_echo "$as_me:$LINENO: checking for shadow build" >&5 $as_echo_n "checking for shadow build... " >&6; } # Check whether --enable-shadow_build was given. @@ -17719,12 +17883,13 @@ $as_echo_n "checking for foomatic drv install... " >&6; } if test "${enable_foomatic_drv_install+set}" = set; then enableval=$enable_foomatic_drv_install; foomatic_drv_install=$enableval else - foomatic_drv_install=yes + foomatic_drv_install=no fi if test $foomatic_drv_install = yes; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } + epm_foomatic_drv_install=yes else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } @@ -17744,12 +17909,13 @@ $as_echo_n "checking for cups drv install... " >&6; } if test "${enable_cups_drv_install+set}" = set; then enableval=$enable_cups_drv_install; cups_drv_install=$enableval else - cups_drv_install=no + cups_drv_install=yes fi if test $cups_drv_install = yes; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } + epm_cups_drv_install=yes else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } @@ -17872,11 +18038,14 @@ if test "$gui_build" = "no"; then qt4=no fi +epm_qt3=\# +epm_qt4=\# if test "$qt3" = "yes" && test "$qt4" = "no"; then ui_toolkit=qt3 + epm_qt3= elif test "$qt4" = "yes"; then ui_toolkit=qt4 - epm_qt4_install=yes + epm_qt4= else ui_toolkit=no fi @@ -17924,7 +18093,13 @@ $as_echo "$platform" >&6; } # Check conditional packages. if test "$hpijs_only_build" = "no" && test "$network_build" = "yes"; then - { $as_echo "$as_me:$LINENO: checking for CRYPTO_free in -lcrypto" >&5 +# AC_CHECK_LIB([crypto], [CRYPTO_free], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find net-snmp support (or --disable-network-build)], 4)]) +# AC_CHECK_LIB([netsnmp], [snmp_timeout], [LIBS="$LIBS" AC_DEFINE([HAVE_LIBNETSNMP])], [AC_MSG_ERROR([cannot find net-snmp support (or --disable-network-build)], 4)]) +# AC_CHECK_HEADERS(net-snmp/net-snmp-config.h,, [AC_MSG_ERROR([cannot find net-snmp-devel support (or --disable-network-build)], 5)]) + + old_LIBS="$LIBS" + +{ $as_echo "$as_me:$LINENO: checking for CRYPTO_free in -lcrypto" >&5 $as_echo_n "checking for CRYPTO_free in -lcrypto... " >&6; } if test "${ac_cv_lib_crypto_CRYPTO_free+set}" = set; then $as_echo_n "(cached) " >&6 @@ -17990,7 +18165,12 @@ fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_CRYPTO_free" >&5 $as_echo "$ac_cv_lib_crypto_CRYPTO_free" >&6; } if test "x$ac_cv_lib_crypto_CRYPTO_free" = x""yes; then - LIBS="$LIBS" + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBCRYPTO 1 +_ACEOF + + LIBS="-lcrypto $LIBS" + else { { $as_echo "$as_me:$LINENO: error: cannot find net-snmp support (or --disable-network-build)" >&5 $as_echo "$as_me: error: cannot find net-snmp support (or --disable-network-build)" >&2;} @@ -18063,17 +18243,251 @@ fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_netsnmp_snmp_timeout" >&5 $as_echo "$ac_cv_lib_netsnmp_snmp_timeout" >&6; } if test "x$ac_cv_lib_netsnmp_snmp_timeout" = x""yes; then - LIBS="$LIBS" cat >>confdefs.h <<\_ACEOF + LIBS="$old_LIBS" cat >>confdefs.h <<\_ACEOF #define HAVE_LIBNETSNMP 1 _ACEOF + SNMPLIB="netsnmp" +else + check_ucd=yes +fi +if test "$check_ucd" = "yes"; then + { $as_echo "$as_me:$LINENO: checking for snmp_timeout in -lsnmp" >&5 +$as_echo_n "checking for snmp_timeout in -lsnmp... " >&6; } +if test "${ac_cv_lib_snmp_snmp_timeout+set}" = set; then + $as_echo_n "(cached) " >&6 else - { { $as_echo "$as_me:$LINENO: error: cannot find net-snmp support (or --disable-network-build)" >&5 -$as_echo "$as_me: error: cannot find net-snmp support (or --disable-network-build)" >&2;} + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsnmp $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char snmp_timeout (); +int +main () +{ +return snmp_timeout (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then + ac_cv_lib_snmp_snmp_timeout=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_snmp_snmp_timeout=no +fi + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_snmp_snmp_timeout" >&5 +$as_echo "$ac_cv_lib_snmp_snmp_timeout" >&6; } +if test "x$ac_cv_lib_snmp_snmp_timeout" = x""yes; then + LIBS="$old_LIBS" cat >>confdefs.h <<\_ACEOF +#define HAVE_LIBNETSNMP 1 +_ACEOF + cat >>confdefs.h <<\_ACEOF +#define HAVE_UCDSNMP 1 +_ACEOF + SNMPLIB="snmp" +else + { { $as_echo "$as_me:$LINENO: error: cannot find net/ucd-snmp support (or --disable-network-build)" >&5 +$as_echo "$as_me: error: cannot find net/ucd-snmp support (or --disable-network-build)" >&2;} { (exit 4); exit 4; }; } fi +for ac_header in ucd-snmp/ucd-snmp-config.h +do +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 +$as_echo_n "checking for $ac_header... " >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 +fi +ac_res=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +$as_echo_n "checking $ac_header usability... " >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +$as_echo_n "checking $ac_header presence... " >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## ----------------------- ## +## Report this to 3.9.8.36 ## +## ----------------------- ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 +$as_echo_n "checking for $ac_header... " >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +ac_res=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + +fi +as_val=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + if test "x$as_val" = x""yes; then + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +else + { { $as_echo "$as_me:$LINENO: error: cannot find ucd-snmp-devel support (or --disable-network-build)" >&5 +$as_echo "$as_me: error: cannot find ucd-snmp-devel support (or --disable-network-build)" >&2;} + { (exit 5); exit 5; }; } +fi + +done + +else + for ac_header in net-snmp/net-snmp-config.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` @@ -18193,9 +18607,9 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------ ## -## Report this to 3.9.4b.10 ## -## ------------------------ ## +## ----------------------- ## +## Report this to 3.9.8.36 ## +## ----------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -18229,6 +18643,7 @@ fi done fi +fi if test "$hpijs_only_build" = "no" && test "$pp_build" = "yes"; then @@ -18351,9 +18766,9 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------ ## -## Report this to 3.9.4b.10 ## -## ------------------------ ## +## ----------------------- ## +## Report this to 3.9.8.36 ## +## ----------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -18582,9 +18997,9 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------ ## -## Report this to 3.9.4b.10 ## -## ------------------------ ## +## ----------------------- ## +## Report this to 3.9.8.36 ## +## ----------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -18810,9 +19225,9 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------ ## -## Report this to 3.9.4b.10 ## -## ------------------------ ## +## ----------------------- ## +## Report this to 3.9.8.36 ## +## ----------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -18845,6 +19260,9 @@ fi done +fi + +if test "$hpijs_only_build" = "no" && test "$lite_build" = "no"; then @@ -19170,9 +19588,9 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------ ## -## Report this to 3.9.4b.10 ## -## ------------------------ ## +## ----------------------- ## +## Report this to 3.9.8.36 ## +## ----------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -19283,7 +19701,9 @@ fi fi -if test "$hpijs_only_build" = "no" && test "$dbus_build" = "yes"; then +# The PKG_CHECK_MODULES macro requires the pkgconfig package (pkg-config). Otherwise you get a strange shell script error +# "syntax error near upexpected token: DBUS". +if test "$hpijs_only_build" = "no" && test "$lite_build" = "no" && test "$dbus_build" = "yes"; then # PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.0.0, dbus-glib-1 >= 0.61],,[AC_MSG_ERROR([cannot find dbus-devel support: $DBUS_PKG_ERRORS], 14)]) @@ -19542,7 +19962,10 @@ fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_open" >&5 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_open" >&6; } if test "x$ac_cv_lib_dbus_1_dbus_connection_open" = x""yes; then - LIBS="$LIBS" + LIBS="$LIBS" cat >>confdefs.h <<\_ACEOF +#define HAVE_DBUS 1 +_ACEOF + else { { $as_echo "$as_me:$LINENO: error: cannot find libdbus support" >&5 $as_echo "$as_me: error: cannot find libdbus support" >&2;} @@ -19551,7 +19974,7 @@ fi fi -if test "$hpijs_only_build" = "no" && test "$fax_build" = "yes" && test "$dbus_build" = "no"; then +if test "$hpijs_only_build" = "no" && test "$lite_build" = "no" && test "$fax_build" = "yes" && test "$dbus_build" = "no"; then { { $as_echo "$as_me:$LINENO: error: fax requires dbus support" >&5 $as_echo "$as_me: error: fax requires dbus support" >&2;} { (exit 15); exit 15; }; } @@ -19664,6 +20087,20 @@ abs_ppddir=${abs_hpppddir%/*} + + + + + + + + + + + + + + ac_config_files="$ac_config_files Makefile hplip.conf hplip.desktop hplip-systray.desktop prnt/drv/hpijs.drv prnt/drv/hpcups.drv hplip.list data/policykit/com.hp.hplip.service" cat >confcache <<\_ACEOF @@ -19856,6 +20293,34 @@ $as_echo "$as_me: error: conditional \"HPLIP_BUILD\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi +if test -z "${FULL_BUILD_TRUE}" && test -z "${FULL_BUILD_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"FULL_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"FULL_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HPIJS_INSTALL_TRUE}" && test -z "${HPIJS_INSTALL_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"HPIJS_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"HPIJS_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HPCUPS_INSTALL_TRUE}" && test -z "${HPCUPS_INSTALL_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"HPCUPS_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"HPCUPS_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${NEW_HPCUPS_TRUE}" && test -z "${NEW_HPCUPS_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"NEW_HPCUPS\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"NEW_HPCUPS\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi if test -z "${NETWORK_BUILD_TRUE}" && test -z "${NETWORK_BUILD_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"NETWORK_BUILD\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -19884,6 +20349,13 @@ $as_echo "$as_me: error: conditional \"FAX_BUILD\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi +if test -z "${UDEV_ACL_RULES_TRUE}" && test -z "${UDEV_ACL_RULES_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"UDEV_ACL_RULES\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"UDEV_ACL_RULES\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi if test -z "${SHADOW_BUILD_TRUE}" && test -z "${SHADOW_BUILD_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"SHADOW_BUILD\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -20269,7 +20741,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by HP Linux Imaging and Printing $as_me 3.9.4b, which was +This file was extended by HP Linux Imaging and Printing $as_me 3.9.8, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20323,7 +20795,7 @@ Report bugs to <bug-autoconf@gnu.org>." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -HP Linux Imaging and Printing config.status 3.9.4b +HP Linux Imaging and Printing config.status 3.9.8 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |