diff -Nru hplip-3.12.2/Makefile.am hplip-3.13.4/Makefile.am --- hplip-3.12.2/Makefile.am 2012-02-01 11:53:57.000000000 +0000 +++ hplip-3.13.4/Makefile.am 2013-04-08 09:58:45.000000000 +0000 @@ -1,590 +1,671 @@ -# -# Makefile.am - hplip automake input file -# -# (c) 2004-2010 Copyright Hewlett-Packard Development Company, LP -# Author: David Suffield, Naga Samrat Chowdary Narla, - -INCLUDES = -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs - -hplipdir = $(datadir)/hplip - -docdir = $(hpdocdir) -doc_DATA = COPYING copyright prnt/hpijs/README_LIBJPG -EXTRA_DIST = prnt/hpijs/gdevijs-krgb-1.5-gs8.61.patch prnt/hpijs/README_LIBJPG copyright - -dist_noinst_SCRIPTS = -dist_noinst_DATA = -noinst_PROGRAMS = -lib_LTLIBRARIES = - -include foomatic_drv.inc -include unreleased.inc -include cups_drv.inc - -if DOC_BUILD -wwwsrc = doc -www0dir = $(docdir) -dist_www0_DATA = $(wwwsrc)/index.html $(wwwsrc)/commandline.html $(wwwsrc)/copying.html $(wwwsrc)/devicemanager.html $(wwwsrc)/faxtrouble.html $(wwwsrc)/gettinghelp.html $(wwwsrc)/hpscan.html $(wwwsrc)/mainttask.html $(wwwsrc)/plugins.html $(wwwsrc)/print.html $(wwwsrc)/printing.html $(wwwsrc)/printoptions.html $(wwwsrc)/printtroubleshooting.html $(wwwsrc)/scanning.html $(wwwsrc)/scantrouble.html $(wwwsrc)/sendfax.html $(wwwsrc)/setup.html $(wwwsrc)/systray.html $(wwwsrc)/troubleshooting.html $(wwwsrc)/uninstalling.html $(wwwsrc)/upgrading.html -www3dir = $(docdir)/styles -dist_www3_DATA = $(wwwsrc)/styles/* -www4dir = $(docdir)/images -dist_www4_DATA = $(wwwsrc)/images/* -endif - -if HPLIP_BUILD - -# hp backend. -hpdir = $(cupsbackenddir) -hp_PROGRAMS = hp -hp_SOURCES = prnt/backend/hp.c -hp_LDADD = libhpmud.la $(DBUS_LIBS) -hp_CFLAGS = $(DBUS_CFLAGS) - -# hpaio sane backend -if SCAN_BUILD -libsane_hpaiodir = $(libdir)/sane -libsane_hpaio_LTLIBRARIES = libsane-hpaio.la -libsane_hpaio_la_SOURCES = scan/sane/hpaio.c scan/sane/mfpdtf.c scan/sane/pml.c scan/sane/scl.c scan/sane/io.c scan/sane/hpaio.h \ - scan/sane/pml.h scan/sane/saneopts.h scan/sane/io.h scan/sane/mfpdtf.h scan/sane/sane.h scan/sane/scl.h scan/sane/tables.h \ - scan/sane/common.c scan/sane/common.h scan/sane/soap.h scan/sane/soapht.h scan/sane/sanei_debug.h scan/sane/sanei.h \ - scan/sane/sanei_init_debug.c scan/sane/marvell.h scan/sane/marvelli.h scan/sane/marvell.c scan/sane/soapht.c scan/sane/soap.c \ - scan/sane/soaphti.h scan/sane/soapi.h scan/sane/xml.c scan/sane/xml.h scan/sane/ledm.h scan/sane/ledmi.h scan/sane/ledm.c \ - scan/sane/bb_ledm.c scan/sane/http.h scan/sane/http.c -if DARWIN_BUILD -libsane_hpaio_la_LDFLAGS = -module -framework CoreFoundation -version-info 1:0:0 -else -libsane_hpaio_la_LDFLAGS = -version-info 1:0:0 -endif -# The following is a interlibrary dependency that must be compiled first. -libsane_hpaio_la_LIBADD = libhpip.la libhpmud.la $(DBUS_LIBS) -lcups -ldl -#libsane_hpaio_la_CFLAGS = -DWITH_NONAMESPACES -DSOAP_DEBUG -libsane_hpaio_la_CFLAGS = $(DBUS_CFLAGS) -endif # SCAN_BUILD - -# hpmud library -MUDNAME=hpmud -lib_LTLIBRARIES += libhpmud.la -libhpmud_la_SOURCES = io/hpmud/hpmud.c io/hpmud/mlc.c io/hpmud/model.c io/hpmud/musb.c io/hpmud/pml.c \ - io/hpmud/hpmud.h io/hpmud/hpmudi.h io/hpmud/list.h io/hpmud/mlc.h io/hpmud/musb.h io/hpmud/pml.h io/hpmud/dot4.c \ - io/hpmud/dot4.h io/hpmud/jd.c io/hpmud/jd.h io/hpmud/pp.c io/hpmud/pp.h -if NETWORK_BUILD -libhpmud_la_LDFLAGS = -version-info 0:6:0 -lusb -lpthread -l$(SNMPLIB) -lcrypto -else -libhpmud_la_LDFLAGS = -version-info 0:6:0 -lusb -lpthread -endif -libhpmud_la_CFLAGS = -DMUDNAME=\"$(MUDNAME)\" -DCONFDIR=\"$(hplip_confdir)\" - -# ip library -lib_LTLIBRARIES += libhpip.la -libhpip_la_LDFLAGS = -version-info 0:1:0 -libhpip_la_LIBADD = -lm -libhpip_la_SOURCES = ip/xconvolve.c ip/xfax.c ip/xgrayout.c ip/xjpg_dct.c ip/xjpg_fix.c ip/xpad.c ip/xrotate.c ip/xskel.c ip/xtiff.c \ - ip/ipmain.c ip/xchgbpp.c ip/xcrop.c ip/xgamma.c ip/xjpg_dec.c ip/xjpg_huf.c ip/xpcx.c ip/xsaturation.c ip/xtable.c ip/xtonemap.c \ - ip/xbi2gray.c ip/xcolrspc.c ip/xfakemono.c ip/xgray2bi.c ip/xinvert.c ip/xjpg_enc.c ip/xmatrix.c ip/xpnm.c ip/xscale.c ip/xthumb.c ip/xyxtract.c \ - ip/hpip.h ip/ipdefs.h ip/xform.h ip/xjpg_dct.h ip/xjpg_huf.h ip/xjpg_mrk.h - -# hp-mkuri. -hp_mkuridir = $(bindir) -hp_mkuri_PROGRAMS = hp-mkuri -hp_mkuri_SOURCES = io/hpmud/hp-mkuri.c -hp_mkuri_LDADD = -ldl libhpmud.la -hp_mkuri_CFLAGS = -DCONFDIR=\"$(hplip_confdir)\" - -# hpmud.rules -rulesdir = /etc/udev/rules.d -dist_rules_DATA = data/rules/56-hpmud_support.rules -dist_rules_DATA += data/rules/86-hpmud_plugin.rules -if UDEV_ACL_RULES -dist_rules_DATA += data/rules/40-hplip.rules -else -dist_rules_DATA += data/rules/55-hpmud.rules -endif -halpredir = /usr/share/hal/fdi/preprobe/10osvendor -dist_halpre_DATA = data/rules/20-hplip-devices.fdi - -# hplip.conf -hplip_confdir = /etc/hp -hplip_conf_DATA = hplip.conf - -#pstotiff filter -pstotiffdir = $(cupsfilterdir) -pstotiff_SCRIPTS = fax/filters/pstotiff - -# hplip.state -hplip_statedir = /var/lib/hp -dist_hplip_state_DATA = hplip.state - -# Log Files -hplip_Logdir=/var/log/hp - -if FULL_BUILD - -dist_hplip_SCRIPTS = hpssd.py __init__.py hpdio.py -dist_noinst_DATA += scan/sane/hpaio.desc prnt/drv/hpijs.drv.in.template -dist_noinst_SCRIPTS += dat2drv.py install.py hplip-install init-suse-firewall init-iptables-firewall - -cmddir = $(hplipdir) -dist_cmd_SCRIPTS = align.py info.py print.py toolbox.py clean.py colorcal.py unload.py testpage.py makeuri.py check.py fab.py levels.py \ - sendfax.py setup.py makecopies.py probe.py timedate.py firmware.py scan.py systray.py plugin.py linefeedcal.py pqdiag.py \ - faxsetup.py devicesettings.py printsettings.py query.py pkservice.py wificonfig.py check-plugin.py diagnose_plugin.py - -# base -basedir = $(hplipdir)/base - -dist_base_DATA = base/maint.py base/codes.py base/g.py base/pml.py base/status.py \ - base/__init__.py base/mfpdtf.py base/utils.py base/wifi.py base/LedmWifi.py \ - base/device.py base/logger.py base/slp.py base/exif.py base/strings.py base/magic.py \ - base/imagesize.py base/pexpect.py base/models.py base/mdns.py base/tui.py base/dime.py \ - base/ldif.py base/vcard.py base/module.py base/pkit.py - -# installer -installdir = $(hplipdir)/installer -dist_install_DATA = installer/__init__.py installer/dcheck.py installer/distros.dat installer/core_install.py -dist_noinst_DATA += installer/text_install.py - -# makecopies -copierdir = $(hplipdir)/copier -dist_copier_DATA = copier/copier.py copier/__init__.py - -# fax -if FAX_BUILD -faxdir = $(hplipdir)/fax -dist_fax_DATA = fax/fax.py fax/__init__.py fax/coverpages.py fax/pmlfax.py fax/ledmfax.py fax/soapfax.py fax/ledmsoapfax.py fax/marvellfax.py \ - fax/faxdevice.py fax/filters/pstotiff fax/filters/pstotiff.convs fax/filters/pstotiff.types -fax_filtersdir = $(mimedir) -dist_fax_filters_DATA = fax/filters/pstotiff.convs fax/filters/pstotiff.types -hpfaxdir = $(cupsbackenddir) -dist_hpfax_SCRIPTS = fax/backend/hpfax.py -hpijsfaxppddir = $(hpppddir) -hpcupsfaxppddir = $(hpppddir) -if HPIJS_INSTALL -dist_hpijsfaxppd_DATA = fax/ppd/HP-Fax-hpijs.ppd.gz fax/ppd/HP-Fax2-hpijs.ppd.gz fax/ppd/HP-Fax3-hpijs.ppd.gz fax/ppd/HP-Fax4-hpijs.ppd.gz -endif # HPIJS_INSTALL -if HPCUPS_INSTALL -dist_hpcupsfaxppd_DATA = fax/ppd/HP-Fax-hpcups.ppd.gz fax/ppd/HP-Fax2-hpcups.ppd.gz fax/ppd/HP-Fax3-hpcups.ppd.gz fax/ppd/HP-Fax4-hpcups.ppd.gz -endif # HPCUPS_INSTALL -endif # FAX_BUILD - -# ptest -noinst_PROGRAMS += ptest -ptest_SOURCES = pcard/ptest.c pcard/ptest.h pcard/fat.c pcard/fat.h -ptest_LDADD = libhpmud.la - -# data -modelsdir = $(hplipdir)/data/models -images_16x16dir = $(hplipdir)/data/images/16x16 -images_24x24dir = $(hplipdir)/data/images/24x24 -images_32x32dir = $(hplipdir)/data/images/32x32 -images_64x64dir = $(hplipdir)/data/images/64x64 -images_128x128dir = $(hplipdir)/data/images/128x128 -images_256x256dir = $(hplipdir)/data/images/256x256 -images_devicesdir = $(hplipdir)/data/images/devices -images_otherdir = $(hplipdir)/data/images/other -pcldir = $(hplipdir)/data/pcl -ldldir = $(hplipdir)/data/ldl -postscriptdir = $(hplipdir)/data/ps -localzdir = $(hplipdir)/data/localization -dist_postscript_DATA = data/ps/testpage.ps.gz data/ps/clean_page.pdf.gz -dist_models_DATA = data/models/models.dat -dist_hplip_Log_DATA= - -if GUI_BUILD -dist_images_16x16_DATA = data/images/16x16/* -dist_images_24x24_DATA = data/images/24x24/* -dist_images_32x32_DATA = data/images/32x32/* -dist_images_64x64_DATA = data/images/64x64/* -dist_images_128x128_DATA = data/images/128x128/* -dist_images_256x256_DATA = data/images/256x256/* -dist_images_devices_DATA = data/images/devices/* -dist_images_other_DATA = data/images/other/* -endif - -dist_pcl_DATA = data/pcl/align1_8xx.pcl.gz data/pcl/align1_9xx.pcl.gz data/pcl/align2_8xx.pcl.gz data/pcl/align3_8xx.pcl.gz data/pcl/align4_8xx.pcl.gz \ - data/pcl/align5_8xx.pcl.gz data/pcl/align2_9xx.pcl.gz data/pcl/align3_9xx.pcl.gz data/pcl/align4_450.pcl.gz data/pcl/align6_450.pcl.gz \ - data/pcl/colorcal1_450.pcl.gz data/pcl/colorcal2_450.pcl.gz data/pcl/crbcal.pcl.gz data/pcl/crcaldone.pcl.gz data/pcl/crcbcal.pcl.gz data/pcl/crccal.pcl.gz \ - data/pcl/crcpcal.pcl.gz data/pcl/crpcal.pcl.gz -dist_ldl_DATA = data/ldl/cb2pcal.ldl.gz data/ldl/cb2pcal_done.ldl.gz data/ldl/cbbcal.ldl.gz data/ldl/cbccal.ldl.gz data/ldl/cbccal_done.ldl.gz data/ldl/cbcpcal.ldl.gz \ - data/ldl/cbpcal.ldl.gz -dist_localz_DATA = data/localization/hplip_de.qm data/localization/hplip_es.qm data/localization/hplip_fr.qm data/localization/hplip_it.qm \ - data/localization/hplip_pt.qm data/localization/hplip_ru.qm data/localization/hplip_zh.qm -dist_noinst_DATA += data/localization/hplip_de.ts data/localization/hplip_es.ts data/localization/hplip_fr.ts data/localization/hplip_it.ts \ - data/localization/hplip_pt.ts data/localization/hplip_ru.ts data/localization/hplip_zh.ts - -# pcard -pcarddir = $(hplipdir)/pcard -dist_pcard_DATA = pcard/__init__.py pcard/photocard.py - -# pcardext -pcardextdir = $(pyexecdir) -pcardext_LTLIBRARIES = pcardext.la -pcardext_la_LDFLAGS = -module -avoid-version -pcardext_la_SOURCES = pcard/pcardext/pcardext.c pcard/fat.c -pcardext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) - -# prnt -prntdir = $(hplipdir)/prnt -dist_prnt_DATA = prnt/cups.py prnt/__init__.py prnt/ldl.py prnt/pcl.py prnt/colorcal.py - -# cupsext -cupsextdir = $(pyexecdir) -cupsext_LTLIBRARIES = cupsext.la -cupsext_la_LDFLAGS = -module -avoid-version -cupsext_la_SOURCES = prnt/cupsext/cupsext.c -cupsext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) -cupsext_la_LIBADD = -lcups - -if SCAN_BUILD -# scan -scandir = $(hplipdir)/scan -dist_scan_DATA = scan/__init__.py scan/sane.py - -# scanext -scanextdir = $(pyexecdir) -scanext_LTLIBRARIES = scanext.la -scanext_la_LDFLAGS = -module -avoid-version -lsane -scanext_la_SOURCES = scan/scanext/scanext.c -scanext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) -endif - -# hpmudext -hpmudextdir = $(pyexecdir) -hpmudext_LTLIBRARIES = hpmudext.la -hpmudext_la_LDFLAGS = -module -avoid-version -hpmudext_la_SOURCES = io/mudext/hpmudext.c -hpmudext_la_LIBADD = libhpmud.la -hpmudext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) -# ui (qt3) -if GUI_BUILD -if QT3_INSTALL -uidir = $(hplipdir)/ui -dist_ui_DATA = ui/alignform.py \ - ui/colorcalform_base.py ui/colorcalform.py ui/coloradjform_base.py ui/coloradjform.py ui/devmgr4_base.py ui/devmgr4.py \ - ui/__init__.py ui/loadpaperform_base.py ui/loadpaperform.py \ - ui/paperedgealignform_base.py ui/paperedgealignform.py ui/ui_utils.py \ - ui/settingsdialog_base.py ui/settingsdialog.py ui/aligntype6form1.py ui/aligntype6form1_base.py ui/aligntype6form2_base.py \ - ui/aligntype6form2.py ui/nodevicesform_base.py ui/nodevicesform.py ui/unloadform.py \ - ui/imagepropertiesdlg_base.py ui/imagepropertiesdlg.py ui/choosedevicedlg.py ui/chooseprinterdlg.py \ - ui/aboutdlg.py ui/aboutdlg_base.py ui/waitform.py ui/waitform_base.py ui/cleaningform_base.py ui/cleaningform.py \ - ui/cleaningform2_base.py ui/cleaningform2.py ui/colorcalform2_base.py ui/colorcalform2.py ui/colorcal4form.py \ - ui/colorcal4form_base.py ui/colorcal4form_base.ui ui/printerform.py \ - ui/faxaddrbookgroupsform_base.py ui/faxaddrbookgroupeditform_base.py ui/faxaddrbookform_base.py \ - ui/faxaddrbookform.py ui/faxaddrbookeditform_base.py ui/align10form.py ui/align10form_base.py \ - ui/faxsendjobform.py ui/faxsettingsform_base.py ui/faxsettingsform.py \ - ui/coverpageform_base.py ui/coverpageform.py ui/allowabletypesdlg_base.py ui/allowabletypesdlg.py \ - ui/makecopiesform.py ui/setupform_base.py ui/setupform.py ui/setupmanualfind_base.py \ - ui/setupmanualfind.py ui/setupsettings_base.py ui/setupsettings.py ui/scrollview.py \ - ui/scrollprintsettings.py ui/scrollprint.py ui/scrollfax.py \ - ui/scrollunload.py ui/scrollcopy.py ui/pluginform2.py ui/pluginform2_base.py ui/systemtray.py \ - ui/ui_utils.py ui/jobstoragemixin.py ui/pluginlicenseform_base.py ui/pluginlicenseform.py \ - ui/align13form_base.py ui/align13form.py ui/firmwaredialog_base.py ui/firmwaredialog.py \ - ui/deviceuricombobox.py - -dist_noinst_DATA += ui/colorcalform2_base.ui ui/settingsdialog_base.ui ui/aligntype6form1_base.ui \ - ui/aboutdlg_base.ui ui/imagepropertiesdlg_base.ui ui/paperedgealignform_base.ui ui/aligntype6form2_base.ui \ - ui/nodevicesform_base.ui ui/cleaningform_base.ui ui/colorcalform_base.ui ui/devmgr4_base.ui ui/loadpaperform_base.ui \ - ui/cleaningform2_base.ui ui/waitform_base.ui ui/coloradjform_base.ui ui/faxaddrbookeditform_base.ui \ - ui/faxaddrbookform_base.ui ui/faxaddrbookgroupeditform_base.ui ui/faxaddrbookgroupsform_base.ui \ - ui/align10form_base.ui ui/pluginform2_base.ui \ - plugins/powersettingsdialog_base.ui ui/faxsettingsform_base.ui ui/coverpageform_base.ui \ - ui/allowabletypesdlg_base.ui ui/setupform_base.ui ui/setupmanualfind_base.ui \ - ui/setupsettings_base.ui ui/pluginlicenseform_base.ui ui/align13form_base.ui ui/firmwaredialog_base.ui -endif -endif - -#ui4 (qt4) -if GUI_BUILD -if QT4_INSTALL -ui4dir=$(hplipdir)/ui4 -#dist_ui4_SCRIPTS = ui4/devmgr5.py ui4/systemtray.py ui4/devmgr5_base.py ui4/__init__.py ui4/ui_utils.py \ -# ui4/settingsdialog_base.py ui4/settingsdialog.py ui4/printsettingstoolbox.py ui4/printdialog_base.py \ -# ui4/printdialog.py -#dist_noinst_DATA += ui4/devmgr5_base.ui ui4/settingsdialog_base.ui ui4/printdialog_base.ui -dist_ui4_DATA = ui4/*.py -dist_noinst_DATA += ui4/*.ui -endif -endif - -# ui plugins (qt3) -if GUI_BUILD -if QT3_INSTALL -pluginsdir = $(hplipdir)/plugins -dist_plugins_DATA = plugins/dj450.py plugins/__init__.py plugins/powersettings.py plugins/powersettingsdialog.py \ - plugins/powersettingsdialog_base.py plugins/Deskjet_460.py plugins/Officejet_H470.py plugins/powersettings2.py -endif -endif - -# ui plugins (qt4) -if GUI_BUILD -if QT4_INSTALL -plugins4dir = $(hplipdir)/ui4/plugins -dist_plugins4_SCRIPTS = -endif -endif - -# PolicyKit -if POLICYKIT_INSTALL -policykit_dbus_etcdir = /etc/dbus-1/system.d -dist_policykit_dbus_etc_DATA = data/policykit/com.hp.hplip.conf -policykit_dbus_sharedir = /usr/share/dbus-1/system-services -dist_policykit_dbus_share_DATA = data/policykit/com.hp.hplip.service -policykit_policydir = $(policykit_dir) -dist_policykit_policy_DATA = data/policykit/com.hp.hplip.policy -endif - -# hppgsz -noinst_PROGRAMS += hppgsz -hppgsz_SOURCES = prnt/hpijs/PrinterProperties.cpp prnt/hpijs/PrinterProperties.h prnt/hpijs/bug.h -hppgsz_CXXFLAGS = $(libapdk_la_CXXFLAGS) -hppgsz_CFLAGS = $(libapdk_la_CFLAGS) -hppgsz_LDADD = libapdk.la -ljpeg -ldl - -# hplip.desktop -hplip_desktopdir = $(icondir) -hplip_desktop_DATA = hplip.desktop - -# hplip-systray.desktop -hplip_systraydir = $(systraydir) -hplip_systray_DATA = hplip-systray.desktop - -# hpipjs (CUPS filter) -hplipjsdir = $(cupsfilterdir) -hplipjs_PROGRAMS = hplipjs -hplipjs_SOURCES = prnt/filters/hplipjs.c - -# hpps (CUPS filter) -hppsdir = $(cupsfilterdir) -hpps_PROGRAMS = hpps -hpps_SOURCES = prnt/hpps/hppsfilter.c -hpps_LDADD = -lcups - -# hpcac (CUPS filter, Color Access Control, ie: CLJ 4700) -cacdir = $(cupsfilterdir) -dist_cac_SCRIPTS = prnt/filters/hpcac - -endif # FULL_BUILD -endif # HPLIP_BUILD - -# foomatic-rip-hplip -if RIP_INSTALL -ripdir = $(cupsfilterdir) -dist_rip_SCRIPTS = prnt/hpijs/foomatic-rip-hplip -endif - -# apdk -noinst_LTLIBRARIES = libapdk.la -libapdk_la_SOURCES = prnt/hpijs/models.cpp prnt/hpijs/breaks_open.cpp \ - prnt/hpijs/dj9xxvip.cpp prnt/hpijs/dj9xx.cpp prnt/hpijs/capture.cpp prnt/hpijs/colormatch.cpp prnt/hpijs/colormatcher_open.cpp \ - prnt/hpijs/compression.cpp prnt/hpijs/context2.cpp prnt/hpijs/create_so.cpp prnt/hpijs/creator.cpp \ - prnt/hpijs/dj600.cpp prnt/hpijs/dj630.cpp prnt/hpijs/dj660.cpp prnt/hpijs/dj690.cpp prnt/hpijs/dj6xx.cpp prnt/hpijs/dj8xx.cpp prnt/hpijs/dj600_maps.cpp \ - prnt/hpijs/dj660_maps.cpp prnt/hpijs/dj690_maps.cpp prnt/hpijs/dj895_maps.cpp prnt/hpijs/dj895_maps2.cpp prnt/hpijs/dj970_maps.cpp \ - prnt/hpijs/dj970_maps2.cpp prnt/hpijs/dj970_maps3.cpp prnt/hpijs/filterhpa.cpp prnt/hpijs/apollo21xx.cpp prnt/hpijs/apollo2560.cpp prnt/hpijs/apollo2xxx.cpp \ - prnt/hpijs/dj8x5.cpp prnt/hpijs/psp100.cpp prnt/hpijs/phobos_cmaps.cpp prnt/hpijs/dj350.cpp prnt/hpijs/halftoner.cpp prnt/hpijs/halftoner_open.cpp \ - prnt/hpijs/globals.cpp prnt/hpijs/header2.cpp prnt/hpijs/htmtxhi.cpp prnt/hpijs/pmselect.cpp \ - prnt/hpijs/job.cpp prnt/hpijs/printer.cpp prnt/hpijs/registry.cpp prnt/hpijs/scaler.cpp \ - prnt/hpijs/scaler_open.cpp prnt/hpijs/script.cpp prnt/hpijs/systemservices.cpp \ - prnt/hpijs/translator.cpp prnt/hpijs/version.cpp prnt/hpijs/versioncode.cpp \ - prnt/hpijs/djgenericvip.cpp prnt/hpijs/dj540.cpp prnt/hpijs/dj850.cpp prnt/hpijs/dj850_maps.cpp prnt/hpijs/dj890.cpp \ - prnt/hpijs/apollo21xx.h prnt/hpijs/apollo2560.h prnt/hpijs/apollo2xxx.h prnt/hpijs/colormatch.h prnt/hpijs/colormatcher_open.h \ - prnt/hpijs/compression.h prnt/hpijs/config.h prnt/hpijs/context.h prnt/hpijs/dj350.h prnt/hpijs/dj400.h prnt/hpijs/dj540.h \ - prnt/hpijs/dj600.h prnt/hpijs/dj630.h prnt/hpijs/dj660.h prnt/hpijs/dj690.h prnt/hpijs/dj6xx.h prnt/hpijs/dj8x5.h prnt/hpijs/dj8xx.h \ - prnt/hpijs/dj850.h prnt/hpijs/dj890.h prnt/hpijs/dj9xx.h prnt/hpijs/dj9xxvip.h \ - prnt/hpijs/ernieplatform.h prnt/hpijs/filterhpa.h prnt/hpijs/global_types.h prnt/hpijs/halftoner.h prnt/hpijs/font.h prnt/hpijs/debug.h \ - prnt/hpijs/halftoner_open.h prnt/hpijs/header.h prnt/hpijs/hpprint_c_api.h \ - prnt/hpijs/hpprintapi.h prnt/hpijs/hptypes.h prnt/hpijs/htfed.h prnt/hpijs/internal.h \ - prnt/hpijs/interp.h prnt/hpijs/interp_data_50.h prnt/hpijs/io_defs.h prnt/hpijs/job.h prnt/hpijs/models.h prnt/hpijs/modes.h prnt/hpijs/pmselect.h \ - prnt/hpijs/printer.h prnt/hpijs/psp100.h prnt/hpijs/psp470.h prnt/hpijs/resources.h prnt/hpijs/scaler_open.h prnt/hpijs/scaler_prop.h prnt/hpijs/script.h \ - prnt/hpijs/systemservices.h prnt/hpijs/unistd_.h prnt/hpijs/djgenericvip.h prnt/hpijs/ljmono.h prnt/hpijs/ljmono.cpp \ - prnt/hpijs/dj3320.cpp prnt/hpijs/dj3320.h prnt/hpijs/dj3320_cmap.cpp prnt/hpijs/dj3600.cpp prnt/hpijs/dj3600.h prnt/hpijs/dj3600_cmap.cpp prnt/hpijs/dj4100.h prnt/hpijs/djd2600.h \ - prnt/hpijs/dj4100_cmap.cpp prnt/hpijs/ldlencap.h prnt/hpijs/ljcolor.cpp prnt/hpijs/ljcolor.h prnt/hpijs/pscript.h \ - prnt/hpijs/printerproxy.cpp prnt/hpijs/printerfactory.cpp prnt/hpijs/printerproxy.h prnt/hpijs/printerfactory.h \ - prnt/hpijs/ljjetready.cpp prnt/hpijs/ljjetready.h prnt/hpijs/jdatadbf.c prnt/hpijs/jccolor.c prnt/hpijs/ljfastraster.cpp prnt/hpijs/ljfastraster.h \ - prnt/hpijs/jinclude.h prnt/hpijs/jpegint.h prnt/hpijs/dj55xx.h prnt/hpijs/hpijsfax.h prnt/hpijs/ojprokx50.h \ - prnt/hpijs/ljzjs.cpp prnt/hpijs/ljzjs.h prnt/hpijs/ljzjsmono.cpp prnt/hpijs/ljm1005.cpp prnt/hpijs/ljm1005.h \ - prnt/hpijs/ljzjsmono.h prnt/hpijs/hpjbig_wrapper.h prnt/hpijs/quickconnect.cpp prnt/hpijs/quickconnect.h prnt/hpijs/ljp1xxx.h prnt/hpijs/ljzjscolor.cpp prnt/hpijs/ljzjscolor.h -libapdk_la_CXXFLAGS = -DAPDK_DJ660 -DAPDK_DJ6xx -DAPDK_DJ6xxPhoto -DAPDK_DJ8xx -DAPDK_DJ9xx -DAPDK_DJ9xxVIP -DAPDK_DJ630 \ - -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX -DAPDK_APOLLO2560 -DAPDK_DJ600 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100 -DAPDK_AUTODUPLEX \ - -DAPDK_HIGH_RES_MODES -DAPDK_LJMONO -DAPDK_DJ540 -DAPDK_DJ850 -DAPDK_DJ890 -DAPDK_DJ3320 -DAPDK_LJCOLOR -DAPDK_DJGENERICVIP \ - -DAPDK_LJJETREADY -DAPDK_LJFASTRASTER -DAPDK_BUFFER_SEND -DAPDK_LDL_COMPRESS -DAPDK_EXTENDED_MEDIASIZE \ - -DAPDK_MLC_PRINTER -DAPDK_DJ3600 -DAPDK_LJZJS_MONO -DAPDK_LJZJS_COLOR -DAPDK_LJM1005 -DAPDK_QUICKCONNECT \ - $(APDK_ENDIAN_FLAG) $(APDK_AUTO_INCLUDE_FLAG) -DAPDK_LINUX -DNDEBUG $(DBUS_CFLAGS) -libapdk_la_CFLAGS = $(libapdk_la_CXXFLAGS) -Iprnt/hpijs - -if HPIJS_INSTALL -# hpijs -bin_PROGRAMS = hpijs -hpijs_SOURCES = prnt/hpijs/hpijs.cpp prnt/hpijs/ijs_server.c prnt/hpijs/ijs.c prnt/hpijs/hpijsfax.cpp prnt/hpijs/services.cpp prnt/hpijs/bug.h \ - prnt/hpijs/hpijs.h prnt/hpijs/ijs.h prnt/hpijs/ijs_server.h prnt/hpijs/services.h prnt/hpijs/ijs_client.h prnt/hpijs/hpiom.c prnt/hpijs/hpiom.h -hpijs_CXXFLAGS = $(libapdk_la_CXXFLAGS) -hpijs_CFLAGS = $(libapdk_la_CFLAGS) -if HPLIP_BUILD -hpijs_LDADD = libapdk.la -ljpeg -ldl libhpip.la libhpmud.la $(DBUS_LIBS) -else -hpijs_LDADD = libapdk.la -ljpeg -ldl -endif -endif # HPIJS_INSTALL - -if HPCUPS_INSTALL -# hpcups -#if NEW_HPCUPS -hpcupsdir = $(cupsfilterdir) -hpcups_PROGRAMS = hpcups -hpcups_SOURCES = prnt/hpcups/HPCupsFilter.cpp prnt/hpcups/HPCupsFilter.h prnt/hpcups/dbuscomm.cpp prnt/hpcups/dbuscomm.h prnt/hpcups/Compressor.cpp prnt/hpcups/Compressor.h \ - prnt/hpcups/Mode2.cpp prnt/hpcups/Mode2.h prnt/hpcups/Mode3.cpp prnt/hpcups/Mode3.h \ - prnt/hpcups/Mode9.cpp prnt/hpcups/Mode9.h prnt/hpcups/Mode10.cpp prnt/hpcups/Mode10.h \ - prnt/hpcups/ModeDeltaPlus.cpp prnt/hpcups/ModeDeltaPlus.h prnt/hpcups/ModeJbig.cpp prnt/hpcups/ModeJbig.h \ - prnt/hpcups/ErnieFilter.cpp prnt/hpcups/ErnieFilter.h prnt/hpcups/EncapsulatorFactory.cpp prnt/hpcups/EncapsulatorFactory.h \ - prnt/hpcups/Encapsulator.cpp prnt/hpcups/Encapsulator.h prnt/hpcups/Pcl3.cpp prnt/hpcups/Pcl3.h \ - prnt/hpcups/Pcl3Gui.cpp prnt/hpcups/Pcl3Gui.h prnt/hpcups/Pcl3Gui2.cpp prnt/hpcups/Pcl3Gui2.h \ - prnt/hpcups/LJMono.cpp prnt/hpcups/LJMono.h prnt/hpcups/LJColor.cpp prnt/hpcups/LJColor.h \ - prnt/hpcups/LJFastRaster.cpp prnt/hpcups/LJFastRaster.h prnt/hpcups/LJJetReady.cpp prnt/hpcups/LJJetReady.h \ -prnt/hpcups/LJZjStream.cpp prnt/hpcups/LJZjStream.h \ - prnt/hpcups/LJZxStream.cpp prnt/hpcups/LJZxStream.h prnt/hpcups/Job.cpp prnt/hpcups/Job.h \ - prnt/hpcups/Pipeline.cpp prnt/hpcups/Pipeline.h prnt/hpcups/Processor.cpp prnt/hpcups/Processor.h \ - prnt/hpcups/RasterSender.cpp prnt/hpcups/RasterSender.h prnt/hpcups/ColorMatcher.cpp prnt/hpcups/ColorMatcher.h \ - prnt/hpcups/Halftoner.cpp prnt/hpcups/Halftoner.h prnt/hpcups/Scaler.cpp prnt/hpcups/Scaler.h prnt/hpcups/resources.h \ - prnt/hpcups/dj400ColorMaps.cpp prnt/hpcups/dj600ColorMaps.cpp prnt/hpcups/dj970ColorMaps.cpp prnt/hpcups/dj8xxColorMaps.cpp \ - prnt/hpcups/dj4100ColorMaps.cpp \ - prnt/hpcups/BreakTables.cpp prnt/hpcups/PrinterCommands.h prnt/hpcups/Utils.cpp prnt/hpcups/Utils.h \ - prnt/hpcups/SystemServices.cpp prnt/hpcups/SystemServices.h prnt/hpcups/CommonDefinitions.h prnt/hpcups/hpjbig_wrapper.h \ - prnt/hpcups/apPrintModes.h prnt/hpcups/dj400PrintModes.h prnt/hpcups/dj540PrintModes.h prnt/hpcups/dj600PrintModes.h \ - prnt/hpcups/dj630PrintModes.h prnt/hpcups/dj690PrintModes.h prnt/hpcups/dj850PrintModes.h prnt/hpcups/dj890PrintModes.h \ - prnt/hpcups/dj895PrintModes.h prnt/hpcups/dj8x5PrintModes.h prnt/hpcups/dj970PrintModes.h prnt/hpcups/Pcl3GuiPrintModes.h \ - prnt/hpcups/Pcl3PrintModes.h prnt/hpcups/ColorMaps.h \ - prnt/hpcups/QuickConnect.cpp prnt/hpcups/QuickConnect.h \ - prnt/hpcups/ModeJpeg.cpp prnt/hpcups/ModeJpeg.h \ - prnt/hpcups/jccolor.c prnt/hpcups/jinclude.h \ - prnt/hpcups/jdatadbf.c prnt/hpcups/jinclude.h \ - prnt/hpcups/Lidil.cpp prnt/hpcups/Lidil.h \ - prnt/hpcups/LidilCompress.cpp prnt/hpcups/LidilCompress.h \ - prnt/hpcups/LidilPrintModes.h prnt/hpcups/dj3320ColorMaps.cpp \ - prnt/hpcups/dj3600ColorMaps.cpp prnt/hpcups/dj3320PrintModes.h \ - prnt/hpcups/dj4100PrintModes.h - -hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG) $(DBUS_CFLAGS) -hpcups_LDADD = -ljpeg -ldl -lcups -lcupsimage $(DBUS_LIBS) -#else -#hpcupsdir = $(cupsfilterdir) -#hpcups_PROGRAMS = hpcups -#hpcups_SOURCES = prnt/hpijs/hpcups.cpp prnt/hpijs/hpcups.h prnt/hpijs/services.cpp prnt/hpijs/services.h prnt/hpijs/hpiom.c prnt/hpijs/hpiom.h prnt/hpijs/bug.h prnt/hpijs/hpimage.cpp prnt/hpijs/hpimage.h -#hpcups_CXXFLAGS = $(libapdk_la_CXXFLAGS) -#hpcups_CFLAGS = $(libapdk_la_CFLAGS) -#if HPCUPS_ONLY_BUILD -#hpcups_LDADD = libapdk.la -ljpeg -ldl -lcups -lcupsimage -#else -#hpcups_LDADD = libapdk.la -ljpeg -ldl libhpip.la libhpmud.la $(DBUS_LIBS) -lcups -lcupsimage -#endif #HPCUPS_ONLY_BUILD -#endif # NEW_HPCUPS -if !HPCUPS_ONLY_BUILD -if FAX_BUILD -# hpcupsfax -hpcupsfaxdir = $(cupsfilterdir) -hpcupsfax_PROGRAMS = hpcupsfax -hpcupsfax_SOURCES = prnt/hpijs/hpcupsfax.cpp prnt/hpijs/hpcupsfax.h -hpcupsfax_LDADD = libhpip.la -lcups -lcupsimage -endif # FAX_BUILD -endif # HPCUPS ONLY -endif # HPCUPS_INSTALL - -# PPDs -ppddir = $(hpppddir) -dist_ppd_DATA = $(foomatic_ps_printers) -if FOOMATIC_PPD_INSTALL -dist_ppd_DATA += $(foomatic_ppd_printers) -endif -if FOOMATIC_DRV_INSTALL -cupsdrvdir = $(drvdir) -cupsdrv_DATA = $(foomatic_drv) -endif -if CUPS_PPD_INSTALL -dist_ppd_DATA += $(cups_ppd_printers) -endif -if CUPS_DRV_INSTALL -cupsdrv2dir = $(drvdir) -cupsdrv2_DATA = $(cups_drv) -endif - -install-dist_hplip_LogDATA: -if FULL_BUILD - test -z "$(DESTDIR)$(hplip_Logdir)" || mkdir -p $(DESTDIR)$(hplip_Logdir) - chgrp "lp" -R $(DESTDIR)$(hplip_Logdir) - chmod 774 $(DESTDIR)$(hplip_Logdir) -endif #FULL_BUILD -if HPLIP_BUILD - test -z "$(DESTDIR)$(hplip_Logdir)" || mkdir -p $(DESTDIR)$(hplip_Logdir) - chgrp "lp" -R $(DESTDIR)$(hplip_Logdir) - chmod 774 $(DESTDIR)$(hplip_Logdir) -endif #FULL_BUILD - -install-data-hook: -if HPLIP_BUILD -# If scanner build, add hpaio entry to sane dll.conf. - if [ "$(scan_build)" = "yes" ]; then \ - $(mkinstalldirs) $(DESTDIR)/etc/sane.d; \ - if [ ! -f $(DESTDIR)/etc/sane.d/dll.conf ]; then \ - touch $(DESTDIR)/etc/sane.d/dll.conf; \ - fi; \ - if ! grep ^hpaio $(DESTDIR)/etc/sane.d/dll.conf >/dev/null 2>/dev/null ; then \ - echo "Adding hpaio entry to /etc/sane.d/dll.conf." ; \ - echo hpaio >>$(DESTDIR)/etc/sane.d/dll.conf ; \ - fi \ - fi -if FULL_BUILD -# Create hp-xxx commands in bindir. - $(mkinstalldirs) $(DESTDIR)$(bindir) - for i in $(dist_cmd_SCRIPTS); do \ - cmd=`basename $$i .py`; \ - if [ ! \( "$$cmd" = "toolbox" -a "$(gui_build)" = "no" \) ]; then \ - ln -sf ../share/$(PACKAGE)/$$i $(DESTDIR)$(bindir)/hp-$$cmd; \ - fi \ - done -# -# Install fax support. - if [ "$(fax_build)" = "yes" ]; then \ - mv $(DESTDIR)$(hpfaxdir)/hpfax.py $(DESTDIR)$(hpfaxdir)/hpfax; \ - chmod 700 $(DESTDIR)$(hpfaxdir)/hpfax; \ - fi -# -# Make backend run as root. -# chmod 700 $(DESTDIR)$(hpdir)/hp -endif # FULL_BUILD -endif # HPLIP_BUILD - -uninstall-hook: -if HPLIP_BUILD -# Remove hp-xxx commands. - for i in $(dist_cmd_SCRIPTS); do \ - cmd=`basename $$i .py`; \ - rm -f $(DESTDIR)$(bindir)/hp-$$cmd; \ - done -# -# Remove fax support. - rm -f $(DESTDIR)$(hpfaxdir)/hpfax -endif - -rpm: -if FULL_BUILD - epm -f rpm hplipfull hplip.list -endif -if LITE_BUILD - epm -f rpm hpliplite hplip.list -endif -if HPCUPS_ONLY_BUILD - epm -f rpm hpliphpcupsonly hplip.list -endif -if HPIJS_ONLY_BUILD - epm -f rpm hpliphpijsonly hplip.list -endif - -deb: -if FULL_BUILD - epm -f deb hplipfull hplip.list -endif -if LITE_BUILD - epm -f deb hpliplite hplip.list -endif -if HPCUPS_ONLY_BUILD - epm -f deb hpliphpcupsonly hplip.list -endif -if HPIJS_ONLY_BUILD - epm -f deb hpliphpijsonly hplip.list -endif +# +# Makefile.am - hplip automake input file +# +# (c) 2004-2015 Copyright Hewlett-Packard Development Company, LP +# Author: David Suffield, Naga Samrat Chowdary Narla, Sarbeswar Meher +INCLUDES = -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ +CFLAGS+= -DCONFDIR=\"$(hplip_confdir)\" +CXXFLAGS+= -DCONFDIR=\"$(hplip_confdir)\" + +hplipdir = $(datadir)/hplip + +docdir = $(hpdocdir) +doc_DATA = COPYING copyright prnt/hpijs/README_LIBJPG +EXTRA_DIST = prnt/hpijs/gdevijs-krgb-1.5-gs8.61.patch prnt/hpijs/README_LIBJPG copyright + +dist_noinst_SCRIPTS = +dist_noinst_DATA = +noinst_PROGRAMS = +lib_LTLIBRARIES = + +include foomatic_drv.inc +include unreleased.inc +include cups_drv.inc + +if DOC_BUILD +wwwsrc = doc +www0dir = $(docdir) +dist_www0_DATA = $(wwwsrc)/index.html $(wwwsrc)/commandline.html $(wwwsrc)/copying.html $(wwwsrc)/devicemanager.html $(wwwsrc)/faxtrouble.html $(wwwsrc)/gettinghelp.html $(wwwsrc)/hpscan.html $(wwwsrc)/mainttask.html $(wwwsrc)/plugins.html $(wwwsrc)/print.html $(wwwsrc)/printing.html $(wwwsrc)/printoptions.html $(wwwsrc)/printtroubleshooting.html $(wwwsrc)/scanning.html $(wwwsrc)/scantrouble.html $(wwwsrc)/sendfax.html $(wwwsrc)/setup.html $(wwwsrc)/systray.html $(wwwsrc)/troubleshooting.html $(wwwsrc)/uninstalling.html $(wwwsrc)/upgrading.html +www3dir = $(docdir)/styles +dist_www3_DATA = $(wwwsrc)/styles/* +www4dir = $(docdir)/images +dist_www4_DATA = $(wwwsrc)/images/* +endif + +if HPLIP_BUILD + +# hp backend. +hpdir = $(cupsbackenddir) +hp_PROGRAMS = hp +hp_SOURCES = prnt/backend/hp.c +hp_LDADD = libhpmud.la $(DBUS_LIBS) +hp_LDFLAGS = $(libhpmud_la_LDFLAGS) +hp_CFLAGS = $(DBUS_CFLAGS) + +# hpaio sane backend +if SCAN_BUILD +libsane_hpaiodir = $(libdir)/sane +libsane_hpaio_LTLIBRARIES = libsane-hpaio.la +libsane_hpaio_la_SOURCES = scan/sane/hpaio.c scan/sane/mfpdtf.c scan/sane/pml.c scan/sane/scl.c scan/sane/io.c scan/sane/hpaio.h \ + scan/sane/pml.h scan/sane/saneopts.h scan/sane/io.h scan/sane/mfpdtf.h scan/sane/sane.h scan/sane/scl.h scan/sane/tables.h \ + scan/sane/common.c scan/sane/common.h scan/sane/soap.h scan/sane/soapht.h scan/sane/sanei_debug.h scan/sane/sanei.h \ + scan/sane/sanei_init_debug.c scan/sane/marvell.h scan/sane/marvelli.h scan/sane/marvell.c scan/sane/soapht.c scan/sane/soap.c \ + scan/sane/soaphti.h scan/sane/soapi.h scan/sane/xml.c scan/sane/xml.h scan/sane/ledm.h scan/sane/ledmi.h scan/sane/ledm.c \ + scan/sane/bb_ledm.c scan/sane/http.h scan/sane/http.c scan/sane/sclpml.c scan/sane/sclpml.h common/utils.c common/utils.h +if DARWIN_BUILD +libsane_hpaio_la_LDFLAGS = -module -framework CoreFoundation -version-info 1:0:0 +else +libsane_hpaio_la_LDFLAGS = -version-info 1:0:0 +endif +# The following is a interlibrary dependency that must be compiled first. +libsane_hpaio_la_LIBADD = libhpip.la libhpmud.la $(DBUS_LIBS) -lcups -ldl +#libsane_hpaio_la_CFLAGS = -DWITH_NONAMESPACES -DSOAP_DEBUG +libsane_hpaio_la_CFLAGS = $(DBUS_CFLAGS) -D_IPP_PRIVATE_STRUCTURES=1 +endif # SCAN_BUILD + +# hpmud library +MUDNAME=hpmud +lib_LTLIBRARIES += libhpmud.la + +if LIBUSB01_BUILD +libhpmud_la_CFLAGS = -DMUDNAME=\"$(MUDNAME)\" -DCONFDIR=\"$(hplip_confdir)\" +libhpmud_la_SOURCES = io/hpmud/hpmud.c io/hpmud/mlc.c io/hpmud/model.c io/hpmud/pml.c \ + io/hpmud/hpmud.h io/hpmud/hpmudi.h io/hpmud/list.h io/hpmud/mlc.h io/hpmud/pml.h io/hpmud/dot4.c \ + io/hpmud/dot4.h io/hpmud/jd.c io/hpmud/jd.h io/hpmud/pp.c io/hpmud/pp.h io/hpmud/musb.h io/hpmud/musb_libusb01.c \ + common/utils.c common/utils.h +else +libhpmud_la_CFLAGS = -I/usr/include/libusb-1.0 -DMUDNAME=\"$(MUDNAME)\" -DCONFDIR=\"$(hplip_confdir)\" +libhpmud_la_SOURCES = io/hpmud/hpmud.c io/hpmud/mlc.c io/hpmud/model.c io/hpmud/pml.c \ + io/hpmud/hpmud.h io/hpmud/hpmudi.h io/hpmud/list.h io/hpmud/mlc.h io/hpmud/pml.h io/hpmud/dot4.c \ + io/hpmud/dot4.h io/hpmud/jd.c io/hpmud/jd.h io/hpmud/pp.c io/hpmud/pp.h io/hpmud/musb.h io/hpmud/musb.c \ + common/utils.c common/utils.h +endif + +libhpmud_la_LDFLAGS = -version-info 0:6:0 -lpthread -ldl + +if NETWORK_BUILD +libhpmud_la_LDFLAGS += -l$(SNMPLIB) -lcrypto +endif + +if LIBUSB01_BUILD +libhpmud_la_LDFLAGS += -lusb +else +libhpmud_la_LDFLAGS += -lusb-1.0 +endif + +# ip library +lib_LTLIBRARIES += libhpip.la +libhpip_la_LDFLAGS = -version-info 0:1:0 +libhpip_la_LIBADD = -lm +libhpip_la_SOURCES = ip/xconvolve.c ip/xfax.c ip/xgrayout.c ip/xjpg_dct.c ip/xjpg_fix.c ip/xpad.c ip/xrotate.c ip/xskel.c ip/xtiff.c \ + ip/ipmain.c ip/xchgbpp.c ip/xcrop.c ip/xgamma.c ip/xjpg_dec.c ip/xjpg_huf.c ip/xpcx.c ip/xsaturation.c ip/xtable.c ip/xtonemap.c \ + ip/xbi2gray.c ip/xcolrspc.c ip/xfakemono.c ip/xgray2bi.c ip/xinvert.c ip/xjpg_enc.c ip/xmatrix.c ip/xpnm.c ip/xscale.c ip/xthumb.c ip/xyxtract.c \ + ip/hpip.h ip/ipdefs.h ip/xform.h ip/xjpg_dct.h ip/xjpg_huf.h ip/xjpg_mrk.h + +# hp-mkuri. +hp_mkuridir = $(bindir) +hp_mkuri_PROGRAMS = hp-mkuri +hp_mkuri_SOURCES = io/hpmud/hp-mkuri.c +hp_mkuri_LDADD = -ldl libhpmud.la +hp_mkuri_CFLAGS = -DCONFDIR=\"$(hplip_confdir)\" + +# cron files +crondir = /etc/cron.daily +dist_cron_DATA = data/rules/hplip_cron + +# hpmud.rules +rulesdir = /etc/udev/rules.d +if UDEV_SYSFS_RULES +dist_rules_DATA = data/rules/56-hpmud_support_sysfs.rules +dist_rules_DATA += data/rules/86-hpmud_plugin_sysfs.rules +dist_rules_DATA += data/rules/56-hpmud_add_printer_sysfs.rules +if UDEV_ACL_RULES +dist_rules_DATA += data/rules/40-hplip_sysfs.rules +else +dist_rules_DATA += data/rules/55-hpmud_sysfs.rules +endif +else +dist_rules_DATA = data/rules/56-hpmud_support.rules +dist_rules_DATA += data/rules/86-hpmud_plugin.rules +dist_rules_DATA += data/rules/56-hpmud_add_printer.rules +if UDEV_ACL_RULES +dist_rules_DATA += data/rules/40-hplip.rules +else +dist_rules_DATA += data/rules/55-hpmud.rules +endif +endif +halpredir = /usr/share/hal/fdi/preprobe/10osvendor +dist_halpre_DATA = data/rules/20-hplip-devices.fdi + +# hplip.conf +hplip_confdir = /etc/hp +hplip_conf_DATA = hplip.conf + +#pstotiff filter +pstotiffdir = $(cupsfilterdir) +pstotiff_SCRIPTS = fax/filters/pstotiff + +# hplip.state +hplip_statedir = /var/lib/hp +dist_hplip_state_DATA = +#dist_hplip_state_DATA = hplip.state + +# Log Files +hplip_Logdir=/var/log/hp +hplip_tmpdir=/var/log/hp/tmp + +if FULL_BUILD + +dist_hplip_SCRIPTS = hpssd.py __init__.py hpdio.py +dist_noinst_DATA += scan/sane/hpaio.desc prnt/drv/hpijs.drv.in.template +dist_noinst_SCRIPTS += dat2drv.py install.py hplip-install init-suse-firewall init-iptables-firewall + +cmddir = $(hplipdir) +dist_cmd_SCRIPTS = align.py info.py print.py toolbox.py clean.py colorcal.py unload.py testpage.py makeuri.py check.py fab.py levels.py \ + sendfax.py setup.py makecopies.py probe.py timedate.py firmware.py scan.py systray.py plugin.py linefeedcal.py pqdiag.py \ + faxsetup.py devicesettings.py printsettings.py query.py pkservice.py wificonfig.py diagnose_plugin.py uninstall.py \ + upgrade.py config_usb_printer.py diagnose_queues.py logcapture.py doctor.py + +homedir = $(hplipdir) +dist_home_DATA = check-plugin.py + +# base +basedir = $(hplipdir)/base + +dist_base_DATA = base/maint.py base/codes.py base/g.py base/pml.py base/status.py \ + base/__init__.py base/mfpdtf.py base/utils.py base/wifi.py base/LedmWifi.py \ + base/device.py base/logger.py base/slp.py base/exif.py base/strings.py base/magic.py \ + base/imagesize.py base/pexpect.py base/models.py base/mdns.py base/tui.py base/dime.py \ + base/ldif.py base/vcard.py base/module.py base/pkit.py base/queues.py base/password.py \ + base/services.py base/os_utils.py base/smart_install.py + +# installer +installdir = $(hplipdir)/installer +dist_install_DATA = installer/__init__.py installer/dcheck.py installer/distros.dat installer/core_install.py installer/pluginhandler.py +dist_noinst_DATA += installer/text_install.py + +# makecopies +copierdir = $(hplipdir)/copier +dist_copier_DATA = copier/copier.py copier/__init__.py + +# fax +if FAX_BUILD +faxdir = $(hplipdir)/fax +dist_fax_DATA = fax/fax.py fax/__init__.py fax/coverpages.py fax/pmlfax.py fax/ledmfax.py fax/soapfax.py fax/ledmsoapfax.py fax/marvellfax.py \ + fax/faxdevice.py fax/filters/pstotiff fax/filters/pstotiff.convs fax/filters/pstotiff.types +fax_filtersdir = $(mimedir) +dist_fax_filters_DATA = fax/filters/pstotiff.convs fax/filters/pstotiff.types +hpfaxdir = $(cupsbackenddir) +dist_hpfax_SCRIPTS = fax/backend/hpfax.py +hpijsfaxppddir = $(hpppddir) +hpcupsfaxppddir = $(hpppddir) +if HPIJS_INSTALL +dist_hpijsfaxppd_DATA = fax/ppd/HP-Fax-hpijs.ppd.gz fax/ppd/HP-Fax2-hpijs.ppd.gz fax/ppd/HP-Fax3-hpijs.ppd.gz fax/ppd/HP-Fax4-hpijs.ppd.gz +endif # HPIJS_INSTALL +if HPCUPS_INSTALL +dist_hpcupsfaxppd_DATA = fax/ppd/HP-Fax-hpcups.ppd.gz fax/ppd/HP-Fax2-hpcups.ppd.gz fax/ppd/HP-Fax3-hpcups.ppd.gz fax/ppd/HP-Fax4-hpcups.ppd.gz +endif # HPCUPS_INSTALL +endif # FAX_BUILD + +# ptest +noinst_PROGRAMS += ptest +ptest_SOURCES = pcard/ptest.c pcard/ptest.h pcard/fat.c pcard/fat.h +ptest_LDADD = libhpmud.la + +# data +modelsdir = $(hplipdir)/data/models +images_16x16dir = $(hplipdir)/data/images/16x16 +images_24x24dir = $(hplipdir)/data/images/24x24 +images_32x32dir = $(hplipdir)/data/images/32x32 +images_64x64dir = $(hplipdir)/data/images/64x64 +images_128x128dir = $(hplipdir)/data/images/128x128 +images_256x256dir = $(hplipdir)/data/images/256x256 +images_devicesdir = $(hplipdir)/data/images/devices +images_otherdir = $(hplipdir)/data/images/other +pcldir = $(hplipdir)/data/pcl +ldldir = $(hplipdir)/data/ldl +postscriptdir = $(hplipdir)/data/ps +localzdir = $(hplipdir)/data/localization +dist_postscript_DATA = data/ps/testpage.ps.gz data/ps/clean_page.pdf.gz +dist_models_DATA = data/models/models.dat +dist_hplip_Log_DATA= +dist_hplip_tmp_DATA= + +if GUI_BUILD +dist_images_16x16_DATA = data/images/16x16/* +dist_images_24x24_DATA = data/images/24x24/* +dist_images_32x32_DATA = data/images/32x32/* +dist_images_64x64_DATA = data/images/64x64/* +dist_images_128x128_DATA = data/images/128x128/* +dist_images_256x256_DATA = data/images/256x256/* +dist_images_devices_DATA = data/images/devices/* +dist_images_other_DATA = data/images/other/* +endif + +dist_pcl_DATA = data/pcl/align1_8xx.pcl.gz data/pcl/align1_9xx.pcl.gz data/pcl/align2_8xx.pcl.gz data/pcl/align3_8xx.pcl.gz data/pcl/align4_8xx.pcl.gz \ + data/pcl/align5_8xx.pcl.gz data/pcl/align2_9xx.pcl.gz data/pcl/align3_9xx.pcl.gz data/pcl/align4_450.pcl.gz data/pcl/align6_450.pcl.gz \ + data/pcl/colorcal1_450.pcl.gz data/pcl/colorcal2_450.pcl.gz data/pcl/crbcal.pcl.gz data/pcl/crcaldone.pcl.gz data/pcl/crcbcal.pcl.gz data/pcl/crccal.pcl.gz \ + data/pcl/crcpcal.pcl.gz data/pcl/crpcal.pcl.gz +dist_ldl_DATA = data/ldl/cb2pcal.ldl.gz data/ldl/cb2pcal_done.ldl.gz data/ldl/cbbcal.ldl.gz data/ldl/cbccal.ldl.gz data/ldl/cbccal_done.ldl.gz data/ldl/cbcpcal.ldl.gz \ + data/ldl/cbpcal.ldl.gz +dist_localz_DATA = data/localization/hplip_de.qm data/localization/hplip_es.qm data/localization/hplip_fr.qm data/localization/hplip_it.qm \ + data/localization/hplip_pt.qm data/localization/hplip_ru.qm data/localization/hplip_zh.qm +dist_noinst_DATA += data/localization/hplip_de.ts data/localization/hplip_es.ts data/localization/hplip_fr.ts data/localization/hplip_it.ts \ + data/localization/hplip_pt.ts data/localization/hplip_ru.ts data/localization/hplip_zh.ts + +# pcard +pcarddir = $(hplipdir)/pcard +dist_pcard_DATA = pcard/__init__.py pcard/photocard.py + +# pcardext +pcardextdir = $(pyexecdir) +pcardext_LTLIBRARIES = pcardext.la +pcardext_la_LDFLAGS = -module -avoid-version +pcardext_la_SOURCES = pcard/pcardext/pcardext.c pcard/fat.c +pcardext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) + +# prnt +prntdir = $(hplipdir)/prnt +dist_prnt_DATA = prnt/cups.py prnt/__init__.py prnt/ldl.py prnt/pcl.py prnt/colorcal.py + +# cupsext +cupsextdir = $(pyexecdir) +cupsext_LTLIBRARIES = cupsext.la +cupsext_la_LDFLAGS = -module -avoid-version +cupsext_la_SOURCES = prnt/cupsext/cupsext.c +cupsext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) -D_IPP_PRIVATE_STRUCTURES=1 +cupsext_la_LIBADD = -lcups + +if SCAN_BUILD +# scan +scandir = $(hplipdir)/scan +dist_scan_DATA = scan/__init__.py scan/sane.py + +# scanext +scanextdir = $(pyexecdir) +scanext_LTLIBRARIES = scanext.la +scanext_la_LDFLAGS = -module -avoid-version -lsane +scanext_la_SOURCES = scan/scanext/scanext.c +scanext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) +endif + +# hpmudext +hpmudextdir = $(pyexecdir) +hpmudext_LTLIBRARIES = hpmudext.la +hpmudext_la_LDFLAGS = -module -avoid-version +hpmudext_la_SOURCES = io/mudext/hpmudext.c +hpmudext_la_LIBADD = libhpmud.la + +if LIBUSB01_BUILD +hpmudext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) +else +hpmudext_la_CFLAGS =-I/usr/include/libusb-1.0 -I$(PYTHONINCLUDEDIR) +endif + +# ui (qt3) +if GUI_BUILD +if QT3_INSTALL +uidir = $(hplipdir)/ui +dist_ui_DATA = ui/alignform.py \ + ui/colorcalform_base.py ui/colorcalform.py ui/coloradjform_base.py ui/coloradjform.py ui/devmgr4_base.py ui/devmgr4.py \ + ui/__init__.py ui/loadpaperform_base.py ui/loadpaperform.py \ + ui/paperedgealignform_base.py ui/paperedgealignform.py ui/ui_utils.py \ + ui/settingsdialog_base.py ui/settingsdialog.py ui/aligntype6form1.py ui/aligntype6form1_base.py ui/aligntype6form2_base.py \ + ui/aligntype6form2.py ui/nodevicesform_base.py ui/nodevicesform.py ui/unloadform.py \ + ui/imagepropertiesdlg_base.py ui/imagepropertiesdlg.py ui/choosedevicedlg.py ui/chooseprinterdlg.py \ + ui/aboutdlg.py ui/aboutdlg_base.py ui/waitform.py ui/waitform_base.py ui/cleaningform_base.py ui/cleaningform.py \ + ui/cleaningform2_base.py ui/cleaningform2.py ui/colorcalform2_base.py ui/colorcalform2.py ui/colorcal4form.py \ + ui/colorcal4form_base.py ui/colorcal4form_base.ui ui/printerform.py \ + ui/faxaddrbookgroupsform_base.py ui/faxaddrbookgroupeditform_base.py ui/faxaddrbookform_base.py \ + ui/faxaddrbookform.py ui/faxaddrbookeditform_base.py ui/align10form.py ui/align10form_base.py \ + ui/faxsendjobform.py ui/faxsettingsform_base.py ui/faxsettingsform.py \ + ui/coverpageform_base.py ui/coverpageform.py ui/allowabletypesdlg_base.py ui/allowabletypesdlg.py \ + ui/makecopiesform.py ui/setupform_base.py ui/setupform.py ui/setupmanualfind_base.py \ + ui/setupmanualfind.py ui/setupsettings_base.py ui/setupsettings.py ui/scrollview.py \ + ui/scrollprintsettings.py ui/scrollprint.py ui/scrollfax.py \ + ui/scrollunload.py ui/scrollcopy.py ui/pluginform2.py ui/pluginform2_base.py ui/systemtray.py \ + ui/ui_utils.py ui/jobstoragemixin.py ui/pluginlicenseform_base.py ui/pluginlicenseform.py \ + ui/align13form_base.py ui/align13form.py ui/firmwaredialog_base.py ui/firmwaredialog.py \ + ui/deviceuricombobox.py ui/upgradeform.py ui/upgradeform_base.py + +dist_noinst_DATA += ui/colorcalform2_base.ui ui/settingsdialog_base.ui ui/aligntype6form1_base.ui \ + ui/aboutdlg_base.ui ui/imagepropertiesdlg_base.ui ui/paperedgealignform_base.ui ui/aligntype6form2_base.ui \ + ui/nodevicesform_base.ui ui/cleaningform_base.ui ui/colorcalform_base.ui ui/devmgr4_base.ui ui/loadpaperform_base.ui \ + ui/cleaningform2_base.ui ui/waitform_base.ui ui/coloradjform_base.ui ui/faxaddrbookeditform_base.ui \ + ui/faxaddrbookform_base.ui ui/faxaddrbookgroupeditform_base.ui ui/faxaddrbookgroupsform_base.ui \ + ui/align10form_base.ui ui/pluginform2_base.ui \ + plugins/powersettingsdialog_base.ui ui/faxsettingsform_base.ui ui/coverpageform_base.ui \ + ui/allowabletypesdlg_base.ui ui/setupform_base.ui ui/setupmanualfind_base.ui \ + ui/setupsettings_base.ui ui/pluginlicenseform_base.ui ui/align13form_base.ui ui/firmwaredialog_base.ui +endif +endif + +#ui4 (qt4) +if GUI_BUILD +if QT4_INSTALL +ui4dir=$(hplipdir)/ui4 +#dist_ui4_SCRIPTS = ui4/devmgr5.py ui4/systemtray.py ui4/devmgr5_base.py ui4/__init__.py ui4/ui_utils.py \ +# ui4/settingsdialog_base.py ui4/settingsdialog.py ui4/printsettingstoolbox.py ui4/printdialog_base.py \ +# ui4/printdialog.py +#dist_noinst_DATA += ui4/devmgr5_base.ui ui4/settingsdialog_base.ui ui4/printdialog_base.ui +dist_ui4_DATA = ui4/*.py +dist_noinst_DATA += ui4/*.ui +endif +endif + +# ui plugins (qt3) +if GUI_BUILD +if QT3_INSTALL +pluginsdir = $(hplipdir)/plugins +dist_plugins_DATA = plugins/dj450.py plugins/__init__.py plugins/powersettings.py plugins/powersettingsdialog.py \ + plugins/powersettingsdialog_base.py plugins/Deskjet_460.py plugins/Officejet_H470.py plugins/powersettings2.py +endif +endif + +# ui plugins (qt4) +if GUI_BUILD +if QT4_INSTALL +plugins4dir = $(hplipdir)/ui4/plugins +dist_plugins4_SCRIPTS = +endif +endif + +# PolicyKit +if POLICYKIT_INSTALL +policykit_dbus_etcdir = /etc/dbus-1/system.d +dist_policykit_dbus_etc_DATA = data/policykit/com.hp.hplip.conf +policykit_dbus_sharedir = /usr/share/dbus-1/system-services +dist_policykit_dbus_share_DATA = data/policykit/com.hp.hplip.service +policykit_policydir = $(policykit_dir) +dist_policykit_policy_DATA = data/policykit/com.hp.hplip.policy +endif + +# hppgsz +noinst_PROGRAMS += hppgsz +hppgsz_SOURCES = prnt/hpijs/PrinterProperties.cpp prnt/hpijs/PrinterProperties.h prnt/hpijs/bug.h +hppgsz_CXXFLAGS = $(libapdk_la_CXXFLAGS) +hppgsz_CFLAGS = $(libapdk_la_CFLAGS) +hppgsz_LDADD = libapdk.la -ljpeg -ldl + +if GUI_BUILD +# hplip.desktop +hplip_desktopdir = $(icondir) +hplip_desktop_DATA = hplip.desktop + +# hplip-systray.desktop +hplip_systraydir = $(systraydir) +hplip_systray_DATA = hplip-systray.desktop +endif + +# hpipjs (CUPS filter) +hplipjsdir = $(cupsfilterdir) +hplipjs_PROGRAMS = hplipjs +hplipjs_SOURCES = prnt/filters/hplipjs.c + + +# hpcac (CUPS filter, Color Access Control, ie: CLJ 4700) +cacdir = $(cupsfilterdir) +dist_cac_SCRIPTS = prnt/filters/hpcac + +# hpps (Finishing PS filter) +findir = $(cupsfilterdir) +dist_fin_SCRIPTS = prnt/filters/hpps + + +endif # FULL_BUILD +endif # HPLIP_BUILD + +# foomatic-rip-hplip +if RIP_INSTALL +ripdir = $(cupsfilterdir) +dist_rip_SCRIPTS = prnt/hpijs/foomatic-rip-hplip +endif + +# apdk +noinst_LTLIBRARIES = libapdk.la +libapdk_la_SOURCES = prnt/hpijs/models.cpp prnt/hpijs/breaks_open.cpp \ + prnt/hpijs/dj9xxvip.cpp prnt/hpijs/dj9xx.cpp prnt/hpijs/capture.cpp prnt/hpijs/colormatch.cpp prnt/hpijs/colormatcher_open.cpp \ + prnt/hpijs/compression.cpp prnt/hpijs/context2.cpp prnt/hpijs/create_so.cpp prnt/hpijs/creator.cpp \ + prnt/hpijs/dj600.cpp prnt/hpijs/dj630.cpp prnt/hpijs/dj660.cpp prnt/hpijs/dj690.cpp prnt/hpijs/dj6xx.cpp prnt/hpijs/dj8xx.cpp prnt/hpijs/dj600_maps.cpp \ + prnt/hpijs/dj660_maps.cpp prnt/hpijs/dj690_maps.cpp prnt/hpijs/dj895_maps.cpp prnt/hpijs/dj895_maps2.cpp prnt/hpijs/dj970_maps.cpp \ + prnt/hpijs/dj970_maps2.cpp prnt/hpijs/dj970_maps3.cpp prnt/hpijs/filterhpa.cpp prnt/hpijs/apollo21xx.cpp prnt/hpijs/apollo2560.cpp prnt/hpijs/apollo2xxx.cpp \ + prnt/hpijs/dj8x5.cpp prnt/hpijs/psp100.cpp prnt/hpijs/phobos_cmaps.cpp prnt/hpijs/dj350.cpp prnt/hpijs/halftoner.cpp prnt/hpijs/halftoner_open.cpp \ + prnt/hpijs/globals.cpp prnt/hpijs/header2.cpp prnt/hpijs/htmtxhi.cpp prnt/hpijs/pmselect.cpp \ + prnt/hpijs/job.cpp prnt/hpijs/printer.cpp prnt/hpijs/registry.cpp prnt/hpijs/scaler.cpp \ + prnt/hpijs/scaler_open.cpp prnt/hpijs/script.cpp prnt/hpijs/systemservices.cpp \ + prnt/hpijs/translator.cpp prnt/hpijs/version.cpp prnt/hpijs/versioncode.cpp \ + prnt/hpijs/djgenericvip.cpp prnt/hpijs/dj540.cpp prnt/hpijs/dj850.cpp prnt/hpijs/dj850_maps.cpp prnt/hpijs/dj890.cpp \ + prnt/hpijs/apollo21xx.h prnt/hpijs/apollo2560.h prnt/hpijs/apollo2xxx.h prnt/hpijs/colormatch.h prnt/hpijs/colormatcher_open.h \ + prnt/hpijs/compression.h prnt/hpijs/config.h prnt/hpijs/context.h prnt/hpijs/dj350.h prnt/hpijs/dj400.h prnt/hpijs/dj540.h \ + prnt/hpijs/dj600.h prnt/hpijs/dj630.h prnt/hpijs/dj660.h prnt/hpijs/dj690.h prnt/hpijs/dj6xx.h prnt/hpijs/dj8x5.h prnt/hpijs/dj8xx.h \ + prnt/hpijs/dj850.h prnt/hpijs/dj890.h prnt/hpijs/dj9xx.h prnt/hpijs/dj9xxvip.h \ + prnt/hpijs/ernieplatform.h prnt/hpijs/filterhpa.h prnt/hpijs/global_types.h prnt/hpijs/halftoner.h prnt/hpijs/font.h prnt/hpijs/debug.h \ + prnt/hpijs/halftoner_open.h prnt/hpijs/header.h prnt/hpijs/hpprint_c_api.h \ + prnt/hpijs/hpprintapi.h prnt/hpijs/hptypes.h prnt/hpijs/htfed.h prnt/hpijs/internal.h \ + prnt/hpijs/interp.h prnt/hpijs/interp_data_50.h prnt/hpijs/io_defs.h prnt/hpijs/job.h prnt/hpijs/models.h prnt/hpijs/modes.h prnt/hpijs/pmselect.h \ + prnt/hpijs/printer.h prnt/hpijs/psp100.h prnt/hpijs/psp470.h prnt/hpijs/resources.h prnt/hpijs/scaler_open.h prnt/hpijs/scaler_prop.h prnt/hpijs/script.h \ + prnt/hpijs/systemservices.h prnt/hpijs/unistd_.h prnt/hpijs/djgenericvip.h prnt/hpijs/ljmono.h prnt/hpijs/ljmono.cpp \ + prnt/hpijs/dj3320.cpp prnt/hpijs/dj3320.h prnt/hpijs/dj3320_cmap.cpp prnt/hpijs/dj3600.cpp prnt/hpijs/dj3600.h prnt/hpijs/dj3600_cmap.cpp prnt/hpijs/dj4100.h prnt/hpijs/djd2600.h \ + prnt/hpijs/dj4100_cmap.cpp prnt/hpijs/ldlencap.h prnt/hpijs/ljcolor.cpp prnt/hpijs/ljcolor.h prnt/hpijs/pscript.h \ + prnt/hpijs/printerproxy.cpp prnt/hpijs/printerfactory.cpp prnt/hpijs/printerproxy.h prnt/hpijs/printerfactory.h \ + prnt/hpijs/ljjetready.cpp prnt/hpijs/ljjetready.h prnt/hpijs/jdatadbf.c prnt/hpijs/jccolor.c prnt/hpijs/ljfastraster.cpp prnt/hpijs/ljfastraster.h \ + prnt/hpijs/jinclude.h prnt/hpijs/jpegint.h prnt/hpijs/dj55xx.h prnt/hpijs/hpijsfax.h prnt/hpijs/ojprokx50.h \ + prnt/hpijs/ljzjs.cpp prnt/hpijs/ljzjs.h prnt/hpijs/ljzjsmono.cpp prnt/hpijs/ljm1005.cpp prnt/hpijs/ljm1005.h \ + prnt/hpijs/ljzjsmono.h prnt/hpijs/hpjbig_wrapper.h prnt/hpijs/quickconnect.cpp prnt/hpijs/quickconnect.h prnt/hpijs/ljp1xxx.h prnt/hpijs/ljzjscolor.cpp prnt/hpijs/ljzjscolor.h \ + common/utils.c common/utils.h +libapdk_la_CXXFLAGS = -DAPDK_DJ660 -DAPDK_DJ6xx -DAPDK_DJ6xxPhoto -DAPDK_DJ8xx -DAPDK_DJ9xx -DAPDK_DJ9xxVIP -DAPDK_DJ630 \ + -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX -DAPDK_APOLLO2560 -DAPDK_DJ600 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100 -DAPDK_AUTODUPLEX \ + -DAPDK_HIGH_RES_MODES -DAPDK_LJMONO -DAPDK_DJ540 -DAPDK_DJ850 -DAPDK_DJ890 -DAPDK_DJ3320 -DAPDK_LJCOLOR -DAPDK_DJGENERICVIP \ + -DAPDK_LJJETREADY -DAPDK_LJFASTRASTER -DAPDK_BUFFER_SEND -DAPDK_LDL_COMPRESS -DAPDK_EXTENDED_MEDIASIZE \ + -DAPDK_MLC_PRINTER -DAPDK_DJ3600 -DAPDK_LJZJS_MONO -DAPDK_LJZJS_COLOR -DAPDK_LJM1005 -DAPDK_QUICKCONNECT \ + $(APDK_ENDIAN_FLAG) $(APDK_AUTO_INCLUDE_FLAG) -DAPDK_LINUX -DNDEBUG $(DBUS_CFLAGS) +libapdk_la_CFLAGS = $(libapdk_la_CXXFLAGS) -Iprnt/hpijs + +if HPIJS_INSTALL +# hpijs +bin_PROGRAMS = hpijs +hpijs_SOURCES = prnt/hpijs/hpijs.cpp prnt/hpijs/ijs_server.c prnt/hpijs/ijs.c prnt/hpijs/hpijsfax.cpp prnt/hpijs/services.cpp prnt/hpijs/bug.h \ + prnt/hpijs/hpijs.h prnt/hpijs/ijs.h prnt/hpijs/ijs_server.h prnt/hpijs/services.h prnt/hpijs/ijs_client.h prnt/hpijs/hpiom.c \ + prnt/hpijs/hpiom.h common/utils.h common/utils.c + +hpijs_CXXFLAGS = $(libapdk_la_CXXFLAGS) +hpijs_CFLAGS = $(libapdk_la_CFLAGS) +if HPLIP_BUILD +hpijs_LDADD = libapdk.la -ljpeg -ldl libhpip.la libhpmud.la $(DBUS_LIBS) +else +hpijs_LDADD = libapdk.la -ljpeg -ldl +endif +endif # HPIJS_INSTALL + +if HPCUPS_INSTALL +# hpcups +#if NEW_HPCUPS +hpcupsdir = $(cupsfilterdir) +hpcups_PROGRAMS = hpcups +hpcups_SOURCES = prnt/hpcups/HPCupsFilter.cpp prnt/hpcups/HPCupsFilter.h prnt/hpcups/dbuscomm.cpp prnt/hpcups/dbuscomm.h prnt/hpcups/Compressor.cpp prnt/hpcups/Compressor.h \ + prnt/hpcups/Mode2.cpp prnt/hpcups/Mode2.h prnt/hpcups/Mode3.cpp prnt/hpcups/Mode3.h \ + prnt/hpcups/Mode9.cpp prnt/hpcups/Mode9.h prnt/hpcups/Mode10.cpp prnt/hpcups/Mode10.h \ + prnt/hpcups/ModeDeltaPlus.cpp prnt/hpcups/ModeDeltaPlus.h prnt/hpcups/ModeJbig.cpp prnt/hpcups/ModeJbig.h \ + prnt/hpcups/ErnieFilter.cpp prnt/hpcups/ErnieFilter.h prnt/hpcups/EncapsulatorFactory.cpp prnt/hpcups/EncapsulatorFactory.h \ + prnt/hpcups/Encapsulator.cpp prnt/hpcups/Encapsulator.h prnt/hpcups/Pcl3.cpp prnt/hpcups/Pcl3.h \ + prnt/hpcups/Pcl3Gui.cpp prnt/hpcups/Pcl3Gui.h prnt/hpcups/Pcl3Gui2.cpp prnt/hpcups/Pcl3Gui2.h \ + prnt/hpcups/LJMono.cpp prnt/hpcups/LJMono.h prnt/hpcups/LJColor.cpp prnt/hpcups/LJColor.h \ + prnt/hpcups/LJFastRaster.cpp prnt/hpcups/LJFastRaster.h prnt/hpcups/LJJetReady.cpp prnt/hpcups/LJJetReady.h \ + prnt/hpcups/LJZjStream.cpp prnt/hpcups/LJZjStream.h \ + prnt/hpcups/LJZxStream.cpp prnt/hpcups/LJZxStream.h prnt/hpcups/Job.cpp prnt/hpcups/Job.h \ + prnt/hpcups/Pipeline.cpp prnt/hpcups/Pipeline.h prnt/hpcups/Processor.cpp prnt/hpcups/Processor.h \ + prnt/hpcups/RasterSender.cpp prnt/hpcups/RasterSender.h prnt/hpcups/ColorMatcher.cpp prnt/hpcups/ColorMatcher.h \ + prnt/hpcups/Halftoner.cpp prnt/hpcups/Halftoner.h prnt/hpcups/Scaler.cpp prnt/hpcups/Scaler.h prnt/hpcups/resources.h \ + prnt/hpcups/dj400ColorMaps.cpp prnt/hpcups/dj600ColorMaps.cpp prnt/hpcups/dj970ColorMaps.cpp prnt/hpcups/dj8xxColorMaps.cpp \ + prnt/hpcups/dj4100ColorMaps.cpp \ + prnt/hpcups/BreakTables.cpp prnt/hpcups/PrinterCommands.h prnt/hpcups/Utils.cpp prnt/hpcups/Utils.h \ + prnt/hpcups/SystemServices.cpp prnt/hpcups/SystemServices.h prnt/hpcups/CommonDefinitions.h prnt/hpcups/hpjbig_wrapper.h \ + prnt/hpcups/apPrintModes.h prnt/hpcups/dj400PrintModes.h prnt/hpcups/dj540PrintModes.h prnt/hpcups/dj600PrintModes.h \ + prnt/hpcups/dj630PrintModes.h prnt/hpcups/dj690PrintModes.h prnt/hpcups/dj850PrintModes.h prnt/hpcups/dj890PrintModes.h \ + prnt/hpcups/dj895PrintModes.h prnt/hpcups/dj8x5PrintModes.h prnt/hpcups/dj970PrintModes.h prnt/hpcups/Pcl3GuiPrintModes.h \ + prnt/hpcups/Pcl3PrintModes.h prnt/hpcups/ColorMaps.h \ + prnt/hpcups/QuickConnect.cpp prnt/hpcups/QuickConnect.h \ + prnt/hpcups/ModeJpeg.cpp prnt/hpcups/ModeJpeg.h \ + prnt/hpcups/jccolor.c prnt/hpcups/jinclude.h \ + prnt/hpcups/jdatadbf.c prnt/hpcups/jinclude.h \ + prnt/hpcups/Lidil.cpp prnt/hpcups/Lidil.h \ + prnt/hpcups/LidilCompress.cpp prnt/hpcups/LidilCompress.h \ + prnt/hpcups/LidilPrintModes.h prnt/hpcups/dj3320ColorMaps.cpp \ + prnt/hpcups/dj3600ColorMaps.cpp prnt/hpcups/dj3320PrintModes.h \ + prnt/hpcups/dj4100PrintModes.h \ + prnt/hpcups/Hbpl1.cpp prnt/hpcups/Hbpl1.h prnt/hpcups/Hbpl1_Wrapper.h \ + common/utils.c common/utils.h + +hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG) $(DBUS_CFLAGS) +hpcups_LDADD = -ljpeg -ldl -lcups -lcupsimage $(DBUS_LIBS) +#else +#hpcupsdir = $(cupsfilterdir) +#hpcups_PROGRAMS = hpcups +#hpcups_SOURCES = prnt/hpijs/hpcups.cpp prnt/hpijs/hpcups.h prnt/hpijs/services.cpp prnt/hpijs/services.h prnt/hpijs/hpiom.c prnt/hpijs/hpiom.h prnt/hpijs/bug.h prnt/hpijs/hpimage.cpp prnt/hpijs/hpimage.h +#hpcups_CXXFLAGS = $(libapdk_la_CXXFLAGS) +#hpcups_CFLAGS = $(libapdk_la_CFLAGS) +#if HPCUPS_ONLY_BUILD +#hpcups_LDADD = libapdk.la -ljpeg -ldl -lcups -lcupsimage +#else +#hpcups_LDADD = libapdk.la -ljpeg -ldl libhpip.la libhpmud.la $(DBUS_LIBS) -lcups -lcupsimage +#endif #HPCUPS_ONLY_BUILD +#endif # NEW_HPCUPS +if !HPCUPS_ONLY_BUILD +if FAX_BUILD +# hpcupsfax +hpcupsfaxdir = $(cupsfilterdir) +hpcupsfax_PROGRAMS = hpcupsfax +hpcupsfax_SOURCES = prnt/hpijs/hpcupsfax.cpp prnt/hpijs/hpcupsfax.h common/utils.h common/utils.c +hpcupsfax_LDADD = libhpip.la -lcups -lcupsimage -ldl +endif # FAX_BUILD +endif # HPCUPS ONLY +endif # HPCUPS_INSTALL + +# PPDs +ppddir = $(hpppddir) +dist_ppd_DATA = $(foomatic_ps_printers) +if FOOMATIC_PPD_INSTALL +dist_ppd_DATA += $(foomatic_ppd_printers) +endif +if FOOMATIC_DRV_INSTALL +cupsdrvdir = $(drvdir) +cupsdrv_DATA = $(foomatic_drv) +endif +if CUPS_PPD_INSTALL +dist_ppd_DATA += $(cups_ppd_printers) +endif +if CUPS_DRV_INSTALL +cupsdrv2dir = $(drvdir) +cupsdrv2_DATA = $(cups_drv) +endif + + +install-dist_hplip_LogDATA: +if FULL_BUILD + test -z "$(DESTDIR)$(hplip_Logdir)" || mkdir -p $(DESTDIR)$(hplip_Logdir) + chgrp "lp" -R $(DESTDIR)$(hplip_Logdir) + chmod 775 $(DESTDIR)$(hplip_Logdir) +endif #FULL_BUILD +if HPLIP_BUILD + test -z "$(DESTDIR)$(hplip_Logdir)" || mkdir -p $(DESTDIR)$(hplip_Logdir) + chgrp "lp" -R $(DESTDIR)$(hplip_Logdir) + chmod 775 $(DESTDIR)$(hplip_Logdir) +endif #FULL_BUILD + +install-dist_hplip_tmpDATA: +if FULL_BUILD + test -z "$(DESTDIR)$(hplip_tmpdir)" || mkdir -p $(DESTDIR)$(hplip_tmpdir) + chgrp "lp" -R $(DESTDIR)$(hplip_tmpdir) + chmod 1775 $(DESTDIR)$(hplip_tmpdir) +endif #FULL_BUILD +if HPLIP_BUILD + test -z "$(DESTDIR)$(hplip_tmpdir)" || mkdir -p $(DESTDIR)$(hplip_tmpdir) + chgrp "lp" -R $(DESTDIR)$(hplip_tmpdir) + chmod 1775 $(DESTDIR)$(hplip_tmpdir) +endif #FULL_BUILD + +install-dist_cronDATA:$(dist_cron_DATA) + test -z "$(DESTDIR)$(crondir)" || $(MKDIR_P) "$(DESTDIR)$(crondir)"; \ + list='$(dist_cron_DATA)'; test -n "$(crondir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL) -m755 $$files '$(DESTDIR)$(crondir)'"; \ + $(INSTALL) -m755 $$files "$(DESTDIR)$(crondir)" || exit $$?; \ + done + +install-data-hook: +if HPLIP_BUILD +# If scanner build, add hpaio entry to sane dll.conf. + if [ "$(scan_build)" = "yes" ]; then \ + $(mkinstalldirs) $(DESTDIR)/etc/sane.d; \ + if [ ! -f $(DESTDIR)/etc/sane.d/dll.conf ]; then \ + touch $(DESTDIR)/etc/sane.d/dll.conf; \ + fi; \ + if ! grep ^hpaio $(DESTDIR)/etc/sane.d/dll.conf >/dev/null 2>/dev/null ; then \ + echo "Adding hpaio entry to /etc/sane.d/dll.conf." ; \ + echo hpaio >>$(DESTDIR)/etc/sane.d/dll.conf ; \ + fi \ + fi +if FULL_BUILD +# Create hp-xxx commands in bindir. + $(mkinstalldirs) $(DESTDIR)$(bindir) + for i in $(dist_cmd_SCRIPTS); do \ + cmd=`basename $$i .py`; \ + if [ ! \( "$$cmd" = "toolbox" -a "$(gui_build)" = "no" \) ]; then \ + ln -sf ../share/$(PACKAGE)/$$i $(DESTDIR)$(bindir)/hp-$$cmd; \ + fi \ + done +# +# Install fax support. + if [ "$(fax_build)" = "yes" ]; then \ + mv $(DESTDIR)$(hpfaxdir)/hpfax.py $(DESTDIR)$(hpfaxdir)/hpfax; \ + chmod 700 $(DESTDIR)$(hpfaxdir)/hpfax; \ + fi +# +# Make backend run as root. +# chmod 700 $(DESTDIR)$(hpdir)/hp +endif # FULL_BUILD +endif # HPLIP_BUILD + +uninstall-hook: +if HPLIP_BUILD +# Remove hp-xxx commands. + for i in $(dist_cmd_SCRIPTS); do \ + cmd=`basename $$i .py`; \ + rm -f $(DESTDIR)$(bindir)/hp-$$cmd; \ + done +# +# Remove fax support. + rm -f $(DESTDIR)$(hpfaxdir)/hpfax +endif + +rpm: +if FULL_BUILD + epm -f rpm hplipfull hplip.list +endif +if LITE_BUILD + epm -f rpm hpliplite hplip.list +endif +if HPCUPS_ONLY_BUILD + epm -f rpm hpliphpcupsonly hplip.list +endif +if HPIJS_ONLY_BUILD + epm -f rpm hpliphpijsonly hplip.list +endif + +deb: +if FULL_BUILD + epm -f deb hplipfull hplip.list +endif +if LITE_BUILD + epm -f deb hpliplite hplip.list +endif +if HPCUPS_ONLY_BUILD + epm -f deb hpliphpcupsonly hplip.list +endif +if HPIJS_ONLY_BUILD + epm -f deb hpliphpijsonly hplip.list +endif diff -Nru hplip-3.12.2/Makefile.in hplip-3.13.4/Makefile.in --- hplip-3.12.2/Makefile.in 2012-02-01 11:56:54.000000000 +0000 +++ hplip-3.13.4/Makefile.in 2013-04-08 09:59:37.000000000 +0000 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.11 from Makefile.am. +# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, @@ -15,12 +15,6 @@ @SET_MAKE@ -# -# Makefile.am - hplip automake input file -# -# (c) 2004-2010 Copyright Hewlett-Packard Development Company, LP -# Author: David Suffield, Naga Samrat Chowdary Narla, - @@ -46,13 +40,13 @@ noinst_PROGRAMS = $(am__EXEEXT_1) DIST_COMMON = $(am__configure_deps) $(am__dist_base_DATA_DIST) \ $(am__dist_cac_SCRIPTS_DIST) $(am__dist_cmd_SCRIPTS_DIST) \ - $(am__dist_copier_DATA_DIST) $(am__dist_fax_DATA_DIST) \ - $(am__dist_fax_filters_DATA_DIST) $(am__dist_halpre_DATA_DIST) \ - $(am__dist_hpcupsfaxppd_DATA_DIST) \ + $(am__dist_copier_DATA_DIST) $(am__dist_cron_DATA_DIST) \ + $(am__dist_fax_DATA_DIST) $(am__dist_fax_filters_DATA_DIST) \ + $(am__dist_fin_SCRIPTS_DIST) $(am__dist_halpre_DATA_DIST) \ + $(am__dist_home_DATA_DIST) $(am__dist_hpcupsfaxppd_DATA_DIST) \ $(am__dist_hpfax_SCRIPTS_DIST) \ $(am__dist_hpijsfaxppd_DATA_DIST) \ $(am__dist_hplip_SCRIPTS_DIST) \ - $(am__dist_hplip_state_DATA_DIST) \ $(am__dist_images_128x128_DATA_DIST) \ $(am__dist_images_16x16_DATA_DIST) \ $(am__dist_images_24x24_DATA_DIST) \ @@ -75,6 +69,7 @@ $(am__dist_ui4_DATA_DIST) $(am__dist_ui_DATA_DIST) \ $(am__dist_www0_DATA_DIST) $(am__dist_www3_DATA_DIST) \ $(am__dist_www4_DATA_DIST) $(dist_hplip_Log_DATA) \ + $(dist_hplip_state_DATA) $(dist_hplip_tmp_DATA) \ $(dist_plugins4_SCRIPTS) $(dist_unrel_DATA) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/cups_drv.inc $(srcdir)/foomatic_drv.inc \ @@ -89,10 +84,15 @@ # ip library @HPLIP_BUILD_TRUE@am__append_1 = libhpmud.la libhpip.la +@HPLIP_BUILD_TRUE@@NETWORK_BUILD_TRUE@am__append_2 = -l$(SNMPLIB) -lcrypto +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@am__append_3 = -lusb +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@am__append_4 = -lusb-1.0 @HPLIP_BUILD_TRUE@hp_mkuri_PROGRAMS = hp-mkuri$(EXEEXT) -@HPLIP_BUILD_TRUE@@UDEV_ACL_RULES_TRUE@am__append_2 = data/rules/40-hplip.rules -@HPLIP_BUILD_TRUE@@UDEV_ACL_RULES_FALSE@am__append_3 = data/rules/55-hpmud.rules -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_4 = \ +@HPLIP_BUILD_TRUE@@UDEV_ACL_RULES_TRUE@@UDEV_SYSFS_RULES_TRUE@am__append_5 = data/rules/40-hplip_sysfs.rules +@HPLIP_BUILD_TRUE@@UDEV_ACL_RULES_FALSE@@UDEV_SYSFS_RULES_TRUE@am__append_6 = data/rules/55-hpmud_sysfs.rules +@HPLIP_BUILD_TRUE@@UDEV_ACL_RULES_TRUE@@UDEV_SYSFS_RULES_FALSE@am__append_7 = data/rules/40-hplip.rules +@HPLIP_BUILD_TRUE@@UDEV_ACL_RULES_FALSE@@UDEV_SYSFS_RULES_FALSE@am__append_8 = data/rules/55-hpmud.rules +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_9 = \ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ scan/sane/hpaio.desc \ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ prnt/drv/hpijs.drv.in.template \ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ installer/text_install.py \ @@ -103,13 +103,13 @@ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ data/localization/hplip_pt.ts \ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ data/localization/hplip_ru.ts \ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ data/localization/hplip_zh.ts -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_5 = dat2drv.py install.py hplip-install init-suse-firewall init-iptables-firewall +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_10 = dat2drv.py install.py hplip-install init-suse-firewall init-iptables-firewall # ptest # hppgsz -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_6 = ptest hppgsz -@FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@am__append_7 = ui/colorcalform2_base.ui ui/settingsdialog_base.ui ui/aligntype6form1_base.ui \ +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_11 = ptest hppgsz +@FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@am__append_12 = ui/colorcalform2_base.ui ui/settingsdialog_base.ui ui/aligntype6form1_base.ui \ @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ ui/aboutdlg_base.ui ui/imagepropertiesdlg_base.ui ui/paperedgealignform_base.ui ui/aligntype6form2_base.ui \ @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ ui/nodevicesform_base.ui ui/cleaningform_base.ui ui/colorcalform_base.ui ui/devmgr4_base.ui ui/loadpaperform_base.ui \ @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ ui/cleaningform2_base.ui ui/waitform_base.ui ui/coloradjform_base.ui ui/faxaddrbookeditform_base.ui \ @@ -117,17 +117,16 @@ @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ ui/align10form_base.ui ui/pluginform2_base.ui \ @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ plugins/powersettingsdialog_base.ui ui/faxsettingsform_base.ui ui/coverpageform_base.ui \ @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ ui/allowabletypesdlg_base.ui ui/setupform_base.ui ui/setupmanualfind_base.ui \ -@FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ ui/setupsettings_base.ui ui/pluginlicenseform_base.ui ui/align13form_base.ui ui/firmwaredialog_base.ui +@FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ ui/setupsettings_base.ui ui/pluginlicenseform_base.ui ui/align13form_base.ui ui/firmwaredialog_base.ui -@FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT4_INSTALL_TRUE@am__append_8 = ui4/*.ui +@FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT4_INSTALL_TRUE@am__append_13 = ui4/*.ui @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hplipjs_PROGRAMS = \ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ hplipjs$(EXEEXT) -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hpps_PROGRAMS = hpps$(EXEEXT) @HPIJS_INSTALL_TRUE@bin_PROGRAMS = hpijs$(EXEEXT) @HPCUPS_INSTALL_TRUE@hpcups_PROGRAMS = hpcups$(EXEEXT) @FAX_BUILD_TRUE@@HPCUPS_INSTALL_TRUE@@HPCUPS_ONLY_BUILD_FALSE@hpcupsfax_PROGRAMS = hpcupsfax$(EXEEXT) -@FOOMATIC_PPD_INSTALL_TRUE@am__append_9 = $(foomatic_ppd_printers) -@CUPS_PPD_INSTALL_TRUE@am__append_10 = $(cups_ppd_printers) +@FOOMATIC_PPD_INSTALL_TRUE@am__append_14 = $(foomatic_ppd_printers) +@CUPS_PPD_INSTALL_TRUE@am__append_15 = $(cups_ppd_printers) subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in @@ -167,16 +166,18 @@ "$(DESTDIR)$(bindir)" "$(DESTDIR)$(hpdir)" \ "$(DESTDIR)$(hp_mkuridir)" "$(DESTDIR)$(hpcupsdir)" \ "$(DESTDIR)$(hpcupsfaxdir)" "$(DESTDIR)$(hplipjsdir)" \ - "$(DESTDIR)$(hppsdir)" "$(DESTDIR)$(cacdir)" \ - "$(DESTDIR)$(cmddir)" "$(DESTDIR)$(hpfaxdir)" \ + "$(DESTDIR)$(cacdir)" "$(DESTDIR)$(cmddir)" \ + "$(DESTDIR)$(findir)" "$(DESTDIR)$(hpfaxdir)" \ "$(DESTDIR)$(hplipdir)" "$(DESTDIR)$(plugins4dir)" \ "$(DESTDIR)$(ripdir)" "$(DESTDIR)$(pstotiffdir)" \ "$(DESTDIR)$(cupsdrvdir)" "$(DESTDIR)$(cupsdrv2dir)" \ "$(DESTDIR)$(basedir)" "$(DESTDIR)$(copierdir)" \ - "$(DESTDIR)$(faxdir)" "$(DESTDIR)$(fax_filtersdir)" \ - "$(DESTDIR)$(halpredir)" "$(DESTDIR)$(hpcupsfaxppddir)" \ + "$(DESTDIR)$(crondir)" "$(DESTDIR)$(faxdir)" \ + "$(DESTDIR)$(fax_filtersdir)" "$(DESTDIR)$(halpredir)" \ + "$(DESTDIR)$(homedir)" "$(DESTDIR)$(hpcupsfaxppddir)" \ "$(DESTDIR)$(hpijsfaxppddir)" "$(DESTDIR)$(hplip_Logdir)" \ - "$(DESTDIR)$(hplip_statedir)" "$(DESTDIR)$(images_128x128dir)" \ + "$(DESTDIR)$(hplip_statedir)" "$(DESTDIR)$(hplip_tmpdir)" \ + "$(DESTDIR)$(images_128x128dir)" \ "$(DESTDIR)$(images_16x16dir)" "$(DESTDIR)$(images_24x24dir)" \ "$(DESTDIR)$(images_256x256dir)" \ "$(DESTDIR)$(images_32x32dir)" "$(DESTDIR)$(images_64x64dir)" \ @@ -255,7 +256,8 @@ libapdk_la-jdatadbf.lo libapdk_la-jccolor.lo \ libapdk_la-ljfastraster.lo libapdk_la-ljzjs.lo \ libapdk_la-ljzjsmono.lo libapdk_la-ljm1005.lo \ - libapdk_la-quickconnect.lo libapdk_la-ljzjscolor.lo + libapdk_la-quickconnect.lo libapdk_la-ljzjscolor.lo \ + libapdk_la-utils.lo libapdk_la_OBJECTS = $(am_libapdk_la_OBJECTS) libapdk_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(libapdk_la_CXXFLAGS) \ @@ -286,16 +288,32 @@ @HPLIP_BUILD_TRUE@am_libhpip_la_rpath = -rpath $(libdir) libhpmud_la_LIBADD = am__libhpmud_la_SOURCES_DIST = io/hpmud/hpmud.c io/hpmud/mlc.c \ - io/hpmud/model.c io/hpmud/musb.c io/hpmud/pml.c \ - io/hpmud/hpmud.h io/hpmud/hpmudi.h io/hpmud/list.h \ - io/hpmud/mlc.h io/hpmud/musb.h io/hpmud/pml.h io/hpmud/dot4.c \ - io/hpmud/dot4.h io/hpmud/jd.c io/hpmud/jd.h io/hpmud/pp.c \ - io/hpmud/pp.h -@HPLIP_BUILD_TRUE@am_libhpmud_la_OBJECTS = libhpmud_la-hpmud.lo \ -@HPLIP_BUILD_TRUE@ libhpmud_la-mlc.lo libhpmud_la-model.lo \ -@HPLIP_BUILD_TRUE@ libhpmud_la-musb.lo libhpmud_la-pml.lo \ -@HPLIP_BUILD_TRUE@ libhpmud_la-dot4.lo libhpmud_la-jd.lo \ -@HPLIP_BUILD_TRUE@ libhpmud_la-pp.lo + io/hpmud/model.c io/hpmud/pml.c io/hpmud/hpmud.h \ + io/hpmud/hpmudi.h io/hpmud/list.h io/hpmud/mlc.h \ + io/hpmud/pml.h io/hpmud/dot4.c io/hpmud/dot4.h io/hpmud/jd.c \ + io/hpmud/jd.h io/hpmud/pp.c io/hpmud/pp.h io/hpmud/musb.h \ + io/hpmud/musb.c common/utils.c common/utils.h \ + io/hpmud/musb_libusb01.c +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@am_libhpmud_la_OBJECTS = \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@ libhpmud_la-hpmud.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@ libhpmud_la-mlc.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@ libhpmud_la-model.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@ libhpmud_la-pml.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@ libhpmud_la-dot4.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@ libhpmud_la-jd.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@ libhpmud_la-pp.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@ libhpmud_la-musb.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@ libhpmud_la-utils.lo +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@am_libhpmud_la_OBJECTS = \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@ libhpmud_la-hpmud.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@ libhpmud_la-mlc.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@ libhpmud_la-model.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@ libhpmud_la-pml.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@ libhpmud_la-dot4.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@ libhpmud_la-jd.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@ libhpmud_la-pp.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@ libhpmud_la-musb_libusb01.lo \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@ libhpmud_la-utils.lo libhpmud_la_OBJECTS = $(am_libhpmud_la_OBJECTS) libhpmud_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libhpmud_la_CFLAGS) \ @@ -317,7 +335,8 @@ scan/sane/soap.c scan/sane/soaphti.h scan/sane/soapi.h \ scan/sane/xml.c scan/sane/xml.h scan/sane/ledm.h \ scan/sane/ledmi.h scan/sane/ledm.c scan/sane/bb_ledm.c \ - scan/sane/http.h scan/sane/http.c + scan/sane/http.h scan/sane/http.c scan/sane/sclpml.c \ + scan/sane/sclpml.h common/utils.c common/utils.h @HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@am_libsane_hpaio_la_OBJECTS = \ @HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ libsane_hpaio_la-hpaio.lo \ @HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ libsane_hpaio_la-mfpdtf.lo \ @@ -332,7 +351,9 @@ @HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ libsane_hpaio_la-xml.lo \ @HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ libsane_hpaio_la-ledm.lo \ @HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ libsane_hpaio_la-bb_ledm.lo \ -@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ libsane_hpaio_la-http.lo +@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ libsane_hpaio_la-http.lo \ +@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ libsane_hpaio_la-sclpml.lo \ +@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ libsane_hpaio_la-utils.lo libsane_hpaio_la_OBJECTS = $(am_libsane_hpaio_la_OBJECTS) libsane_hpaio_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libsane_hpaio_la_CFLAGS) \ @@ -364,13 +385,13 @@ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ hppgsz$(EXEEXT) PROGRAMS = $(bin_PROGRAMS) $(hp_PROGRAMS) $(hp_mkuri_PROGRAMS) \ $(hpcups_PROGRAMS) $(hpcupsfax_PROGRAMS) $(hplipjs_PROGRAMS) \ - $(hpps_PROGRAMS) $(noinst_PROGRAMS) + $(noinst_PROGRAMS) am__hp_SOURCES_DIST = prnt/backend/hp.c @HPLIP_BUILD_TRUE@am_hp_OBJECTS = hp-hp.$(OBJEXT) hp_OBJECTS = $(am_hp_OBJECTS) @HPLIP_BUILD_TRUE@hp_DEPENDENCIES = libhpmud.la $(am__DEPENDENCIES_1) hp_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(hp_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + --mode=link $(CCLD) $(hp_CFLAGS) $(CFLAGS) $(hp_LDFLAGS) \ $(LDFLAGS) -o $@ am__hp_mkuri_SOURCES_DIST = io/hpmud/hp-mkuri.c @HPLIP_BUILD_TRUE@am_hp_mkuri_OBJECTS = hp_mkuri-hp-mkuri.$(OBJEXT) @@ -429,7 +450,9 @@ prnt/hpcups/LidilCompress.h prnt/hpcups/LidilPrintModes.h \ prnt/hpcups/dj3320ColorMaps.cpp \ prnt/hpcups/dj3600ColorMaps.cpp prnt/hpcups/dj3320PrintModes.h \ - prnt/hpcups/dj4100PrintModes.h + prnt/hpcups/dj4100PrintModes.h prnt/hpcups/Hbpl1.cpp \ + prnt/hpcups/Hbpl1.h prnt/hpcups/Hbpl1_Wrapper.h common/utils.c \ + common/utils.h @HPCUPS_INSTALL_TRUE@am_hpcups_OBJECTS = \ @HPCUPS_INSTALL_TRUE@ hpcups-HPCupsFilter.$(OBJEXT) \ @HPCUPS_INSTALL_TRUE@ hpcups-dbuscomm.$(OBJEXT) \ @@ -473,28 +496,32 @@ @HPCUPS_INSTALL_TRUE@ hpcups-Lidil.$(OBJEXT) \ @HPCUPS_INSTALL_TRUE@ hpcups-LidilCompress.$(OBJEXT) \ @HPCUPS_INSTALL_TRUE@ hpcups-dj3320ColorMaps.$(OBJEXT) \ -@HPCUPS_INSTALL_TRUE@ hpcups-dj3600ColorMaps.$(OBJEXT) +@HPCUPS_INSTALL_TRUE@ hpcups-dj3600ColorMaps.$(OBJEXT) \ +@HPCUPS_INSTALL_TRUE@ hpcups-Hbpl1.$(OBJEXT) utils.$(OBJEXT) hpcups_OBJECTS = $(am_hpcups_OBJECTS) @HPCUPS_INSTALL_TRUE@hpcups_DEPENDENCIES = $(am__DEPENDENCIES_1) hpcups_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(hpcups_CXXFLAGS) $(CXXFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__hpcupsfax_SOURCES_DIST = prnt/hpijs/hpcupsfax.cpp \ - prnt/hpijs/hpcupsfax.h -@FAX_BUILD_TRUE@@HPCUPS_INSTALL_TRUE@@HPCUPS_ONLY_BUILD_FALSE@am_hpcupsfax_OBJECTS = hpcupsfax.$(OBJEXT) + prnt/hpijs/hpcupsfax.h common/utils.h common/utils.c +@FAX_BUILD_TRUE@@HPCUPS_INSTALL_TRUE@@HPCUPS_ONLY_BUILD_FALSE@am_hpcupsfax_OBJECTS = hpcupsfax.$(OBJEXT) \ +@FAX_BUILD_TRUE@@HPCUPS_INSTALL_TRUE@@HPCUPS_ONLY_BUILD_FALSE@ utils.$(OBJEXT) hpcupsfax_OBJECTS = $(am_hpcupsfax_OBJECTS) @FAX_BUILD_TRUE@@HPCUPS_INSTALL_TRUE@@HPCUPS_ONLY_BUILD_FALSE@hpcupsfax_DEPENDENCIES = libhpip.la am__hpijs_SOURCES_DIST = prnt/hpijs/hpijs.cpp prnt/hpijs/ijs_server.c \ prnt/hpijs/ijs.c prnt/hpijs/hpijsfax.cpp \ prnt/hpijs/services.cpp prnt/hpijs/bug.h prnt/hpijs/hpijs.h \ prnt/hpijs/ijs.h prnt/hpijs/ijs_server.h prnt/hpijs/services.h \ - prnt/hpijs/ijs_client.h prnt/hpijs/hpiom.c prnt/hpijs/hpiom.h + prnt/hpijs/ijs_client.h prnt/hpijs/hpiom.c prnt/hpijs/hpiom.h \ + common/utils.h common/utils.c @HPIJS_INSTALL_TRUE@am_hpijs_OBJECTS = hpijs-hpijs.$(OBJEXT) \ @HPIJS_INSTALL_TRUE@ hpijs-ijs_server.$(OBJEXT) \ @HPIJS_INSTALL_TRUE@ hpijs-ijs.$(OBJEXT) \ @HPIJS_INSTALL_TRUE@ hpijs-hpijsfax.$(OBJEXT) \ @HPIJS_INSTALL_TRUE@ hpijs-services.$(OBJEXT) \ -@HPIJS_INSTALL_TRUE@ hpijs-hpiom.$(OBJEXT) +@HPIJS_INSTALL_TRUE@ hpijs-hpiom.$(OBJEXT) \ +@HPIJS_INSTALL_TRUE@ hpijs-utils.$(OBJEXT) hpijs_OBJECTS = $(am_hpijs_OBJECTS) @HPIJS_INSTALL_TRUE@@HPLIP_BUILD_FALSE@hpijs_DEPENDENCIES = \ @HPIJS_INSTALL_TRUE@@HPLIP_BUILD_FALSE@ libapdk.la @@ -517,11 +544,6 @@ hppgsz_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(hppgsz_CXXFLAGS) $(CXXFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ -am__hpps_SOURCES_DIST = prnt/hpps/hppsfilter.c -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am_hpps_OBJECTS = \ -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ hppsfilter.$(OBJEXT) -hpps_OBJECTS = $(am_hpps_OBJECTS) -hpps_DEPENDENCIES = am__ptest_SOURCES_DIST = pcard/ptest.c pcard/ptest.h pcard/fat.c \ pcard/fat.h @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am_ptest_OBJECTS = ptest.$(OBJEXT) \ @@ -535,13 +557,16 @@ timedate.py firmware.py scan.py systray.py plugin.py \ linefeedcal.py pqdiag.py faxsetup.py devicesettings.py \ printsettings.py query.py pkservice.py wificonfig.py \ - check-plugin.py diagnose_plugin.py + diagnose_plugin.py uninstall.py upgrade.py \ + config_usb_printer.py diagnose_queues.py logcapture.py \ + doctor.py +am__dist_fin_SCRIPTS_DIST = prnt/filters/hpps am__dist_hpfax_SCRIPTS_DIST = fax/backend/hpfax.py am__dist_hplip_SCRIPTS_DIST = hpssd.py __init__.py hpdio.py am__dist_noinst_SCRIPTS_DIST = dat2drv.py install.py hplip-install \ init-suse-firewall init-iptables-firewall am__dist_rip_SCRIPTS_DIST = prnt/hpijs/foomatic-rip-hplip -SCRIPTS = $(dist_cac_SCRIPTS) $(dist_cmd_SCRIPTS) \ +SCRIPTS = $(dist_cac_SCRIPTS) $(dist_cmd_SCRIPTS) $(dist_fin_SCRIPTS) \ $(dist_hpfax_SCRIPTS) $(dist_hplip_SCRIPTS) \ $(dist_noinst_SCRIPTS) $(dist_plugins4_SCRIPTS) \ $(dist_rip_SCRIPTS) $(pstotiff_SCRIPTS) @@ -573,7 +598,7 @@ $(pcardext_la_SOURCES) $(scanext_la_SOURCES) $(hp_SOURCES) \ $(hp_mkuri_SOURCES) $(hpcups_SOURCES) $(hpcupsfax_SOURCES) \ $(hpijs_SOURCES) $(hplipjs_SOURCES) $(hppgsz_SOURCES) \ - $(hpps_SOURCES) $(ptest_SOURCES) + $(ptest_SOURCES) DIST_SOURCES = $(am__cupsext_la_SOURCES_DIST) \ $(am__hpmudext_la_SOURCES_DIST) $(libapdk_la_SOURCES) \ $(am__libhpip_la_SOURCES_DIST) $(am__libhpmud_la_SOURCES_DIST) \ @@ -582,16 +607,18 @@ $(am__hp_SOURCES_DIST) $(am__hp_mkuri_SOURCES_DIST) \ $(am__hpcups_SOURCES_DIST) $(am__hpcupsfax_SOURCES_DIST) \ $(am__hpijs_SOURCES_DIST) $(am__hplipjs_SOURCES_DIST) \ - $(am__hppgsz_SOURCES_DIST) $(am__hpps_SOURCES_DIST) \ - $(am__ptest_SOURCES_DIST) + $(am__hppgsz_SOURCES_DIST) $(am__ptest_SOURCES_DIST) am__dist_base_DATA_DIST = base/maint.py base/codes.py base/g.py \ base/pml.py base/status.py base/__init__.py base/mfpdtf.py \ base/utils.py base/wifi.py base/LedmWifi.py base/device.py \ base/logger.py base/slp.py base/exif.py base/strings.py \ base/magic.py base/imagesize.py base/pexpect.py base/models.py \ base/mdns.py base/tui.py base/dime.py base/ldif.py \ - base/vcard.py base/module.py base/pkit.py + base/vcard.py base/module.py base/pkit.py base/queues.py \ + base/password.py base/services.py base/os_utils.py \ + base/smart_install.py am__dist_copier_DATA_DIST = copier/copier.py copier/__init__.py +am__dist_cron_DATA_DIST = data/rules/hplip_cron am__dist_fax_DATA_DIST = fax/fax.py fax/__init__.py fax/coverpages.py \ fax/pmlfax.py fax/ledmfax.py fax/soapfax.py fax/ledmsoapfax.py \ fax/marvellfax.py fax/faxdevice.py fax/filters/pstotiff \ @@ -599,13 +626,13 @@ am__dist_fax_filters_DATA_DIST = fax/filters/pstotiff.convs \ fax/filters/pstotiff.types am__dist_halpre_DATA_DIST = data/rules/20-hplip-devices.fdi +am__dist_home_DATA_DIST = check-plugin.py am__dist_hpcupsfaxppd_DATA_DIST = fax/ppd/HP-Fax-hpcups.ppd.gz \ fax/ppd/HP-Fax2-hpcups.ppd.gz fax/ppd/HP-Fax3-hpcups.ppd.gz \ fax/ppd/HP-Fax4-hpcups.ppd.gz am__dist_hpijsfaxppd_DATA_DIST = fax/ppd/HP-Fax-hpijs.ppd.gz \ fax/ppd/HP-Fax2-hpijs.ppd.gz fax/ppd/HP-Fax3-hpijs.ppd.gz \ fax/ppd/HP-Fax4-hpijs.ppd.gz -am__dist_hplip_state_DATA_DIST = hplip.state am__dist_images_128x128_DATA_DIST = data/images/128x128/* am__dist_images_16x16_DATA_DIST = data/images/16x16/* am__dist_images_24x24_DATA_DIST = data/images/24x24/* @@ -615,7 +642,8 @@ am__dist_images_devices_DATA_DIST = data/images/devices/* am__dist_images_other_DATA_DIST = data/images/other/* am__dist_install_DATA_DIST = installer/__init__.py installer/dcheck.py \ - installer/distros.dat installer/core_install.py + installer/distros.dat installer/core_install.py \ + installer/pluginhandler.py am__dist_ldl_DATA_DIST = data/ldl/cb2pcal.ldl.gz \ data/ldl/cb2pcal_done.ldl.gz data/ldl/cbbcal.ldl.gz \ data/ldl/cbccal.ldl.gz data/ldl/cbccal_done.ldl.gz \ @@ -670,882 +698,934 @@ data/policykit/com.hp.hplip.policy am__dist_postscript_DATA_DIST = data/ps/testpage.ps.gz \ data/ps/clean_page.pdf.gz -am__dist_ppd_DATA_DIST = prnt/ps/hp-laserjet_4250-ps.ppd.gz \ - prnt/ps/hp-laserjet_p3005-ps.ppd.gz \ - prnt/ps/hp-officejet_pro_8000_enterprise_a811a-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_3700n-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4610-ps.ppd.gz \ - prnt/ps/hp-designjet_4020ps-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4550-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp5225-ps.ppd.gz \ - prnt/ps/hp-laserjet_3015-ps.ppd.gz \ - prnt/ps/hp-designjet_t1100ps_24in-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm2320n_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp3525-ps.ppd.gz \ - prnt/ps/hp-laserjet_9055mfp-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2250-ps.ppd.gz \ +am__dist_ppd_DATA_DIST = prnt/ps/hp-laserjet_4v-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2550_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_4_plus-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp4520_series-ps.ppd.gz \ + prnt/ps/hp-designjet_t2300_postscript-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm6049_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_m1522_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_color_flow_mfp_m575-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_9500-ps.ppd.gz \ + prnt/ps/hp-laserjet_400_mfp_m425-ps.ppd.gz \ prnt/ps/hp-laserjet_m3035_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm6040_mfp-ps.ppd.gz \ - prnt/ps/hp-designjet_4000ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2605dn-ps.ppd.gz \ + prnt/ps/hp-laserjet_3030-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm2320_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2500_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_9055mfp-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_551_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_4350-ps.ppd.gz \ + prnt/ps/hp-laserjet_3300_3310_3320-ps.ppd.gz \ + prnt/ps/hp-laserjet_100_color_mfp_m175-ps.ppd.gz \ + prnt/ps/hp-laserjet_4100_series-ps.ppd.gz \ + prnt/ps/hp-designjet_4520mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_2410-ps.ppd.gz \ + prnt/ps/hp-designjet_t1120ps_24in-ps.ppd.gz \ + prnt/ps/hp-laserjet_500_color_mfp_m570-ps.ppd.gz \ + prnt/ps/hp-laserjet_4-ps.ppd.gz \ + prnt/ps/hp-laserjet_5100_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp4005-ps.ppd.gz \ prnt/ps/hp-laserjet_600_m601_m602_m603-ps.ppd.gz \ - prnt/ps/hp-laserjet_m3027_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_5000_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_m4555_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_cp1520_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_8000-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm6030_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp2025n-ps.ppd.gz \ - prnt/ps/hp-designjet_t1300_postscript-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2605-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4650-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp5225n-ps.ppd.gz \ - prnt/ps/hp-laserjet_cm1410_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_4300-ps.ppd.gz \ - prnt/ps/hp-laserjet_9065mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp4020_series-ps.ppd.gz \ - prnt/ps/hp-designjet_t790ps_24in-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4700-ps.ppd.gz \ - prnt/ps/hp-laserjet_5200lx-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2800-ps.ppd.gz \ - prnt/ps/hp-laserjet_2200-ps.ppd.gz \ - prnt/ps/hp-designjet_z6200_42in_photo-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp2025x-ps.ppd.gz \ - prnt/ps/hp-designjet_t770_postscript-ps.ppd.gz \ - prnt/ps/hp-laserjet_2430-ps.ppd.gz \ - prnt/ps/hp-laserjet_9040-ps.ppd.gz \ - prnt/ps/hp-designjet_t790ps_44in-ps.ppd.gz \ - prnt/ps/hp-laserjet_1300-ps.ppd.gz \ - prnt/ps/hp-laserjet_5200-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm2320nf_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_m1522n_mfp-ps.ppd.gz \ - prnt/ps/hp-designjet_4520ps-ps.ppd.gz \ + prnt/ps/hp-laserjet_1220-ps.ppd.gz \ + prnt/ps/hp-designjet_t1100ps_24in-ps.ppd.gz \ prnt/ps/hp-designjet_t7100ps_monochrome-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp1514n-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2500-ps.ppd.gz \ - prnt/ps/hp-designjet_t1120ps_24in-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm2320fxi_mfp-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_276dw_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm1312_mfp-ps.ppd.gz \ prnt/ps/hp-laserjet_m9050_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_4200-ps.ppd.gz \ - prnt/ps/hp-laserjet_9040_mfp-ps.ppd.gz \ - prnt/ps/hp-designjet_t1100ps_44in-ps.ppd.gz \ - prnt/ps/hp-laserjet_4100_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_4_plus-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp4005-ps.ppd.gz \ - prnt/ps/hp-laserjet_9000_series-ps.ppd.gz \ - prnt/ps/hp-mopier_320-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2280-ps.ppd.gz \ - prnt/ps/hp-laserjet_4-ps.ppd.gz \ - prnt/ps/hp-laserjet_500_color_m551-ps.ppd.gz \ - prnt/ps/hp-laserjet_4240-ps.ppd.gz \ - prnt/ps/hp-laserjet_3300_3310_3320-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp5225n-ps.ppd.gz \ + prnt/ps/hp-laserjet_3015-ps.ppd.gz \ + prnt/ps/hp-designjet_t790ps_44in-ps.ppd.gz \ + prnt/ps/hp-laserjet_1320nw-ps.ppd.gz \ + prnt/ps/hp-laserjet_2300_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp3525-ps.ppd.gz \ prnt/ps/hp-business_inkjet_3000-ps.ppd.gz \ - prnt/ps/hp-laserjet_1220se-ps.ppd.gz \ - prnt/ps/hp-designjet_4500ps.ppd.gz \ - prnt/ps/hp-laserjet_1200n-ps.ppd.gz \ - prnt/ps/hp-laserjet_5100_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_6p-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp2025x-ps.ppd.gz \ prnt/ps/hp-color_laserjet_cm4540_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_5m-ps.ppd.gz \ - prnt/ps/hp-laserjet_m1530_mfp_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_4100_series-ps.ppd.gz \ - prnt/ps/hp-cm8050_mfp_with_edgeline-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_3800-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320tn-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp1515n-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm1017-ps.ppd.gz \ + prnt/ps/hp-laserjet_3380-ps.ppd.gz \ + prnt/ps/hp-laserjet_8100_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_5200lx-ps.ppd.gz \ + prnt/ps/hp-laserjet_2100_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_3200m-ps.ppd.gz \ + prnt/ps/hp-laserjet_1320-ps.ppd.gz \ + prnt/ps/hp-designjet_t1200_postscript-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm1015-ps.ppd.gz \ + prnt/ps/hp-designjet_4500ps.ppd.gz \ + prnt/ps/hp-laserjet_4240-ps.ppd.gz \ + prnt/ps/hp-laserjet_5si_mopier-ps.ppd.gz \ prnt/ps/hp-color_laserjet_2840-ps.ppd.gz \ + prnt/ps/hp-cm8050_mfp_with_edgeline-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2250-ps.ppd.gz \ + prnt/ps/hp-laserjet_m1522nf_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4650-ps.ppd.gz \ + prnt/ps/hp-designjet_t1120ps_44in-ps.ppd.gz \ + prnt/ps/hp-laserjet_2430-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4500-ps.ppd.gz \ + prnt/ps/hp-laserjet_p2015_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_5m-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_5500-ps.ppd.gz \ + prnt/ps/hp-laserjet_3050-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp5225dn-ps.ppd.gz \ + prnt/ps/hp-designjet_z6100ps_60in_photo-ps.ppd.gz \ prnt/ps/hp-laserjet_4345_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_4si-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp6015-ps.ppd.gz \ - prnt/ps/hp-laserjet_4mp-ps.ppd.gz \ - prnt/ps/hp-laserjet_2300_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet-ps.ppd.gz \ prnt/ps/hp-color_laserjet_8500-ps.ppd.gz \ - prnt/ps/hp-laserjet_8100_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320-ps.ppd.gz \ - prnt/ps/hp-designjet_4500mfp.ppd.gz \ - prnt/ps/hp-laserjet_6mp-ps.ppd.gz \ - prnt/ps/hp-cm8060_mfp_with_edgeline-ps.ppd.gz \ - prnt/ps/hp-laserjet_5200l-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4600-ps.ppd.gz \ + prnt/ps/hp-laserjet_500_color_m551-ps.ppd.gz \ + prnt/ps/hp-laserjet_4300-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm1312nfi_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_3000-ps.ppd.gz \ + prnt/ps/hp-designjet_z5200_postscript-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp4020_series-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2300-ps.ppd.gz \ prnt/ps/hp-laserjet_3052-ps.ppd.gz \ - prnt/ps/hp-laserjet_100_color_mfp_m175-ps.ppd.gz \ - prnt/ps/hp-laserjet_m1522nf_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm1015-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2605-ps.ppd.gz \ prnt/ps/hp-laserjet_p2055_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_200_colormfp_m275-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_8550-ps.ppd.gz \ - prnt/ps/hp-laserjet_1220-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2700n-ps.ppd.gz \ - prnt/ps/hp-laserjet_1300xi-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp5520_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm2320fxi_mfp-ps.ppd.gz \ + prnt/ps/hp-cm8060_mfp_with_edgeline-ps.ppd.gz \ + prnt/ps/hp-designjet_t770ps_24in-ps.ppd.gz \ + prnt/ps/hp-laserjet_9000_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4700-ps.ppd.gz \ + prnt/ps/hp-laserjet_4si-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp1518ni-ps.ppd.gz \ + prnt/ps/hp-laserjet_4200-ps.ppd.gz \ + prnt/ps/hp-laserjet_5p-ps.ppd.gz \ + prnt/ps/hp-laserjet_8150_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_2200-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp1514n-ps.ppd.gz \ + prnt/ps/hp-designjet_t790ps_24in-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4610-ps.ppd.gz \ prnt/ps/hp-color_laserjet_2605dtn-ps.ppd.gz \ - prnt/ps/hp-designjet_z6100ps_60in_photo-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_3000-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm1312_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_2420-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2700-ps.ppd.gz \ prnt/ps/hp-laserjet_5mp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2550_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_9500-ps.ppd.gz \ - prnt/ps/hp-laserjet_8150_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp5225dn-ps.ppd.gz \ - prnt/ps/hp-laserjet_m5035_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm6040_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_5550-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp5225-ps.ppd.gz \ + prnt/ps/hp-laserjet_700_color_mfp_m775-ps.ppd.gz \ + prnt/ps/hp-laserjet_4100_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_8550-ps.ppd.gz \ + prnt/ps/hp-laserjet_m3027_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_4ml-ps.ppd.gz \ + prnt/ps/hp-laserjet_8000-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2800-ps.ppd.gz \ + prnt/ps/hp-laserjet_m9040_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_1300-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4600_series-ps.ppd.gz \ + prnt/ps/hp-designjet_t770_postscript-ps.ppd.gz \ prnt/ps/hp-laserjet_2200_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_m1522_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp3505-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2800-ps.ppd.gz \ - prnt/ps/hp-laserjet_4350-ps.ppd.gz \ - prnt/ps/hp-color_laserjet-ps.ppd.gz \ - prnt/ps/hp-laserjet_m5025_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_2100-ps.ppd.gz \ - prnt/ps/hp-laserjet_p3010_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4500-ps.ppd.gz \ - prnt/ps/hp-laserjet_3050-ps.ppd.gz \ - prnt/ps/hp-laserjet_3200m-ps.ppd.gz \ - prnt/ps/hp-laserjet_1300n-ps.ppd.gz \ - prnt/ps/hp-laserjet_3380-ps.ppd.gz \ + prnt/ps/hp-laserjet_5si-ps.ppd.gz \ + prnt/ps/hp-designjet_4520ps-ps.ppd.gz \ + prnt/ps/hp-laserjet_1220se-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp2025dn-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm2320nf_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_4mp-ps.ppd.gz \ + prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd.gz \ + prnt/ps/hp-laserjet_cp1520_series-ps.ppd.gz \ + prnt/ps/hp-lj_300_400_color_mfp_m375_m475-ps.ppd.gz \ + prnt/ps/hp-laserjet_9040_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_2300-ps.ppd.gz \ + prnt/ps/hp-laserjet_9000_series-ps.ppd.gz \ prnt/ps/hp-color_laserjet_2830-ps.ppd.gz \ + prnt/ps/hp-laserjet_500_color_mfp_m575-ps.ppd.gz \ + prnt/ps/hp-laserjet_4000_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_200_colormfp_m275-ps.ppd.gz \ + prnt/ps/hp-designjet_4000ps.ppd.gz \ + prnt/ps/hp-laserjet_1320_series-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_8000_enterprise_a811a-ps.ppd.gz \ + prnt/ps/hp-laserjet_m4555_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_5200-ps.ppd.gz \ + prnt/ps/hp-laserjet_400_m401dne-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp6015-ps.ppd.gz \ + prnt/ps/hp-laserjet_1320tn-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp5520_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_200_color_m251-ps.ppd.gz \ + prnt/ps/hp-laserjet_p4010_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_mfp_m521-ps.ppd.gz \ + prnt/ps/hp-laserjet_1200-ps.ppd.gz \ + prnt/ps/hp-laserjet_p3005-ps.ppd.gz \ + prnt/ps/hp-laserjet_9040-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_3800-ps.ppd.gz \ + prnt/ps/hp-laserjet_1300n-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2605dn-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2800-ps.ppd.gz \ + prnt/ps/hp-designjet_t1300_postscript-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm3530_mfp-ps.ppd.gz \ prnt/ps/hp-laserjet_9050-ps.ppd.gz \ - prnt/ps/hp-laserjet_5si_mopier-ps.ppd.gz \ - prnt/ps/hp-lj_300_400_color_mfp_m375_m475-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4600_series-ps.ppd.gz \ - prnt/ps/hp-designjet_t7100ps-ps.ppd.gz \ - prnt/ps/hp-designjet_t770ps_24in-ps.ppd.gz \ - prnt/ps/hp-designjet_z6100ps_42in_photo-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp1515n-ps.ppd.gz \ + prnt/ps/hp-laserjet_flow_mfp_m525-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2700n-ps.ppd.gz \ + prnt/ps/hp-laserjet_200_colormfp_m276-ps.ppd.gz \ prnt/ps/hp-color_laserjet_cm4730_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_3030-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_9500_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_m4345_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_p3004-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4730mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_m4349_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_5p-ps.ppd.gz \ - prnt/ps/hp-designjet_t2300_postscript-ps.ppd.gz \ - prnt/ps/hp-laserjet_m9059_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_3700n-ps.ppd.gz \ + prnt/ps/hp-laserjet_p3010_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_2100-ps.ppd.gz \ prnt/ps/hp-color_laserjet_3700-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp2025dn-ps.ppd.gz \ - prnt/ps/hp-laserjet_5000-ps.ppd.gz \ - prnt/ps/hp-laserjet_p4010_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320n-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm6049_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2700-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp4520_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_5500-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2500-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_251dw_printer-ps.ppd.gz \ + prnt/ps/hp-laserjet_m5035_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_9065mfp-ps.ppd.gz \ prnt/ps/hp-laserjet_m2727_mfp_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_2300-ps.ppd.gz \ - prnt/ps/hp-laserjet_3390-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2600-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm1312nfi_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_3020-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320nw-ps.ppd.gz \ + prnt/ps/hp-laserjet_m1530_mfp_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4550-ps.ppd.gz \ + prnt/ps/hp-laserjet_700_m712-ps.ppd.gz \ prnt/ps/hp-laserjet_4050_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_5550-ps.ppd.gz \ - prnt/ps/hp-laserjet_p2015_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm1017-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2820-ps.ppd.gz \ - prnt/ps/hp-laserjet_4v-ps.ppd.gz \ - prnt/ps/hp-laserjet_2100_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_9050_mfp-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2300-ps.ppd.gz \ + prnt/ps/hp-laserjet_8100_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_5000_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_p3004-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_451_series-ps.ppd.gz \ prnt/ps/hp-designjet_z6200_60in_photo-ps.ppd.gz \ - prnt/ps/hp-laserjet_5si-ps.ppd.gz \ - prnt/ps/hp-designjet_4520mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp1518ni-ps.ppd.gz \ - prnt/ps/hp-laserjet_2410-ps.ppd.gz \ - prnt/ps/hp-designjet_t1120ps_44in-ps.ppd.gz \ - prnt/ps/hp-mopier_240-ps.ppd.gz \ - prnt/ps/hp-laserjet_6p-ps.ppd.gz \ - prnt/ps/hp-laserjet_1200-ps.ppd.gz \ - prnt/ps/hp-designjet_t1200_postscript-ps.ppd.gz \ - prnt/ps/hp-laserjet_4ml-ps.ppd.gz \ - prnt/ps/hp-laserjet_m9040_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4600-ps.ppd.gz \ prnt/ps/hp-color_laserjet_cp2025-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm3530_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_8100_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_6mp-ps.ppd.gz \ + prnt/ps/hp-laserjet_1300xi-ps.ppd.gz \ + prnt/ps/hp-laserjet_4250-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2280-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm6030_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm2320n_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2820-ps.ppd.gz \ + prnt/ps/hp-laserjet_m5025_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_m9059_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_500_mfp_m525-ps.ppd.gz \ + prnt/ps/hp-designjet_z6200_42in_photo-ps.ppd.gz \ + prnt/ps/hp-laserjet_1320n-ps.ppd.gz \ + prnt/ps/hp-designjet_z6100ps_42in_photo-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp3505-ps.ppd.gz \ + prnt/ps/hp-laserjet_2420-ps.ppd.gz \ prnt/ps/hp-laserjet_8000_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_4000_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2500_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm2320_mfp-ps.ppd.gz \ - prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd.gz \ - prnt/ps/hp-laserjet_9000_mfp-ps.ppd.gz \ - ppd/hpijs/hp-deskjet_690-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp4520_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_825c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7000_e809a_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7345-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a520_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f2200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1320nw-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2280-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp2025-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_2500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a320_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_2500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_7510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_8550-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_2100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_630c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k550-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f735-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_920-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_600-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_5105-hpijs.ppd.gz \ + prnt/ps/hp-mopier_320-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2600-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4730mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_5000-ps.ppd.gz \ + prnt/ps/hp-laserjet_m4345_mfp-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_476_576_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp2025n-ps.ppd.gz \ + prnt/ps/hp-laserjet_3020-ps.ppd.gz \ + prnt/ps/hp-laserjet_m1522n_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_cm1410_series-ps.ppd.gz \ + prnt/ps/hp-designjet_4020ps-ps.ppd.gz \ + prnt/ps/hp-designjet_t7100ps-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_9500_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_5200l-ps.ppd.gz \ + prnt/ps/hp-mopier_240-ps.ppd.gz \ + prnt/ps/hp-laserjet_9050_mfp-ps.ppd.gz \ + prnt/ps/hp-designjet_t1100ps_44in-ps.ppd.gz \ + prnt/ps/hp-laserjet_1200n-ps.ppd.gz \ + prnt/ps/hp-laserjet_3390-ps.ppd.gz \ + prnt/ps/hp-laserjet_m4349_mfp-ps.ppd.gz \ + prnt/ps/hp-designjet_4500mfp.ppd.gz \ + prnt/ps/hp-laserjet_400_m401-ps.ppd.gz \ + ppd/hpijs/hp-officejet_7400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1358_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_610cl-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3870-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3150-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r40xi-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_g85xi-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_952c-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2210_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_k60-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_632c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_prem_c410_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1007-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_2570_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4620_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3020-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_series_610-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j4680_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1300xi-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8000_a809-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4240-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_830c-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_k80-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022nw-hpijs-zjs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_1100-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_9500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_815c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_5550-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_100_mobile_l411-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm4540_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp4005-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515xm-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_pro_b8300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022-hpijs-zjs.ppd.gz \ ppd/hpijs/hp-photosmart_240_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_6p-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_725-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_612c-hpijs.ppd.gz \ + ppd/hpijs/hp-mopier_240-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_a630_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_916c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4250-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_1500_series-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_4si-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_plus_b210_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9000_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_a310_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3700-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_5652-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3700n-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3320-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_816c-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_580-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r80-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1120_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_880c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6127-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3200m-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-color_laserjet_cp2025n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_j5700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j3600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m3027_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p1009-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1160_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1007-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4550-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_7000_e809a-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_500-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f4100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a630_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8500_a910-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b010_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1012-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m5025_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_7300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1537dnf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_4500_g510n-z-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1050_j410_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_933c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5si-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-cp1160-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3500-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6500_e709n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1413fn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_6510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1100a-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_690c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1606dn-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_5600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4105-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4730mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_3100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1120n_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k5300-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b109a_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_520-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5200-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_5551-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4v-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_935c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1102w-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d5060_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f2100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_1218-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3910-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1600c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cp1025nw-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1000_j110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d7100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3300_3310_3320-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_2600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1138_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_600-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2150_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1320n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2014n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_5105-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_310-hpijs.ppd.gz \ + ppd/hpijs/hp-printer_scanner_copier_300-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3050a_j611_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7700-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1567-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r40-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp5225-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_940c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_370_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3550-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8500_a909n-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_2500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d1400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1018-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k8600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1608dn-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_3650-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3500-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r60-hpijs.ppd.gz \ - ppd/hpijs/hp-color_inkjet_cp1700-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015tn-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_320-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp4020_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_5100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_ink_advant_k109a-z-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1200-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_895c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1106-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d730-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6150_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1120-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2430-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_g55-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1415fn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_j6400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3450-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_v30-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_series_350-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5mp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_694-hpijs.ppd.gz \ + ppd/hpijs/hp-envy_120_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_320-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1108-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1505n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-dj350-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c5200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1213nf_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4_plus-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1320-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3320-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b010_series-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_9300-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c6300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm6030_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3819-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_948c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_697-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_d_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d730-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_330_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015x_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3000_j310_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d2300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2230-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5p-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8000_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515tn-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2800-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_2700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1100-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1217nfw_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3055-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1522nf_mfp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-officejet_j3500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_725-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_pro_b8800_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_950vr-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2150_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m4345_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1027nw-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_505j-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3380-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7700-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4200-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_series_310-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm2320nf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_682-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_d_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1136_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_1200-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1006-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1005_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d6100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_672c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4730mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_ink_advant_k209a-z-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_935c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1417fnw-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_4l-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_7500_e910-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_2510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1218nfs_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-dj450-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_350-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a320_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1566-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r80xi-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p3004-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f2400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015d_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8150_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1010-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c6100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m9050_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4550-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-deskjet_f4500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a440_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_h470-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4150_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm4730_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1518ni-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1108w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_995c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515tn-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4100_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_d2600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_500c-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2200-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_8150_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7550-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2200-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_5110v-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_640c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3740-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c5100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f2400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3052-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3325-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5l-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1320nw-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1132_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c8100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_g85-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p3010_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_4v-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_d2300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b109a_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4500_g510a-f-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_842c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022n-hpijs-zjs.ppd.gz \ + ppd/hpijs/hp-deskjet_5600-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_3000-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3840-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6500_e710a-f-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm6049_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1214nfh_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3822-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cp_1025nw-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1568-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_760-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_780-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_2050_j510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3200se-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6600-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_870c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_4620_series-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_812c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9050-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_5510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4014dn-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d7200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r45-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1217nfw_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1600cm-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2035-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2055dn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4650-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp3525-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015x-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2100-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1320_series-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-laserjet_cm1418fnw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1412fn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015n-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_g55xi-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9000_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_1600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5552-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8500_a909n-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_6520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m4349_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_1510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1020-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_cm1312nfi_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_g85xi-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-915-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3200se-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9040_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_9040-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_9800-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3810-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1200c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3500-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c6200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1566-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m4345_mfp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-laserjet_p4014n-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3870-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2035n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8600-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_1150c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3015-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022nw-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_1315-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a530_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_5600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2300-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_5500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_c309a_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_premium_c309g-m-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_7150-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_j4500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7500_e910-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015x-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_882c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_933c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1021-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_950c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1102-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_1215-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1220c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm6030_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_550c-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1109w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_697-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c6300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7800_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f4400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4115_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1609dn-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_f4210_series-hpijs.ppd.gz \ - ppd/hpijs/hp-dj450-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a430_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3055-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2600-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p1505n-hpijs-zxs.ppd.gz \ - ppd/hpijs/hp-photosmart_c7200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022n-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-photosmart_470_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1300-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_841c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3050_j610_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c3100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_843c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c5200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1120_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1150-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m5025_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_5si_mopier-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_510-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_520-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3330-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5650-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_ink_adv_k510-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_ink_adv_2010_k010-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_970c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp2025-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_8500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_2520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4014-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cp_1025-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1319f_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_1000-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d5400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1415fnw-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-color_laserjet_5-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3420-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_890c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3550-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1515n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_4500_g510g-m-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015dn_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_2000_j210_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_1600-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f4200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_842c-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3550-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_830c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1120-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_k60-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4050_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_6l-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_610cl-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a610_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3330-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_845c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1005-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6800-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_380_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7400-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1005-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7800_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4ml-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_300-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1415fnw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_5550-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p_1102w-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4600-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_3300_3310_3320-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4_plus-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d1300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a710_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1220-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2014-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_m9059_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_5200l-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_957c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6940_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_940c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_5500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r80xi-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1000_j110_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_995c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d4300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d110_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_ink_adv_2060_k110-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_692-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k8600-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_1215-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6120-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2350_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3425-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4014-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2055-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4240-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-printer_scanner_copier_300-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d4100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_400l-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1022-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_682-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5100-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_780xi-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_330-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m5039_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-envy_100_d410_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_815c-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm4540_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1300n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2250-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_ink_adv_k510-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_612c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015tn-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5652-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_m5035_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1300xi-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1200n-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_g85-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_p1100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1005_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3392-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1010-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m4349_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3822-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r40-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3800-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_c4340_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1320_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_990c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5000-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5600-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1214nfh_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp5225n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_5510d_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8100_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4mp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_540-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d7400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_710-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3030-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_r65-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1025nw-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5700-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_500-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b110_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_720-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_550c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_1315-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp2025dn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_7700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1411fn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp6015-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_670tv-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_930c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6500_e709a-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_2600n-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6500_e710a-f-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015dn-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3920-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_1100-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c7200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_950xi-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_6mp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_9500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1020-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_694-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3910-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f2100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3020-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2035-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-officejet_4500_g510n-z-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_plus_b209a-m-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_g55-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_5m-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d2600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c8100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_k80xi-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1006-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1000-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_580-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1505-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_premium_c309g-m-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_p1000-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b8500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9050_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_series_570-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_460-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7900_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c5500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-2000c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4380_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3200-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1415fn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3000-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d1500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m9040_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_3015-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_1310_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7350-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3940-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_prem_c310_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6122-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_695-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_100_mobile_l411-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_816c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d1400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4610-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm6040_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_7300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1416fnw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_r80-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4700-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_4100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m2727_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_d7300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_810c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4000_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2055d-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_wireless_b109n-z-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7600-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_ink_advant_k209a-z-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5mp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_3100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9055mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1217-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_h470-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_975c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2014n-hpijs-zxs.ppd.gz \ - ppd/hpijs/hp-officejet_5100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6980_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1102-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2200-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515x-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8000_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_960c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1515n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k850-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_pro_k5400-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_950xi-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j5500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_632c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d5100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_932c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_230-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_140_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1417fnw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_1358_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_k60xi-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4l-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6127-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f2200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8500_a910-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3819-hpijs.ppd.gz \ ppd/hpijs/hp-psc_750-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_600-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p3005-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_series_700-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6500-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm4730_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_9065mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4100_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_6000_e609n-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8150_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3500n-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1023-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1600cn-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c5500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1220se-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1219nfg_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9055mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_7900_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_920-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_9800-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3392-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_8200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_500-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1213nf_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8000-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm3530_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_a510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8000_a809-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_6510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3840-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015n_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b109a-m-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5200lx-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6500_e710n-z-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_2600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1212nf_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5800-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-officejet_4400_k410-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp3505-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_670c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_670-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_2050_j510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4000_k210-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6500_e709n-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c6100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_656c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_934c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_k80-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1100xi-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_610c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4500_g510a-f-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2170_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp4005-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3900-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp5225-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2300-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4250-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_k7100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2430-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_955c-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_850c-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1018-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_1170c_series-hpijs.ppd.gz \ - ppd/hpijs/hp-2500c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_pro_b8300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_6p-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_590-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_3200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-mopier_320-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_780-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2410-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_j4660_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3600-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_5110-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_v40-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_1218-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1538dnf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3600-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1320n-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022nw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1132_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5900_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_400-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_832c-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_760-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3450-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d5060_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8000_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_2210_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515n-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_500c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_ink_adv_2010_k010-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j4680_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_9600-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_952c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_100-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022nw-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-officejet_6150_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_v45-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1505n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k850-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c5100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1215-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2055x-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1569-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_980c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3740-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_5100_series-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_6200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1220c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3052-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm1312_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_c4600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_3000-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_959c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7300-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1216nfh_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d7100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_8500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_7200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_estn_c510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d7500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d6100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4350-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-910-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp2025dn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_a430_series-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_6300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_420_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a820_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3150-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4150_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1219nf_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2014-hpijs-zxs.ppd.gz \ - ppd/hpijs/hp-psc_1000_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5l-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_970c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r40xi-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_680-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1025-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1136_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_610-hpijs.ppd.gz \ - ppd/hpijs/hp-dj350-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1319f_mfp-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_p2035n-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm2320n_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_d5400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3050a_j611_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r65-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_ink_adv_2060_k110-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_5520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_380_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1606dn-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2410-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_693-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_400-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6122-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4500_g510g-m-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_estn_c510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_855c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4340_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_1200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_pro_b8800_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4700-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_series_710-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f4213_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_470_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_640c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2200-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_4345_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_720-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015x_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_5510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4600-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_7100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_955c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5200lx-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4105-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1005-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6980_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d7300_series-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_cp2025x-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d1600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2055x-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3816-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_prem_c410_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c309a_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3050-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_5650-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1050_j410_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_672c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_370_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1028nw-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_320_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1015-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1522nf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1102s-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_t_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_5500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_1280-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4115_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3200m-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_2570_series-hpijs.ppd.gz \ ppd/hpijs/hp-psc_2400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1539dnf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1220se-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp5225dn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_f4213_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm6049_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1536dnf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_6000_e609a-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_660-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c7100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_916c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1012-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1100a-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9000_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm2320n_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_3100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_4610_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8000_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_plus_b209a-m-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r60-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2055d-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_975c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp6015-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_890c-hpijs.ppd.gz \ + ppd/hpijs/hp-915-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_330_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2055-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_k80xi-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_825c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d1500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a820_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_p1100-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8000-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515x-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4610-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_920c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2300-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_5510d_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d5500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6700-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j5700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2170_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8100_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m3027_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_c5300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_2000_j210_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015dn_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_1600-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6940_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k5300-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_d4200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_9100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1108-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p3004-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1413fn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_g95-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5000_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_1100-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_1200-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3550n-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j3600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7600-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m5039_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_2300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp5225dn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_d7200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5550-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_420_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a710_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1411fn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_6520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_prem_c310_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8100-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2055dn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_750xi-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4650-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-officejet_4500_k710-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c5300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015d_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5100-hpijs.ppd.gz \ + ppd/hpijs/hp-color_inkjet_printer_cp1700-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2230-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1160_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3550n-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_lx-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_130-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_9500_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1518ni-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_5550-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-mopier_240-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p3010_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_693-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_630-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_648c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8500_a909a-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1514n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_950-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f4400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_920c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_prem-web_c309n-s-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d2400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5si-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1215-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_720-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6000_e609n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1212nf_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_6l-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3500-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_656c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3900-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_930c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b8500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6500_e710n-z-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m3035_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1416fnw-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p2035-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_9600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1008-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1000-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_900_series-hpijs.ppd.gz \ + ppd/hpijs/hp-2500c-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_g95-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9040_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_cp1025-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_m1539dnf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1109-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1280-hpijs.ppd.gz \ + ppd/hpijs/hp-envy_110_series-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_v40xi-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1300-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_g55xi-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7000_e809a-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3390-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_f735-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2280-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_230-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d2400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_845c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4350-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_5110-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4610_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_630-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_5m-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-deskjet_d2500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1107-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_670c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_inkjet_cp1700-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a610_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3050_j610_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3200-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1538dnf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_6100-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_670tv-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_3070_b611_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_690-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_950-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp5520_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1200-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_6500-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4050_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_ink_advant_k109a-z-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a640_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5000-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_500-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1607dn-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_510-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m2727_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_520-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d5100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_950c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_wireless_b109n-z-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2420-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_5200l-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_k7100-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_957c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c6200_series-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_pro_8500_a909g-hpijs.ppd.gz \ - ppd/hpijs/hp-cp1160-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1100xi-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4000_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_5si_mopier-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_3200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p_1102w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5552-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_320_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2035n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4014dn-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j5500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_k60xi-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5900_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_460-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm2320nf_mfp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-deskjet_3820-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp5520_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_lx-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2300-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-business_inkjet_1000-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1160-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm3530_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2800-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_882c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1150-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7400-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1600cm-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1220-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_990c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp3505-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_400l-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_720-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_1170c_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1300n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_9050_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_660-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2014n-hpijs-zxs.ppd.gz \ + ppd/hpijs/hp-officejet_6600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1139_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4255-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_810c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_959c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_505j-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_a620_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_3300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_980c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_870c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1008-hpijs.ppd.gz \ - ppd/hpijs/hp-color_inkjet_printer_cp1700-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_855c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_880c-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3390-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515xm-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6600-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2420-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_1600cn-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_1115-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2014n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1320-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_750xi-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1217-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3100-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_700-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7345-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d1300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1102w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3420-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_5500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_630c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d7500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6120-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j4500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_plus_b210_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_590-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1216nfh_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1160-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1125-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_540-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4ml-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015n_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_932c-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_780xi-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_v45-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_9500_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p3005-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_100-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_1320tn-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1100-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_t_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9065mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_6500_e709a-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4300-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_1115-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9000_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3940-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015dn-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_3030-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1022-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3000_j310_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm2320_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_c4700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c7100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r45-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3550-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_520-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_895c-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_843c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-2000c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1009-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_3300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5200-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1219nf_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_p1000-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_300-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1505-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8500_a909a-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1106w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6800-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_1150c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm6040_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5850-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_9100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm1312_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_841c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9040-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_1200c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3800-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1200n-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7350-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_648c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c3100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_330-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1107w-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3380-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_f4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-mopier_320-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_2350_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1505n-hpijs-zxs.ppd.gz \ + ppd/hpijs/hp-laserjet_3050-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_950vr-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015n-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7300-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k550-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_948c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9050-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_2600n-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1514n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_140_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_8550-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_d4300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1412fn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_2500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3500n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4mp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-deskjet_840c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5850-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_960c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4345_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_m1537dnf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_4255-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp4520_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_5800-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2014-hpijs-zxs.ppd.gz \ + ppd/hpijs/hp-psc_1400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-envy_100_d410_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4000_k210-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m9059_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3000-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_4200-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_670-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3425-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_680-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_2700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d1600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_5110v-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1218nfg_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1106-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7550-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_610c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_934c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b109a-m-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_692-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1015-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1100-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6000_e609a-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_695-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m9040_mfp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-photosmart_d5300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j6400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1600c-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_900_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm2320_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_m3035_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4300-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d5500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1125-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a640_series-hpijs.ppd.gz \ - ppd/hpijs/hp-envy_110_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7500-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_832c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5551-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5700-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5000_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_1310_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7000_e809a_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_570-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_cm2320fxi_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_m9050_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_a530_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a440_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3325-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3700n-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4380_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7500-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1219nfs_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp3525-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_j4660_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_150_mobile_l511-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3810-hpijs.ppd.gz \ + ppd/hpijs/hp-910-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_v40-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_2020_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a310_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4400_k410-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1000_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5p-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1120n_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp4020_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2250-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_d7400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2600-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_2300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp5225n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p1005-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_500-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3700-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3920-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3816-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_prem-web_c309n-s-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2014-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p2035-hpijs-zjs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1137_mfp-hpijs.ppd.gz \ ppd/hpcups/apollo-2100.ppd.gz ppd/hpcups/apollo-2150.ppd.gz \ ppd/hpcups/apollo-2200.ppd.gz ppd/hpcups/apollo-2500.ppd.gz \ ppd/hpcups/apollo-2600.ppd.gz ppd/hpcups/apollo-2650.ppd.gz \ @@ -1571,13 +1651,13 @@ ppd/hpcups/hp-color_laserjet_2500_series.ppd.gz \ ppd/hpcups/hp-color_laserjet_2600n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3000-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_3500n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3500.ppd.gz \ - ppd/hpcups/hp-color_laserjet_3550n.ppd.gz \ + ppd/hpcups/hp-color_laserjet_3500n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3550.ppd.gz \ + ppd/hpcups/hp-color_laserjet_3550n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3600.ppd.gz \ - ppd/hpcups/hp-color_laserjet_3700n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3700-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_3700n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3800-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_4500-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_4550-pcl3.ppd.gz \ @@ -1587,20 +1667,20 @@ ppd/hpcups/hp-color_laserjet_4650-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_4700-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_4730mfp-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_5.ppd.gz \ ppd/hpcups/hp-color_laserjet_5500-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_5550-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_5m-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_5.ppd.gz \ ppd/hpcups/hp-color_laserjet_8500-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_8550-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_9500_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_9500-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_9500_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm1312_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm1312nfi_mfp-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_cm2320fxi_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm2320_mfp-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_cm2320nf_mfp-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_cm2320fxi_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm2320n_mfp-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_cm2320nf_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm3530_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm4540_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm4730_mfp-pcl3.ppd.gz \ @@ -1612,18 +1692,18 @@ ppd/hpcups/hp-color_laserjet_cp1514n-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp1515n-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp1518ni-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_cp2025-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp2025dn-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp2025n-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_cp2025-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp2025x-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp3505-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp3525-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp4005-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp4020_series-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp4520_series-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_cp5225-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp5225dn-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp5225n-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_cp5225-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp5520_series-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp6015-pcl3.ppd.gz \ ppd/hpcups/hp-cp1160.ppd.gz \ @@ -1635,14 +1715,17 @@ ppd/hpcups/hp-deskjet_1200c.ppd.gz \ ppd/hpcups/hp-deskjet_1220c.ppd.gz \ ppd/hpcups/hp-deskjet_1280.ppd.gz \ + ppd/hpcups/hp-deskjet_1600c.ppd.gz \ ppd/hpcups/hp-deskjet_1600cm.ppd.gz \ ppd/hpcups/hp-deskjet_1600cn.ppd.gz \ - ppd/hpcups/hp-deskjet_1600c.ppd.gz \ ppd/hpcups/hp-deskjet_2000_j210_series.ppd.gz \ + ppd/hpcups/hp-deskjet_2020_series.ppd.gz \ ppd/hpcups/hp-deskjet_2050_j510_series.ppd.gz \ + ppd/hpcups/hp-deskjet_2510_series.ppd.gz \ + ppd/hpcups/hp-deskjet_2520_series.ppd.gz \ ppd/hpcups/hp-deskjet_3000_j310_series.ppd.gz \ - ppd/hpcups/hp-deskjet_3050a_j611_series.ppd.gz \ ppd/hpcups/hp-deskjet_3050_j610_series.ppd.gz \ + ppd/hpcups/hp-deskjet_3050a_j611_series.ppd.gz \ ppd/hpcups/hp-deskjet_3070_b611_series.ppd.gz \ ppd/hpcups/hp-deskjet_3320.ppd.gz \ ppd/hpcups/hp-deskjet_3325.ppd.gz \ @@ -1650,6 +1733,8 @@ ppd/hpcups/hp-deskjet_3425.ppd.gz \ ppd/hpcups/hp-deskjet_3450.ppd.gz \ ppd/hpcups/hp-deskjet_3500.ppd.gz \ + ppd/hpcups/hp-deskjet_3510_series.ppd.gz \ + ppd/hpcups/hp-deskjet_3520_series.ppd.gz \ ppd/hpcups/hp-deskjet_3550.ppd.gz \ ppd/hpcups/hp-deskjet_3600.ppd.gz \ ppd/hpcups/hp-deskjet_3650.ppd.gz \ @@ -1665,18 +1750,21 @@ ppd/hpcups/hp-deskjet_3910.ppd.gz \ ppd/hpcups/hp-deskjet_3920.ppd.gz \ ppd/hpcups/hp-deskjet_3940.ppd.gz \ - ppd/hpcups/hp-deskjet_400l.ppd.gz \ ppd/hpcups/hp-deskjet_400.ppd.gz \ + ppd/hpcups/hp-deskjet_400l.ppd.gz \ ppd/hpcups/hp-deskjet_460.ppd.gz \ - ppd/hpcups/hp-deskjet_500c.ppd.gz \ + ppd/hpcups/hp-deskjet_4610_series.ppd.gz \ + ppd/hpcups/hp-deskjet_4620_series.ppd.gz \ ppd/hpcups/hp-deskjet_500.ppd.gz \ + ppd/hpcups/hp-deskjet_500c.ppd.gz \ ppd/hpcups/hp-deskjet_505j.ppd.gz \ - ppd/hpcups/hp-deskjet_5100.ppd.gz \ ppd/hpcups/hp-deskjet_510.ppd.gz \ + ppd/hpcups/hp-deskjet_5100.ppd.gz \ ppd/hpcups/hp-deskjet_520.ppd.gz \ - ppd/hpcups/hp-deskjet_5400_series.ppd.gz \ ppd/hpcups/hp-deskjet_540.ppd.gz \ + ppd/hpcups/hp-deskjet_5400_series.ppd.gz \ ppd/hpcups/hp-deskjet_550c.ppd.gz \ + ppd/hpcups/hp-deskjet_5520_series.ppd.gz \ ppd/hpcups/hp-deskjet_5550.ppd.gz \ ppd/hpcups/hp-deskjet_5551.ppd.gz \ ppd/hpcups/hp-deskjet_5552.ppd.gz \ @@ -1688,8 +1776,8 @@ ppd/hpcups/hp-deskjet_5850.ppd.gz \ ppd/hpcups/hp-deskjet_5900_series.ppd.gz \ ppd/hpcups/hp-deskjet_600.ppd.gz \ - ppd/hpcups/hp-deskjet_610cl.ppd.gz \ ppd/hpcups/hp-deskjet_610c.ppd.gz \ + ppd/hpcups/hp-deskjet_610cl.ppd.gz \ ppd/hpcups/hp-deskjet_6120.ppd.gz \ ppd/hpcups/hp-deskjet_6122.ppd.gz \ ppd/hpcups/hp-deskjet_6127.ppd.gz \ @@ -1699,22 +1787,23 @@ ppd/hpcups/hp-deskjet_640c.ppd.gz \ ppd/hpcups/hp-deskjet_648c.ppd.gz \ ppd/hpcups/hp-deskjet_6500.ppd.gz \ + ppd/hpcups/hp-deskjet_6520_series.ppd.gz \ ppd/hpcups/hp-deskjet_656c.ppd.gz \ - ppd/hpcups/hp-deskjet_6600.ppd.gz \ ppd/hpcups/hp-deskjet_660.ppd.gz \ - ppd/hpcups/hp-deskjet_670c.ppd.gz \ + ppd/hpcups/hp-deskjet_6600.ppd.gz \ ppd/hpcups/hp-deskjet_670.ppd.gz \ + ppd/hpcups/hp-deskjet_670c.ppd.gz \ ppd/hpcups/hp-deskjet_670tv.ppd.gz \ ppd/hpcups/hp-deskjet_672c.ppd.gz \ - ppd/hpcups/hp-deskjet_6800.ppd.gz \ ppd/hpcups/hp-deskjet_680.ppd.gz \ + ppd/hpcups/hp-deskjet_6800.ppd.gz \ ppd/hpcups/hp-deskjet_682.ppd.gz \ - ppd/hpcups/hp-deskjet_690c.ppd.gz \ ppd/hpcups/hp-deskjet_690.ppd.gz \ + ppd/hpcups/hp-deskjet_690c.ppd.gz \ ppd/hpcups/hp-deskjet_692.ppd.gz \ ppd/hpcups/hp-deskjet_693.ppd.gz \ - ppd/hpcups/hp-deskjet_6940_series.ppd.gz \ ppd/hpcups/hp-deskjet_694.ppd.gz \ + ppd/hpcups/hp-deskjet_6940_series.ppd.gz \ ppd/hpcups/hp-deskjet_695.ppd.gz \ ppd/hpcups/hp-deskjet_697.ppd.gz \ ppd/hpcups/hp-deskjet_6980_series.ppd.gz \ @@ -1791,6 +1880,7 @@ ppd/hpcups/hp-dj350.ppd.gz ppd/hpcups/hp-dj450.ppd.gz \ ppd/hpcups/hp-envy_100_d410_series.ppd.gz \ ppd/hpcups/hp-envy_110_series.ppd.gz \ + ppd/hpcups/hp-envy_120_series.ppd.gz \ ppd/hpcups/hp-laserjet_1000.ppd.gz \ ppd/hpcups/hp-laserjet_1005_series.ppd.gz \ ppd/hpcups/hp-laserjet_1010.ppd.gz \ @@ -1798,29 +1888,29 @@ ppd/hpcups/hp-laserjet_1015.ppd.gz \ ppd/hpcups/hp-laserjet_1018.ppd.gz \ ppd/hpcups/hp-laserjet_1020.ppd.gz \ + ppd/hpcups/hp-laserjet_1022-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1022-zjs.ppd.gz \ ppd/hpcups/hp-laserjet_1022n-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1022n-zjs.ppd.gz \ ppd/hpcups/hp-laserjet_1022nw-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_1022nw-zjs.ppd.gz \ - ppd/hpcups/hp-laserjet_1022n-zjs.ppd.gz \ - ppd/hpcups/hp-laserjet_1022-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_1022-zjs.ppd.gz \ - ppd/hpcups/hp-laserjet_1100a.ppd.gz \ ppd/hpcups/hp-laserjet_1100.ppd.gz \ + ppd/hpcups/hp-laserjet_1100a.ppd.gz \ ppd/hpcups/hp-laserjet_1100xi.ppd.gz \ ppd/hpcups/hp-laserjet_1150.ppd.gz \ ppd/hpcups/hp-laserjet_1160.ppd.gz \ ppd/hpcups/hp-laserjet_1160_series.ppd.gz \ - ppd/hpcups/hp-laserjet_1200n.ppd.gz \ ppd/hpcups/hp-laserjet_1200-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1200n.ppd.gz \ ppd/hpcups/hp-laserjet_1220-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_1220se.ppd.gz \ - ppd/hpcups/hp-laserjet_1300n-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_1300-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1300n-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_1300xi-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_1320n.ppd.gz \ - ppd/hpcups/hp-laserjet_1320nw.ppd.gz \ ppd/hpcups/hp-laserjet_1320.ppd.gz \ ppd/hpcups/hp-laserjet_1320_series-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1320n.ppd.gz \ + ppd/hpcups/hp-laserjet_1320nw.ppd.gz \ ppd/hpcups/hp-laserjet_1320tn.ppd.gz \ ppd/hpcups/hp-laserjet_2100.ppd.gz \ ppd/hpcups/hp-laserjet_2100_series-pcl3.ppd.gz \ @@ -1839,8 +1929,8 @@ ppd/hpcups/hp-laserjet_3055.ppd.gz \ ppd/hpcups/hp-laserjet_3100.ppd.gz \ ppd/hpcups/hp-laserjet_3150.ppd.gz \ - ppd/hpcups/hp-laserjet_3200m-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_3200.ppd.gz \ + ppd/hpcups/hp-laserjet_3200m-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_3200se.ppd.gz \ ppd/hpcups/hp-laserjet_3300_3310_3320-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_3330.ppd.gz \ @@ -1858,23 +1948,23 @@ ppd/hpcups/hp-laserjet_4300-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4345_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4350-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_4_plus-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4l.ppd.gz \ ppd/hpcups/hp-laserjet_4ml.ppd.gz \ ppd/hpcups/hp-laserjet_4mp-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_4_plus-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4si-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4v-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5000.ppd.gz \ ppd/hpcups/hp-laserjet_5000_series-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5100_series-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_5200-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5200l-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5200lx.ppd.gz \ - ppd/hpcups/hp-laserjet_5200-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5l.ppd.gz \ ppd/hpcups/hp-laserjet_5mp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5p.ppd.gz \ - ppd/hpcups/hp-laserjet_5si_mopier-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5si-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_5si_mopier-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_6l.ppd.gz \ ppd/hpcups/hp-laserjet_6mp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_6p.ppd.gz \ @@ -1886,10 +1976,10 @@ ppd/hpcups/hp-laserjet_8150_series-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9000_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9000_series-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_9040_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9040-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_9050_mfp-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_9040_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9050-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_9050_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9055mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9065mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_cm1411fn-pcl3.ppd.gz \ @@ -1900,19 +1990,15 @@ ppd/hpcups/hp-laserjet_cm1416fnw-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_cm1417fnw-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_cm1418fnw-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1021.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1022.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1023.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1025nw.ppd.gz \ ppd/hpcups/hp-laserjet_cp1025.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1027nw.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1028nw.ppd.gz \ + ppd/hpcups/hp-laserjet_cp1025nw.ppd.gz \ + ppd/hpcups/hp-laserjet_cp_1025.ppd.gz \ + ppd/hpcups/hp-laserjet_cp_1025nw.ppd.gz \ ppd/hpcups/hp-laserjet_m1005.ppd.gz \ ppd/hpcups/hp-laserjet_m1120_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_m1120n_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_m1319f_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_m1522nf_mfp-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_m1536dnf_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_m1537dnf_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_m1538dnf_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_m1539dnf_mfp-pcl3.ppd.gz \ @@ -1932,61 +2018,81 @@ ppd/hpcups/hp-laserjet_p1007.ppd.gz \ ppd/hpcups/hp-laserjet_p1008.ppd.gz \ ppd/hpcups/hp-laserjet_p1009.ppd.gz \ + ppd/hpcups/hp-laserjet_p1505.ppd.gz \ ppd/hpcups/hp-laserjet_p1505n-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p1505n-zxs.ppd.gz \ - ppd/hpcups/hp-laserjet_p1505.ppd.gz \ - ppd/hpcups/hp-laserjet_p2014n-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_p2014n-zxs.ppd.gz \ ppd/hpcups/hp-laserjet_p2014-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2014-zxs.ppd.gz \ - ppd/hpcups/hp-laserjet_p2015dn_series.ppd.gz \ + ppd/hpcups/hp-laserjet_p2014n-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2014n-zxs.ppd.gz \ + ppd/hpcups/hp-laserjet_p2015_series-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2015d_series.ppd.gz \ + ppd/hpcups/hp-laserjet_p2015dn_series.ppd.gz \ ppd/hpcups/hp-laserjet_p2015n_series.ppd.gz \ - ppd/hpcups/hp-laserjet_p2015_series-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2015x_series.ppd.gz \ - ppd/hpcups/hp-laserjet_p2035n-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_p2035n-zjs.ppd.gz \ ppd/hpcups/hp-laserjet_p2035-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2035-zjs.ppd.gz \ - ppd/hpcups/hp-laserjet_p2055dn-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_p2055d-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2035n-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2035n-zjs.ppd.gz \ ppd/hpcups/hp-laserjet_p2055-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2055d-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2055dn-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2055x-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p3004-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p3005-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p3010_series-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p4014.ppd.gz \ ppd/hpcups/hp-laserjet_p4014dn.ppd.gz \ ppd/hpcups/hp-laserjet_p4014n.ppd.gz \ - ppd/hpcups/hp-laserjet_p4014.ppd.gz \ + ppd/hpcups/hp-laserjet_p4015.ppd.gz \ ppd/hpcups/hp-laserjet_p4015dn.ppd.gz \ ppd/hpcups/hp-laserjet_p4015n.ppd.gz \ - ppd/hpcups/hp-laserjet_p4015.ppd.gz \ ppd/hpcups/hp-laserjet_p4015tn.ppd.gz \ ppd/hpcups/hp-laserjet_p4015x.ppd.gz \ - ppd/hpcups/hp-laserjet_p4515n.ppd.gz \ ppd/hpcups/hp-laserjet_p4515.ppd.gz \ + ppd/hpcups/hp-laserjet_p4515n.ppd.gz \ ppd/hpcups/hp-laserjet_p4515tn.ppd.gz \ - ppd/hpcups/hp-laserjet_p4515xm.ppd.gz \ ppd/hpcups/hp-laserjet_p4515x.ppd.gz \ + ppd/hpcups/hp-laserjet_p4515xm.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1132_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1136_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1137_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1138_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1139_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1212nf_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1213nf_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1214nfh_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1216nfh_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1217nfw_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1218nfg_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1218nfs_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1219nf_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1219nfg_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1219nfs_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1102.ppd.gz \ - ppd/hpcups/hp-laserjet_professional_p1102s.ppd.gz \ - ppd/hpcups/hp-laserjet_professional_p_1102w.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1102w.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1106.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1106w.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1107.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1107w.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1108.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1108w.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1109.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1109w.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1566.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1567.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1568.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1569.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1606dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1607dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1608dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1609dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p_1102w.ppd.gz \ ppd/hpcups/hp-mopier_240-pcl3.ppd.gz \ ppd/hpcups/hp-mopier_320-pcl3.ppd.gz \ + ppd/hpcups/hp-officejet.ppd.gz \ ppd/hpcups/hp-officejet_100_mobile_l411.ppd.gz \ + ppd/hpcups/hp-officejet_150_mobile_l511.ppd.gz \ ppd/hpcups/hp-officejet_4000_k210.ppd.gz \ ppd/hpcups/hp-officejet_4100_series.ppd.gz \ ppd/hpcups/hp-officejet_4105.ppd.gz \ @@ -1999,6 +2105,8 @@ ppd/hpcups/hp-officejet_4500_g510g-m.ppd.gz \ ppd/hpcups/hp-officejet_4500_g510n-z.ppd.gz \ ppd/hpcups/hp-officejet_4500_k710.ppd.gz \ + ppd/hpcups/hp-officejet_4610_series.ppd.gz \ + ppd/hpcups/hp-officejet_4620_series.ppd.gz \ ppd/hpcups/hp-officejet_5100_series.ppd.gz \ ppd/hpcups/hp-officejet_5105.ppd.gz \ ppd/hpcups/hp-officejet_5110.ppd.gz \ @@ -2007,6 +2115,7 @@ ppd/hpcups/hp-officejet_5600_series.ppd.gz \ ppd/hpcups/hp-officejet_6000_e609a.ppd.gz \ ppd/hpcups/hp-officejet_6000_e609n.ppd.gz \ + ppd/hpcups/hp-officejet_6100.ppd.gz \ ppd/hpcups/hp-officejet_6100_series.ppd.gz \ ppd/hpcups/hp-officejet_6150_series.ppd.gz \ ppd/hpcups/hp-officejet_6200_series.ppd.gz \ @@ -2015,9 +2124,12 @@ ppd/hpcups/hp-officejet_6500_e709n.ppd.gz \ ppd/hpcups/hp-officejet_6500_e710a-f.ppd.gz \ ppd/hpcups/hp-officejet_6500_e710n-z.ppd.gz \ + ppd/hpcups/hp-officejet_6600.ppd.gz \ + ppd/hpcups/hp-officejet_6700.ppd.gz \ ppd/hpcups/hp-officejet_7000_e809a.ppd.gz \ ppd/hpcups/hp-officejet_7000_e809a_series.ppd.gz \ ppd/hpcups/hp-officejet_7100_series.ppd.gz \ + ppd/hpcups/hp-officejet_7110_series.ppd.gz \ ppd/hpcups/hp-officejet_7200_series.ppd.gz \ ppd/hpcups/hp-officejet_7300_series.ppd.gz \ ppd/hpcups/hp-officejet_7400_series.ppd.gz \ @@ -2044,7 +2156,6 @@ ppd/hpcups/hp-officejet_k80.ppd.gz \ ppd/hpcups/hp-officejet_k80xi.ppd.gz \ ppd/hpcups/hp-officejet_lx.ppd.gz \ - ppd/hpcups/hp-officejet.ppd.gz \ ppd/hpcups/hp-officejet_pro_1150c.ppd.gz \ ppd/hpcups/hp-officejet_pro_1170c_series.ppd.gz \ ppd/hpcups/hp-officejet_pro_8000_a809.ppd.gz \ @@ -2076,7 +2187,6 @@ ppd/hpcups/hp-officejet_series_320.ppd.gz \ ppd/hpcups/hp-officejet_series_330.ppd.gz \ ppd/hpcups/hp-officejet_series_350.ppd.gz \ - ppd/hpcups/hp-officejet_series_500.ppd.gz \ ppd/hpcups/hp-officejet_series_520.ppd.gz \ ppd/hpcups/hp-officejet_series_570.ppd.gz \ ppd/hpcups/hp-officejet_series_580.ppd.gz \ @@ -2114,15 +2224,18 @@ ppd/hpcups/hp-photosmart_380_series.ppd.gz \ ppd/hpcups/hp-photosmart_420_series.ppd.gz \ ppd/hpcups/hp-photosmart_470_series.ppd.gz \ - ppd/hpcups/hp-photosmart_5510d_series.ppd.gz \ ppd/hpcups/hp-photosmart_5510_series.ppd.gz \ + ppd/hpcups/hp-photosmart_5510d_series.ppd.gz \ + ppd/hpcups/hp-photosmart_5520_series.ppd.gz \ ppd/hpcups/hp-photosmart_6510_series.ppd.gz \ + ppd/hpcups/hp-photosmart_6520_series.ppd.gz \ ppd/hpcups/hp-photosmart_7150.ppd.gz \ ppd/hpcups/hp-photosmart_7200_series.ppd.gz \ ppd/hpcups/hp-photosmart_7345.ppd.gz \ ppd/hpcups/hp-photosmart_7350.ppd.gz \ ppd/hpcups/hp-photosmart_7400_series.ppd.gz \ ppd/hpcups/hp-photosmart_7510_series.ppd.gz \ + ppd/hpcups/hp-photosmart_7520_series.ppd.gz \ ppd/hpcups/hp-photosmart_7550.ppd.gz \ ppd/hpcups/hp-photosmart_7600_series.ppd.gz \ ppd/hpcups/hp-photosmart_7700_series.ppd.gz \ @@ -2188,10 +2301,10 @@ ppd/hpcups/hp-photosmart_p1100.ppd.gz \ ppd/hpcups/hp-photosmart_plus_b209a-m.ppd.gz \ ppd/hpcups/hp-photosmart_plus_b210_series.ppd.gz \ + ppd/hpcups/hp-photosmart_prem-web_c309n-s.ppd.gz \ ppd/hpcups/hp-photosmart_prem_c310_series.ppd.gz \ ppd/hpcups/hp-photosmart_prem_c410_series.ppd.gz \ ppd/hpcups/hp-photosmart_premium_c309g-m.ppd.gz \ - ppd/hpcups/hp-photosmart_prem-web_c309n-s.ppd.gz \ ppd/hpcups/hp-photosmart_pro_b8300_series.ppd.gz \ ppd/hpcups/hp-photosmart_pro_b8800_series.ppd.gz \ ppd/hpcups/hp-photosmart_wireless_b109n-z.ppd.gz \ @@ -2225,8 +2338,14 @@ am__dist_prnt_DATA_DIST = prnt/cups.py prnt/__init__.py prnt/ldl.py \ prnt/pcl.py prnt/colorcal.py am__dist_rules_DATA_DIST = data/rules/56-hpmud_support.rules \ - data/rules/86-hpmud_plugin.rules data/rules/40-hplip.rules \ - data/rules/55-hpmud.rules + data/rules/86-hpmud_plugin.rules \ + data/rules/56-hpmud_add_printer.rules \ + data/rules/40-hplip.rules data/rules/55-hpmud.rules \ + data/rules/56-hpmud_support_sysfs.rules \ + data/rules/86-hpmud_plugin_sysfs.rules \ + data/rules/56-hpmud_add_printer_sysfs.rules \ + data/rules/40-hplip_sysfs.rules \ + data/rules/55-hpmud_sysfs.rules am__dist_scan_DATA_DIST = scan/__init__.py scan/sane.py am__dist_ui_DATA_DIST = ui/alignform.py ui/colorcalform_base.py \ ui/colorcalform.py ui/coloradjform_base.py ui/coloradjform.py \ @@ -2261,7 +2380,8 @@ ui/pluginlicenseform_base.py ui/pluginlicenseform.py \ ui/align13form_base.py ui/align13form.py \ ui/firmwaredialog_base.py ui/firmwaredialog.py \ - ui/deviceuricombobox.py + ui/deviceuricombobox.py ui/upgradeform.py \ + ui/upgradeform_base.py am__dist_ui4_DATA_DIST = ui4/*.py am__dist_www0_DATA_DIST = $(wwwsrc)/index.html \ $(wwwsrc)/commandline.html $(wwwsrc)/copying.html \ @@ -2278,10 +2398,11 @@ am__dist_www3_DATA_DIST = $(wwwsrc)/styles/* am__dist_www4_DATA_DIST = $(wwwsrc)/images/* DATA = $(cupsdrv_DATA) $(cupsdrv2_DATA) $(dist_base_DATA) \ - $(dist_copier_DATA) $(dist_fax_DATA) $(dist_fax_filters_DATA) \ - $(dist_halpre_DATA) $(dist_hpcupsfaxppd_DATA) \ - $(dist_hpijsfaxppd_DATA) $(dist_hplip_Log_DATA) \ - $(dist_hplip_state_DATA) $(dist_images_128x128_DATA) \ + $(dist_copier_DATA) $(dist_cron_DATA) $(dist_fax_DATA) \ + $(dist_fax_filters_DATA) $(dist_halpre_DATA) $(dist_home_DATA) \ + $(dist_hpcupsfaxppd_DATA) $(dist_hpijsfaxppd_DATA) \ + $(dist_hplip_Log_DATA) $(dist_hplip_state_DATA) \ + $(dist_hplip_tmp_DATA) $(dist_images_128x128_DATA) \ $(dist_images_16x16_DATA) $(dist_images_24x24_DATA) \ $(dist_images_256x256_DATA) $(dist_images_32x32_DATA) \ $(dist_images_64x64_DATA) $(dist_images_devices_DATA) \ @@ -2320,51 +2441,61 @@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ +CFLAGS = @CFLAGS@ -DCONFDIR=\"$(hplip_confdir)\" CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ +CXXFLAGS = @CXXFLAGS@ -DCONFDIR=\"$(hplip_confdir)\" CYGPATH_W = @CYGPATH_W@ DBUS_CFLAGS = @DBUS_CFLAGS@ DBUS_LIBS = @DBUS_LIBS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ +DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ +FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ +NM = @NM@ NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PYTHON = @PYTHON@ PYTHONINCLUDEDIR = @PYTHONINCLUDEDIR@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ @@ -2389,9 +2520,10 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -2456,6 +2588,7 @@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ +libusb01_build = @libusb01_build@ lite_build = @lite_build@ localedir = @localedir@ localstatedir = @localstatedir@ @@ -2490,893 +2623,952 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ udev_acl_rules = @udev_acl_rules@ +udev_sysfs_rules = @udev_sysfs_rules@ ui_toolkit = @ui_toolkit@ -INCLUDES = -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs + +# +# Makefile.am - hplip automake input file +# +# (c) 2004-2015 Copyright Hewlett-Packard Development Company, LP +# Author: David Suffield, Naga Samrat Chowdary Narla, Sarbeswar Meher +INCLUDES = -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ hplipdir = $(datadir)/hplip doc_DATA = COPYING copyright prnt/hpijs/README_LIBJPG EXTRA_DIST = prnt/hpijs/gdevijs-krgb-1.5-gs8.61.patch prnt/hpijs/README_LIBJPG copyright -dist_noinst_SCRIPTS = $(am__append_5) -dist_noinst_DATA = $(am__append_4) $(am__append_7) $(am__append_8) +dist_noinst_SCRIPTS = $(am__append_10) +dist_noinst_DATA = $(am__append_9) $(am__append_12) $(am__append_13) lib_LTLIBRARIES = $(am__append_1) foomatic_ppd_printers = \ - ppd/hpijs/hp-deskjet_690-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp4520_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_825c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7000_e809a_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7345-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a520_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f2200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1320nw-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2280-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp2025-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_2500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a320_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_2500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_7510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_8550-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_2100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_630c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k550-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f735-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_920-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_600-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_5105-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1358_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_610cl-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3870-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3150-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r40xi-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_g85xi-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_952c-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2210_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_k60-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_632c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_prem_c410_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1007-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_2570_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4620_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3020-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_series_610-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j4680_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1300xi-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8000_a809-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4240-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_830c-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_k80-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022nw-hpijs-zjs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_1100-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_9500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_815c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_5550-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_100_mobile_l411-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm4540_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp4005-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515xm-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_pro_b8300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022-hpijs-zjs.ppd.gz \ ppd/hpijs/hp-photosmart_240_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_6p-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_725-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_612c-hpijs.ppd.gz \ + ppd/hpijs/hp-mopier_240-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_a630_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_916c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4250-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_1500_series-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_4si-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_plus_b210_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9000_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_a310_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3700-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_5652-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3700n-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3320-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_816c-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_580-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r80-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1120_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_880c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6127-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3200m-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-color_laserjet_cp2025n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_j5700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j3600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m3027_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p1009-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1160_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1007-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4550-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_7000_e809a-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_500-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f4100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a630_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8500_a910-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b010_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1012-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m5025_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_7300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1537dnf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_4500_g510n-z-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1050_j410_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_933c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5si-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-cp1160-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3500-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6500_e709n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1413fn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_6510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1100a-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_690c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1606dn-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_5600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4105-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4730mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_3100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1120n_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k5300-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b109a_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_520-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5200-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_5551-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4v-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_935c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1102w-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d5060_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f2100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_1218-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3910-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1600c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cp1025nw-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1000_j110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d7100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3300_3310_3320-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_2600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1138_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_600-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2150_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1320n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2014n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_5105-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_310-hpijs.ppd.gz \ + ppd/hpijs/hp-printer_scanner_copier_300-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3050a_j611_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7700-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1567-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r40-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp5225-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_940c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_370_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3550-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8500_a909n-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_2500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d1400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1018-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k8600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1608dn-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_3650-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3500-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r60-hpijs.ppd.gz \ - ppd/hpijs/hp-color_inkjet_cp1700-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015tn-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_320-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp4020_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_5100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_ink_advant_k109a-z-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1200-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_895c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1106-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d730-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6150_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1120-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2430-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_g55-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1415fn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_j6400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3450-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_v30-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_series_350-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5mp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_694-hpijs.ppd.gz \ + ppd/hpijs/hp-envy_120_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_320-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1108-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1505n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-dj350-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c5200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1213nf_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4_plus-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1320-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3320-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b010_series-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_9300-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c6300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm6030_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3819-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_948c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_697-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_d_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d730-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_330_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015x_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3000_j310_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d2300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2230-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5p-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8000_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515tn-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2800-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_2700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1100-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1217nfw_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3055-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1522nf_mfp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-officejet_j3500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_725-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_pro_b8800_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_950vr-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2150_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m4345_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1027nw-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_505j-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3380-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7700-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4200-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_series_310-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm2320nf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_682-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_d_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1136_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_1200-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1006-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1005_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d6100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_672c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4730mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_ink_advant_k209a-z-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_935c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1417fnw-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_4l-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_7500_e910-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_2510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1218nfs_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-dj450-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_350-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a320_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1566-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r80xi-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p3004-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f2400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015d_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8150_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1010-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c6100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m9050_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4550-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-deskjet_f4500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a440_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_h470-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4150_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm4730_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1518ni-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1108w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_995c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515tn-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4100_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_d2600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_500c-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2200-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_8150_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7550-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2200-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_5110v-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_640c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3740-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c5100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f2400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3052-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3325-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5l-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1320nw-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1132_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c8100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_g85-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p3010_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_4v-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_d2300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b109a_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4500_g510a-f-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_842c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022n-hpijs-zjs.ppd.gz \ + ppd/hpijs/hp-deskjet_5600-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_3000-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3840-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6500_e710a-f-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm6049_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1214nfh_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3822-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cp_1025nw-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1568-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_760-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_780-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_2050_j510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3200se-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6600-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_870c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_4620_series-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_812c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9050-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_5510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4014dn-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d7200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r45-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1217nfw_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1600cm-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2035-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2055dn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4650-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp3525-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015x-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2100-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1320_series-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-laserjet_cm1418fnw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1412fn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015n-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_g55xi-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9000_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_1600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5552-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8500_a909n-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_6520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m4349_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_1510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1020-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_cm1312nfi_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_g85xi-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-915-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3200se-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9040_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_9040-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_9800-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3810-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1200c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3500-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c6200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1566-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m4345_mfp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-laserjet_p4014n-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3870-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2035n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8600-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_1150c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3015-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022nw-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_1315-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a530_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_5600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2300-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_5500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_c309a_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_premium_c309g-m-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_7150-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_j4500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7500_e910-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015x-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_882c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_933c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1021-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_950c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1102-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_1215-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1220c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm6030_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_550c-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1109w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_697-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c6300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7800_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f4400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4115_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1609dn-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_f4210_series-hpijs.ppd.gz \ - ppd/hpijs/hp-dj450-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a430_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3055-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2600-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p1505n-hpijs-zxs.ppd.gz \ - ppd/hpijs/hp-photosmart_c7200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022n-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-photosmart_470_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1300-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_841c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3050_j610_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c3100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_843c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c5200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1120_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1150-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m5025_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_5si_mopier-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_510-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_520-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_5-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3420-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_890c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3550-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1515n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_4500_g510g-m-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015dn_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_2000_j210_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_1600-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f4200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_842c-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3550-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_830c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1120-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_k60-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4050_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_6l-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_610cl-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a610_series-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_3330-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_845c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1005-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6800-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_380_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7400-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1005-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7800_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4ml-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_300-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1415fnw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_5550-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p_1102w-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4600-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_3300_3310_3320-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4_plus-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d1300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a710_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1220-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2014-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_m9059_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_5200l-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_957c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6940_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_940c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_5500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r80xi-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1000_j110_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_995c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d4300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d110_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_ink_adv_2060_k110-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_692-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k8600-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_1215-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6120-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2350_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3425-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4014-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2055-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4240-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-printer_scanner_copier_300-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d4100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_400l-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1022-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_682-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5100-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_780xi-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_330-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m5039_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-envy_100_d410_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_815c-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm4540_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1300n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2250-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_c4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5650-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_ink_adv_k510-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_612c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_ink_adv_2010_k010-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_970c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp2025-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_8500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_2520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4014-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cp_1025-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1319f_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_1000-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d5400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1415fnw-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_5-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015tn-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5652-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_m5035_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1300xi-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1200n-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_g85-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_p1100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1005_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c7200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_950xi-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_6mp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8000_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_960c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1515n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k850-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k5400-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f2200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8500_a910-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3819-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_750-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1600cn-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c5500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1220se-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1219nfg_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9055mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_7900_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_920-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_9800-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_3392-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1010-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m4349_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3822-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r40-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3800-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_8200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_850c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c5100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1215-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2055x-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1569-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_980c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3740-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_5100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp2025dn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_a430_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2035n-hpijs-zjs.ppd.gz \ + ppd/hpijs/hp-officejet_r65-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_ink_adv_2060_k110-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_5520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_380_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1606dn-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2410-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_693-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_400-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6122-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4500_g510g-m-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_estn_c510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_855c-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_c4340_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1320_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_990c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5000-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5600-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1214nfh_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp5225n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_5510d_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8100_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4mp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_540-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d7400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_1200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_pro_b8800_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4700-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-officejet_series_710-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3030-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_r65-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1025nw-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5700-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_500-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f4213_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_470_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_640c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2200-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_4345_mfp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-psc_720-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_550c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_1315-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp2025dn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_7700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1411fn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp6015-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_670tv-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_930c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6500_e709a-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_2600n-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6500_e710a-f-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015dn-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3920-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_1100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_6mp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_9500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1020-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_694-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3910-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f2100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3020-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2035-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-officejet_4500_g510n-z-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015x_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_5510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4600-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_7100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_955c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5200lx-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4105-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1005-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6980_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d7300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp2025x-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_2400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9000_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm2320n_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_3100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_4610_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8000_series-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_plus_b209a-m-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_g55-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_5m-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d2600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c8100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r60-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2055d-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_975c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp6015-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_890c-hpijs.ppd.gz \ + ppd/hpijs/hp-915-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_330_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2055-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-officejet_k80xi-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1006-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1000-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_580-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1505-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_premium_c309g-m-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_p1000-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b8500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9050_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_series_570-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_460-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7900_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c5500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-2000c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4380_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3200-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1415fn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3000-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_825c-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_d1500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m9040_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_3015-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_1310_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7350-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3940-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_prem_c310_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6122-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_695-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_100_mobile_l411-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_816c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d1400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a820_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_p1100-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8000-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515x-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_4610-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm6040_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_7300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2100-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_920c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2300-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_5510d_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d5500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6700-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j5700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2170_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8100_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m3027_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_c5300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_2000_j210_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015dn_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_1600-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6940_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k5300-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j3600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7600-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m5039_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_2300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp5225dn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_d7200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5550-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_420_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a710_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1411fn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_6520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_prem_c310_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8100-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2055dn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_750xi-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4650-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_4500_k710-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5100-hpijs.ppd.gz \ + ppd/hpijs/hp-color_inkjet_printer_cp1700-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2230-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1160_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3550n-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_lx-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_130-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6000_e609n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1212nf_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_6l-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3500-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_656c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3900-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_930c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b8500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6500_e710n-z-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m3035_mfp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-laserjet_cm1416fnw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_r80-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4700-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2035-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_9600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1008-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1000-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_900_series-hpijs.ppd.gz \ + ppd/hpijs/hp-2500c-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_g95-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9040_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_cp1025-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_m1539dnf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1109-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1280-hpijs.ppd.gz \ + ppd/hpijs/hp-envy_110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_v40xi-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1300-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_g55xi-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7000_e809a-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3390-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_f735-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2280-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_230-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d2400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_845c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4350-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_5110-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4610_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_630-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_5m-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_d2500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1107-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_670c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_inkjet_cp1700-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a610_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3050_j610_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3200-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1538dnf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_6100-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_670tv-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3070_b611_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_690-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_950-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp5520_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1200-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_6500-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4050_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_ink_advant_k109a-z-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a640_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5000-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_500-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1607dn-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_510-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_m2727_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_d7300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_810c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4000_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2055d-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_wireless_b109n-z-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7600-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_ink_advant_k209a-z-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5mp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_3100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9055mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1217-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_h470-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_975c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2014n-hpijs-zxs.ppd.gz \ - ppd/hpijs/hp-officejet_5100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6980_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1102-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2200-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515x-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k5400-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_950xi-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j5500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_632c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_520-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_d5100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_932c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_230-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_140_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1417fnw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_1358_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_950c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_wireless_b109n-z-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2420-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_5200l-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_k7100-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_957c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c6200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8500_a909g-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1100xi-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4000_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_5si_mopier-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_3200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p_1102w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5552-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_320_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2035n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4014dn-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j5500_series-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_k60xi-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4l-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6127-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_750-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_600-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p3005-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_series_700-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6500-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm4730_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_9065mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4100_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_6000_e609n-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8150_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3500n-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1023-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_500-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1213nf_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8000-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5900_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_460-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm2320nf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3820-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_cm3530_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_a510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8000_a809-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_6510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3840-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015n_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b109a-m-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5200lx-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6500_e710n-z-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_2600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1212nf_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5800-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-officejet_4400_k410-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2800-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_882c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1150-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7400-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1600cm-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1220-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_990c-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_cp3505-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_670c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_670-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_2050_j510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4000_k210-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6500_e709n-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c6100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_656c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_934c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_k80-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1100xi-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_610c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4500_g510a-f-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2170_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp4005-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3900-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp5225-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2300-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4250-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_k7100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2430-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_955c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_850c-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1018-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_400l-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_720-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_pro_1170c_series-hpijs.ppd.gz \ - ppd/hpijs/hp-2500c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_pro_b8300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_6p-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1300n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_9050_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_660-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2014n-hpijs-zxs.ppd.gz \ + ppd/hpijs/hp-officejet_6600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1139_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4255-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_810c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_959c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_505j-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a620_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1217-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3100-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_700-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7345-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d1300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1102w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3420-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_5500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_630c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d7500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6120-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j4500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_plus_b210_series-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_series_590-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_3200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-mopier_320-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_780-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2410-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_j4660_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3600-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_5110-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_v40-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_1218-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1538dnf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3600-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1320n-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022nw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1132_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5900_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_400-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_832c-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_760-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3450-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d5060_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8000_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_2210_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515n-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_500c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_ink_adv_2010_k010-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j4680_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_9600-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_952c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_100-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022nw-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-officejet_6150_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1216nfh_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1160-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1125-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_540-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4ml-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015n_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_932c-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_780xi-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_v45-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1505n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k850-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1220c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3052-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_9500_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p3005-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_100-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1320tn-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_t_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9065mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_6500_e709a-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4300-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_1115-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9000_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3940-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015dn-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_3030-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1022-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3000_j310_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm2320_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_c4700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c7100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r45-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3550-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_520-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_895c-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_843c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-2000c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1009-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_3300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5200-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1219nf_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_p1000-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_300-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1505-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8500_a909a-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1106w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6800-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_1150c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm6040_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5850-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_9100_series-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-color_laserjet_cm1312_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_c4600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_3000-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_959c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_841c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9040-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_1200c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3800-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1200n-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7350-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_648c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c3100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_330-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1107w-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3380-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_f4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-mopier_320-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_2350_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1505n-hpijs-zxs.ppd.gz \ + ppd/hpijs/hp-laserjet_3050-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_950vr-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015n-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_pro_l7300-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1216nfh_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d7100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_8500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_7200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_estn_c510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d7500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d6100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4350-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-910-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_420_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a820_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3150-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4150_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1219nf_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k550-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_948c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9050-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_2600n-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1514n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_140_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_8550-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_d4300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1412fn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_2500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3500n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4mp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_840c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp4520_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_5800-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_p2014-hpijs-zxs.ppd.gz \ - ppd/hpijs/hp-psc_1000_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5l-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_970c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r40xi-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-envy_100_d410_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4000_k210-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m9059_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3000-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_4200-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_670-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3425-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_680-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1025-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1136_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_610-hpijs.ppd.gz \ - ppd/hpijs/hp-dj350-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1319f_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2035n-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm2320n_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_d5400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3050a_j611_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp2025x-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_2700_series-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_d1600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2055x-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3816-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_prem_c410_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c309a_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3050-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_5650-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1050_j410_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_672c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_370_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1028nw-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_320_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_5110v-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1218nfg_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1106-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7550-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_610c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_934c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b109a-m-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_692-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_1015-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1522nf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1102s-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_t_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_5500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_1280-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4115_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3200m-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_2570_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1539dnf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1220se-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp5225dn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_f4213_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm6049_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1536dnf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_6000_e609a-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_660-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c7100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_916c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1012-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1100a-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d4200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_9100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1108-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p3004-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1413fn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_g95-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5000_series-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-deskjet_1100-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_1200-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3550n-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4500_k710-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c5300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015d_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_130-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_9500_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1518ni-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_5550-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-mopier_240-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p3010_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_693-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_630-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_648c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8500_a909a-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1514n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_950-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f4400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_920c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_prem-web_c309n-s-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d2400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5si-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1215-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_720-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_v40xi-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d2500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3070_b611_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8500_a909g-hpijs.ppd.gz \ - ppd/hpijs/hp-cp1160-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3820-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp5520_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_lx-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2300-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-business_inkjet_1000-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1160-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a620_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_3300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_980c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_870c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1008-hpijs.ppd.gz \ - ppd/hpijs/hp-color_inkjet_printer_cp1700-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_855c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_880c-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3390-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515xm-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6600-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2420-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_1600cn-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_1115-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2014n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1320-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_750xi-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1320tn-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1100-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_840c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5850-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_960c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4345_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_m1537dnf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_4255-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6000_e609a-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_695-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m9040_mfp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-photosmart_d5300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j6400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1600c-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_900_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm2320_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_m3035_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4300-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d5500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1125-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a640_series-hpijs.ppd.gz \ - ppd/hpijs/hp-envy_110_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7500-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_832c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5551-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5700-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5000_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_1310_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7000_e809a_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_570-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_cm2320fxi_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_m9050_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_a530_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a440_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3325-hpijs.ppd.gz + ppd/hpijs/hp-color_laserjet_3700n-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4380_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7500-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1219nfs_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp3525-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_j4660_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_150_mobile_l511-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3810-hpijs.ppd.gz \ + ppd/hpijs/hp-910-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_v40-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_2020_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a310_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4400_k410-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1000_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5p-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1120n_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp4020_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2250-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_d7400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2600-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_2300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp5225n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p1005-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_500-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3700-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3920-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3816-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_prem-web_c309n-s-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2014-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p2035-hpijs-zjs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1137_mfp-hpijs.ppd.gz foomatic_ps_printers = \ - prnt/ps/hp-laserjet_4250-ps.ppd.gz \ - prnt/ps/hp-laserjet_p3005-ps.ppd.gz \ - prnt/ps/hp-officejet_pro_8000_enterprise_a811a-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_3700n-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4610-ps.ppd.gz \ - prnt/ps/hp-designjet_4020ps-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4550-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp5225-ps.ppd.gz \ - prnt/ps/hp-laserjet_3015-ps.ppd.gz \ - prnt/ps/hp-designjet_t1100ps_24in-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm2320n_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp3525-ps.ppd.gz \ - prnt/ps/hp-laserjet_9055mfp-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2250-ps.ppd.gz \ + prnt/ps/hp-laserjet_4v-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2550_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_4_plus-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp4520_series-ps.ppd.gz \ + prnt/ps/hp-designjet_t2300_postscript-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm6049_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_m1522_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_color_flow_mfp_m575-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_9500-ps.ppd.gz \ + prnt/ps/hp-laserjet_400_mfp_m425-ps.ppd.gz \ prnt/ps/hp-laserjet_m3035_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm6040_mfp-ps.ppd.gz \ - prnt/ps/hp-designjet_4000ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2605dn-ps.ppd.gz \ - prnt/ps/hp-laserjet_600_m601_m602_m603-ps.ppd.gz \ - prnt/ps/hp-laserjet_m3027_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_5000_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_m4555_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_cp1520_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_8000-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm6030_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp2025n-ps.ppd.gz \ - prnt/ps/hp-designjet_t1300_postscript-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2605-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4650-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp5225n-ps.ppd.gz \ - prnt/ps/hp-laserjet_cm1410_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_4300-ps.ppd.gz \ - prnt/ps/hp-laserjet_9065mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp4020_series-ps.ppd.gz \ - prnt/ps/hp-designjet_t790ps_24in-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4700-ps.ppd.gz \ - prnt/ps/hp-laserjet_5200lx-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2800-ps.ppd.gz \ - prnt/ps/hp-laserjet_2200-ps.ppd.gz \ - prnt/ps/hp-designjet_z6200_42in_photo-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp2025x-ps.ppd.gz \ - prnt/ps/hp-designjet_t770_postscript-ps.ppd.gz \ - prnt/ps/hp-laserjet_2430-ps.ppd.gz \ - prnt/ps/hp-laserjet_9040-ps.ppd.gz \ - prnt/ps/hp-designjet_t790ps_44in-ps.ppd.gz \ - prnt/ps/hp-laserjet_1300-ps.ppd.gz \ - prnt/ps/hp-laserjet_5200-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm2320nf_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_m1522n_mfp-ps.ppd.gz \ - prnt/ps/hp-designjet_4520ps-ps.ppd.gz \ - prnt/ps/hp-designjet_t7100ps_monochrome-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp1514n-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2500-ps.ppd.gz \ + prnt/ps/hp-laserjet_3030-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm2320_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2500_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_9055mfp-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_551_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_4350-ps.ppd.gz \ + prnt/ps/hp-laserjet_3300_3310_3320-ps.ppd.gz \ + prnt/ps/hp-laserjet_100_color_mfp_m175-ps.ppd.gz \ + prnt/ps/hp-laserjet_4100_series-ps.ppd.gz \ + prnt/ps/hp-designjet_4520mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_2410-ps.ppd.gz \ prnt/ps/hp-designjet_t1120ps_24in-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm2320fxi_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_m9050_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_4200-ps.ppd.gz \ - prnt/ps/hp-laserjet_9040_mfp-ps.ppd.gz \ - prnt/ps/hp-designjet_t1100ps_44in-ps.ppd.gz \ - prnt/ps/hp-laserjet_4100_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_4_plus-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp4005-ps.ppd.gz \ - prnt/ps/hp-laserjet_9000_series-ps.ppd.gz \ - prnt/ps/hp-mopier_320-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2280-ps.ppd.gz \ + prnt/ps/hp-laserjet_500_color_mfp_m570-ps.ppd.gz \ prnt/ps/hp-laserjet_4-ps.ppd.gz \ - prnt/ps/hp-laserjet_500_color_m551-ps.ppd.gz \ - prnt/ps/hp-laserjet_4240-ps.ppd.gz \ - prnt/ps/hp-laserjet_3300_3310_3320-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_3000-ps.ppd.gz \ - prnt/ps/hp-laserjet_1220se-ps.ppd.gz \ - prnt/ps/hp-designjet_4500ps.ppd.gz \ - prnt/ps/hp-laserjet_1200n-ps.ppd.gz \ prnt/ps/hp-laserjet_5100_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp4005-ps.ppd.gz \ + prnt/ps/hp-laserjet_600_m601_m602_m603-ps.ppd.gz \ + prnt/ps/hp-laserjet_1220-ps.ppd.gz \ + prnt/ps/hp-designjet_t1100ps_24in-ps.ppd.gz \ + prnt/ps/hp-designjet_t7100ps_monochrome-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_276dw_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm1312_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_m9050_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp5225n-ps.ppd.gz \ + prnt/ps/hp-laserjet_3015-ps.ppd.gz \ + prnt/ps/hp-designjet_t790ps_44in-ps.ppd.gz \ + prnt/ps/hp-laserjet_1320nw-ps.ppd.gz \ + prnt/ps/hp-laserjet_2300_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp3525-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_3000-ps.ppd.gz \ + prnt/ps/hp-laserjet_6p-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp2025x-ps.ppd.gz \ prnt/ps/hp-color_laserjet_cm4540_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_5m-ps.ppd.gz \ - prnt/ps/hp-laserjet_m1530_mfp_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_4100_series-ps.ppd.gz \ - prnt/ps/hp-cm8050_mfp_with_edgeline-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_3800-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320tn-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp1515n-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm1017-ps.ppd.gz \ + prnt/ps/hp-laserjet_3380-ps.ppd.gz \ + prnt/ps/hp-laserjet_8100_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_5200lx-ps.ppd.gz \ + prnt/ps/hp-laserjet_2100_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_3200m-ps.ppd.gz \ + prnt/ps/hp-laserjet_1320-ps.ppd.gz \ + prnt/ps/hp-designjet_t1200_postscript-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm1015-ps.ppd.gz \ + prnt/ps/hp-designjet_4500ps.ppd.gz \ + prnt/ps/hp-laserjet_4240-ps.ppd.gz \ + prnt/ps/hp-laserjet_5si_mopier-ps.ppd.gz \ prnt/ps/hp-color_laserjet_2840-ps.ppd.gz \ + prnt/ps/hp-cm8050_mfp_with_edgeline-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2250-ps.ppd.gz \ + prnt/ps/hp-laserjet_m1522nf_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4650-ps.ppd.gz \ + prnt/ps/hp-designjet_t1120ps_44in-ps.ppd.gz \ + prnt/ps/hp-laserjet_2430-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4500-ps.ppd.gz \ + prnt/ps/hp-laserjet_p2015_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_5m-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_5500-ps.ppd.gz \ + prnt/ps/hp-laserjet_3050-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp5225dn-ps.ppd.gz \ + prnt/ps/hp-designjet_z6100ps_60in_photo-ps.ppd.gz \ prnt/ps/hp-laserjet_4345_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_4si-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp6015-ps.ppd.gz \ - prnt/ps/hp-laserjet_4mp-ps.ppd.gz \ - prnt/ps/hp-laserjet_2300_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet-ps.ppd.gz \ prnt/ps/hp-color_laserjet_8500-ps.ppd.gz \ - prnt/ps/hp-laserjet_8100_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320-ps.ppd.gz \ - prnt/ps/hp-designjet_4500mfp.ppd.gz \ - prnt/ps/hp-laserjet_6mp-ps.ppd.gz \ - prnt/ps/hp-cm8060_mfp_with_edgeline-ps.ppd.gz \ - prnt/ps/hp-laserjet_5200l-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4600-ps.ppd.gz \ + prnt/ps/hp-laserjet_500_color_m551-ps.ppd.gz \ + prnt/ps/hp-laserjet_4300-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm1312nfi_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_3000-ps.ppd.gz \ + prnt/ps/hp-designjet_z5200_postscript-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp4020_series-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2300-ps.ppd.gz \ prnt/ps/hp-laserjet_3052-ps.ppd.gz \ - prnt/ps/hp-laserjet_100_color_mfp_m175-ps.ppd.gz \ - prnt/ps/hp-laserjet_m1522nf_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm1015-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2605-ps.ppd.gz \ prnt/ps/hp-laserjet_p2055_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_200_colormfp_m275-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_8550-ps.ppd.gz \ - prnt/ps/hp-laserjet_1220-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2700n-ps.ppd.gz \ - prnt/ps/hp-laserjet_1300xi-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp5520_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm2320fxi_mfp-ps.ppd.gz \ + prnt/ps/hp-cm8060_mfp_with_edgeline-ps.ppd.gz \ + prnt/ps/hp-designjet_t770ps_24in-ps.ppd.gz \ + prnt/ps/hp-laserjet_9000_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4700-ps.ppd.gz \ + prnt/ps/hp-laserjet_4si-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp1518ni-ps.ppd.gz \ + prnt/ps/hp-laserjet_4200-ps.ppd.gz \ + prnt/ps/hp-laserjet_5p-ps.ppd.gz \ + prnt/ps/hp-laserjet_8150_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_2200-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp1514n-ps.ppd.gz \ + prnt/ps/hp-designjet_t790ps_24in-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4610-ps.ppd.gz \ prnt/ps/hp-color_laserjet_2605dtn-ps.ppd.gz \ - prnt/ps/hp-designjet_z6100ps_60in_photo-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_3000-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm1312_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_2420-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2700-ps.ppd.gz \ prnt/ps/hp-laserjet_5mp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2550_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_9500-ps.ppd.gz \ - prnt/ps/hp-laserjet_8150_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp5225dn-ps.ppd.gz \ - prnt/ps/hp-laserjet_m5035_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm6040_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_5550-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp5225-ps.ppd.gz \ + prnt/ps/hp-laserjet_700_color_mfp_m775-ps.ppd.gz \ + prnt/ps/hp-laserjet_4100_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_8550-ps.ppd.gz \ + prnt/ps/hp-laserjet_m3027_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_4ml-ps.ppd.gz \ + prnt/ps/hp-laserjet_8000-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2800-ps.ppd.gz \ + prnt/ps/hp-laserjet_m9040_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_1300-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4600_series-ps.ppd.gz \ + prnt/ps/hp-designjet_t770_postscript-ps.ppd.gz \ prnt/ps/hp-laserjet_2200_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_m1522_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp3505-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2800-ps.ppd.gz \ - prnt/ps/hp-laserjet_4350-ps.ppd.gz \ - prnt/ps/hp-color_laserjet-ps.ppd.gz \ - prnt/ps/hp-laserjet_m5025_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_2100-ps.ppd.gz \ - prnt/ps/hp-laserjet_p3010_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4500-ps.ppd.gz \ - prnt/ps/hp-laserjet_3050-ps.ppd.gz \ - prnt/ps/hp-laserjet_3200m-ps.ppd.gz \ - prnt/ps/hp-laserjet_1300n-ps.ppd.gz \ - prnt/ps/hp-laserjet_3380-ps.ppd.gz \ + prnt/ps/hp-laserjet_5si-ps.ppd.gz \ + prnt/ps/hp-designjet_4520ps-ps.ppd.gz \ + prnt/ps/hp-laserjet_1220se-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp2025dn-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm2320nf_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_4mp-ps.ppd.gz \ + prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd.gz \ + prnt/ps/hp-laserjet_cp1520_series-ps.ppd.gz \ + prnt/ps/hp-lj_300_400_color_mfp_m375_m475-ps.ppd.gz \ + prnt/ps/hp-laserjet_9040_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_2300-ps.ppd.gz \ + prnt/ps/hp-laserjet_9000_series-ps.ppd.gz \ prnt/ps/hp-color_laserjet_2830-ps.ppd.gz \ + prnt/ps/hp-laserjet_500_color_mfp_m575-ps.ppd.gz \ + prnt/ps/hp-laserjet_4000_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_200_colormfp_m275-ps.ppd.gz \ + prnt/ps/hp-designjet_4000ps.ppd.gz \ + prnt/ps/hp-laserjet_1320_series-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_8000_enterprise_a811a-ps.ppd.gz \ + prnt/ps/hp-laserjet_m4555_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_5200-ps.ppd.gz \ + prnt/ps/hp-laserjet_400_m401dne-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp6015-ps.ppd.gz \ + prnt/ps/hp-laserjet_1320tn-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp5520_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_200_color_m251-ps.ppd.gz \ + prnt/ps/hp-laserjet_p4010_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_mfp_m521-ps.ppd.gz \ + prnt/ps/hp-laserjet_1200-ps.ppd.gz \ + prnt/ps/hp-laserjet_p3005-ps.ppd.gz \ + prnt/ps/hp-laserjet_9040-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_3800-ps.ppd.gz \ + prnt/ps/hp-laserjet_1300n-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2605dn-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2800-ps.ppd.gz \ + prnt/ps/hp-designjet_t1300_postscript-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm3530_mfp-ps.ppd.gz \ prnt/ps/hp-laserjet_9050-ps.ppd.gz \ - prnt/ps/hp-laserjet_5si_mopier-ps.ppd.gz \ - prnt/ps/hp-lj_300_400_color_mfp_m375_m475-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4600_series-ps.ppd.gz \ - prnt/ps/hp-designjet_t7100ps-ps.ppd.gz \ - prnt/ps/hp-designjet_t770ps_24in-ps.ppd.gz \ - prnt/ps/hp-designjet_z6100ps_42in_photo-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp1515n-ps.ppd.gz \ + prnt/ps/hp-laserjet_flow_mfp_m525-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2700n-ps.ppd.gz \ + prnt/ps/hp-laserjet_200_colormfp_m276-ps.ppd.gz \ prnt/ps/hp-color_laserjet_cm4730_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_3030-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_9500_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_m4345_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_p3004-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4730mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_m4349_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_5p-ps.ppd.gz \ - prnt/ps/hp-designjet_t2300_postscript-ps.ppd.gz \ - prnt/ps/hp-laserjet_m9059_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_3700n-ps.ppd.gz \ + prnt/ps/hp-laserjet_p3010_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_2100-ps.ppd.gz \ prnt/ps/hp-color_laserjet_3700-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp2025dn-ps.ppd.gz \ - prnt/ps/hp-laserjet_5000-ps.ppd.gz \ - prnt/ps/hp-laserjet_p4010_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320n-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm6049_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2700-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp4520_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_5500-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2500-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_251dw_printer-ps.ppd.gz \ + prnt/ps/hp-laserjet_m5035_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_9065mfp-ps.ppd.gz \ prnt/ps/hp-laserjet_m2727_mfp_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_2300-ps.ppd.gz \ - prnt/ps/hp-laserjet_3390-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2600-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm1312nfi_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_3020-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320nw-ps.ppd.gz \ + prnt/ps/hp-laserjet_m1530_mfp_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4550-ps.ppd.gz \ + prnt/ps/hp-laserjet_700_m712-ps.ppd.gz \ prnt/ps/hp-laserjet_4050_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_5550-ps.ppd.gz \ - prnt/ps/hp-laserjet_p2015_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm1017-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2820-ps.ppd.gz \ - prnt/ps/hp-laserjet_4v-ps.ppd.gz \ - prnt/ps/hp-laserjet_2100_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_9050_mfp-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2300-ps.ppd.gz \ + prnt/ps/hp-laserjet_8100_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_5000_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_p3004-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_451_series-ps.ppd.gz \ prnt/ps/hp-designjet_z6200_60in_photo-ps.ppd.gz \ - prnt/ps/hp-laserjet_5si-ps.ppd.gz \ - prnt/ps/hp-designjet_4520mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp1518ni-ps.ppd.gz \ - prnt/ps/hp-laserjet_2410-ps.ppd.gz \ - prnt/ps/hp-designjet_t1120ps_44in-ps.ppd.gz \ - prnt/ps/hp-mopier_240-ps.ppd.gz \ - prnt/ps/hp-laserjet_6p-ps.ppd.gz \ - prnt/ps/hp-laserjet_1200-ps.ppd.gz \ - prnt/ps/hp-designjet_t1200_postscript-ps.ppd.gz \ - prnt/ps/hp-laserjet_4ml-ps.ppd.gz \ - prnt/ps/hp-laserjet_m9040_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4600-ps.ppd.gz \ prnt/ps/hp-color_laserjet_cp2025-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm3530_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_8100_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_6mp-ps.ppd.gz \ + prnt/ps/hp-laserjet_1300xi-ps.ppd.gz \ + prnt/ps/hp-laserjet_4250-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2280-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm6030_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm2320n_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2820-ps.ppd.gz \ + prnt/ps/hp-laserjet_m5025_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_m9059_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_500_mfp_m525-ps.ppd.gz \ + prnt/ps/hp-designjet_z6200_42in_photo-ps.ppd.gz \ + prnt/ps/hp-laserjet_1320n-ps.ppd.gz \ + prnt/ps/hp-designjet_z6100ps_42in_photo-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp3505-ps.ppd.gz \ + prnt/ps/hp-laserjet_2420-ps.ppd.gz \ prnt/ps/hp-laserjet_8000_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_4000_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2500_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm2320_mfp-ps.ppd.gz \ - prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd.gz \ - prnt/ps/hp-laserjet_9000_mfp-ps.ppd.gz + prnt/ps/hp-mopier_320-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2600-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4730mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_5000-ps.ppd.gz \ + prnt/ps/hp-laserjet_m4345_mfp-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_476_576_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp2025n-ps.ppd.gz \ + prnt/ps/hp-laserjet_3020-ps.ppd.gz \ + prnt/ps/hp-laserjet_m1522n_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_cm1410_series-ps.ppd.gz \ + prnt/ps/hp-designjet_4020ps-ps.ppd.gz \ + prnt/ps/hp-designjet_t7100ps-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_9500_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_5200l-ps.ppd.gz \ + prnt/ps/hp-mopier_240-ps.ppd.gz \ + prnt/ps/hp-laserjet_9050_mfp-ps.ppd.gz \ + prnt/ps/hp-designjet_t1100ps_44in-ps.ppd.gz \ + prnt/ps/hp-laserjet_1200n-ps.ppd.gz \ + prnt/ps/hp-laserjet_3390-ps.ppd.gz \ + prnt/ps/hp-laserjet_m4349_mfp-ps.ppd.gz \ + prnt/ps/hp-designjet_4500mfp.ppd.gz \ + prnt/ps/hp-laserjet_400_m401-ps.ppd.gz foomatic_drv = prnt/drv/hpijs.drv unreldir = @@ -3412,13 +3604,13 @@ ppd/hpcups/hp-color_laserjet_2500_series.ppd.gz \ ppd/hpcups/hp-color_laserjet_2600n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3000-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_3500n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3500.ppd.gz \ - ppd/hpcups/hp-color_laserjet_3550n.ppd.gz \ + ppd/hpcups/hp-color_laserjet_3500n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3550.ppd.gz \ + ppd/hpcups/hp-color_laserjet_3550n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3600.ppd.gz \ - ppd/hpcups/hp-color_laserjet_3700n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3700-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_3700n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3800-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_4500-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_4550-pcl3.ppd.gz \ @@ -3428,20 +3620,20 @@ ppd/hpcups/hp-color_laserjet_4650-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_4700-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_4730mfp-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_5.ppd.gz \ ppd/hpcups/hp-color_laserjet_5500-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_5550-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_5m-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_5.ppd.gz \ ppd/hpcups/hp-color_laserjet_8500-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_8550-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_9500_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_9500-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_9500_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm1312_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm1312nfi_mfp-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_cm2320fxi_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm2320_mfp-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_cm2320nf_mfp-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_cm2320fxi_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm2320n_mfp-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_cm2320nf_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm3530_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm4540_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm4730_mfp-pcl3.ppd.gz \ @@ -3453,18 +3645,18 @@ ppd/hpcups/hp-color_laserjet_cp1514n-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp1515n-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp1518ni-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_cp2025-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp2025dn-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp2025n-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_cp2025-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp2025x-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp3505-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp3525-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp4005-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp4020_series-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp4520_series-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_cp5225-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp5225dn-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp5225n-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_cp5225-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp5520_series-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp6015-pcl3.ppd.gz \ ppd/hpcups/hp-cp1160.ppd.gz \ @@ -3476,14 +3668,17 @@ ppd/hpcups/hp-deskjet_1200c.ppd.gz \ ppd/hpcups/hp-deskjet_1220c.ppd.gz \ ppd/hpcups/hp-deskjet_1280.ppd.gz \ + ppd/hpcups/hp-deskjet_1600c.ppd.gz \ ppd/hpcups/hp-deskjet_1600cm.ppd.gz \ ppd/hpcups/hp-deskjet_1600cn.ppd.gz \ - ppd/hpcups/hp-deskjet_1600c.ppd.gz \ ppd/hpcups/hp-deskjet_2000_j210_series.ppd.gz \ + ppd/hpcups/hp-deskjet_2020_series.ppd.gz \ ppd/hpcups/hp-deskjet_2050_j510_series.ppd.gz \ + ppd/hpcups/hp-deskjet_2510_series.ppd.gz \ + ppd/hpcups/hp-deskjet_2520_series.ppd.gz \ ppd/hpcups/hp-deskjet_3000_j310_series.ppd.gz \ - ppd/hpcups/hp-deskjet_3050a_j611_series.ppd.gz \ ppd/hpcups/hp-deskjet_3050_j610_series.ppd.gz \ + ppd/hpcups/hp-deskjet_3050a_j611_series.ppd.gz \ ppd/hpcups/hp-deskjet_3070_b611_series.ppd.gz \ ppd/hpcups/hp-deskjet_3320.ppd.gz \ ppd/hpcups/hp-deskjet_3325.ppd.gz \ @@ -3491,6 +3686,8 @@ ppd/hpcups/hp-deskjet_3425.ppd.gz \ ppd/hpcups/hp-deskjet_3450.ppd.gz \ ppd/hpcups/hp-deskjet_3500.ppd.gz \ + ppd/hpcups/hp-deskjet_3510_series.ppd.gz \ + ppd/hpcups/hp-deskjet_3520_series.ppd.gz \ ppd/hpcups/hp-deskjet_3550.ppd.gz \ ppd/hpcups/hp-deskjet_3600.ppd.gz \ ppd/hpcups/hp-deskjet_3650.ppd.gz \ @@ -3506,18 +3703,21 @@ ppd/hpcups/hp-deskjet_3910.ppd.gz \ ppd/hpcups/hp-deskjet_3920.ppd.gz \ ppd/hpcups/hp-deskjet_3940.ppd.gz \ - ppd/hpcups/hp-deskjet_400l.ppd.gz \ ppd/hpcups/hp-deskjet_400.ppd.gz \ + ppd/hpcups/hp-deskjet_400l.ppd.gz \ ppd/hpcups/hp-deskjet_460.ppd.gz \ - ppd/hpcups/hp-deskjet_500c.ppd.gz \ + ppd/hpcups/hp-deskjet_4610_series.ppd.gz \ + ppd/hpcups/hp-deskjet_4620_series.ppd.gz \ ppd/hpcups/hp-deskjet_500.ppd.gz \ + ppd/hpcups/hp-deskjet_500c.ppd.gz \ ppd/hpcups/hp-deskjet_505j.ppd.gz \ - ppd/hpcups/hp-deskjet_5100.ppd.gz \ ppd/hpcups/hp-deskjet_510.ppd.gz \ + ppd/hpcups/hp-deskjet_5100.ppd.gz \ ppd/hpcups/hp-deskjet_520.ppd.gz \ - ppd/hpcups/hp-deskjet_5400_series.ppd.gz \ ppd/hpcups/hp-deskjet_540.ppd.gz \ + ppd/hpcups/hp-deskjet_5400_series.ppd.gz \ ppd/hpcups/hp-deskjet_550c.ppd.gz \ + ppd/hpcups/hp-deskjet_5520_series.ppd.gz \ ppd/hpcups/hp-deskjet_5550.ppd.gz \ ppd/hpcups/hp-deskjet_5551.ppd.gz \ ppd/hpcups/hp-deskjet_5552.ppd.gz \ @@ -3529,8 +3729,8 @@ ppd/hpcups/hp-deskjet_5850.ppd.gz \ ppd/hpcups/hp-deskjet_5900_series.ppd.gz \ ppd/hpcups/hp-deskjet_600.ppd.gz \ - ppd/hpcups/hp-deskjet_610cl.ppd.gz \ ppd/hpcups/hp-deskjet_610c.ppd.gz \ + ppd/hpcups/hp-deskjet_610cl.ppd.gz \ ppd/hpcups/hp-deskjet_6120.ppd.gz \ ppd/hpcups/hp-deskjet_6122.ppd.gz \ ppd/hpcups/hp-deskjet_6127.ppd.gz \ @@ -3540,22 +3740,23 @@ ppd/hpcups/hp-deskjet_640c.ppd.gz \ ppd/hpcups/hp-deskjet_648c.ppd.gz \ ppd/hpcups/hp-deskjet_6500.ppd.gz \ + ppd/hpcups/hp-deskjet_6520_series.ppd.gz \ ppd/hpcups/hp-deskjet_656c.ppd.gz \ - ppd/hpcups/hp-deskjet_6600.ppd.gz \ ppd/hpcups/hp-deskjet_660.ppd.gz \ - ppd/hpcups/hp-deskjet_670c.ppd.gz \ + ppd/hpcups/hp-deskjet_6600.ppd.gz \ ppd/hpcups/hp-deskjet_670.ppd.gz \ + ppd/hpcups/hp-deskjet_670c.ppd.gz \ ppd/hpcups/hp-deskjet_670tv.ppd.gz \ ppd/hpcups/hp-deskjet_672c.ppd.gz \ - ppd/hpcups/hp-deskjet_6800.ppd.gz \ ppd/hpcups/hp-deskjet_680.ppd.gz \ + ppd/hpcups/hp-deskjet_6800.ppd.gz \ ppd/hpcups/hp-deskjet_682.ppd.gz \ - ppd/hpcups/hp-deskjet_690c.ppd.gz \ ppd/hpcups/hp-deskjet_690.ppd.gz \ + ppd/hpcups/hp-deskjet_690c.ppd.gz \ ppd/hpcups/hp-deskjet_692.ppd.gz \ ppd/hpcups/hp-deskjet_693.ppd.gz \ - ppd/hpcups/hp-deskjet_6940_series.ppd.gz \ ppd/hpcups/hp-deskjet_694.ppd.gz \ + ppd/hpcups/hp-deskjet_6940_series.ppd.gz \ ppd/hpcups/hp-deskjet_695.ppd.gz \ ppd/hpcups/hp-deskjet_697.ppd.gz \ ppd/hpcups/hp-deskjet_6980_series.ppd.gz \ @@ -3633,6 +3834,7 @@ ppd/hpcups/hp-dj450.ppd.gz \ ppd/hpcups/hp-envy_100_d410_series.ppd.gz \ ppd/hpcups/hp-envy_110_series.ppd.gz \ + ppd/hpcups/hp-envy_120_series.ppd.gz \ ppd/hpcups/hp-laserjet_1000.ppd.gz \ ppd/hpcups/hp-laserjet_1005_series.ppd.gz \ ppd/hpcups/hp-laserjet_1010.ppd.gz \ @@ -3640,29 +3842,29 @@ ppd/hpcups/hp-laserjet_1015.ppd.gz \ ppd/hpcups/hp-laserjet_1018.ppd.gz \ ppd/hpcups/hp-laserjet_1020.ppd.gz \ + ppd/hpcups/hp-laserjet_1022-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1022-zjs.ppd.gz \ ppd/hpcups/hp-laserjet_1022n-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1022n-zjs.ppd.gz \ ppd/hpcups/hp-laserjet_1022nw-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_1022nw-zjs.ppd.gz \ - ppd/hpcups/hp-laserjet_1022n-zjs.ppd.gz \ - ppd/hpcups/hp-laserjet_1022-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_1022-zjs.ppd.gz \ - ppd/hpcups/hp-laserjet_1100a.ppd.gz \ ppd/hpcups/hp-laserjet_1100.ppd.gz \ + ppd/hpcups/hp-laserjet_1100a.ppd.gz \ ppd/hpcups/hp-laserjet_1100xi.ppd.gz \ ppd/hpcups/hp-laserjet_1150.ppd.gz \ ppd/hpcups/hp-laserjet_1160.ppd.gz \ ppd/hpcups/hp-laserjet_1160_series.ppd.gz \ - ppd/hpcups/hp-laserjet_1200n.ppd.gz \ ppd/hpcups/hp-laserjet_1200-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1200n.ppd.gz \ ppd/hpcups/hp-laserjet_1220-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_1220se.ppd.gz \ - ppd/hpcups/hp-laserjet_1300n-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_1300-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1300n-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_1300xi-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_1320n.ppd.gz \ - ppd/hpcups/hp-laserjet_1320nw.ppd.gz \ ppd/hpcups/hp-laserjet_1320.ppd.gz \ ppd/hpcups/hp-laserjet_1320_series-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1320n.ppd.gz \ + ppd/hpcups/hp-laserjet_1320nw.ppd.gz \ ppd/hpcups/hp-laserjet_1320tn.ppd.gz \ ppd/hpcups/hp-laserjet_2100.ppd.gz \ ppd/hpcups/hp-laserjet_2100_series-pcl3.ppd.gz \ @@ -3681,8 +3883,8 @@ ppd/hpcups/hp-laserjet_3055.ppd.gz \ ppd/hpcups/hp-laserjet_3100.ppd.gz \ ppd/hpcups/hp-laserjet_3150.ppd.gz \ - ppd/hpcups/hp-laserjet_3200m-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_3200.ppd.gz \ + ppd/hpcups/hp-laserjet_3200m-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_3200se.ppd.gz \ ppd/hpcups/hp-laserjet_3300_3310_3320-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_3330.ppd.gz \ @@ -3700,23 +3902,23 @@ ppd/hpcups/hp-laserjet_4300-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4345_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4350-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_4_plus-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4l.ppd.gz \ ppd/hpcups/hp-laserjet_4ml.ppd.gz \ ppd/hpcups/hp-laserjet_4mp-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_4_plus-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4si-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4v-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5000.ppd.gz \ ppd/hpcups/hp-laserjet_5000_series-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5100_series-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_5200-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5200l-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5200lx.ppd.gz \ - ppd/hpcups/hp-laserjet_5200-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5l.ppd.gz \ ppd/hpcups/hp-laserjet_5mp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5p.ppd.gz \ - ppd/hpcups/hp-laserjet_5si_mopier-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5si-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_5si_mopier-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_6l.ppd.gz \ ppd/hpcups/hp-laserjet_6mp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_6p.ppd.gz \ @@ -3728,10 +3930,10 @@ ppd/hpcups/hp-laserjet_8150_series-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9000_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9000_series-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_9040_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9040-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_9050_mfp-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_9040_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9050-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_9050_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9055mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9065mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_cm1411fn-pcl3.ppd.gz \ @@ -3742,19 +3944,15 @@ ppd/hpcups/hp-laserjet_cm1416fnw-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_cm1417fnw-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_cm1418fnw-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1021.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1022.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1023.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1025nw.ppd.gz \ ppd/hpcups/hp-laserjet_cp1025.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1027nw.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1028nw.ppd.gz \ + ppd/hpcups/hp-laserjet_cp1025nw.ppd.gz \ + ppd/hpcups/hp-laserjet_cp_1025.ppd.gz \ + ppd/hpcups/hp-laserjet_cp_1025nw.ppd.gz \ ppd/hpcups/hp-laserjet_m1005.ppd.gz \ ppd/hpcups/hp-laserjet_m1120_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_m1120n_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_m1319f_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_m1522nf_mfp-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_m1536dnf_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_m1537dnf_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_m1538dnf_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_m1539dnf_mfp-pcl3.ppd.gz \ @@ -3774,61 +3972,81 @@ ppd/hpcups/hp-laserjet_p1007.ppd.gz \ ppd/hpcups/hp-laserjet_p1008.ppd.gz \ ppd/hpcups/hp-laserjet_p1009.ppd.gz \ + ppd/hpcups/hp-laserjet_p1505.ppd.gz \ ppd/hpcups/hp-laserjet_p1505n-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p1505n-zxs.ppd.gz \ - ppd/hpcups/hp-laserjet_p1505.ppd.gz \ - ppd/hpcups/hp-laserjet_p2014n-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_p2014n-zxs.ppd.gz \ ppd/hpcups/hp-laserjet_p2014-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2014-zxs.ppd.gz \ - ppd/hpcups/hp-laserjet_p2015dn_series.ppd.gz \ + ppd/hpcups/hp-laserjet_p2014n-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2014n-zxs.ppd.gz \ + ppd/hpcups/hp-laserjet_p2015_series-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2015d_series.ppd.gz \ + ppd/hpcups/hp-laserjet_p2015dn_series.ppd.gz \ ppd/hpcups/hp-laserjet_p2015n_series.ppd.gz \ - ppd/hpcups/hp-laserjet_p2015_series-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2015x_series.ppd.gz \ - ppd/hpcups/hp-laserjet_p2035n-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_p2035n-zjs.ppd.gz \ ppd/hpcups/hp-laserjet_p2035-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2035-zjs.ppd.gz \ - ppd/hpcups/hp-laserjet_p2055dn-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_p2055d-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2035n-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2035n-zjs.ppd.gz \ ppd/hpcups/hp-laserjet_p2055-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2055d-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2055dn-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2055x-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p3004-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p3005-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p3010_series-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p4014.ppd.gz \ ppd/hpcups/hp-laserjet_p4014dn.ppd.gz \ ppd/hpcups/hp-laserjet_p4014n.ppd.gz \ - ppd/hpcups/hp-laserjet_p4014.ppd.gz \ + ppd/hpcups/hp-laserjet_p4015.ppd.gz \ ppd/hpcups/hp-laserjet_p4015dn.ppd.gz \ ppd/hpcups/hp-laserjet_p4015n.ppd.gz \ - ppd/hpcups/hp-laserjet_p4015.ppd.gz \ ppd/hpcups/hp-laserjet_p4015tn.ppd.gz \ ppd/hpcups/hp-laserjet_p4015x.ppd.gz \ - ppd/hpcups/hp-laserjet_p4515n.ppd.gz \ ppd/hpcups/hp-laserjet_p4515.ppd.gz \ + ppd/hpcups/hp-laserjet_p4515n.ppd.gz \ ppd/hpcups/hp-laserjet_p4515tn.ppd.gz \ - ppd/hpcups/hp-laserjet_p4515xm.ppd.gz \ ppd/hpcups/hp-laserjet_p4515x.ppd.gz \ + ppd/hpcups/hp-laserjet_p4515xm.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1132_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1136_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1137_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1138_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1139_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1212nf_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1213nf_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1214nfh_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1216nfh_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1217nfw_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1218nfg_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1218nfs_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1219nf_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1219nfg_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1219nfs_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1102.ppd.gz \ - ppd/hpcups/hp-laserjet_professional_p1102s.ppd.gz \ - ppd/hpcups/hp-laserjet_professional_p_1102w.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1102w.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1106.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1106w.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1107.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1107w.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1108.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1108w.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1109.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1109w.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1566.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1567.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1568.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1569.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1606dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1607dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1608dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1609dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p_1102w.ppd.gz \ ppd/hpcups/hp-mopier_240-pcl3.ppd.gz \ ppd/hpcups/hp-mopier_320-pcl3.ppd.gz \ + ppd/hpcups/hp-officejet.ppd.gz \ ppd/hpcups/hp-officejet_100_mobile_l411.ppd.gz \ + ppd/hpcups/hp-officejet_150_mobile_l511.ppd.gz \ ppd/hpcups/hp-officejet_4000_k210.ppd.gz \ ppd/hpcups/hp-officejet_4100_series.ppd.gz \ ppd/hpcups/hp-officejet_4105.ppd.gz \ @@ -3841,6 +4059,8 @@ ppd/hpcups/hp-officejet_4500_g510g-m.ppd.gz \ ppd/hpcups/hp-officejet_4500_g510n-z.ppd.gz \ ppd/hpcups/hp-officejet_4500_k710.ppd.gz \ + ppd/hpcups/hp-officejet_4610_series.ppd.gz \ + ppd/hpcups/hp-officejet_4620_series.ppd.gz \ ppd/hpcups/hp-officejet_5100_series.ppd.gz \ ppd/hpcups/hp-officejet_5105.ppd.gz \ ppd/hpcups/hp-officejet_5110.ppd.gz \ @@ -3849,6 +4069,7 @@ ppd/hpcups/hp-officejet_5600_series.ppd.gz \ ppd/hpcups/hp-officejet_6000_e609a.ppd.gz \ ppd/hpcups/hp-officejet_6000_e609n.ppd.gz \ + ppd/hpcups/hp-officejet_6100.ppd.gz \ ppd/hpcups/hp-officejet_6100_series.ppd.gz \ ppd/hpcups/hp-officejet_6150_series.ppd.gz \ ppd/hpcups/hp-officejet_6200_series.ppd.gz \ @@ -3857,9 +4078,12 @@ ppd/hpcups/hp-officejet_6500_e709n.ppd.gz \ ppd/hpcups/hp-officejet_6500_e710a-f.ppd.gz \ ppd/hpcups/hp-officejet_6500_e710n-z.ppd.gz \ + ppd/hpcups/hp-officejet_6600.ppd.gz \ + ppd/hpcups/hp-officejet_6700.ppd.gz \ ppd/hpcups/hp-officejet_7000_e809a.ppd.gz \ ppd/hpcups/hp-officejet_7000_e809a_series.ppd.gz \ ppd/hpcups/hp-officejet_7100_series.ppd.gz \ + ppd/hpcups/hp-officejet_7110_series.ppd.gz \ ppd/hpcups/hp-officejet_7200_series.ppd.gz \ ppd/hpcups/hp-officejet_7300_series.ppd.gz \ ppd/hpcups/hp-officejet_7400_series.ppd.gz \ @@ -3886,7 +4110,6 @@ ppd/hpcups/hp-officejet_k80.ppd.gz \ ppd/hpcups/hp-officejet_k80xi.ppd.gz \ ppd/hpcups/hp-officejet_lx.ppd.gz \ - ppd/hpcups/hp-officejet.ppd.gz \ ppd/hpcups/hp-officejet_pro_1150c.ppd.gz \ ppd/hpcups/hp-officejet_pro_1170c_series.ppd.gz \ ppd/hpcups/hp-officejet_pro_8000_a809.ppd.gz \ @@ -3918,7 +4141,6 @@ ppd/hpcups/hp-officejet_series_320.ppd.gz \ ppd/hpcups/hp-officejet_series_330.ppd.gz \ ppd/hpcups/hp-officejet_series_350.ppd.gz \ - ppd/hpcups/hp-officejet_series_500.ppd.gz \ ppd/hpcups/hp-officejet_series_520.ppd.gz \ ppd/hpcups/hp-officejet_series_570.ppd.gz \ ppd/hpcups/hp-officejet_series_580.ppd.gz \ @@ -3956,15 +4178,18 @@ ppd/hpcups/hp-photosmart_380_series.ppd.gz \ ppd/hpcups/hp-photosmart_420_series.ppd.gz \ ppd/hpcups/hp-photosmart_470_series.ppd.gz \ - ppd/hpcups/hp-photosmart_5510d_series.ppd.gz \ ppd/hpcups/hp-photosmart_5510_series.ppd.gz \ + ppd/hpcups/hp-photosmart_5510d_series.ppd.gz \ + ppd/hpcups/hp-photosmart_5520_series.ppd.gz \ ppd/hpcups/hp-photosmart_6510_series.ppd.gz \ + ppd/hpcups/hp-photosmart_6520_series.ppd.gz \ ppd/hpcups/hp-photosmart_7150.ppd.gz \ ppd/hpcups/hp-photosmart_7200_series.ppd.gz \ ppd/hpcups/hp-photosmart_7345.ppd.gz \ ppd/hpcups/hp-photosmart_7350.ppd.gz \ ppd/hpcups/hp-photosmart_7400_series.ppd.gz \ ppd/hpcups/hp-photosmart_7510_series.ppd.gz \ + ppd/hpcups/hp-photosmart_7520_series.ppd.gz \ ppd/hpcups/hp-photosmart_7550.ppd.gz \ ppd/hpcups/hp-photosmart_7600_series.ppd.gz \ ppd/hpcups/hp-photosmart_7700_series.ppd.gz \ @@ -4030,10 +4255,10 @@ ppd/hpcups/hp-photosmart_p1100.ppd.gz \ ppd/hpcups/hp-photosmart_plus_b209a-m.ppd.gz \ ppd/hpcups/hp-photosmart_plus_b210_series.ppd.gz \ + ppd/hpcups/hp-photosmart_prem-web_c309n-s.ppd.gz \ ppd/hpcups/hp-photosmart_prem_c310_series.ppd.gz \ ppd/hpcups/hp-photosmart_prem_c410_series.ppd.gz \ ppd/hpcups/hp-photosmart_premium_c309g-m.ppd.gz \ - ppd/hpcups/hp-photosmart_prem-web_c309n-s.ppd.gz \ ppd/hpcups/hp-photosmart_pro_b8300_series.ppd.gz \ ppd/hpcups/hp-photosmart_pro_b8800_series.ppd.gz \ ppd/hpcups/hp-photosmart_wireless_b109n-z.ppd.gz \ @@ -4083,6 +4308,7 @@ @HPLIP_BUILD_TRUE@hpdir = $(cupsbackenddir) @HPLIP_BUILD_TRUE@hp_SOURCES = prnt/backend/hp.c @HPLIP_BUILD_TRUE@hp_LDADD = libhpmud.la $(DBUS_LIBS) +@HPLIP_BUILD_TRUE@hp_LDFLAGS = $(libhpmud_la_LDFLAGS) @HPLIP_BUILD_TRUE@hp_CFLAGS = $(DBUS_CFLAGS) # hpaio sane backend @@ -4093,24 +4319,32 @@ @HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ scan/sane/common.c scan/sane/common.h scan/sane/soap.h scan/sane/soapht.h scan/sane/sanei_debug.h scan/sane/sanei.h \ @HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ scan/sane/sanei_init_debug.c scan/sane/marvell.h scan/sane/marvelli.h scan/sane/marvell.c scan/sane/soapht.c scan/sane/soap.c \ @HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ scan/sane/soaphti.h scan/sane/soapi.h scan/sane/xml.c scan/sane/xml.h scan/sane/ledm.h scan/sane/ledmi.h scan/sane/ledm.c \ -@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ scan/sane/bb_ledm.c scan/sane/http.h scan/sane/http.c +@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ scan/sane/bb_ledm.c scan/sane/http.h scan/sane/http.c scan/sane/sclpml.c scan/sane/sclpml.h common/utils.c common/utils.h @DARWIN_BUILD_FALSE@@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@libsane_hpaio_la_LDFLAGS = -version-info 1:0:0 @DARWIN_BUILD_TRUE@@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@libsane_hpaio_la_LDFLAGS = -module -framework CoreFoundation -version-info 1:0:0 # The following is a interlibrary dependency that must be compiled first. @HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@libsane_hpaio_la_LIBADD = libhpip.la libhpmud.la $(DBUS_LIBS) -lcups -ldl #libsane_hpaio_la_CFLAGS = -DWITH_NONAMESPACES -DSOAP_DEBUG -@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@libsane_hpaio_la_CFLAGS = $(DBUS_CFLAGS) +@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@libsane_hpaio_la_CFLAGS = $(DBUS_CFLAGS) -D_IPP_PRIVATE_STRUCTURES=1 # hpmud library @HPLIP_BUILD_TRUE@MUDNAME = hpmud -@HPLIP_BUILD_TRUE@libhpmud_la_SOURCES = io/hpmud/hpmud.c io/hpmud/mlc.c io/hpmud/model.c io/hpmud/musb.c io/hpmud/pml.c \ -@HPLIP_BUILD_TRUE@ io/hpmud/hpmud.h io/hpmud/hpmudi.h io/hpmud/list.h io/hpmud/mlc.h io/hpmud/musb.h io/hpmud/pml.h io/hpmud/dot4.c \ -@HPLIP_BUILD_TRUE@ io/hpmud/dot4.h io/hpmud/jd.c io/hpmud/jd.h io/hpmud/pp.c io/hpmud/pp.h - -@HPLIP_BUILD_TRUE@@NETWORK_BUILD_FALSE@libhpmud_la_LDFLAGS = -version-info 0:6:0 -lusb -lpthread -@HPLIP_BUILD_TRUE@@NETWORK_BUILD_TRUE@libhpmud_la_LDFLAGS = -version-info 0:6:0 -lusb -lpthread -l$(SNMPLIB) -lcrypto -@HPLIP_BUILD_TRUE@libhpmud_la_CFLAGS = -DMUDNAME=\"$(MUDNAME)\" -DCONFDIR=\"$(hplip_confdir)\" +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@libhpmud_la_CFLAGS = -I/usr/include/libusb-1.0 -DMUDNAME=\"$(MUDNAME)\" -DCONFDIR=\"$(hplip_confdir)\" +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@libhpmud_la_CFLAGS = -DMUDNAME=\"$(MUDNAME)\" -DCONFDIR=\"$(hplip_confdir)\" +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@libhpmud_la_SOURCES = io/hpmud/hpmud.c io/hpmud/mlc.c io/hpmud/model.c io/hpmud/pml.c \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@ io/hpmud/hpmud.h io/hpmud/hpmudi.h io/hpmud/list.h io/hpmud/mlc.h io/hpmud/pml.h io/hpmud/dot4.c \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@ io/hpmud/dot4.h io/hpmud/jd.c io/hpmud/jd.h io/hpmud/pp.c io/hpmud/pp.h io/hpmud/musb.h io/hpmud/musb.c \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@ common/utils.c common/utils.h + +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@libhpmud_la_SOURCES = io/hpmud/hpmud.c io/hpmud/mlc.c io/hpmud/model.c io/hpmud/pml.c \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@ io/hpmud/hpmud.h io/hpmud/hpmudi.h io/hpmud/list.h io/hpmud/mlc.h io/hpmud/pml.h io/hpmud/dot4.c \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@ io/hpmud/dot4.h io/hpmud/jd.c io/hpmud/jd.h io/hpmud/pp.c io/hpmud/pp.h io/hpmud/musb.h io/hpmud/musb_libusb01.c \ +@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@ common/utils.c common/utils.h + +@HPLIP_BUILD_TRUE@libhpmud_la_LDFLAGS = -version-info 0:6:0 -lpthread \ +@HPLIP_BUILD_TRUE@ -ldl $(am__append_2) $(am__append_3) \ +@HPLIP_BUILD_TRUE@ $(am__append_4) @HPLIP_BUILD_TRUE@libhpip_la_LDFLAGS = -version-info 0:1:0 @HPLIP_BUILD_TRUE@libhpip_la_LIBADD = -lm @HPLIP_BUILD_TRUE@libhpip_la_SOURCES = ip/xconvolve.c ip/xfax.c ip/xgrayout.c ip/xjpg_dct.c ip/xjpg_fix.c ip/xpad.c ip/xrotate.c ip/xskel.c ip/xtiff.c \ @@ -4125,11 +4359,24 @@ @HPLIP_BUILD_TRUE@hp_mkuri_LDADD = -ldl libhpmud.la @HPLIP_BUILD_TRUE@hp_mkuri_CFLAGS = -DCONFDIR=\"$(hplip_confdir)\" +# cron files +@HPLIP_BUILD_TRUE@crondir = /etc/cron.daily +@HPLIP_BUILD_TRUE@dist_cron_DATA = data/rules/hplip_cron + # hpmud.rules @HPLIP_BUILD_TRUE@rulesdir = /etc/udev/rules.d -@HPLIP_BUILD_TRUE@dist_rules_DATA = data/rules/56-hpmud_support.rules \ -@HPLIP_BUILD_TRUE@ data/rules/86-hpmud_plugin.rules \ -@HPLIP_BUILD_TRUE@ $(am__append_2) $(am__append_3) +@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_FALSE@dist_rules_DATA = data/rules/56-hpmud_support.rules \ +@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_FALSE@ data/rules/86-hpmud_plugin.rules \ +@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_FALSE@ data/rules/56-hpmud_add_printer.rules \ +@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_FALSE@ $(am__append_7) \ +@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_FALSE@ $(am__append_8) +@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_TRUE@dist_rules_DATA = data/rules/56-hpmud_support_sysfs.rules \ +@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_TRUE@ data/rules/86-hpmud_plugin_sysfs.rules \ +@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_TRUE@ data/rules/56-hpmud_add_printer_sysfs.rules \ +@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_TRUE@ $(am__append_5) \ +@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_TRUE@ $(am__append_6) \ +@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_TRUE@ $(am__append_7) \ +@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_TRUE@ $(am__append_8) @HPLIP_BUILD_TRUE@halpredir = /usr/share/hal/fdi/preprobe/10osvendor @HPLIP_BUILD_TRUE@dist_halpre_DATA = data/rules/20-hplip-devices.fdi @@ -4143,16 +4390,21 @@ # hplip.state @HPLIP_BUILD_TRUE@hplip_statedir = /var/lib/hp -@HPLIP_BUILD_TRUE@dist_hplip_state_DATA = hplip.state +@HPLIP_BUILD_TRUE@dist_hplip_state_DATA = +#dist_hplip_state_DATA = hplip.state # Log Files @HPLIP_BUILD_TRUE@hplip_Logdir = /var/log/hp +@HPLIP_BUILD_TRUE@hplip_tmpdir = /var/log/hp/tmp @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_hplip_SCRIPTS = hpssd.py __init__.py hpdio.py @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@cmddir = $(hplipdir) @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_cmd_SCRIPTS = align.py info.py print.py toolbox.py clean.py colorcal.py unload.py testpage.py makeuri.py check.py fab.py levels.py \ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ sendfax.py setup.py makecopies.py probe.py timedate.py firmware.py scan.py systray.py plugin.py linefeedcal.py pqdiag.py \ -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ faxsetup.py devicesettings.py printsettings.py query.py pkservice.py wificonfig.py check-plugin.py diagnose_plugin.py +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ faxsetup.py devicesettings.py printsettings.py query.py pkservice.py wificonfig.py diagnose_plugin.py uninstall.py \ +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ upgrade.py config_usb_printer.py diagnose_queues.py logcapture.py doctor.py +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@homedir = $(hplipdir) +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_home_DATA = check-plugin.py # base @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@basedir = $(hplipdir)/base @@ -4160,12 +4412,13 @@ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ base/__init__.py base/mfpdtf.py base/utils.py base/wifi.py base/LedmWifi.py \ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ base/device.py base/logger.py base/slp.py base/exif.py base/strings.py base/magic.py \ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ base/imagesize.py base/pexpect.py base/models.py base/mdns.py base/tui.py base/dime.py \ -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ base/ldif.py base/vcard.py base/module.py base/pkit.py +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ base/ldif.py base/vcard.py base/module.py base/pkit.py base/queues.py base/password.py \ +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ base/services.py base/os_utils.py base/smart_install.py # installer @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@installdir = $(hplipdir)/installer -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_install_DATA = installer/__init__.py installer/dcheck.py installer/distros.dat installer/core_install.py +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_install_DATA = installer/__init__.py installer/dcheck.py installer/distros.dat installer/core_install.py installer/pluginhandler.py # makecopies @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@copierdir = $(hplipdir)/copier @@ -4204,6 +4457,7 @@ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_postscript_DATA = data/ps/testpage.ps.gz data/ps/clean_page.pdf.gz @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_models_DATA = data/models/models.dat @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_hplip_Log_DATA = +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_hplip_tmp_DATA = @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_images_16x16_DATA = data/images/16x16/* @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_images_24x24_DATA = data/images/24x24/* @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_images_32x32_DATA = data/images/32x32/* @@ -4244,7 +4498,7 @@ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@cupsext_LTLIBRARIES = cupsext.la @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@cupsext_la_LDFLAGS = -module -avoid-version @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@cupsext_la_SOURCES = prnt/cupsext/cupsext.c -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@cupsext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@cupsext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) -D_IPP_PRIVATE_STRUCTURES=1 @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@cupsext_la_LIBADD = -lcups # scan @@ -4264,7 +4518,9 @@ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hpmudext_la_LDFLAGS = -module -avoid-version @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hpmudext_la_SOURCES = io/mudext/hpmudext.c @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hpmudext_la_LIBADD = libhpmud.la -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hpmudext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_FALSE@hpmudext_la_CFLAGS = -I/usr/include/libusb-1.0 -I$(PYTHONINCLUDEDIR) +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@@LIBUSB01_BUILD_TRUE@hpmudext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) + # ui (qt3) @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@uidir = $(hplipdir)/ui @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@dist_ui_DATA = ui/alignform.py \ @@ -4287,7 +4543,7 @@ @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ ui/scrollunload.py ui/scrollcopy.py ui/pluginform2.py ui/pluginform2_base.py ui/systemtray.py \ @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ ui/ui_utils.py ui/jobstoragemixin.py ui/pluginlicenseform_base.py ui/pluginlicenseform.py \ @FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ ui/align13form_base.py ui/align13form.py ui/firmwaredialog_base.py ui/firmwaredialog.py \ -@FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ ui/deviceuricombobox.py +@FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@@QT3_INSTALL_TRUE@ ui/deviceuricombobox.py ui/upgradeform.py ui/upgradeform_base.py #ui4 (qt4) @@ -4321,26 +4577,25 @@ @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hppgsz_LDADD = libapdk.la -ljpeg -ldl # hplip.desktop -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hplip_desktopdir = $(icondir) -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hplip_desktop_DATA = hplip.desktop +@FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@hplip_desktopdir = $(icondir) +@FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@hplip_desktop_DATA = hplip.desktop # hplip-systray.desktop -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hplip_systraydir = $(systraydir) -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hplip_systray_DATA = hplip-systray.desktop +@FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@hplip_systraydir = $(systraydir) +@FULL_BUILD_TRUE@@GUI_BUILD_TRUE@@HPLIP_BUILD_TRUE@hplip_systray_DATA = hplip-systray.desktop # hpipjs (CUPS filter) @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hplipjsdir = $(cupsfilterdir) @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hplipjs_SOURCES = prnt/filters/hplipjs.c -# hpps (CUPS filter) -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hppsdir = $(cupsfilterdir) -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hpps_SOURCES = prnt/hpps/hppsfilter.c -@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hpps_LDADD = -lcups - # hpcac (CUPS filter, Color Access Control, ie: CLJ 4700) @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@cacdir = $(cupsfilterdir) @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_cac_SCRIPTS = prnt/filters/hpcac +# hpps (Finishing PS filter) +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@findir = $(cupsfilterdir) +@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@dist_fin_SCRIPTS = prnt/filters/hpps + # foomatic-rip-hplip @RIP_INSTALL_TRUE@ripdir = $(cupsfilterdir) @RIP_INSTALL_TRUE@dist_rip_SCRIPTS = prnt/hpijs/foomatic-rip-hplip @@ -4375,7 +4630,8 @@ prnt/hpijs/ljjetready.cpp prnt/hpijs/ljjetready.h prnt/hpijs/jdatadbf.c prnt/hpijs/jccolor.c prnt/hpijs/ljfastraster.cpp prnt/hpijs/ljfastraster.h \ prnt/hpijs/jinclude.h prnt/hpijs/jpegint.h prnt/hpijs/dj55xx.h prnt/hpijs/hpijsfax.h prnt/hpijs/ojprokx50.h \ prnt/hpijs/ljzjs.cpp prnt/hpijs/ljzjs.h prnt/hpijs/ljzjsmono.cpp prnt/hpijs/ljm1005.cpp prnt/hpijs/ljm1005.h \ - prnt/hpijs/ljzjsmono.h prnt/hpijs/hpjbig_wrapper.h prnt/hpijs/quickconnect.cpp prnt/hpijs/quickconnect.h prnt/hpijs/ljp1xxx.h prnt/hpijs/ljzjscolor.cpp prnt/hpijs/ljzjscolor.h + prnt/hpijs/ljzjsmono.h prnt/hpijs/hpjbig_wrapper.h prnt/hpijs/quickconnect.cpp prnt/hpijs/quickconnect.h prnt/hpijs/ljp1xxx.h prnt/hpijs/ljzjscolor.cpp prnt/hpijs/ljzjscolor.h \ + common/utils.c common/utils.h libapdk_la_CXXFLAGS = -DAPDK_DJ660 -DAPDK_DJ6xx -DAPDK_DJ6xxPhoto -DAPDK_DJ8xx -DAPDK_DJ9xx -DAPDK_DJ9xxVIP -DAPDK_DJ630 \ -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX -DAPDK_APOLLO2560 -DAPDK_DJ600 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100 -DAPDK_AUTODUPLEX \ @@ -4386,7 +4642,8 @@ libapdk_la_CFLAGS = $(libapdk_la_CXXFLAGS) -Iprnt/hpijs @HPIJS_INSTALL_TRUE@hpijs_SOURCES = prnt/hpijs/hpijs.cpp prnt/hpijs/ijs_server.c prnt/hpijs/ijs.c prnt/hpijs/hpijsfax.cpp prnt/hpijs/services.cpp prnt/hpijs/bug.h \ -@HPIJS_INSTALL_TRUE@ prnt/hpijs/hpijs.h prnt/hpijs/ijs.h prnt/hpijs/ijs_server.h prnt/hpijs/services.h prnt/hpijs/ijs_client.h prnt/hpijs/hpiom.c prnt/hpijs/hpiom.h +@HPIJS_INSTALL_TRUE@ prnt/hpijs/hpijs.h prnt/hpijs/ijs.h prnt/hpijs/ijs_server.h prnt/hpijs/services.h prnt/hpijs/ijs_client.h prnt/hpijs/hpiom.c \ +@HPIJS_INSTALL_TRUE@ prnt/hpijs/hpiom.h common/utils.h common/utils.c @HPIJS_INSTALL_TRUE@hpijs_CXXFLAGS = $(libapdk_la_CXXFLAGS) @HPIJS_INSTALL_TRUE@hpijs_CFLAGS = $(libapdk_la_CFLAGS) @@ -4405,7 +4662,7 @@ @HPCUPS_INSTALL_TRUE@ prnt/hpcups/Pcl3Gui.cpp prnt/hpcups/Pcl3Gui.h prnt/hpcups/Pcl3Gui2.cpp prnt/hpcups/Pcl3Gui2.h \ @HPCUPS_INSTALL_TRUE@ prnt/hpcups/LJMono.cpp prnt/hpcups/LJMono.h prnt/hpcups/LJColor.cpp prnt/hpcups/LJColor.h \ @HPCUPS_INSTALL_TRUE@ prnt/hpcups/LJFastRaster.cpp prnt/hpcups/LJFastRaster.h prnt/hpcups/LJJetReady.cpp prnt/hpcups/LJJetReady.h \ -@HPCUPS_INSTALL_TRUE@prnt/hpcups/LJZjStream.cpp prnt/hpcups/LJZjStream.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/LJZjStream.cpp prnt/hpcups/LJZjStream.h \ @HPCUPS_INSTALL_TRUE@ prnt/hpcups/LJZxStream.cpp prnt/hpcups/LJZxStream.h prnt/hpcups/Job.cpp prnt/hpcups/Job.h \ @HPCUPS_INSTALL_TRUE@ prnt/hpcups/Pipeline.cpp prnt/hpcups/Pipeline.h prnt/hpcups/Processor.cpp prnt/hpcups/Processor.h \ @HPCUPS_INSTALL_TRUE@ prnt/hpcups/RasterSender.cpp prnt/hpcups/RasterSender.h prnt/hpcups/ColorMatcher.cpp prnt/hpcups/ColorMatcher.h \ @@ -4414,19 +4671,21 @@ @HPCUPS_INSTALL_TRUE@ prnt/hpcups/dj4100ColorMaps.cpp \ @HPCUPS_INSTALL_TRUE@ prnt/hpcups/BreakTables.cpp prnt/hpcups/PrinterCommands.h prnt/hpcups/Utils.cpp prnt/hpcups/Utils.h \ @HPCUPS_INSTALL_TRUE@ prnt/hpcups/SystemServices.cpp prnt/hpcups/SystemServices.h prnt/hpcups/CommonDefinitions.h prnt/hpcups/hpjbig_wrapper.h \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/apPrintModes.h prnt/hpcups/dj400PrintModes.h prnt/hpcups/dj540PrintModes.h prnt/hpcups/dj600PrintModes.h \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/dj630PrintModes.h prnt/hpcups/dj690PrintModes.h prnt/hpcups/dj850PrintModes.h prnt/hpcups/dj890PrintModes.h \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/dj895PrintModes.h prnt/hpcups/dj8x5PrintModes.h prnt/hpcups/dj970PrintModes.h prnt/hpcups/Pcl3GuiPrintModes.h \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/Pcl3PrintModes.h prnt/hpcups/ColorMaps.h \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/QuickConnect.cpp prnt/hpcups/QuickConnect.h \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/ModeJpeg.cpp prnt/hpcups/ModeJpeg.h \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/jccolor.c prnt/hpcups/jinclude.h \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/jdatadbf.c prnt/hpcups/jinclude.h \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/Lidil.cpp prnt/hpcups/Lidil.h \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/LidilCompress.cpp prnt/hpcups/LidilCompress.h \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/LidilPrintModes.h prnt/hpcups/dj3320ColorMaps.cpp \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/dj3600ColorMaps.cpp prnt/hpcups/dj3320PrintModes.h \ -@HPCUPS_INSTALL_TRUE@ prnt/hpcups/dj4100PrintModes.h +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/apPrintModes.h prnt/hpcups/dj400PrintModes.h prnt/hpcups/dj540PrintModes.h prnt/hpcups/dj600PrintModes.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/dj630PrintModes.h prnt/hpcups/dj690PrintModes.h prnt/hpcups/dj850PrintModes.h prnt/hpcups/dj890PrintModes.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/dj895PrintModes.h prnt/hpcups/dj8x5PrintModes.h prnt/hpcups/dj970PrintModes.h prnt/hpcups/Pcl3GuiPrintModes.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/Pcl3PrintModes.h prnt/hpcups/ColorMaps.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/QuickConnect.cpp prnt/hpcups/QuickConnect.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/ModeJpeg.cpp prnt/hpcups/ModeJpeg.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/jccolor.c prnt/hpcups/jinclude.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/jdatadbf.c prnt/hpcups/jinclude.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/Lidil.cpp prnt/hpcups/Lidil.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/LidilCompress.cpp prnt/hpcups/LidilCompress.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/LidilPrintModes.h prnt/hpcups/dj3320ColorMaps.cpp \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/dj3600ColorMaps.cpp prnt/hpcups/dj3320PrintModes.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/dj4100PrintModes.h \ +@HPCUPS_INSTALL_TRUE@ prnt/hpcups/Hbpl1.cpp prnt/hpcups/Hbpl1.h prnt/hpcups/Hbpl1_Wrapper.h \ +@HPCUPS_INSTALL_TRUE@ common/utils.c common/utils.h @HPCUPS_INSTALL_TRUE@hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG) $(DBUS_CFLAGS) @HPCUPS_INSTALL_TRUE@hpcups_LDADD = -ljpeg -ldl -lcups -lcupsimage $(DBUS_LIBS) @@ -4444,13 +4703,13 @@ #endif # NEW_HPCUPS # hpcupsfax @FAX_BUILD_TRUE@@HPCUPS_INSTALL_TRUE@@HPCUPS_ONLY_BUILD_FALSE@hpcupsfaxdir = $(cupsfilterdir) -@FAX_BUILD_TRUE@@HPCUPS_INSTALL_TRUE@@HPCUPS_ONLY_BUILD_FALSE@hpcupsfax_SOURCES = prnt/hpijs/hpcupsfax.cpp prnt/hpijs/hpcupsfax.h -@FAX_BUILD_TRUE@@HPCUPS_INSTALL_TRUE@@HPCUPS_ONLY_BUILD_FALSE@hpcupsfax_LDADD = libhpip.la -lcups -lcupsimage +@FAX_BUILD_TRUE@@HPCUPS_INSTALL_TRUE@@HPCUPS_ONLY_BUILD_FALSE@hpcupsfax_SOURCES = prnt/hpijs/hpcupsfax.cpp prnt/hpijs/hpcupsfax.h common/utils.h common/utils.c +@FAX_BUILD_TRUE@@HPCUPS_INSTALL_TRUE@@HPCUPS_ONLY_BUILD_FALSE@hpcupsfax_LDADD = libhpip.la -lcups -lcupsimage -ldl # PPDs ppddir = $(hpppddir) -dist_ppd_DATA = $(foomatic_ps_printers) $(am__append_9) \ - $(am__append_10) +dist_ppd_DATA = $(foomatic_ps_printers) $(am__append_14) \ + $(am__append_15) @FOOMATIC_DRV_INSTALL_TRUE@cupsdrvdir = $(drvdir) @FOOMATIC_DRV_INSTALL_TRUE@cupsdrv_DATA = $(foomatic_drv) @CUPS_DRV_INSTALL_TRUE@cupsdrv2dir = $(drvdir) @@ -4976,49 +5235,6 @@ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list -install-hppsPROGRAMS: $(hpps_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(hppsdir)" || $(MKDIR_P) "$(DESTDIR)$(hppsdir)" - @list='$(hpps_PROGRAMS)'; test -n "$(hppsdir)" || list=; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p || test -f $$p1; \ - then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(hppsdir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(hppsdir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-hppsPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(hpps_PROGRAMS)'; test -n "$(hppsdir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(hppsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(hppsdir)" && rm -f $$files - -clean-hppsPROGRAMS: - @list='$(hpps_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ @@ -5049,9 +5265,6 @@ hppgsz$(EXEEXT): $(hppgsz_OBJECTS) $(hppgsz_DEPENDENCIES) @rm -f hppgsz$(EXEEXT) $(hppgsz_LINK) $(hppgsz_OBJECTS) $(hppgsz_LDADD) $(LIBS) -hpps$(EXEEXT): $(hpps_OBJECTS) $(hpps_DEPENDENCIES) - @rm -f hpps$(EXEEXT) - $(LINK) $(hpps_OBJECTS) $(hpps_LDADD) $(LIBS) ptest$(EXEEXT): $(ptest_OBJECTS) $(ptest_DEPENDENCIES) @rm -f ptest$(EXEEXT) $(LINK) $(ptest_OBJECTS) $(ptest_LDADD) $(LIBS) @@ -5123,6 +5336,40 @@ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(cmddir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(cmddir)" && rm -f $$files +install-dist_finSCRIPTS: $(dist_fin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(findir)" || $(MKDIR_P) "$(DESTDIR)$(findir)" + @list='$(dist_fin_SCRIPTS)'; test -n "$(findir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(findir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(findir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-dist_finSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(dist_fin_SCRIPTS)'; test -n "$(findir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(findir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(findir)" && rm -f $$files install-dist_hpfaxSCRIPTS: $(dist_hpfax_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(hpfaxdir)" || $(MKDIR_P) "$(DESTDIR)$(hpfaxdir)" @@ -5312,6 +5559,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hpcups-ErnieFilter.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hpcups-HPCupsFilter.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hpcups-Halftoner.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hpcups-Hbpl1.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hpcups-Job.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hpcups-LJColor.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hpcups-LJFastRaster.Po@am__quote@ @@ -5353,10 +5601,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hpijs-ijs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hpijs-ijs_server.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hpijs-services.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hpijs-utils.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hplipjs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hpmudext_la-hpmudext.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hppgsz-PrinterProperties.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hppsfilter.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ipmain.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jccolor.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdatadbf.Po@am__quote@ @@ -5430,6 +5678,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libapdk_la-script.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libapdk_la-systemservices.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libapdk_la-translator.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libapdk_la-utils.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libapdk_la-version.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libapdk_la-versioncode.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhpmud_la-dot4.Plo@am__quote@ @@ -5438,8 +5687,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhpmud_la-mlc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhpmud_la-model.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhpmud_la-musb.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhpmud_la-musb_libusb01.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhpmud_la-pml.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhpmud_la-pp.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhpmud_la-utils.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsane_hpaio_la-bb_ledm.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsane_hpaio_la-common.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsane_hpaio_la-hpaio.Plo@am__quote@ @@ -5451,13 +5702,16 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsane_hpaio_la-pml.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsane_hpaio_la-sanei_init_debug.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsane_hpaio_la-scl.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsane_hpaio_la-sclpml.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsane_hpaio_la-soap.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsane_hpaio_la-soapht.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsane_hpaio_la-utils.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsane_hpaio_la-xml.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcardext_la-fat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcardext_la-pcardext.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scanext_la-scanext.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utils.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xbi2gray.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xchgbpp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xcolrspc.Plo@am__quote@ @@ -5537,6 +5791,13 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libapdk_la_CFLAGS) $(CFLAGS) -c -o libapdk_la-jccolor.lo `test -f 'prnt/hpijs/jccolor.c' || echo '$(srcdir)/'`prnt/hpijs/jccolor.c +libapdk_la-utils.lo: common/utils.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libapdk_la_CFLAGS) $(CFLAGS) -MT libapdk_la-utils.lo -MD -MP -MF $(DEPDIR)/libapdk_la-utils.Tpo -c -o libapdk_la-utils.lo `test -f 'common/utils.c' || echo '$(srcdir)/'`common/utils.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libapdk_la-utils.Tpo $(DEPDIR)/libapdk_la-utils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='common/utils.c' object='libapdk_la-utils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libapdk_la_CFLAGS) $(CFLAGS) -c -o libapdk_la-utils.lo `test -f 'common/utils.c' || echo '$(srcdir)/'`common/utils.c + xconvolve.lo: ip/xconvolve.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xconvolve.lo -MD -MP -MF $(DEPDIR)/xconvolve.Tpo -c -o xconvolve.lo `test -f 'ip/xconvolve.c' || echo '$(srcdir)/'`ip/xconvolve.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/xconvolve.Tpo $(DEPDIR)/xconvolve.Plo @@ -5768,13 +6029,6 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhpmud_la_CFLAGS) $(CFLAGS) -c -o libhpmud_la-model.lo `test -f 'io/hpmud/model.c' || echo '$(srcdir)/'`io/hpmud/model.c -libhpmud_la-musb.lo: io/hpmud/musb.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhpmud_la_CFLAGS) $(CFLAGS) -MT libhpmud_la-musb.lo -MD -MP -MF $(DEPDIR)/libhpmud_la-musb.Tpo -c -o libhpmud_la-musb.lo `test -f 'io/hpmud/musb.c' || echo '$(srcdir)/'`io/hpmud/musb.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libhpmud_la-musb.Tpo $(DEPDIR)/libhpmud_la-musb.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io/hpmud/musb.c' object='libhpmud_la-musb.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhpmud_la_CFLAGS) $(CFLAGS) -c -o libhpmud_la-musb.lo `test -f 'io/hpmud/musb.c' || echo '$(srcdir)/'`io/hpmud/musb.c - libhpmud_la-pml.lo: io/hpmud/pml.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhpmud_la_CFLAGS) $(CFLAGS) -MT libhpmud_la-pml.lo -MD -MP -MF $(DEPDIR)/libhpmud_la-pml.Tpo -c -o libhpmud_la-pml.lo `test -f 'io/hpmud/pml.c' || echo '$(srcdir)/'`io/hpmud/pml.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libhpmud_la-pml.Tpo $(DEPDIR)/libhpmud_la-pml.Plo @@ -5803,6 +6057,27 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhpmud_la_CFLAGS) $(CFLAGS) -c -o libhpmud_la-pp.lo `test -f 'io/hpmud/pp.c' || echo '$(srcdir)/'`io/hpmud/pp.c +libhpmud_la-musb.lo: io/hpmud/musb.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhpmud_la_CFLAGS) $(CFLAGS) -MT libhpmud_la-musb.lo -MD -MP -MF $(DEPDIR)/libhpmud_la-musb.Tpo -c -o libhpmud_la-musb.lo `test -f 'io/hpmud/musb.c' || echo '$(srcdir)/'`io/hpmud/musb.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libhpmud_la-musb.Tpo $(DEPDIR)/libhpmud_la-musb.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io/hpmud/musb.c' object='libhpmud_la-musb.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhpmud_la_CFLAGS) $(CFLAGS) -c -o libhpmud_la-musb.lo `test -f 'io/hpmud/musb.c' || echo '$(srcdir)/'`io/hpmud/musb.c + +libhpmud_la-utils.lo: common/utils.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhpmud_la_CFLAGS) $(CFLAGS) -MT libhpmud_la-utils.lo -MD -MP -MF $(DEPDIR)/libhpmud_la-utils.Tpo -c -o libhpmud_la-utils.lo `test -f 'common/utils.c' || echo '$(srcdir)/'`common/utils.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libhpmud_la-utils.Tpo $(DEPDIR)/libhpmud_la-utils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='common/utils.c' object='libhpmud_la-utils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhpmud_la_CFLAGS) $(CFLAGS) -c -o libhpmud_la-utils.lo `test -f 'common/utils.c' || echo '$(srcdir)/'`common/utils.c + +libhpmud_la-musb_libusb01.lo: io/hpmud/musb_libusb01.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhpmud_la_CFLAGS) $(CFLAGS) -MT libhpmud_la-musb_libusb01.lo -MD -MP -MF $(DEPDIR)/libhpmud_la-musb_libusb01.Tpo -c -o libhpmud_la-musb_libusb01.lo `test -f 'io/hpmud/musb_libusb01.c' || echo '$(srcdir)/'`io/hpmud/musb_libusb01.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libhpmud_la-musb_libusb01.Tpo $(DEPDIR)/libhpmud_la-musb_libusb01.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io/hpmud/musb_libusb01.c' object='libhpmud_la-musb_libusb01.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhpmud_la_CFLAGS) $(CFLAGS) -c -o libhpmud_la-musb_libusb01.lo `test -f 'io/hpmud/musb_libusb01.c' || echo '$(srcdir)/'`io/hpmud/musb_libusb01.c + libsane_hpaio_la-hpaio.lo: scan/sane/hpaio.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsane_hpaio_la_CFLAGS) $(CFLAGS) -MT libsane_hpaio_la-hpaio.lo -MD -MP -MF $(DEPDIR)/libsane_hpaio_la-hpaio.Tpo -c -o libsane_hpaio_la-hpaio.lo `test -f 'scan/sane/hpaio.c' || echo '$(srcdir)/'`scan/sane/hpaio.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libsane_hpaio_la-hpaio.Tpo $(DEPDIR)/libsane_hpaio_la-hpaio.Plo @@ -5901,6 +6176,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsane_hpaio_la_CFLAGS) $(CFLAGS) -c -o libsane_hpaio_la-http.lo `test -f 'scan/sane/http.c' || echo '$(srcdir)/'`scan/sane/http.c +libsane_hpaio_la-sclpml.lo: scan/sane/sclpml.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsane_hpaio_la_CFLAGS) $(CFLAGS) -MT libsane_hpaio_la-sclpml.lo -MD -MP -MF $(DEPDIR)/libsane_hpaio_la-sclpml.Tpo -c -o libsane_hpaio_la-sclpml.lo `test -f 'scan/sane/sclpml.c' || echo '$(srcdir)/'`scan/sane/sclpml.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libsane_hpaio_la-sclpml.Tpo $(DEPDIR)/libsane_hpaio_la-sclpml.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='scan/sane/sclpml.c' object='libsane_hpaio_la-sclpml.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsane_hpaio_la_CFLAGS) $(CFLAGS) -c -o libsane_hpaio_la-sclpml.lo `test -f 'scan/sane/sclpml.c' || echo '$(srcdir)/'`scan/sane/sclpml.c + +libsane_hpaio_la-utils.lo: common/utils.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsane_hpaio_la_CFLAGS) $(CFLAGS) -MT libsane_hpaio_la-utils.lo -MD -MP -MF $(DEPDIR)/libsane_hpaio_la-utils.Tpo -c -o libsane_hpaio_la-utils.lo `test -f 'common/utils.c' || echo '$(srcdir)/'`common/utils.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libsane_hpaio_la-utils.Tpo $(DEPDIR)/libsane_hpaio_la-utils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='common/utils.c' object='libsane_hpaio_la-utils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsane_hpaio_la_CFLAGS) $(CFLAGS) -c -o libsane_hpaio_la-utils.lo `test -f 'common/utils.c' || echo '$(srcdir)/'`common/utils.c + pcardext_la-pcardext.lo: pcard/pcardext/pcardext.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pcardext_la_CFLAGS) $(CFLAGS) -MT pcardext_la-pcardext.lo -MD -MP -MF $(DEPDIR)/pcardext_la-pcardext.Tpo -c -o pcardext_la-pcardext.lo `test -f 'pcard/pcardext/pcardext.c' || echo '$(srcdir)/'`pcard/pcardext/pcardext.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/pcardext_la-pcardext.Tpo $(DEPDIR)/pcardext_la-pcardext.Plo @@ -5978,6 +6267,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o jdatadbf.obj `if test -f 'prnt/hpcups/jdatadbf.c'; then $(CYGPATH_W) 'prnt/hpcups/jdatadbf.c'; else $(CYGPATH_W) '$(srcdir)/prnt/hpcups/jdatadbf.c'; fi` +utils.o: common/utils.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT utils.o -MD -MP -MF $(DEPDIR)/utils.Tpo -c -o utils.o `test -f 'common/utils.c' || echo '$(srcdir)/'`common/utils.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/utils.Tpo $(DEPDIR)/utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='common/utils.c' object='utils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o utils.o `test -f 'common/utils.c' || echo '$(srcdir)/'`common/utils.c + +utils.obj: common/utils.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT utils.obj -MD -MP -MF $(DEPDIR)/utils.Tpo -c -o utils.obj `if test -f 'common/utils.c'; then $(CYGPATH_W) 'common/utils.c'; else $(CYGPATH_W) '$(srcdir)/common/utils.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/utils.Tpo $(DEPDIR)/utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='common/utils.c' object='utils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o utils.obj `if test -f 'common/utils.c'; then $(CYGPATH_W) 'common/utils.c'; else $(CYGPATH_W) '$(srcdir)/common/utils.c'; fi` + hpijs-ijs_server.o: prnt/hpijs/ijs_server.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hpijs_CFLAGS) $(CFLAGS) -MT hpijs-ijs_server.o -MD -MP -MF $(DEPDIR)/hpijs-ijs_server.Tpo -c -o hpijs-ijs_server.o `test -f 'prnt/hpijs/ijs_server.c' || echo '$(srcdir)/'`prnt/hpijs/ijs_server.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/hpijs-ijs_server.Tpo $(DEPDIR)/hpijs-ijs_server.Po @@ -6020,6 +6323,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hpijs_CFLAGS) $(CFLAGS) -c -o hpijs-hpiom.obj `if test -f 'prnt/hpijs/hpiom.c'; then $(CYGPATH_W) 'prnt/hpijs/hpiom.c'; else $(CYGPATH_W) '$(srcdir)/prnt/hpijs/hpiom.c'; fi` +hpijs-utils.o: common/utils.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hpijs_CFLAGS) $(CFLAGS) -MT hpijs-utils.o -MD -MP -MF $(DEPDIR)/hpijs-utils.Tpo -c -o hpijs-utils.o `test -f 'common/utils.c' || echo '$(srcdir)/'`common/utils.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/hpijs-utils.Tpo $(DEPDIR)/hpijs-utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='common/utils.c' object='hpijs-utils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hpijs_CFLAGS) $(CFLAGS) -c -o hpijs-utils.o `test -f 'common/utils.c' || echo '$(srcdir)/'`common/utils.c + +hpijs-utils.obj: common/utils.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hpijs_CFLAGS) $(CFLAGS) -MT hpijs-utils.obj -MD -MP -MF $(DEPDIR)/hpijs-utils.Tpo -c -o hpijs-utils.obj `if test -f 'common/utils.c'; then $(CYGPATH_W) 'common/utils.c'; else $(CYGPATH_W) '$(srcdir)/common/utils.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/hpijs-utils.Tpo $(DEPDIR)/hpijs-utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='common/utils.c' object='hpijs-utils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hpijs_CFLAGS) $(CFLAGS) -c -o hpijs-utils.obj `if test -f 'common/utils.c'; then $(CYGPATH_W) 'common/utils.c'; else $(CYGPATH_W) '$(srcdir)/common/utils.c'; fi` + hplipjs.o: prnt/filters/hplipjs.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hplipjs.o -MD -MP -MF $(DEPDIR)/hplipjs.Tpo -c -o hplipjs.o `test -f 'prnt/filters/hplipjs.c' || echo '$(srcdir)/'`prnt/filters/hplipjs.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/hplipjs.Tpo $(DEPDIR)/hplipjs.Po @@ -6034,20 +6351,6 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hplipjs.obj `if test -f 'prnt/filters/hplipjs.c'; then $(CYGPATH_W) 'prnt/filters/hplipjs.c'; else $(CYGPATH_W) '$(srcdir)/prnt/filters/hplipjs.c'; fi` -hppsfilter.o: prnt/hpps/hppsfilter.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hppsfilter.o -MD -MP -MF $(DEPDIR)/hppsfilter.Tpo -c -o hppsfilter.o `test -f 'prnt/hpps/hppsfilter.c' || echo '$(srcdir)/'`prnt/hpps/hppsfilter.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/hppsfilter.Tpo $(DEPDIR)/hppsfilter.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='prnt/hpps/hppsfilter.c' object='hppsfilter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hppsfilter.o `test -f 'prnt/hpps/hppsfilter.c' || echo '$(srcdir)/'`prnt/hpps/hppsfilter.c - -hppsfilter.obj: prnt/hpps/hppsfilter.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hppsfilter.obj -MD -MP -MF $(DEPDIR)/hppsfilter.Tpo -c -o hppsfilter.obj `if test -f 'prnt/hpps/hppsfilter.c'; then $(CYGPATH_W) 'prnt/hpps/hppsfilter.c'; else $(CYGPATH_W) '$(srcdir)/prnt/hpps/hppsfilter.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/hppsfilter.Tpo $(DEPDIR)/hppsfilter.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='prnt/hpps/hppsfilter.c' object='hppsfilter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hppsfilter.obj `if test -f 'prnt/hpps/hppsfilter.c'; then $(CYGPATH_W) 'prnt/hpps/hppsfilter.c'; else $(CYGPATH_W) '$(srcdir)/prnt/hpps/hppsfilter.c'; fi` - ptest.o: pcard/ptest.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ptest.o -MD -MP -MF $(DEPDIR)/ptest.Tpo -c -o ptest.o `test -f 'pcard/ptest.c' || echo '$(srcdir)/'`pcard/ptest.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ptest.Tpo $(DEPDIR)/ptest.Po @@ -7175,6 +7478,20 @@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hpcups_CXXFLAGS) $(CXXFLAGS) -c -o hpcups-dj3600ColorMaps.obj `if test -f 'prnt/hpcups/dj3600ColorMaps.cpp'; then $(CYGPATH_W) 'prnt/hpcups/dj3600ColorMaps.cpp'; else $(CYGPATH_W) '$(srcdir)/prnt/hpcups/dj3600ColorMaps.cpp'; fi` +hpcups-Hbpl1.o: prnt/hpcups/Hbpl1.cpp +@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hpcups_CXXFLAGS) $(CXXFLAGS) -MT hpcups-Hbpl1.o -MD -MP -MF $(DEPDIR)/hpcups-Hbpl1.Tpo -c -o hpcups-Hbpl1.o `test -f 'prnt/hpcups/Hbpl1.cpp' || echo '$(srcdir)/'`prnt/hpcups/Hbpl1.cpp +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/hpcups-Hbpl1.Tpo $(DEPDIR)/hpcups-Hbpl1.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='prnt/hpcups/Hbpl1.cpp' object='hpcups-Hbpl1.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hpcups_CXXFLAGS) $(CXXFLAGS) -c -o hpcups-Hbpl1.o `test -f 'prnt/hpcups/Hbpl1.cpp' || echo '$(srcdir)/'`prnt/hpcups/Hbpl1.cpp + +hpcups-Hbpl1.obj: prnt/hpcups/Hbpl1.cpp +@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hpcups_CXXFLAGS) $(CXXFLAGS) -MT hpcups-Hbpl1.obj -MD -MP -MF $(DEPDIR)/hpcups-Hbpl1.Tpo -c -o hpcups-Hbpl1.obj `if test -f 'prnt/hpcups/Hbpl1.cpp'; then $(CYGPATH_W) 'prnt/hpcups/Hbpl1.cpp'; else $(CYGPATH_W) '$(srcdir)/prnt/hpcups/Hbpl1.cpp'; fi` +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/hpcups-Hbpl1.Tpo $(DEPDIR)/hpcups-Hbpl1.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='prnt/hpcups/Hbpl1.cpp' object='hpcups-Hbpl1.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hpcups_CXXFLAGS) $(CXXFLAGS) -c -o hpcups-Hbpl1.obj `if test -f 'prnt/hpcups/Hbpl1.cpp'; then $(CYGPATH_W) 'prnt/hpcups/Hbpl1.cpp'; else $(CYGPATH_W) '$(srcdir)/prnt/hpcups/Hbpl1.cpp'; fi` + hpcupsfax.o: prnt/hpijs/hpcupsfax.cpp @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hpcupsfax.o -MD -MP -MF $(DEPDIR)/hpcupsfax.Tpo -c -o hpcupsfax.o `test -f 'prnt/hpijs/hpcupsfax.cpp' || echo '$(srcdir)/'`prnt/hpijs/hpcupsfax.cpp @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/hpcupsfax.Tpo $(DEPDIR)/hpcupsfax.Po @@ -7333,6 +7650,14 @@ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(copierdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(copierdir)" && rm -f $$files + +uninstall-dist_cronDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_cron_DATA)'; test -n "$(crondir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(crondir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(crondir)" && rm -f $$files install-dist_faxDATA: $(dist_fax_DATA) @$(NORMAL_INSTALL) test -z "$(faxdir)" || $(MKDIR_P) "$(DESTDIR)$(faxdir)" @@ -7393,6 +7718,26 @@ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(halpredir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(halpredir)" && rm -f $$files +install-dist_homeDATA: $(dist_home_DATA) + @$(NORMAL_INSTALL) + test -z "$(homedir)" || $(MKDIR_P) "$(DESTDIR)$(homedir)" + @list='$(dist_home_DATA)'; test -n "$(homedir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(homedir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(homedir)" || exit $$?; \ + done + +uninstall-dist_homeDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_home_DATA)'; test -n "$(homedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(homedir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(homedir)" && rm -f $$files install-dist_hpcupsfaxppdDATA: $(dist_hpcupsfaxppd_DATA) @$(NORMAL_INSTALL) test -z "$(hpcupsfaxppddir)" || $(MKDIR_P) "$(DESTDIR)$(hpcupsfaxppddir)" @@ -7461,6 +7806,14 @@ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(hplip_statedir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(hplip_statedir)" && rm -f $$files + +uninstall-dist_hplip_tmpDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_hplip_tmp_DATA)'; test -n "$(hplip_tmpdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(hplip_tmpdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(hplip_tmpdir)" && rm -f $$files install-dist_images_128x128DATA: $(dist_images_128x128_DATA) @$(NORMAL_INSTALL) test -z "$(images_128x128dir)" || $(MKDIR_P) "$(DESTDIR)$(images_128x128dir)" @@ -8207,7 +8560,8 @@ fi; \ done -test -n "$(am__skip_mode_fix)" \ - || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ @@ -8251,17 +8605,17 @@ distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac @@ -8326,7 +8680,7 @@ install-binPROGRAMS: install-libLTLIBRARIES installdirs: - for dir in "$(DESTDIR)$(cupsextdir)" "$(DESTDIR)$(hpmudextdir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libsane_hpaiodir)" "$(DESTDIR)$(pcardextdir)" "$(DESTDIR)$(scanextdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(hpdir)" "$(DESTDIR)$(hp_mkuridir)" "$(DESTDIR)$(hpcupsdir)" "$(DESTDIR)$(hpcupsfaxdir)" "$(DESTDIR)$(hplipjsdir)" "$(DESTDIR)$(hppsdir)" "$(DESTDIR)$(cacdir)" "$(DESTDIR)$(cmddir)" "$(DESTDIR)$(hpfaxdir)" "$(DESTDIR)$(hplipdir)" "$(DESTDIR)$(plugins4dir)" "$(DESTDIR)$(ripdir)" "$(DESTDIR)$(pstotiffdir)" "$(DESTDIR)$(cupsdrvdir)" "$(DESTDIR)$(cupsdrv2dir)" "$(DESTDIR)$(basedir)" "$(DESTDIR)$(copierdir)" "$(DESTDIR)$(faxdir)" "$(DESTDIR)$(fax_filtersdir)" "$(DESTDIR)$(halpredir)" "$(DESTDIR)$(hpcupsfaxppddir)" "$(DESTDIR)$(hpijsfaxppddir)" "$(DESTDIR)$(hplip_Logdir)" "$(DESTDIR)$(hplip_statedir)" "$(DESTDIR)$(images_128x128dir)" "$(DESTDIR)$(images_16x16dir)" "$(DESTDIR)$(images_24x24dir)" "$(DESTDIR)$(images_256x256dir)" "$(DESTDIR)$(images_32x32dir)" "$(DESTDIR)$(images_64x64dir)" "$(DESTDIR)$(images_devicesdir)" "$(DESTDIR)$(images_otherdir)" "$(DESTDIR)$(installdir)" "$(DESTDIR)$(ldldir)" "$(DESTDIR)$(localzdir)" "$(DESTDIR)$(modelsdir)" "$(DESTDIR)$(pcarddir)" "$(DESTDIR)$(pcldir)" "$(DESTDIR)$(pluginsdir)" "$(DESTDIR)$(policykit_dbus_etcdir)" "$(DESTDIR)$(policykit_dbus_sharedir)" "$(DESTDIR)$(policykit_policydir)" "$(DESTDIR)$(postscriptdir)" "$(DESTDIR)$(ppddir)" "$(DESTDIR)$(prntdir)" "$(DESTDIR)$(rulesdir)" "$(DESTDIR)$(scandir)" "$(DESTDIR)$(uidir)" "$(DESTDIR)$(ui4dir)" "$(DESTDIR)$(unreldir)" "$(DESTDIR)$(www0dir)" "$(DESTDIR)$(www3dir)" "$(DESTDIR)$(www4dir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(hplip_confdir)" "$(DESTDIR)$(hplip_desktopdir)" "$(DESTDIR)$(hplip_systraydir)"; do \ + for dir in "$(DESTDIR)$(cupsextdir)" "$(DESTDIR)$(hpmudextdir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libsane_hpaiodir)" "$(DESTDIR)$(pcardextdir)" "$(DESTDIR)$(scanextdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(hpdir)" "$(DESTDIR)$(hp_mkuridir)" "$(DESTDIR)$(hpcupsdir)" "$(DESTDIR)$(hpcupsfaxdir)" "$(DESTDIR)$(hplipjsdir)" "$(DESTDIR)$(cacdir)" "$(DESTDIR)$(cmddir)" "$(DESTDIR)$(findir)" "$(DESTDIR)$(hpfaxdir)" "$(DESTDIR)$(hplipdir)" "$(DESTDIR)$(plugins4dir)" "$(DESTDIR)$(ripdir)" "$(DESTDIR)$(pstotiffdir)" "$(DESTDIR)$(cupsdrvdir)" "$(DESTDIR)$(cupsdrv2dir)" "$(DESTDIR)$(basedir)" "$(DESTDIR)$(copierdir)" "$(DESTDIR)$(crondir)" "$(DESTDIR)$(faxdir)" "$(DESTDIR)$(fax_filtersdir)" "$(DESTDIR)$(halpredir)" "$(DESTDIR)$(homedir)" "$(DESTDIR)$(hpcupsfaxppddir)" "$(DESTDIR)$(hpijsfaxppddir)" "$(DESTDIR)$(hplip_Logdir)" "$(DESTDIR)$(hplip_statedir)" "$(DESTDIR)$(hplip_tmpdir)" "$(DESTDIR)$(images_128x128dir)" "$(DESTDIR)$(images_16x16dir)" "$(DESTDIR)$(images_24x24dir)" "$(DESTDIR)$(images_256x256dir)" "$(DESTDIR)$(images_32x32dir)" "$(DESTDIR)$(images_64x64dir)" "$(DESTDIR)$(images_devicesdir)" "$(DESTDIR)$(images_otherdir)" "$(DESTDIR)$(installdir)" "$(DESTDIR)$(ldldir)" "$(DESTDIR)$(localzdir)" "$(DESTDIR)$(modelsdir)" "$(DESTDIR)$(pcarddir)" "$(DESTDIR)$(pcldir)" "$(DESTDIR)$(pluginsdir)" "$(DESTDIR)$(policykit_dbus_etcdir)" "$(DESTDIR)$(policykit_dbus_sharedir)" "$(DESTDIR)$(policykit_policydir)" "$(DESTDIR)$(postscriptdir)" "$(DESTDIR)$(ppddir)" "$(DESTDIR)$(prntdir)" "$(DESTDIR)$(rulesdir)" "$(DESTDIR)$(scandir)" "$(DESTDIR)$(uidir)" "$(DESTDIR)$(ui4dir)" "$(DESTDIR)$(unreldir)" "$(DESTDIR)$(www0dir)" "$(DESTDIR)$(www3dir)" "$(DESTDIR)$(www4dir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(hplip_confdir)" "$(DESTDIR)$(hplip_desktopdir)" "$(DESTDIR)$(hplip_systraydir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am @@ -8359,9 +8713,9 @@ clean-am: clean-binPROGRAMS clean-cupsextLTLIBRARIES clean-generic \ clean-hpPROGRAMS clean-hp_mkuriPROGRAMS clean-hpcupsPROGRAMS \ clean-hpcupsfaxPROGRAMS clean-hplipjsPROGRAMS \ - clean-hpmudextLTLIBRARIES clean-hppsPROGRAMS \ - clean-libLTLIBRARIES clean-libsane_hpaioLTLIBRARIES \ - clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS \ + clean-hpmudextLTLIBRARIES clean-libLTLIBRARIES \ + clean-libsane_hpaioLTLIBRARIES clean-libtool \ + clean-noinstLTLIBRARIES clean-noinstPROGRAMS \ clean-pcardextLTLIBRARIES clean-scanextLTLIBRARIES \ mostlyclean-am @@ -8387,11 +8741,13 @@ install-data-am: install-cupsdrv2DATA install-cupsdrvDATA \ install-cupsextLTLIBRARIES install-dist_baseDATA \ install-dist_cacSCRIPTS install-dist_cmdSCRIPTS \ - install-dist_copierDATA install-dist_faxDATA \ - install-dist_fax_filtersDATA install-dist_halpreDATA \ - install-dist_hpcupsfaxppdDATA install-dist_hpfaxSCRIPTS \ - install-dist_hpijsfaxppdDATA install-dist_hplipSCRIPTS \ - install-dist_hplip_LogDATA install-dist_hplip_stateDATA \ + install-dist_copierDATA install-dist_cronDATA \ + install-dist_faxDATA install-dist_fax_filtersDATA \ + install-dist_finSCRIPTS install-dist_halpreDATA \ + install-dist_homeDATA install-dist_hpcupsfaxppdDATA \ + install-dist_hpfaxSCRIPTS install-dist_hpijsfaxppdDATA \ + install-dist_hplipSCRIPTS install-dist_hplip_LogDATA \ + install-dist_hplip_stateDATA install-dist_hplip_tmpDATA \ install-dist_images_128x128DATA install-dist_images_16x16DATA \ install-dist_images_24x24DATA install-dist_images_256x256DATA \ install-dist_images_32x32DATA install-dist_images_64x64DATA \ @@ -8412,9 +8768,9 @@ install-hpcupsPROGRAMS install-hpcupsfaxPROGRAMS \ install-hplip_confDATA install-hplip_desktopDATA \ install-hplip_systrayDATA install-hplipjsPROGRAMS \ - install-hpmudextLTLIBRARIES install-hppsPROGRAMS \ - install-libsane_hpaioLTLIBRARIES install-pcardextLTLIBRARIES \ - install-pstotiffSCRIPTS install-scanextLTLIBRARIES + install-hpmudextLTLIBRARIES install-libsane_hpaioLTLIBRARIES \ + install-pcardextLTLIBRARIES install-pstotiffSCRIPTS \ + install-scanextLTLIBRARIES @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am @@ -8467,12 +8823,13 @@ uninstall-cupsdrvDATA uninstall-cupsextLTLIBRARIES \ uninstall-dist_baseDATA uninstall-dist_cacSCRIPTS \ uninstall-dist_cmdSCRIPTS uninstall-dist_copierDATA \ - uninstall-dist_faxDATA uninstall-dist_fax_filtersDATA \ - uninstall-dist_halpreDATA uninstall-dist_hpcupsfaxppdDATA \ - uninstall-dist_hpfaxSCRIPTS uninstall-dist_hpijsfaxppdDATA \ - uninstall-dist_hplipSCRIPTS uninstall-dist_hplip_LogDATA \ - uninstall-dist_hplip_stateDATA \ - uninstall-dist_images_128x128DATA \ + uninstall-dist_cronDATA uninstall-dist_faxDATA \ + uninstall-dist_fax_filtersDATA uninstall-dist_finSCRIPTS \ + uninstall-dist_halpreDATA uninstall-dist_homeDATA \ + uninstall-dist_hpcupsfaxppdDATA uninstall-dist_hpfaxSCRIPTS \ + uninstall-dist_hpijsfaxppdDATA uninstall-dist_hplipSCRIPTS \ + uninstall-dist_hplip_LogDATA uninstall-dist_hplip_stateDATA \ + uninstall-dist_hplip_tmpDATA uninstall-dist_images_128x128DATA \ uninstall-dist_images_16x16DATA \ uninstall-dist_images_24x24DATA \ uninstall-dist_images_256x256DATA \ @@ -8498,8 +8855,7 @@ uninstall-hpcupsfaxPROGRAMS uninstall-hplip_confDATA \ uninstall-hplip_desktopDATA uninstall-hplip_systrayDATA \ uninstall-hplipjsPROGRAMS uninstall-hpmudextLTLIBRARIES \ - uninstall-hppsPROGRAMS uninstall-libLTLIBRARIES \ - uninstall-libsane_hpaioLTLIBRARIES \ + uninstall-libLTLIBRARIES uninstall-libsane_hpaioLTLIBRARIES \ uninstall-pcardextLTLIBRARIES uninstall-pstotiffSCRIPTS \ uninstall-scanextLTLIBRARIES @$(NORMAL_INSTALL) @@ -8510,9 +8866,9 @@ clean-binPROGRAMS clean-cupsextLTLIBRARIES clean-generic \ clean-hpPROGRAMS clean-hp_mkuriPROGRAMS clean-hpcupsPROGRAMS \ clean-hpcupsfaxPROGRAMS clean-hplipjsPROGRAMS \ - clean-hpmudextLTLIBRARIES clean-hppsPROGRAMS \ - clean-libLTLIBRARIES clean-libsane_hpaioLTLIBRARIES \ - clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS \ + clean-hpmudextLTLIBRARIES clean-libLTLIBRARIES \ + clean-libsane_hpaioLTLIBRARIES clean-libtool \ + clean-noinstLTLIBRARIES clean-noinstPROGRAMS \ clean-pcardextLTLIBRARIES clean-scanextLTLIBRARIES ctags dist \ dist-all dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ \ dist-xz dist-zip distcheck distclean distclean-compile \ @@ -8523,11 +8879,13 @@ install-cupsextLTLIBRARIES install-data install-data-am \ install-data-hook install-dist_baseDATA \ install-dist_cacSCRIPTS install-dist_cmdSCRIPTS \ - install-dist_copierDATA install-dist_faxDATA \ - install-dist_fax_filtersDATA install-dist_halpreDATA \ - install-dist_hpcupsfaxppdDATA install-dist_hpfaxSCRIPTS \ - install-dist_hpijsfaxppdDATA install-dist_hplipSCRIPTS \ - install-dist_hplip_LogDATA install-dist_hplip_stateDATA \ + install-dist_copierDATA install-dist_cronDATA \ + install-dist_faxDATA install-dist_fax_filtersDATA \ + install-dist_finSCRIPTS install-dist_halpreDATA \ + install-dist_homeDATA install-dist_hpcupsfaxppdDATA \ + install-dist_hpfaxSCRIPTS install-dist_hpijsfaxppdDATA \ + install-dist_hplipSCRIPTS install-dist_hplip_LogDATA \ + install-dist_hplip_stateDATA install-dist_hplip_tmpDATA \ install-dist_images_128x128DATA install-dist_images_16x16DATA \ install-dist_images_24x24DATA install-dist_images_256x256DATA \ install-dist_images_32x32DATA install-dist_images_64x64DATA \ @@ -8549,25 +8907,26 @@ install-hpcupsPROGRAMS install-hpcupsfaxPROGRAMS \ install-hplip_confDATA install-hplip_desktopDATA \ install-hplip_systrayDATA install-hplipjsPROGRAMS \ - install-hpmudextLTLIBRARIES install-hppsPROGRAMS install-html \ - install-html-am install-info install-info-am \ - install-libLTLIBRARIES install-libsane_hpaioLTLIBRARIES \ - install-man install-pcardextLTLIBRARIES install-pdf \ - install-pdf-am install-ps install-ps-am \ - install-pstotiffSCRIPTS install-scanextLTLIBRARIES \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags uninstall uninstall-am \ - uninstall-binPROGRAMS uninstall-cupsdrv2DATA \ - uninstall-cupsdrvDATA uninstall-cupsextLTLIBRARIES \ - uninstall-dist_baseDATA uninstall-dist_cacSCRIPTS \ - uninstall-dist_cmdSCRIPTS uninstall-dist_copierDATA \ + install-hpmudextLTLIBRARIES install-html install-html-am \ + install-info install-info-am install-libLTLIBRARIES \ + install-libsane_hpaioLTLIBRARIES install-man \ + install-pcardextLTLIBRARIES install-pdf install-pdf-am \ + install-ps install-ps-am install-pstotiffSCRIPTS \ + install-scanextLTLIBRARIES install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-binPROGRAMS \ + uninstall-cupsdrv2DATA uninstall-cupsdrvDATA \ + uninstall-cupsextLTLIBRARIES uninstall-dist_baseDATA \ + uninstall-dist_cacSCRIPTS uninstall-dist_cmdSCRIPTS \ + uninstall-dist_copierDATA uninstall-dist_cronDATA \ uninstall-dist_faxDATA uninstall-dist_fax_filtersDATA \ - uninstall-dist_halpreDATA uninstall-dist_hpcupsfaxppdDATA \ + uninstall-dist_finSCRIPTS uninstall-dist_halpreDATA \ + uninstall-dist_homeDATA uninstall-dist_hpcupsfaxppdDATA \ uninstall-dist_hpfaxSCRIPTS uninstall-dist_hpijsfaxppdDATA \ uninstall-dist_hplipSCRIPTS uninstall-dist_hplip_LogDATA \ - uninstall-dist_hplip_stateDATA \ + uninstall-dist_hplip_stateDATA uninstall-dist_hplip_tmpDATA \ uninstall-dist_images_128x128DATA \ uninstall-dist_images_16x16DATA \ uninstall-dist_images_24x24DATA \ @@ -8594,8 +8953,7 @@ uninstall-hpcupsfaxPROGRAMS uninstall-hplip_confDATA \ uninstall-hplip_desktopDATA uninstall-hplip_systrayDATA \ uninstall-hplipjsPROGRAMS uninstall-hpmudextLTLIBRARIES \ - uninstall-hppsPROGRAMS uninstall-libLTLIBRARIES \ - uninstall-libsane_hpaioLTLIBRARIES \ + uninstall-libLTLIBRARIES uninstall-libsane_hpaioLTLIBRARIES \ uninstall-pcardextLTLIBRARIES uninstall-pstotiffSCRIPTS \ uninstall-scanextLTLIBRARIES @@ -8603,10 +8961,30 @@ install-dist_hplip_LogDATA: @FULL_BUILD_TRUE@ test -z "$(DESTDIR)$(hplip_Logdir)" || mkdir -p $(DESTDIR)$(hplip_Logdir) @FULL_BUILD_TRUE@ chgrp "lp" -R $(DESTDIR)$(hplip_Logdir) -@FULL_BUILD_TRUE@ chmod 774 $(DESTDIR)$(hplip_Logdir) +@FULL_BUILD_TRUE@ chmod 775 $(DESTDIR)$(hplip_Logdir) @HPLIP_BUILD_TRUE@ test -z "$(DESTDIR)$(hplip_Logdir)" || mkdir -p $(DESTDIR)$(hplip_Logdir) @HPLIP_BUILD_TRUE@ chgrp "lp" -R $(DESTDIR)$(hplip_Logdir) -@HPLIP_BUILD_TRUE@ chmod 774 $(DESTDIR)$(hplip_Logdir) +@HPLIP_BUILD_TRUE@ chmod 775 $(DESTDIR)$(hplip_Logdir) + +install-dist_hplip_tmpDATA: +@FULL_BUILD_TRUE@ test -z "$(DESTDIR)$(hplip_tmpdir)" || mkdir -p $(DESTDIR)$(hplip_tmpdir) +@FULL_BUILD_TRUE@ chgrp "lp" -R $(DESTDIR)$(hplip_tmpdir) +@FULL_BUILD_TRUE@ chmod 1775 $(DESTDIR)$(hplip_tmpdir) +@HPLIP_BUILD_TRUE@ test -z "$(DESTDIR)$(hplip_tmpdir)" || mkdir -p $(DESTDIR)$(hplip_tmpdir) +@HPLIP_BUILD_TRUE@ chgrp "lp" -R $(DESTDIR)$(hplip_tmpdir) +@HPLIP_BUILD_TRUE@ chmod 1775 $(DESTDIR)$(hplip_tmpdir) + +install-dist_cronDATA:$(dist_cron_DATA) + test -z "$(DESTDIR)$(crondir)" || $(MKDIR_P) "$(DESTDIR)$(crondir)"; \ + list='$(dist_cron_DATA)'; test -n "$(crondir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL) -m755 $$files '$(DESTDIR)$(crondir)'"; \ + $(INSTALL) -m755 $$files "$(DESTDIR)$(crondir)" || exit $$?; \ + done install-data-hook: # If scanner build, add hpaio entry to sane dll.conf. diff -Nru hplip-3.12.2/aclocal.m4 hplip-3.13.4/aclocal.m4 --- hplip-3.12.2/aclocal.m4 2012-02-01 11:56:50.000000000 +0000 +++ hplip-3.13.4/aclocal.m4 2013-04-08 09:59:33.000000000 +0000 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.11 -*- Autoconf -*- +# generated automatically by aclocal 1.11.1 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. @@ -13,108 +13,204 @@ m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, -[m4_warning([this file was generated for autoconf 2.63. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, +[m4_warning([this file was generated for autoconf 2.68. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +m4_define([_LT_COPYING], [dnl +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +]) -# serial 52 AC_PROG_LIBTOOL +# serial 57 LT_INIT -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) -# ----------------------------------------------------------- -# If this macro is not defined by Autoconf, define it here. -m4_ifdef([AC_PROVIDE_IFELSE], - [], - [m4_define([AC_PROVIDE_IFELSE], - [m4_ifdef([AC_PROVIDE_$1], - [$2], [$3])])]) +# LT_PREREQ(VERSION) +# ------------------ +# Complain and exit if this libtool version is less that VERSION. +m4_defun([LT_PREREQ], +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, + [m4_default([$3], + [m4_fatal([Libtool version $1 or higher is required], + 63)])], + [$2])]) -# AC_PROG_LIBTOOL -# --------------- -AC_DEFUN([AC_PROG_LIBTOOL], -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. - AC_PROVIDE_IFELSE([AC_PROG_CXX], - [AC_LIBTOOL_CXX], - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX - ])]) -dnl And a similar setup for Fortran 77 support - AC_PROVIDE_IFELSE([AC_PROG_F77], - [AC_LIBTOOL_F77], - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 -])]) - -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. - AC_PROVIDE_IFELSE([AC_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [ifdef([AC_PROG_GCJ], - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) - ifdef([A][M_PROG_GCJ], - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) - ifdef([LT_AC_PROG_GCJ], - [define([LT_AC_PROG_GCJ], - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) -])])# AC_PROG_LIBTOOL +# _LT_CHECK_BUILDDIR +# ------------------ +# Complain if the absolute build directory name contains unusual characters +m4_defun([_LT_CHECK_BUILDDIR], +[case `pwd` in + *\ * | *\ *) + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; +esac +]) -# _AC_PROG_LIBTOOL -# ---------------- -AC_DEFUN([_AC_PROG_LIBTOOL], -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl +# LT_INIT([OPTIONS]) +# ------------------ +AC_DEFUN([LT_INIT], +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +AC_BEFORE([$0], [LT_LANG])dnl +AC_BEFORE([$0], [LT_OUTPUT])dnl +AC_BEFORE([$0], [LTDL_INIT])dnl +m4_require([_LT_CHECK_BUILDDIR])dnl + +dnl Autoconf doesn't catch unexpanded LT_ macros by default: +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 +dnl unless we require an AC_DEFUNed macro: +AC_REQUIRE([LTOPTIONS_VERSION])dnl +AC_REQUIRE([LTSUGAR_VERSION])dnl +AC_REQUIRE([LTVERSION_VERSION])dnl +AC_REQUIRE([LTOBSOLETE_VERSION])dnl +m4_require([_LT_PROG_LTMAIN])dnl + +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) + +dnl Parse OPTIONS +_LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" +LIBTOOL_DEPS="$ltmain" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl -# Prevent multiple expansion -define([AC_PROG_LIBTOOL], []) -])# _AC_PROG_LIBTOOL +_LT_SETUP +# Only expand once: +m4_define([LT_INIT]) +])# LT_INIT + +# Old names: +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PROG_LIBTOOL], []) +dnl AC_DEFUN([AM_PROG_LIBTOOL], []) -# AC_LIBTOOL_SETUP -# ---------------- -AC_DEFUN([AC_LIBTOOL_SETUP], -[AC_PREREQ(2.50)dnl -AC_REQUIRE([AC_ENABLE_SHARED])dnl -AC_REQUIRE([AC_ENABLE_STATIC])dnl -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl + +# _LT_CC_BASENAME(CC) +# ------------------- +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +m4_defun([_LT_CC_BASENAME], +[for cc_temp in $1""; do + case $cc_temp in + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +]) + + +# _LT_FILEUTILS_DEFAULTS +# ---------------------- +# It is okay to use these file commands and assume they have been set +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. +m4_defun([_LT_FILEUTILS_DEFAULTS], +[: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} +])# _LT_FILEUTILS_DEFAULTS + + +# _LT_SETUP +# --------- +m4_defun([_LT_SETUP], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_PROG_LD])dnl -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl -AC_REQUIRE([AC_PROG_NM])dnl +AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl +_LT_DECL([], [host_alias], [0], [The host system])dnl +_LT_DECL([], [host], [0])dnl +_LT_DECL([], [host_os], [0])dnl +dnl +_LT_DECL([], [build_alias], [0], [The build system])dnl +_LT_DECL([], [build], [0])dnl +_LT_DECL([], [build_os], [0])dnl +dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +dnl AC_REQUIRE([AC_PROG_LN_S])dnl -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! -AC_REQUIRE([AC_OBJEXT])dnl -AC_REQUIRE([AC_EXEEXT])dnl +test -z "$LN_S" && LN_S="ln -s" +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl +dnl +AC_REQUIRE([LT_CMD_MAX_LEN])dnl +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl dnl -AC_LIBTOOL_SYS_MAX_CMD_LEN -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -AC_LIBTOOL_OBJDIR +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl +m4_require([_LT_CMD_RELOAD])dnl +m4_require([_LT_CHECK_MAGIC_METHOD])dnl +m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl +m4_require([_LT_CMD_OLD_ARCHIVE])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_WITH_SYSROOT])dnl + +_LT_CONFIG_LIBTOOL_INIT([ +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi +]) +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + +_LT_CHECK_OBJDIR -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -_LT_AC_PROG_ECHO_BACKSLASH +m4_require([_LT_TAG_COMPILER])dnl case $host_os in aix3*) @@ -128,6482 +224,7367 @@ ;; esac -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e 1s/^X//' -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] - -# Same as above, but do not quote variable references. -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Constants: -rm="rm -f" - # Global variables: -default_ofile=libtool +ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -AC_CHECK_TOOL(AR, ar, false) -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(STRIP, strip, :) +with_gnu_ld="$lt_cv_prog_gnu_ld" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$SED" && SED=sed -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi - _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then - AC_PATH_MAGIC + _LT_PATH_MAGIC fi ;; esac -_LT_REQUIRED_DARWIN_CHECKS +# Use C for the default configuration in the libtool script +LT_SUPPORTED_TAG([CC]) +_LT_LANG_C_CONFIG +_LT_LANG_DEFAULT_CONFIG +_LT_CONFIG_COMMANDS +])# _LT_SETUP -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], -enable_win32_dll=yes, enable_win32_dll=no) - -AC_ARG_ENABLE([libtool-lock], - [AC_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -AC_ARG_WITH([pic], - [AC_HELP_STRING([--with-pic], - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], - [pic_mode="$withval"], - [pic_mode=default]) -test -z "$pic_mode" && pic_mode=default +# _LT_PREPARE_SED_QUOTE_VARS +# -------------------------- +# Define a few sed substitution that help us do robust quoting. +m4_defun([_LT_PREPARE_SED_QUOTE_VARS], +[# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' -# Use C for the default configuration in the libtool script -tagname= -AC_LIBTOOL_LANG_C_CONFIG -_LT_AC_TAGCONFIG -])# AC_LIBTOOL_SETUP +# Same as above, but do not quote variable references. +double_quote_subst='s/\([["`\\]]\)/\\\1/g' +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -# _LT_AC_SYS_COMPILER -# ------------------- -AC_DEFUN([_LT_AC_SYS_COMPILER], -[AC_REQUIRE([AC_PROG_CC])dnl +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' +]) -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} +# _LT_PROG_LTMAIN +# --------------- +# Note that this code is called both from `configure', and `config.status' +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, +# `config.status' has no value for ac_aux_dir unless we are using Automake, +# so we pass a copy along to make sure it has a sensible value anyway. +m4_defun([_LT_PROG_LTMAIN], +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) +ltmain="$ac_aux_dir/ltmain.sh" +])# _LT_PROG_LTMAIN -# Allow CC to be a program name with arguments. -compiler=$CC -])# _LT_AC_SYS_COMPILER -# _LT_CC_BASENAME(CC) -# ------------------- -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. -AC_DEFUN([_LT_CC_BASENAME], -[for cc_temp in $1""; do - case $cc_temp in - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +# So that we can recreate a full libtool script including additional +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS +# in macros and then make a single call at the end using the `libtool' +# label. + + +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) +# ---------------------------------------- +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL_INIT], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_INIT], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_INIT]) + + +# _LT_CONFIG_LIBTOOL([COMMANDS]) +# ------------------------------ +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) + + +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) +# ----------------------------------------------------- +m4_defun([_LT_CONFIG_SAVE_COMMANDS], +[_LT_CONFIG_LIBTOOL([$1]) +_LT_CONFIG_LIBTOOL_INIT([$2]) ]) -# _LT_COMPILER_BOILERPLATE -# ------------------------ -# Check for compiler boilerplate output or warnings with -# the simple compiler test code. -AC_DEFUN([_LT_COMPILER_BOILERPLATE], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* -])# _LT_COMPILER_BOILERPLATE +# _LT_FORMAT_COMMENT([COMMENT]) +# ----------------------------- +# Add leading comment marks to the start of each line, and a trailing +# full-stop to the whole comment if one is not present already. +m4_define([_LT_FORMAT_COMMENT], +[m4_ifval([$1], [ +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) +)]) -# _LT_LINKER_BOILERPLATE -# ---------------------- -# Check for linker boilerplate output or warnings with -# the simple link test code. -AC_DEFUN([_LT_LINKER_BOILERPLATE], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm -r conftest* -])# _LT_LINKER_BOILERPLATE -# _LT_REQUIRED_DARWIN_CHECKS -# -------------------------- -# Check for some things on darwin -AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[ - case $host_os in - rhapsody* | darwin*) - AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) - AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) - AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], - [lt_cv_apple_cc_single_mod=no - if test -z "${LT_MULTI_MODULE}"; then - # By default we will add the -single_module flag. You can override - # by either setting the environment variable LT_MULTI_MODULE - # non-empty at configure time, or by adding -multi_module to the - # link flags. - echo "int foo(void){return 1;}" > conftest.c - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ - -dynamiclib ${wl}-single_module conftest.c - if test -f libconftest.dylib; then - lt_cv_apple_cc_single_mod=yes - rm -rf libconftest.dylib* - fi - rm conftest.c - fi]) - AC_CACHE_CHECK([for -exported_symbols_list linker flag], - [lt_cv_ld_exported_symbols_list], - [lt_cv_ld_exported_symbols_list=no - save_LDFLAGS=$LDFLAGS - echo "_main" > conftest.sym - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], - [lt_cv_ld_exported_symbols_list=yes], - [lt_cv_ld_exported_symbols_list=no]) - LDFLAGS="$save_LDFLAGS" - ]) - case $host_os in - rhapsody* | darwin1.[[0123]]) - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; - darwin1.*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - darwin*) - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - 10.[[012]]*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - esac - ;; - esac - if test "$lt_cv_apple_cc_single_mod" = "yes"; then - _lt_dar_single_mod='$single_module' - fi - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' - else - _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" - fi - if test "$DSYMUTIL" != ":"; then - _lt_dsymutil="~$DSYMUTIL \$lib || :" - else - _lt_dsymutil= - fi - ;; - esac + +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) +# ------------------------------------------------------------------- +# CONFIGNAME is the name given to the value in the libtool script. +# VARNAME is the (base) name used in the configure script. +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on +# VARNAME. Any other value will be used directly. +m4_define([_LT_DECL], +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], + [m4_ifval([$1], [$1], [$2])]) + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) + m4_ifval([$4], + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) + lt_dict_add_subkey([lt_decl_dict], [$2], + [tagged?], [m4_ifval([$5], [yes], [no])])]) ]) -# _LT_AC_SYS_LIBPATH_AIX -# ---------------------- -# Links a minimal program and checks the executable -# for the system default hardcoded library path. In most cases, -# this is /usr/lib:/lib, but when the MPI compilers are used -# the location of the communication and MPI libs are included too. -# If we don't find anything, use the default library path according -# to the aix ld manual. -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_LINK_IFELSE(AC_LANG_PROGRAM,[ -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi],[]) -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi -])# _LT_AC_SYS_LIBPATH_AIX +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) +# -------------------------------------------------------- +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) + + +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_tag_varnames], +[_lt_decl_filter([tagged?], [yes], $@)]) + + +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) +# --------------------------------------------------------- +m4_define([_lt_decl_filter], +[m4_case([$#], + [0], [m4_fatal([$0: too few arguments: $#])], + [1], [m4_fatal([$0: too few arguments: $#: $1])], + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], + [lt_dict_filter([lt_decl_dict], $@)])[]dnl +]) -# _LT_AC_SHELL_INIT(ARG) -# ---------------------- -AC_DEFUN([_LT_AC_SHELL_INIT], -[ifdef([AC_DIVERSION_NOTICE], - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -$1 -AC_DIVERT_POP -])# _LT_AC_SHELL_INIT +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) +# -------------------------------------------------- +m4_define([lt_decl_quote_varnames], +[_lt_decl_filter([value], [1], $@)]) + + +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_dquote_varnames], +[_lt_decl_filter([value], [2], $@)]) + + +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_varnames_tagged], +[m4_assert([$# <= 2])dnl +_$0(m4_quote(m4_default([$1], [[, ]])), + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) +m4_define([_lt_decl_varnames_tagged], +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) + + +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_all_varnames], +[_$0(m4_quote(m4_default([$1], [[, ]])), + m4_if([$2], [], + m4_quote(lt_decl_varnames), + m4_quote(m4_shift($@))))[]dnl +]) +m4_define([_lt_decl_all_varnames], +[lt_join($@, lt_decl_varnames_tagged([$1], + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl +]) -# _LT_AC_PROG_ECHO_BACKSLASH -# -------------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], -[_LT_AC_SHELL_INIT([ -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac -echo=${ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi +# _LT_CONFIG_STATUS_DECLARE([VARNAME]) +# ------------------------------------ +# Quote a variable value, and forward it to `config.status' so that its +# declaration there will have the same value as in `configure'. VARNAME +# must have a single quote delimited value for this to work. +m4_define([_LT_CONFIG_STATUS_DECLARE], +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null 2>&1 && unset CDPATH +# _LT_CONFIG_STATUS_DECLARATIONS +# ------------------------------ +# We delimit libtool config variables with single quotes, so when +# we write them to config.status, we have to be sure to quote all +# embedded single quotes properly. In configure, this macro expands +# each variable declared with _LT_DECL (and _LT_TAGDECL) into: +# +# ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) -if test -z "$ECHO"; then -if test "X${echo_test_string+set}" != Xset; then -# find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if (echo_test_string=`eval $cmd`) 2>/dev/null && - echo_test_string=`eval $cmd` && - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null - then - break - fi - done -fi -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : -else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. +# _LT_LIBTOOL_TAGS +# ---------------- +# Output comment and list of tags supported by the script +m4_defun([_LT_LIBTOOL_TAGS], +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl +available_tags="_LT_TAGS"dnl +]) - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - if test "X$echo" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - echo='print -r' - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} - else - # Try using printf. - echo='printf %s\n' - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - echo="$CONFIG_SHELL [$]0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$CONFIG_SHELL [$]0 --fallback-echo" - else - # maybe with a smaller string... - prev=: +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) +# ----------------------------------- +# Extract the dictionary values for VARNAME (optionally with TAG) and +# expand to a commented shell variable setting: +# +# # Some comment about what VAR is for. +# visible_name=$lt_internal_name +m4_define([_LT_LIBTOOL_DECLARE], +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], + [description])))[]dnl +m4_pushdef([_libtool_name], + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), + [0], [_libtool_name=[$]$1], + [1], [_libtool_name=$lt_[]$1], + [2], [_libtool_name=$lt_[]$1], + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl +]) - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null - then - break - fi - prev="$cmd" - done - if test "$prev" != 'sed 50q "[$]0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} - else - # Oops. We lost completely, so just stick with echo. - echo=echo - fi - fi - fi - fi -fi -fi +# _LT_LIBTOOL_CONFIG_VARS +# ----------------------- +# Produce commented declarations of non-tagged libtool config variables +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG +# section) are produced by _LT_LIBTOOL_TAG_VARS. +m4_defun([_LT_LIBTOOL_CONFIG_VARS], +[m4_foreach([_lt_var], + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -ECHO=$echo -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" -fi -AC_SUBST(ECHO) -])])# _LT_AC_PROG_ECHO_BACKSLASH +# _LT_LIBTOOL_TAG_VARS(TAG) +# ------------------------- +m4_define([_LT_LIBTOOL_TAG_VARS], +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) -# _LT_AC_LOCK -# ----------- -AC_DEFUN([_LT_AC_LOCK], -[AC_ARG_ENABLE([libtool-lock], - [AC_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes +# _LT_TAGVAR(VARNAME, [TAGNAME]) +# ------------------------------ +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -s390*-*linux*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac +# _LT_CONFIG_COMMANDS +# ------------------- +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of +# variables for single and double quote escaping we saved from calls +# to _LT_DECL, we can put quote escaped variables declarations +# into `config.status', and then the shell code to quote escape them in +# for loops in `config.status'. Finally, any additional code accumulated +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. +m4_defun([_LT_CONFIG_COMMANDS], +[AC_PROVIDE_IFELSE([LT_OUTPUT], + dnl If the libtool generation code has been placed in $CONFIG_LT, + dnl instead of duplicating it all over again into config.status, + dnl then we will have config.status run $CONFIG_LT later, so it + dnl needs to know what name is stored there: + [AC_CONFIG_COMMANDS([libtool], + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], + dnl If the libtool generation code is destined for config.status, + dnl expand the accumulated commands and init code now: + [AC_CONFIG_COMMANDS([libtool], + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) +])#_LT_CONFIG_COMMANDS + + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], +[ + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +_LT_CONFIG_STATUS_DECLARATIONS +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$[]1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_quote_varnames); do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; - *64-bit*) - libsuff=64 - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac - fi - rm -rf conftest* - ;; +done -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_PUSH(C) - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_POP]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; - *) - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then - LD="${LD-ld} -64" - fi - ;; - esac +# Double-quote double-evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_dquote_varnames); do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac - fi - rm -rf conftest* - ;; +done -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) - ;; - ]) -esac +_LT_OUTPUT_LIBTOOL_INIT +]) -need_locks="$enable_libtool_lock" +# _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) +# ------------------------------------ +# Generate a child script FILE with all initialization necessary to +# reuse the environment learned by the parent script, and make the +# file executable. If COMMENT is supplied, it is inserted after the +# `#!' sequence but before initialization text begins. After this +# macro, additional text can be appended to FILE to form the body of +# the child script. The macro ends with non-zero status if the +# file could not be fully written (such as if the disk is full). +m4_ifdef([AS_INIT_GENERATED], +[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], +[m4_defun([_LT_GENERATED_FILE_INIT], +[m4_require([AS_PREPARE])]dnl +[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl +[lt_write_fail=0 +cat >$1 <<_ASEOF || lt_write_fail=1 +#! $SHELL +# Generated by $as_me. +$2 +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$1 <<\_ASEOF || lt_write_fail=1 +AS_SHELL_SANITIZE +_AS_PREPARE +exec AS_MESSAGE_FD>&1 +_ASEOF +test $lt_write_fail = 0 && chmod +x $1[]dnl +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT + +# LT_OUTPUT +# --------- +# This macro allows early generation of the libtool script (before +# AC_OUTPUT is called), incase it is used in configure for compilation +# tests. +AC_DEFUN([LT_OUTPUT], +[: ${CONFIG_LT=./config.lt} +AC_MSG_NOTICE([creating $CONFIG_LT]) +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], +[# Run this file to recreate a libtool stub with the current configuration.]) + +cat >>"$CONFIG_LT" <<\_LTEOF +lt_cl_silent=false +exec AS_MESSAGE_LOG_FD>>config.log +{ + echo + AS_BOX([Running $as_me.]) +} >&AS_MESSAGE_LOG_FD + +lt_cl_help="\ +\`$as_me' creates a local libtool stub from the current configuration, +for use in further configure time tests before the real libtool is +generated. + +Usage: $[0] [[OPTIONS]] + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + +Report bugs to ." + +lt_cl_version="\ +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) +configured by $[0], generated by m4_PACKAGE_STRING. + +Copyright (C) 2010 Free Software Foundation, Inc. +This config.lt script is free software; the Free Software Foundation +gives unlimited permision to copy, distribute and modify it." -])# _LT_AC_LOCK +while test $[#] != 0 +do + case $[1] in + --version | --v* | -V ) + echo "$lt_cl_version"; exit 0 ;; + --help | --h* | -h ) + echo "$lt_cl_help"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --quiet | --q* | --silent | --s* | -q ) + lt_cl_silent=: ;; + -*) AC_MSG_ERROR([unrecognized option: $[1] +Try \`$[0] --help' for more information.]) ;; -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------------------- -# Check whether the given compiler option works -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], -[AC_REQUIRE([LT_AC_PROG_SED]) -AC_CACHE_CHECK([$1], [$2], - [$2=no - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$3" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -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:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - 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. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - fi - $rm conftest* -]) + *) AC_MSG_ERROR([unrecognized argument: $[1] +Try \`$[0] --help' for more information.]) ;; + esac + shift +done -if test x"[$]$2" = xyes; then - ifelse([$5], , :, [$5]) -else - ifelse([$6], , :, [$6]) +if $lt_cl_silent; then + exec AS_MESSAGE_FD>/dev/null fi -])# AC_LIBTOOL_COMPILER_OPTION +_LTEOF +cat >>"$CONFIG_LT" <<_LTEOF +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +AC_MSG_NOTICE([creating $ofile]) +_LT_OUTPUT_LIBTOOL_COMMANDS +AS_EXIT(0) +_LTEOF +chmod +x "$CONFIG_LT" + +# configure is writing to config.log, but config.lt does its own redirection, +# appending to config.log, which fails on DOS, as config.log is still kept +# open by configure. Here we exec the FD to /dev/null, effectively closing +# config.log, so it can be properly (re)opened and appended to by config.lt. +lt_cl_success=: +test "$silent" = yes && + lt_config_lt_args="$lt_config_lt_args --quiet" +exec AS_MESSAGE_LOG_FD>/dev/null +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false +exec AS_MESSAGE_LOG_FD>>config.log +$lt_cl_success || AS_EXIT(1) +])# LT_OUTPUT -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [ACTION-SUCCESS], [ACTION-FAILURE]) -# ------------------------------------------------------------ -# Check whether the given compiler option works -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_CACHE_CHECK([$1], [$2], - [$2=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $3" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&AS_MESSAGE_LOG_FD - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - else - $2=yes - fi - fi - $rm -r conftest* - LDFLAGS="$save_LDFLAGS" -]) -if test x"[$]$2" = xyes; then - ifelse([$4], , :, [$4]) -else - ifelse([$5], , :, [$5]) -fi -])# AC_LIBTOOL_LINKER_OPTION +# _LT_CONFIG(TAG) +# --------------- +# If TAG is the built-in tag, create an initial libtool script with a +# default configuration from the untagged config vars. Otherwise add code +# to config.status for appending the configuration named by TAG from the +# matching tagged config vars. +m4_defun([_LT_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_CONFIG_SAVE_COMMANDS([ + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl + m4_if(_LT_TAG, [C], [ + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL -# AC_LIBTOOL_SYS_MAX_CMD_LEN -# -------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], -[# find the maximum length of command line arguments -AC_MSG_CHECKING([the maximum length of command line arguments]) -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl - i=0 - teststring="ABCD" +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +_LT_COPYING +_LT_LIBTOOL_TAGS - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; +# ### BEGIN LIBTOOL CONFIG +_LT_LIBTOOL_CONFIG_VARS +_LT_LIBTOOL_TAG_VARS +# ### END LIBTOOL CONFIG - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; +_LT_EOF - cygwin* | mingw*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF ;; + esac - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; + _LT_PROG_LTMAIN - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ - = "XX$teststring") >/dev/null 2>&1 && - new_result=`expr "X$teststring" : ".*" 2>&1` && - lt_cv_sys_max_cmd_len=$new_result && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - teststring= - # Add a significant safety factor because C++ compilers can tack on massive - # amounts of additional arguments before passing them to the linker. - # It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac -]) -if test -n $lt_cv_sys_max_cmd_len ; then - AC_MSG_RESULT($lt_cv_sys_max_cmd_len) -else - AC_MSG_RESULT(none) -fi -])# AC_LIBTOOL_SYS_MAX_CMD_LEN + _LT_PROG_REPLACE_SHELLFNS + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +], +[cat <<_LT_EOF >> "$ofile" -# _LT_AC_CHECK_DLFCN -# ------------------ -AC_DEFUN([_LT_AC_CHECK_DLFCN], -[AC_CHECK_HEADERS(dlfcn.h)dnl -])# _LT_AC_CHECK_DLFCN +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded +dnl in a comment (ie after a #). +# ### BEGIN LIBTOOL TAG CONFIG: $1 +_LT_LIBTOOL_TAG_VARS(_LT_TAG) +# ### END LIBTOOL TAG CONFIG: $1 +_LT_EOF +])dnl /m4_if +], +[m4_if([$1], [], [ + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile'], []) +])dnl /_LT_CONFIG_SAVE_COMMANDS +])# _LT_CONFIG -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) -# --------------------------------------------------------------------- -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl -if test "$cross_compiling" = yes; then : - [$4] -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext < -#endif -#include +# C support is built-in for now +m4_define([_LT_LANG_C_enabled], []) +m4_define([_LT_TAGS], []) -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif +# LT_LANG(LANG) +# ------------- +# Enable libtool support for the given language if not already enabled. +AC_DEFUN([LT_LANG], +[AC_BEFORE([$0], [LT_OUTPUT])dnl +m4_case([$1], + [C], [_LT_LANG(C)], + [C++], [_LT_LANG(CXX)], + [Java], [_LT_LANG(GCJ)], + [Fortran 77], [_LT_LANG(F77)], + [Fortran], [_LT_LANG(FC)], + [Windows Resource], [_LT_LANG(RC)], + [m4_ifdef([_LT_LANG_]$1[_CONFIG], + [_LT_LANG($1)], + [m4_fatal([$0: unsupported language: "$1"])])])dnl +])# LT_LANG -#ifdef __cplusplus -extern "C" void exit (int); -#endif -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; +# _LT_LANG(LANGNAME) +# ------------------ +m4_defun([_LT_LANG], +[m4_ifdef([_LT_LANG_]$1[_enabled], [], + [LT_SUPPORTED_TAG([$1])dnl + m4_append([_LT_TAGS], [$1 ])dnl + m4_define([_LT_LANG_]$1[_enabled], [])dnl + _LT_LANG_$1_CONFIG($1)])dnl +])# _LT_LANG - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - exit (status); -}] -EOF - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) $1 ;; - x$lt_dlneed_uscore) $2 ;; - x$lt_dlunknown|x*) $3 ;; - esac - else : - # compilation failed - $3 - fi -fi -rm -fr conftest* -])# _LT_AC_TRY_DLOPEN_SELF +# _LT_LANG_DEFAULT_CONFIG +# ----------------------- +m4_defun([_LT_LANG_DEFAULT_CONFIG], +[AC_PROVIDE_IFELSE([AC_PROG_CXX], + [LT_LANG(CXX)], + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) + +AC_PROVIDE_IFELSE([AC_PROG_F77], + [LT_LANG(F77)], + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) + +AC_PROVIDE_IFELSE([AC_PROG_FC], + [LT_LANG(FC)], + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) + +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal +dnl pulling things in needlessly. +AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([LT_PROG_GCJ], + [LT_LANG(GCJ)], + [m4_ifdef([AC_PROG_GCJ], + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([A][M_PROG_GCJ], + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([LT_PROG_GCJ], + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) + +AC_PROVIDE_IFELSE([LT_PROG_RC], + [LT_LANG(RC)], + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) +])# _LT_LANG_DEFAULT_CONFIG + +# Obsolete macros: +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) +AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_CXX], []) +dnl AC_DEFUN([AC_LIBTOOL_F77], []) +dnl AC_DEFUN([AC_LIBTOOL_FC], []) +dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) +dnl AC_DEFUN([AC_LIBTOOL_RC], []) -# AC_LIBTOOL_DLOPEN_SELF -# ---------------------- -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl -if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= +# _LT_TAG_COMPILER +# ---------------- +m4_defun([_LT_TAG_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl - mingw* | pw32*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - darwin*) - # if libdl is installed we need to link against it - AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ]) - ;; +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_TAG_COMPILER - *) - AC_CHECK_FUNC([shl_load], - [lt_cv_dlopen="shl_load"], - [AC_CHECK_LIB([dld], [shl_load], - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], - [AC_CHECK_FUNC([dlopen], - [lt_cv_dlopen="dlopen"], - [AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], - [AC_CHECK_LIB([svld], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], - [AC_CHECK_LIB([dld], [dld_link], - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) - ]) - ]) - ]) - ]) - ]) - ;; - esac - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi +# _LT_COMPILER_BOILERPLATE +# ------------------------ +# Check for compiler boilerplate output or warnings with +# the simple compiler test code. +m4_defun([_LT_COMPILER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* +])# _LT_COMPILER_BOILERPLATE - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - save_LDFLAGS="$LDFLAGS" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" +# _LT_LINKER_BOILERPLATE +# ---------------------- +# Check for linker boilerplate output or warnings with +# the simple link test code. +m4_defun([_LT_LINKER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* +])# _LT_LINKER_BOILERPLATE - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" +# _LT_REQUIRED_DARWIN_CHECKS +# ------------------------- +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ + case $host_os in + rhapsody* | darwin*) + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) + AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) + AC_CHECK_TOOL([LIPO], [lipo], [:]) + AC_CHECK_TOOL([OTOOL], [otool], [:]) + AC_CHECK_TOOL([OTOOL64], [otool64], [:]) + _LT_DECL([], [DSYMUTIL], [1], + [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) + _LT_DECL([], [NMEDIT], [1], + [Tool to change global to local symbols on Mac OS X]) + _LT_DECL([], [LIPO], [1], + [Tool to manipulate fat objects and archives on Mac OS X]) + _LT_DECL([], [OTOOL], [1], + [ldd/readelf like tool for Mach-O binaries on Mac OS X]) + _LT_DECL([], [OTOOL64], [1], + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) - AC_CACHE_CHECK([whether a program can dlopen itself], - lt_cv_dlopen_self, [dnl - _LT_AC_TRY_DLOPEN_SELF( - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], + [lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi]) + AC_CACHE_CHECK([for -exported_symbols_list linker flag], + [lt_cv_ld_exported_symbols_list], + [lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [lt_cv_ld_exported_symbols_list=yes], + [lt_cv_ld_exported_symbols_list=no]) + LDFLAGS="$save_LDFLAGS" ]) - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - AC_CACHE_CHECK([whether a statically linked program can dlopen itself], - lt_cv_dlopen_self_static, [dnl - _LT_AC_TRY_DLOPEN_SELF( - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) - ]) + AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], + [lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD + echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD + $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD + echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD + $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + ]) + case $host_os in + rhapsody* | darwin1.[[012]]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[[012]]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" ;; esac +]) - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; +# _LT_DARWIN_LINKER_FEATURES +# -------------------------- +# Checks for linker and compiler features on darwin +m4_defun([_LT_DARWIN_LINKER_FEATURES], +[ + m4_require([_LT_REQUIRED_DARWIN_CHECKS]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_automatic, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + if test "$lt_cv_ld_force_load" = "yes"; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='' + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; esac -fi -])# AC_LIBTOOL_DLOPEN_SELF + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=func_echo_all + _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + m4_if([$1], [CXX], +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then + _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi +],[]) + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi +]) +# _LT_SYS_MODULE_PATH_AIX([TAGNAME]) +# ---------------------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +# Store the results from the different compilers for each TAGNAME. +# Allow to override them for all tags through lt_cv_aix_libpath. +m4_defun([_LT_SYS_MODULE_PATH_AIX], +[m4_require([_LT_DECL_SED])dnl +if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], + [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ + lt_aix_libpath_sed='[ + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }]' + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi],[]) + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib" + fi + ]) + aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) +fi +])# _LT_SYS_MODULE_PATH_AIX -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) -# --------------------------------- -# Check to see if options -c and -o are simultaneously supported by compiler -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no - $rm -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -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:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - fi - fi - chmod u+w . 2>&AS_MESSAGE_LOG_FD - $rm conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out - cd .. - rmdir conftest - $rm conftest* -]) -])# AC_LIBTOOL_PROG_CC_C_O +# _LT_SHELL_INIT(ARG) +# ------------------- +m4_define([_LT_SHELL_INIT], +[m4_divert_text([M4SH-INIT], [$1 +])])# _LT_SHELL_INIT -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) -# ----------------------------------------- -# Check to see if we can do hard links to lock some files if needed -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], -[AC_REQUIRE([_LT_AC_LOCK])dnl -hard_links="nottested" -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) - need_locks=warn - fi +# _LT_PROG_ECHO_BACKSLASH +# ----------------------- +# Find how we can fake an echo command that does not interpret backslash. +# In particular, with Autoconf 2.60 or later we add some code to the start +# of the generated configure script which will find a shell with a builtin +# printf (which we can use as an echo command). +m4_defun([_LT_PROG_ECHO_BACKSLASH], +[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +AC_MSG_CHECKING([how to print strings]) +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' else - need_locks=no + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$[]1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' fi -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} -# AC_LIBTOOL_OBJDIR -# ----------------- -AC_DEFUN([AC_LIBTOOL_OBJDIR], -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], -[rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null]) -objdir=$lt_cv_objdir -])# AC_LIBTOOL_OBJDIR +case "$ECHO" in + printf*) AC_MSG_RESULT([printf]) ;; + print*) AC_MSG_RESULT([print -r]) ;; + *) AC_MSG_RESULT([cat]) ;; +esac +m4_ifdef([_AS_DETECT_SUGGESTED], +[_AS_DETECT_SUGGESTED([ + test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test "X`printf %s $ECHO`" = "X$ECHO" \ + || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) + +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) +_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) +])# _LT_PROG_ECHO_BACKSLASH -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) -# ---------------------------------------------- -# Check hardcoding attributes. -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], -[AC_MSG_CHECKING([how to hardcode library paths into programs]) -_LT_AC_TAGVAR(hardcode_action, $1)= -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ - test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then - # We can hardcode non-existant directories. - if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && - test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then - # Linking always hardcodes the temporary library directory. - _LT_AC_TAGVAR(hardcode_action, $1)=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - _LT_AC_TAGVAR(hardcode_action, $1)=immediate +# _LT_WITH_SYSROOT +# ---------------- +AC_DEFUN([_LT_WITH_SYSROOT], +[AC_MSG_CHECKING([for sysroot]) +AC_ARG_WITH([sysroot], +[ --with-sysroot[=DIR] Search for dependent libraries within DIR + (or the compiler's sysroot if not specified).], +[], [with_sysroot=no]) + +dnl lt_sysroot will always be passed unquoted. We quote it here +dnl in case the user passed a directory name. +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + AC_MSG_RESULT([${with_sysroot}]) + AC_MSG_ERROR([The sysroot must be an absolute path.]) + ;; +esac + + AC_MSG_RESULT([${lt_sysroot:-no}]) +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl +[dependent libraries, and in which our libraries should be installed.])]) + +# _LT_ENABLE_LOCK +# --------------- +m4_defun([_LT_ENABLE_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AS_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +sparc*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac fi + rm -rf conftest* + ;; +esac + +need_locks="$enable_libtool_lock" +])# _LT_ENABLE_LOCK + + +# _LT_PROG_AR +# ----------- +m4_defun([_LT_PROG_AR], +[AC_CHECK_TOOLS(AR, [ar], false) +: ${AR=ar} +: ${AR_FLAGS=cru} +_LT_DECL([], [AR], [1], [The archiver]) +_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) + +AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], + [lt_cv_ar_at_file=no + AC_COMPILE_IFELSE([AC_LANG_PROGRAM], + [echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + ]) + ]) + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - _LT_AC_TAGVAR(hardcode_action, $1)=unsupported + archiver_list_spec=$lt_cv_ar_at_file fi -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) +_LT_DECL([], [archiver_list_spec], [1], + [How to feed a file listing to the archiver]) +])# _LT_PROG_AR -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH +# _LT_CMD_OLD_ARCHIVE +# ------------------- +m4_defun([_LT_CMD_OLD_ARCHIVE], +[_LT_PROG_AR -# AC_LIBTOOL_SYS_LIB_STRIP -# ------------------------ -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], -[striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else -# FIXME - insert some real tests, host_os isn't really good enough +AC_CHECK_TOOL(STRIP, strip, :) +test -z "$STRIP" && STRIP=: +_LT_DECL([], [STRIP], [1], [A symbol stripping program]) + +AC_CHECK_TOOL(RANLIB, ranlib, :) +test -z "$RANLIB" && RANLIB=: +_LT_DECL([], [RANLIB], [1], + [Commands used to install an old-style archive]) + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) -fi - ;; - *) - AC_MSG_RESULT([no]) + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi -])# AC_LIBTOOL_SYS_LIB_STRIP +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac +_LT_DECL([], [old_postinstall_cmds], [2]) +_LT_DECL([], [old_postuninstall_cmds], [2]) +_LT_TAGDECL([], [old_archive_cmds], [2], + [Commands used to build an old-style archive]) +_LT_DECL([], [lock_old_archive_extraction], [0], + [Whether to use a lock for old archive extraction]) +])# _LT_CMD_OLD_ARCHIVE -# AC_LIBTOOL_SYS_DYNAMIC_LINKER -# ----------------------------- -# PORTME Fill in your ld.so characteristics -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_MSG_CHECKING([dynamic linker characteristics]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -m4_if($1,[],[ -if test "$GCC" = yes; then - case $host_os in - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; - *) lt_awk_arg="/^libraries:/" ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary. - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path/$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" - else - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' -BEGIN {RS=" "; FS="/|\n";} { - lt_foo=""; - lt_count=0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo="/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[[lt_foo]]++; } - if (lt_freq[[lt_foo]] == 1) { print lt_foo; } -}'` - sys_lib_search_path_spec=`echo $lt_search_path_spec` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi]) -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([_LT_COMPILER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -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:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + 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. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + fi + $RM conftest* +]) - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; +if test x"[$]$2" = xyes; then + m4_if([$5], , :, [$5]) +else + m4_if([$6], , :, [$6]) +fi +])# _LT_COMPILER_OPTION -aix[[4-9]]*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; +# Old name: +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) + + +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------- +# Check whether the given linker option works +AC_DEFUN([_LT_LINKER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + else + $2=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" +]) -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; +if test x"[$]$2" = xyes; then + m4_if([$4], , :, [$4]) +else + m4_if([$5], , :, [$5]) +fi +])# _LT_LINKER_OPTION -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; +# Old name: +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) -bsdi[[45]]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; -cygwin* | mingw* | pw32*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no +# LT_CMD_MAX_LEN +#--------------- +AC_DEFUN([LT_CMD_MAX_LEN], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + teststring="ABCD" - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - shlibpath_overrides_runpath=yes + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - ;; - esac + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; ;; - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - m4_if([$1], [],[ - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[[123]]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; - freebsd3.[[01]]* | freebsdelf3.[[01]]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 ;; - freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ - freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + lt_cv_sys_max_cmd_len=32768 fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi ;; esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +max_cmd_len=$lt_cv_sys_max_cmd_len +_LT_DECL([], [max_cmd_len], [0], + [What is the maximum length of a command?]) +])# LT_CMD_MAX_LEN -interix[[3-9]]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; +# Old name: +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; +# _LT_HEADER_DLFCN +# ---------------- +m4_defun([_LT_HEADER_DLFCN], +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl +])# _LT_HEADER_DLFCN -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" - fi +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# ---------------------------------------------------------------- +m4_defun([_LT_TRY_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "$cross_compiling" = yes; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +[#line $LINENO "configure" +#include "confdefs.h" - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; +#if HAVE_DLFCN_H +#include +#endif -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; +#include -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif -nto-qnx*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } else - shlibpath_overrides_runpath=yes + puts (dlerror ()); + + return status; +}] +_LT_EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_dlunknown|x*) $3 ;; + esac + else : + # compilation failed + $3 fi - ;; +fi +rm -fr conftest* +])# _LT_TRY_DLOPEN_SELF -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; +# LT_SYS_DLOPEN_SELF +# ------------------ +AC_DEFUN([LT_SYS_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= -rdos*) - dynamic_linker=no - ;; + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ]) + ;; -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) + ]) + ]) + ]) + ]) + ]) + ;; + esac -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - shlibpath_overrides_runpath=no + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - shlibpath_overrides_runpath=yes - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac + enable_dlopen=no fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" -*) - dynamic_linker=no - ;; -esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no - -AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec], -[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"]) -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec], -[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"]) -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER - - -# _LT_AC_TAGCONFIG -# ---------------- -AC_DEFUN([_LT_AC_TAGCONFIG], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_ARG_WITH([tags], - [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], - [include additional configurations @<:@automatic@:>@])], - [tagnames="$withval"]) - -if test -f "$ltmain" && test -n "$tagnames"; then - if test ! -f "${ofile}"; then - AC_MSG_WARN([output file `$ofile' does not exist]) - fi - - if test -z "$LTCC"; then - eval "`$SHELL ${ofile} --config | grep '^LTCC='`" - if test -z "$LTCC"; then - AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) - else - AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) - fi - fi - if test -z "$LTCFLAGS"; then - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" - fi + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - # Extract list of available tagged configurations in $ofile. - # Note that this assumes the entire list is on one line. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for tagname in $tagnames; do - IFS="$lt_save_ifs" - # Check whether tagname contains only valid characters - case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in - "") ;; - *) AC_MSG_ERROR([invalid tag name: $tagname]) - ;; - esac + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null - then - AC_MSG_ERROR([tag name \"$tagname\" already exists]) + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) fi - # Update the list of available tags. - if test -n "$tagname"; then - echo appending configuration tag \"$tagname\" to $ofile - - case $tagname in - CXX) - if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - AC_LIBTOOL_LANG_CXX_CONFIG - else - tagname="" - fi - ;; - - F77) - if test -n "$F77" && test "X$F77" != "Xno"; then - AC_LIBTOOL_LANG_F77_CONFIG - else - tagname="" - fi - ;; - - GCJ) - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then - AC_LIBTOOL_LANG_GCJ_CONFIG - else - tagname="" - fi - ;; - - RC) - AC_LIBTOOL_LANG_RC_CONFIG - ;; - - *) - AC_MSG_ERROR([Unsupported tag name: $tagname]) - ;; - esac + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac - # Append the new tag name to the list of available tags. - if test -n "$tagname" ; then - available_tags="$available_tags $tagname" - fi - fi - done - IFS="$lt_save_ifs" + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac - # Now substitute the updated list of available tags. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then - mv "${ofile}T" "$ofile" - chmod +x "$ofile" - else - rm -f "${ofile}T" - AC_MSG_ERROR([unable to update list of available tagged configurations.]) - fi + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac fi -])# _LT_AC_TAGCONFIG - - -# AC_LIBTOOL_DLOPEN -# ----------------- -# enable checks for dlopen support -AC_DEFUN([AC_LIBTOOL_DLOPEN], - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) -])# AC_LIBTOOL_DLOPEN +_LT_DECL([dlopen_support], [enable_dlopen], [0], + [Whether dlopen is supported]) +_LT_DECL([dlopen_self], [enable_dlopen_self], [0], + [Whether dlopen of programs is supported]) +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], + [Whether dlopen of statically linked programs is supported]) +])# LT_SYS_DLOPEN_SELF + +# Old name: +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) -# AC_LIBTOOL_WIN32_DLL -# -------------------- -# declare package support for building win32 DLLs -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) -])# AC_LIBTOOL_WIN32_DLL - - -# AC_ENABLE_SHARED([DEFAULT]) +# _LT_COMPILER_C_O([TAGNAME]) # --------------------------- -# implement the --enable-shared flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_SHARED], -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([shared], - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], - [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_shared=]AC_ENABLE_SHARED_DEFAULT) -])# AC_ENABLE_SHARED - - -# AC_DISABLE_SHARED -# ----------------- -# set the default shared flag to --disable-shared -AC_DEFUN([AC_DISABLE_SHARED], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_SHARED(no) -])# AC_DISABLE_SHARED +# Check to see if options -c and -o are simultaneously supported by compiler. +# This macro does not hard code the compiler like AC_PROG_CC_C_O. +m4_defun([_LT_COMPILER_C_O], +[m4_require([_LT_DECL_SED])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -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:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . 2>&AS_MESSAGE_LOG_FD + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* +]) +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], + [Does compiler simultaneously support -c and -o options?]) +])# _LT_COMPILER_C_O -# AC_ENABLE_STATIC([DEFAULT]) -# --------------------------- -# implement the --enable-static flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_STATIC], -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([static], - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], - [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_static=]AC_ENABLE_STATIC_DEFAULT) -])# AC_ENABLE_STATIC +# _LT_COMPILER_FILE_LOCKS([TAGNAME]) +# ---------------------------------- +# Check to see if we can do hard links to lock some files if needed +m4_defun([_LT_COMPILER_FILE_LOCKS], +[m4_require([_LT_ENABLE_LOCK])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_COMPILER_C_O([$1]) -# AC_DISABLE_STATIC -# ----------------- -# set the default static flag to --disable-static -AC_DEFUN([AC_DISABLE_STATIC], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_STATIC(no) -])# AC_DISABLE_STATIC +hard_links="nottested" +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) +])# _LT_COMPILER_FILE_LOCKS -# AC_ENABLE_FAST_INSTALL([DEFAULT]) -# --------------------------------- -# implement the --enable-fast-install flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_FAST_INSTALL], -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([fast-install], - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], - [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) -])# AC_ENABLE_FAST_INSTALL +# _LT_CHECK_OBJDIR +# ---------------- +m4_defun([_LT_CHECK_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +_LT_DECL([], [objdir], [0], + [The name of the directory that contains temporary libtool files])dnl +m4_pattern_allow([LT_OBJDIR])dnl +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", + [Define to the sub-directory in which libtool stores uninstalled libraries.]) +])# _LT_CHECK_OBJDIR -# AC_DISABLE_FAST_INSTALL -# ----------------------- -# set the default to --disable-fast-install -AC_DEFUN([AC_DISABLE_FAST_INSTALL], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_FAST_INSTALL(no) -])# AC_DISABLE_FAST_INSTALL +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) +# -------------------------------------- +# Check hardcoding attributes. +m4_defun([_LT_LINKER_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || + test -n "$_LT_TAGVAR(runpath_var, $1)" || + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then + # We can hardcode non-existent directories. + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) -# AC_LIBTOOL_PICMODE([MODE]) -# -------------------------- -# implement the --with-pic flag -# MODE is either `yes' or `no'. If omitted, it defaults to `both'. -AC_DEFUN([AC_LIBTOOL_PICMODE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -pic_mode=ifelse($#,1,$1,default) -])# AC_LIBTOOL_PICMODE +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +_LT_TAGDECL([], [hardcode_action], [0], + [How to hardcode a shared library path into an executable]) +])# _LT_LINKER_HARDCODE_LIBPATH -# AC_PROG_EGREP -# ------------- -# This is predefined starting with Autoconf 2.54, so this conditional -# definition can be removed once we require Autoconf 2.54 or later. -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], - [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 - then ac_cv_prog_egrep='grep -E' - else ac_cv_prog_egrep='egrep' - fi]) - EGREP=$ac_cv_prog_egrep - AC_SUBST([EGREP]) -])]) +# _LT_CMD_STRIPLIB +# ---------------- +m4_defun([_LT_CMD_STRIPLIB], +[m4_require([_LT_DECL_EGREP]) +striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + fi + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +fi +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) +_LT_DECL([], [striplib], [1]) +])# _LT_CMD_STRIPLIB -# AC_PATH_TOOL_PREFIX -# ------------------- -# find a file program which can recognize shared library -AC_DEFUN([AC_PATH_TOOL_PREFIX], -[AC_REQUIRE([AC_PROG_EGREP])dnl -AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in -[[\\/*] | ?:[\\/]*]) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="ifelse([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -])# AC_PATH_TOOL_PREFIX - - -# AC_PATH_MAGIC -# ------------- -# find a file program which can recognize a shared library -AC_DEFUN([AC_PATH_MAGIC], -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) - else - MAGIC_CMD=: - fi -fi -])# AC_PATH_MAGIC - - -# AC_PROG_LD -# ---------- -# find the pathname to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], -[AC_ARG_WITH([gnu-ld], - [AC_HELP_STRING([--with-gnu-ld], - [assume the C compiler uses GNU ld @<:@default=no@:>@])], - [test "$withval" = no || with_gnu_ld=yes], - [with_gnu_ld=no]) -AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -ac_prog=ld +# _LT_SYS_DYNAMIC_LINKER([TAG]) +# ----------------------------- +# PORTME Fill in your ld.so characteristics +m4_defun([_LT_SYS_DYNAMIC_LINKER], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_OBJDUMP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +AC_MSG_CHECKING([dynamic linker characteristics]) +m4_if([$1], + [], [ if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - AC_MSG_CHECKING([for ld used by $CC]) - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; esac - case $ac_prog in - # Accept absolute paths. - [[\\/]]* | ?:[[\\/]]*) - re_direlt='/[[^/]][[^/]]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac -elif test "$with_gnu_ld" = yes; then - AC_MSG_CHECKING([for GNU ld]) -else - AC_MSG_CHECKING([for non-GNU ld]) -fi -AC_CACHE_VAL(lt_cv_path_LD, -[if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 /dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done - IFS="$lt_save_ifs" + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[[lt_foo]]++; } + if (lt_freq[[lt_foo]] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([[A-Za-z]]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else - lt_cv_path_LD="$LD" # Let the user override the test with a path. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) -LD="$lt_cv_path_LD" -if test -n "$LD"; then - AC_MSG_RESULT($LD) -else - AC_MSG_RESULT(no) -fi -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) -AC_PROG_LD_GNU -])# AC_PROG_LD - - -# AC_PROG_LD_GNU -# -------------- -AC_DEFUN([AC_PROG_LD_GNU], -[AC_REQUIRE([AC_PROG_EGREP])dnl -AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, -[# I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 /dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' +aix[[4-9]]*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - fi - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; - -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi ;; esac - else - lt_cv_deplibs_check_method=pass_all + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH fi ;; -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file +amigaos*) case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; - *) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; -interix[[3-9]]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH ;; -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all +bsdi[[45]]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs ;; -# This must be Linux ELF. -linux* | k*bsd*-gnu) - lt_cv_deplibs_check_method=pass_all - ;; +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no -netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' - fi - ;; + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; -nto-qnx*) - lt_cv_deplibs_check_method=unknown - ;; + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - fi + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH ;; -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; -rdos*) - lt_cv_deplibs_check_method=pass_all +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH ;; -solaris*) - lt_cv_deplibs_check_method=pass_all +freebsd1*) + dynamic_linker=no ;; -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[[123]]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes ;; - ncr) - lt_cv_deplibs_check_method=pass_all + freebsd3.[[01]]* | freebsdelf3.[[01]]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes ;; esac ;; -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown -])# AC_DEPLIBS_CHECK_METHOD +haiku*) + version_type=linux + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; -# AC_PROG_NM -# ---------- -# find the pathname to a BSD-compatible name lister -AC_DEFUN([AC_PROG_NM], -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_nm_to_check="${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/$lt_tmp_nm" - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in - */dev/null* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS="$lt_save_ifs" - done - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm -fi]) -NM="$lt_cv_path_NM" -])# AC_PROG_NM - +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; -# AC_CHECK_LIBM -# ------------- -# check for math library -AC_DEFUN([AC_CHECK_LIBM], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) - # These system don't have libm, or don't need it +interix[[3-9]]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes ;; -*) - AC_CHECK_LIB(m, cos, LIBM="-lm") + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no ;; -esac -])# AC_CHECK_LIBM +# This must be Linux ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no -# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) -# ----------------------------------- -# sets LIBLTDL to the link flags for the libltdl convenience library and -# LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-convenience to the configure arguments. Note that -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, -# it is assumed to be `libltdl'. LIBLTDL will be prefixed with -# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' -# (note the single quotes!). If your package is not flat and you're not -# using automake, define top_builddir and top_srcdir appropriately in -# the Makefiles. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; - esac - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -])# AC_LIBLTDL_CONVENIENCE + # Some binutils ld are patched to set DT_RUNPATH + AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], + [lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], + [lt_cv_shlibpath_overrides_runpath=yes])]) + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + ]) + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes -# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) -# ----------------------------------- -# sets LIBLTDL to the link flags for the libltdl installable library and -# LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-install to the configure arguments. Note that -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, -# and an installed libltdl is not found, it is assumed to be `libltdl'. -# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with -# '${top_srcdir}/' (note the single quotes!). If your package is not -# flat and you're not using automake, define top_builddir and top_srcdir -# appropriately in the Makefiles. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_CHECK_LIB(ltdl, lt_dlinit, - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], - [if test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - else - enable_ltdl_install=yes - fi - ]) - if test x"$enable_ltdl_install" = x"yes"; then - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - else - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLINCL= + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -])# AC_LIBLTDL_INSTALLABLE + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; -# AC_LIBTOOL_CXX -# -------------- -# enable support for C++ libraries -AC_DEFUN([AC_LIBTOOL_CXX], -[AC_REQUIRE([_LT_AC_LANG_CXX]) -])# AC_LIBTOOL_CXX +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; -# _LT_AC_LANG_CXX -# --------------- -AC_DEFUN([_LT_AC_LANG_CXX], -[AC_REQUIRE([AC_PROG_CXX]) -AC_REQUIRE([_LT_AC_PROG_CXXCPP]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) -])# _LT_AC_LANG_CXX +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; -# _LT_AC_PROG_CXXCPP -# ------------------ -AC_DEFUN([_LT_AC_PROG_CXXCPP], -[ -AC_REQUIRE([AC_PROG_CXX]) -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - AC_PROG_CXXCPP -fi -])# _LT_AC_PROG_CXXCPP - -# AC_LIBTOOL_F77 -# -------------- -# enable support for Fortran 77 libraries -AC_DEFUN([AC_LIBTOOL_F77], -[AC_REQUIRE([_LT_AC_LANG_F77]) -])# AC_LIBTOOL_F77 - - -# _LT_AC_LANG_F77 -# --------------- -AC_DEFUN([_LT_AC_LANG_F77], -[AC_REQUIRE([AC_PROG_F77]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) -])# _LT_AC_LANG_F77 - - -# AC_LIBTOOL_GCJ -# -------------- -# enable support for GCJ libraries -AC_DEFUN([AC_LIBTOOL_GCJ], -[AC_REQUIRE([_LT_AC_LANG_GCJ]) -])# AC_LIBTOOL_GCJ - - -# _LT_AC_LANG_GCJ -# --------------- -AC_DEFUN([_LT_AC_LANG_GCJ], -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], - [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], - [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], - [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) -])# _LT_AC_LANG_GCJ - - -# AC_LIBTOOL_RC -# ------------- -# enable support for Windows resource files -AC_DEFUN([AC_LIBTOOL_RC], -[AC_REQUIRE([LT_AC_PROG_RC]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) -])# AC_LIBTOOL_RC +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; -# AC_LIBTOOL_LANG_C_CONFIG -# ------------------------ -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) -AC_DEFUN([_LT_AC_LANG_C_CONFIG], -[lt_save_CC="$CC" -AC_LANG_PUSH(C) +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; -# Source file extension for C test sources. -ac_ext=c +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; -# Object file extension for compiled C test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext +rdos*) + dynamic_linker=no + ;; -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; -_LT_AC_SYS_COMPILER +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) -AC_LIBTOOL_SYS_LIB_STRIP -AC_LIBTOOL_DLOPEN_SELF - -# Report which library types will actually be built -AC_MSG_CHECKING([if libtool supports shared libraries]) -AC_MSG_RESULT([$can_build_shared]) +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; -AC_MSG_CHECKING([whether to build shared libraries]) -test "$can_build_shared" = "no" && enable_shared=no +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case $host_os in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH ;; -aix[[4-9]]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; +*) + dynamic_linker=no + ;; esac -AC_MSG_RESULT([$enable_shared]) +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no -AC_MSG_CHECKING([whether to build static libraries]) -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -AC_MSG_RESULT([$enable_static]) +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi -AC_LIBTOOL_CONFIG($1) +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi -AC_LANG_POP -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_C_CONFIG +_LT_DECL([], [variables_saved_for_relink], [1], + [Variables whose values should be saved in libtool wrapper scripts and + restored at link time]) +_LT_DECL([], [need_lib_prefix], [0], + [Do we need the "lib" prefix for modules?]) +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) +_LT_DECL([], [version_type], [0], [Library versioning type]) +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) +_LT_DECL([], [shlibpath_overrides_runpath], [0], + [Is shlibpath searched before the hard-coded library search path?]) +_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) +_LT_DECL([], [library_names_spec], [1], + [[List of archive names. First name is the real one, the rest are links. + The last name is the one that the linker finds with -lNAME]]) +_LT_DECL([], [soname_spec], [1], + [[The coded name of the library, if different from the real name]]) +_LT_DECL([], [install_override_mode], [1], + [Permission mode override for installation of shared libraries]) +_LT_DECL([], [postinstall_cmds], [2], + [Command to use after installation of a shared archive]) +_LT_DECL([], [postuninstall_cmds], [2], + [Command to use after uninstallation of a shared archive]) +_LT_DECL([], [finish_cmds], [2], + [Commands used to finish a libtool library installation in a directory]) +_LT_DECL([], [finish_eval], [1], + [[As "finish_cmds", except a single script fragment to be evaled but + not shown]]) +_LT_DECL([], [hardcode_into_libs], [0], + [Whether we should hardcode library paths into libraries]) +_LT_DECL([], [sys_lib_search_path_spec], [2], + [Compile-time system search path for libraries]) +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], + [Run-time system search path for libraries]) +])# _LT_SYS_DYNAMIC_LINKER -# AC_LIBTOOL_LANG_CXX_CONFIG +# _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], -[AC_LANG_PUSH(C++) -AC_REQUIRE([AC_PROG_CXX]) -AC_REQUIRE([_LT_AC_PROG_CXXCPP]) - -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_AC_TAGVAR(allow_undefined_flag, $1)= -_LT_AC_TAGVAR(always_export_symbols, $1)=no -_LT_AC_TAGVAR(archive_expsym_cmds, $1)= -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_direct, $1)=no -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no -_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported -_LT_AC_TAGVAR(hardcode_automatic, $1)=no -_LT_AC_TAGVAR(module_cmds, $1)= -_LT_AC_TAGVAR(module_expsym_cmds, $1)= -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_AC_TAGVAR(no_undefined_flag, $1)= -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no +# find a file program which can recognize shared library +AC_DEFUN([_LT_PATH_TOOL_PREFIX], +[m4_require([_LT_DECL_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="m4_if([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 -# Dependencies to place before and after the object being linked: -_LT_AC_TAGVAR(predep_objects, $1)= -_LT_AC_TAGVAR(postdep_objects, $1)= -_LT_AC_TAGVAR(predeps, $1)= -_LT_AC_TAGVAR(postdeps, $1)= -_LT_AC_TAGVAR(compiler_lib_search_path, $1)= -_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org -# Source file extension for C++ test sources. -ac_ext=cpp +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +_LT_DECL([], [MAGIC_CMD], [0], + [Used to examine libraries when file_magic_cmd begins with "file"])dnl +])# _LT_PATH_TOOL_PREFIX -# Object file extension for compiled C++ test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext +# Old name: +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" -# Code to be used in simple link tests -lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' +# _LT_PATH_MAGIC +# -------------- +# find a file program which can recognize a shared library +m4_defun([_LT_PATH_MAGIC], +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# _LT_PATH_MAGIC -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE +# LT_PATH_LD +# ---------- +# find the pathname to the GNU or non-GNU linker +AC_DEFUN([LT_PATH_LD], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl -# Allow CC to be a program name with arguments. -lt_save_CC=$CC -lt_save_LD=$LD -lt_save_GCC=$GCC -GCC=$GXX -lt_save_with_gnu_ld=$with_gnu_ld -lt_save_path_LD=$lt_cv_path_LD -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +AC_ARG_WITH([gnu-ld], + [AS_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no])dnl + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by $CC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) else - $as_unset lt_cv_prog_gnu_ld + AC_MSG_CHECKING([for non-GNU ld]) fi -if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &1 &1" | \ - grep 'no-whole-archive' > /dev/null; then - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' +# _LT_CMD_RELOAD +# -------------- +# find reload flag for linker +# -- PORTME Some linkers may need a different reload flag. +m4_defun([_LT_CMD_RELOAD], +[AC_CACHE_CHECK([for $LD option to reload object files], + lt_cv_ld_reload_flag, + [lt_cv_ld_reload_flag='-r']) +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' else - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + reload_cmds='$LD$reload_flag -o $output$reload_objs' fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi + ;; +esac +_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl +_LT_TAGDECL([], [reload_cmds], [2])dnl +])# _LT_CMD_RELOAD - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' -else - GXX=no - with_gnu_ld=no - wlarc= -fi +# _LT_CHECK_MAGIC_METHOD +# ---------------------- +# how to check for library dependencies +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_MAGIC_METHOD], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +AC_CACHE_CHECK([how to recognize dependent libraries], +lt_cv_deplibs_check_method, +[lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. -# PORTME: fill in a description of your system's C++ link characteristics -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -_LT_AC_TAGVAR(ld_shlibs, $1)=yes case $host_os in - aix3*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aix[[4-9]]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - ;; - esac +aix[[4-9]]*) + lt_cv_deplibs_check_method=pass_all + ;; - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi +beos*) + lt_cv_deplibs_check_method=pass_all + ;; - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_AC_TAGVAR(archive_cmds, $1)='' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes +bsdi[[45]]*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; - if test "$GXX" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared libraries. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; esac - ;; + else + lt_cv_deplibs_check_method=pass_all + fi + ;; - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi +gnu*) + lt_cv_deplibs_check_method=pass_all ;; - darwin* | rhapsody*) - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" - if test "$GXX" = yes ; then - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - if test "$lt_cv_apple_cc_single_mod" != "yes"; then - _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" - fi - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi - ;; - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; - freebsd[[12]]*) - # C++ shared libraries reported to be fairly broken before switch to ELF - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - freebsd-elf*) - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - ;; - freebsd* | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - _LT_AC_TAGVAR(ld_shlibs, $1)=yes + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; - gnu*) + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; - hpux9*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) ;; - *) - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - interix[[3-9]]*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' - fi - fi - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - esac - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc*) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - ;; - cxx*) - # Compaq C++ - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + esac + ;; - runpath_var=LD_RUN_PATH - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: +interix[[3-9]]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' + ;; - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - - # Not sure whether something based on - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 - # would be better. - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - esac - ;; - esac - ;; - lynxos*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - m88k*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - openbsd2*) - # C++ shared libraries are fairly broken - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - openbsd*) - if test -f /usr/libexec/ld.so; then - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - fi - output_verbose_link_cmd='echo' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - osf3*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - cxx*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' +# This must be Linux ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler +netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - cxx*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ - $rm $lib.exp' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - psos*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. - # Supported since Solaris 2.6 (maybe 2.5.1?) - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' - ;; - esac - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; - output_verbose_link_cmd='echo' +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + fi + ;; - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; - # The C++ compiler must be used to create the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' - if $CC --version | grep -v '^2\.7' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - fi +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - ;; - esac - fi - ;; - esac +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac + ncr) + lt_cv_deplibs_check_method=pass_all ;; - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - # So that behaviour is only enabled if SCOABSPATH is set to a - # non-empty value in the environment. Most likely only useful for - # creating official distributions of packages. - # This is a hack until libtool officially supports absolute path - # names for shared libraries. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so ;; - vxworks*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no + siemens) + lt_cv_deplibs_check_method=pass_all ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no + pc) + lt_cv_deplibs_check_method=pass_all ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; esac -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no +]) -_LT_AC_TAGVAR(GCC, $1)="$GXX" -_LT_AC_TAGVAR(LD, $1)="$LD" +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` + fi + ;; + esac +fi -AC_LIBTOOL_POSTDEP_PREDEP($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown -AC_LIBTOOL_CONFIG($1) +_LT_DECL([], [deplibs_check_method], [1], + [Method to check whether dependent libraries are shared objects]) +_LT_DECL([], [file_magic_cmd], [1], + [Command to use when deplibs_check_method = "file_magic"]) +_LT_DECL([], [file_magic_glob], [1], + [How to find potential files when deplibs_check_method = "file_magic"]) +_LT_DECL([], [want_nocaseglob], [1], + [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) +])# _LT_CHECK_MAGIC_METHOD -AC_LANG_POP -CC=$lt_save_CC -LDCXX=$LD -LD=$lt_save_LD -GCC=$lt_save_GCC -with_gnu_ldcxx=$with_gnu_ld -with_gnu_ld=$lt_save_with_gnu_ld -lt_cv_path_LDCXX=$lt_cv_path_LD -lt_cv_path_LD=$lt_save_path_LD -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -])# AC_LIBTOOL_LANG_CXX_CONFIG -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) -# ------------------------------------ -# Figure out "hidden" library dependencies from verbose -# compiler output when linking a shared library. -# Parse the compiler output and extract the necessary -# objects, libraries and library flags. -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -dnl we can't use the lt_simple_compile_test_code here, -dnl because it contains code intended for an executable, -dnl not a library. It's possible we should let each -dnl tag define a new lt_????_link_test_code variable, -dnl but it's only used here... -ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" done - - # Clean up. - rm -f a.out a.exe + : ${lt_cv_path_NM=no} +fi]) +if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" else - echo "libtool.m4: error: problem compiling $1 test program" -fi - -$rm -f confest.$objext - -_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= -if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then - _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` -fi - -# PORTME: override above test on systems where it is broken -ifelse([$1],[CXX], -[case $host_os in -interix[[3-9]]*) - # Interix 3.5 installs completely hosed .la files for C++, so rather than - # hack all around it, let's just trust "g++" to DTRT. - _LT_AC_TAGVAR(predep_objects,$1)= - _LT_AC_TAGVAR(postdep_objects,$1)= - _LT_AC_TAGVAR(postdeps,$1)= - ;; - -linux*) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - # - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" ;; - esac - if test "$solaris_use_stlport4" != yes; then - _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' - fi - ;; - esac - ;; - -solaris*) - case $cc_basename in - CC*) - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes + *) + DUMPBIN=: ;; esac + fi + AC_SUBST([DUMPBIN]) + if test "$DUMPBIN" != ":"; then + NM="$DUMPBIN" + fi +fi +test -z "$NM" && NM=nm +AC_SUBST([NM]) +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl - # Adding this requires a known-good setup of shared libraries for - # Sun compiler versions before 5.6, else PIC objects from an old - # archive will be linked into the output, leading to subtle bugs. - if test "$solaris_use_stlport4" != yes; then - _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' - fi +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], + [lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) + cat conftest.out >&AS_MESSAGE_LOG_FD + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest*]) +])# LT_PATH_NM + +# Old names: +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_PROG_NM], []) +dnl AC_DEFUN([AC_PROG_NM], []) + +# _LT_CHECK_SHAREDLIB_FROM_LINKLIB +# -------------------------------- +# how to determine the name of the shared library +# associated with a specific link library. +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +m4_require([_LT_DECL_DLLTOOL]) +AC_CACHE_CHECK([how to associate runtime and link libraries], +lt_cv_sharedlib_from_linklib_cmd, +[lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; esac ]) -case " $_LT_AC_TAGVAR(postdeps, $1) " in -*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; -esac -])# AC_LIBTOOL_POSTDEP_PREDEP - -# AC_LIBTOOL_LANG_F77_CONFIG -# -------------------------- -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)]) -AC_DEFUN([_LT_AC_LANG_F77_CONFIG], -[AC_REQUIRE([AC_PROG_F77]) -AC_LANG_PUSH(Fortran 77) - -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_AC_TAGVAR(allow_undefined_flag, $1)= -_LT_AC_TAGVAR(always_export_symbols, $1)=no -_LT_AC_TAGVAR(archive_expsym_cmds, $1)= -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_direct, $1)=no -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no -_LT_AC_TAGVAR(hardcode_automatic, $1)=no -_LT_AC_TAGVAR(module_cmds, $1)= -_LT_AC_TAGVAR(module_expsym_cmds, $1)= -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_AC_TAGVAR(no_undefined_flag, $1)= -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for f77 test sources. -ac_ext=f - -# Object file extension for compiled f77 test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="\ - subroutine t - return - end -" - -# Code to be used in simple link tests -lt_simple_link_test_code="\ - program t - end -" - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE +_LT_DECL([], [sharedlib_from_linklib_cmd], [1], + [Command to associate shared and link libraries]) +])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${F77-"f77"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) -AC_MSG_CHECKING([if libtool supports shared libraries]) -AC_MSG_RESULT([$can_build_shared]) +# _LT_PATH_MANIFEST_TOOL +# ---------------------- +# locate the manifest tool +m4_defun([_LT_PATH_MANIFEST_TOOL], +[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], + [lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&AS_MESSAGE_LOG_FD + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest*]) +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi +_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl +])# _LT_PATH_MANIFEST_TOOL -AC_MSG_CHECKING([whether to build shared libraries]) -test "$can_build_shared" = "no" && enable_shared=no -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case $host_os in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi +# LT_LIB_M +# -------- +# check for math library +AC_DEFUN([LT_LIB_M], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it ;; -aix[[4-9]]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac -AC_MSG_RESULT([$enable_shared]) +AC_SUBST([LIBM]) +])# LT_LIB_M -AC_MSG_CHECKING([whether to build static libraries]) -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -AC_MSG_RESULT([$enable_static]) - -_LT_AC_TAGVAR(GCC, $1)="$G77" -_LT_AC_TAGVAR(LD, $1)="$LD" - -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +# Old name: +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_CHECK_LIBM], []) -AC_LIBTOOL_CONFIG($1) -AC_LANG_POP -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_F77_CONFIG +# _LT_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------- +m4_defun([_LT_COMPILER_NO_RTTI], +[m4_require([_LT_TAG_COMPILER])dnl +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= -# AC_LIBTOOL_LANG_GCJ_CONFIG -# -------------------------- -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)]) -AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG], -[AC_LANG_SAVE +if test "$GCC" = yes; then + case $cc_basename in + nvcc*) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; + *) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; + esac -# Source file extension for Java test sources. -ac_ext=java + _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], + [Compiler flag to turn off builtin functions]) +])# _LT_COMPILER_NO_RTTI -# Object file extension for compiled Java test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext -# Code to be used in simple compile tests -lt_simple_compile_test_code="class foo {}" +# _LT_CMD_GLOBAL_SYMBOLS +# ---------------------- +m4_defun([_LT_CMD_GLOBAL_SYMBOLS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([LT_PATH_NM])dnl +AC_REQUIRE([LT_PATH_LD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_TAG_COMPILER])dnl -# Code to be used in simple link tests -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${GCJ-"gcj"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris*) + symcode='[[BDRT]]' + ;; +sco3.2v5*) + symcode='[[DT]]' + ;; +sysv4.2uw2*) + symcode='[[DT]]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[[ABDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac -# GCJ did not exist at the time GCC didn't implicitly link libc in. -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGIRSTW]]' ;; +esac -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" -AC_LIBTOOL_CONFIG($1) +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac -AC_LANG_RESTORE -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_GCJ_CONFIG +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" -# AC_LIBTOOL_LANG_RC_CONFIG -# ------------------------- -# Ensure that the configuration vars for the Windows resource compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)]) -AC_DEFUN([_LT_AC_LANG_RC_CONFIG], -[AC_LANG_SAVE + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function + # and D for any global variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK ['"\ +" {last_section=section; section=\$ 3};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx]" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" -# Source file extension for RC test sources. -ac_ext=rc + # Check to see that the pipe works correctly. + pipe_works=no -# Object file extension for compiled RC test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF -# Code to be used in simple compile tests -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' + if AC_TRY_EVAL(ac_compile); then + # Now try to grab the symbols. + nlist=conftest.nm + if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi -# Code to be used in simple link tests -lt_simple_link_test_code="$lt_simple_compile_test_code" + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT@&t@_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT@&t@_DLSYM_CONST +#else +# define LT@&t@_DLSYM_CONST const +#endif -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER +#ifdef __cplusplus +extern "C" { +#endif -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${RC-"windres"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) -_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + cat <<_LT_EOF >> conftest.$ac_ext -AC_LIBTOOL_CONFIG($1) +/* The mapping between symbol names and symbols. */ +LT@&t@_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[[]] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; -AC_LANG_RESTORE -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_RC_CONFIG +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* -# AC_LIBTOOL_CONFIG([TAGNAME]) -# ---------------------------- -# If TAGNAME is not passed, then create an initial libtool script -# with a default configuration from the untagged config vars. Otherwise -# add code to config.status for appending the configuration named by -# TAGNAME from the matching tagged config vars. -AC_DEFUN([AC_LIBTOOL_CONFIG], -[# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - _LT_AC_TAGVAR(compiler, $1) \ - _LT_AC_TAGVAR(CC, $1) \ - _LT_AC_TAGVAR(LD, $1) \ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \ - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \ - _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \ - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \ - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \ - _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \ - _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \ - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \ - _LT_AC_TAGVAR(old_archive_cmds, $1) \ - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \ - _LT_AC_TAGVAR(predep_objects, $1) \ - _LT_AC_TAGVAR(postdep_objects, $1) \ - _LT_AC_TAGVAR(predeps, $1) \ - _LT_AC_TAGVAR(postdeps, $1) \ - _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ - _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \ - _LT_AC_TAGVAR(archive_cmds, $1) \ - _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ - _LT_AC_TAGVAR(postinstall_cmds, $1) \ - _LT_AC_TAGVAR(postuninstall_cmds, $1) \ - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \ - _LT_AC_TAGVAR(allow_undefined_flag, $1) \ - _LT_AC_TAGVAR(no_undefined_flag, $1) \ - _LT_AC_TAGVAR(export_symbols_cmds, $1) \ - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \ - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \ - _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \ - _LT_AC_TAGVAR(hardcode_automatic, $1) \ - _LT_AC_TAGVAR(module_cmds, $1) \ - _LT_AC_TAGVAR(module_expsym_cmds, $1) \ - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \ - _LT_AC_TAGVAR(fix_srcfile_path, $1) \ - _LT_AC_TAGVAR(exclude_expsyms, $1) \ - _LT_AC_TAGVAR(include_expsyms, $1); do - - case $var in - _LT_AC_TAGVAR(old_archive_cmds, $1) | \ - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \ - _LT_AC_TAGVAR(archive_cmds, $1) | \ - _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ - _LT_AC_TAGVAR(module_cmds, $1) | \ - _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ - _LT_AC_TAGVAR(export_symbols_cmds, $1) | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) +else + AC_MSG_RESULT(ok) +fi - case $lt_echo in - *'\[$]0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'` - ;; - esac +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], + [Take the output of nm and produce a listing of raw symbols and C names]) +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], + [Transform the output of nm in a proper C declaration]) +_LT_DECL([global_symbol_to_c_name_address], + [lt_cv_sys_global_symbol_to_c_name_address], [1], + [Transform the output of nm in a C name address pair]) +_LT_DECL([global_symbol_to_c_name_address_lib_prefix], + [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], + [Transform the output of nm in a C name address pair when lib prefix is needed]) +_LT_DECL([], [nm_file_list_spec], [1], + [Specify filename containing input files for $NM]) +]) # _LT_CMD_GLOBAL_SYMBOLS -ifelse([$1], [], - [cfgfile="${ofile}T" - trap "$rm \"$cfgfile\"; exit 1" 1 2 15 - $rm -f "$cfgfile" - AC_MSG_NOTICE([creating $ofile])], - [cfgfile="$ofile"]) - cat <<__EOF__ >> "$cfgfile" -ifelse([$1], [], -[#! $SHELL +# _LT_COMPILER_PIC([TAGNAME]) +# --------------------------- +m4_defun([_LT_COMPILER_PIC], +[m4_require([_LT_TAG_COMPILER])dnl +_LT_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_TAGVAR(lt_prog_compiler_static, $1)= -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 -# Free Software Foundation, Inc. -# -# This file is part of GNU Libtool: -# Originally by Gordon Matzigkeit , 1996 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. +m4_if([$1], [CXX], [ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix[[4-9]]*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + dgux*) + case $cc_basename in + ec++*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # KAI C++ Compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + ecpc* ) + # old Intel C++ for x86_64 which still supported -KPIC. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + icpc* ) + # Intel C++, used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd* | netbsdelf*-gnu) + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx*) + # Digital/Compaq C++ + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc*) + # Lucid + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + vxworks*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' -# A sed program that does not truncate output. -SED=$lt_SED + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="$SED -e 1s/^X//" + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; -# The names of the tagged configurations supported by this script. -available_tags= + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; -# ### BEGIN LIBTOOL CONFIG], -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; -# Whether or not to build static libraries. -build_old_libs=$enable_static + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os + hpux9* | hpux10* | hpux11*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; -# An echo program that does not interpret backslashes. -echo=$lt_echo + irix5* | irix6* | nonstopux*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + # old Intel for x86_64 which still supported -KPIC. + ecc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' + ;; + nagfor*) + # NAG Fortran compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + ccc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ F* | *Sun*Fortran*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='' + ;; + *Sun\ C*) + # Sun C 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + esac + ;; + esac + ;; -# A C compiler. -LTCC=$lt_LTCC + newsos6) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; -# A language-specific compiler. -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + osf3* | osf4* | osf5*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; -# Is the compiler the GNU C compiler? -with_gcc=$_LT_AC_TAGVAR(GCC, $1) + rdos*) + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; -# An ERE matcher. -EGREP=$lt_EGREP + solaris*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; + *) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; + esac + ;; -# The linker used to build libraries. -LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + sunos4*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# Whether we need hard or soft links. -LN_S=$lt_LN_S + sysv4 | sysv4.2uw2* | sysv4.3*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# A BSD-compatible nm program. -NM=$lt_NM + sysv4*MP*) + if test -d /usr/nec ;then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; -# A symbol stripping program -STRIP=$lt_STRIP + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD + unicos*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" + uts4*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" + ;; +esac -# Used on cygwin: assembler. -AS="$AS" +AC_CACHE_CHECK([for $compiler option to produce PIC], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) +_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) -# The name of the directory that contains temporary libtool files. -objdir=$objdir +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], + [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], + [Additional compiler flags for building library objects]) -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], + [How to pass a linker flag through the compiler]) +# +# Check to make sure the static flag actually works. +# +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], + _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), + $lt_tmp_static_flag, + [], + [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], + [Compiler flag to prevent dynamic linking]) +])# _LT_COMPILER_PIC -# How to pass a linker flag through the compiler. -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) -# Object file suffix (normally "o"). -objext="$ac_objext" +# _LT_LINKER_SHLIBS([TAGNAME]) +# ---------------------------- +# See if the linker supports building shared libraries. +m4_defun([_LT_LINKER_SHLIBS], +[AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +m4_if([$1], [CXX], [ + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + case $host_os in + aix[[4-9]]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global defined + # symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + cygwin* | mingw* | cegcc*) + case $cc_basename in + cl*) ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + ;; + esac + ;; + linux* | k*bsd*-gnu | gnu*) + _LT_TAGVAR(link_all_deplibs, $1)=no + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac +], [ + runpath_var= + _LT_TAGVAR(allow_undefined_flag, $1)= + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(archive_cmds, $1)= + _LT_TAGVAR(archive_expsym_cmds, $1)= + _LT_TAGVAR(compiler_needs_object, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(hardcode_automatic, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_TAGVAR(hardcode_libdir_separator, $1)= + _LT_TAGVAR(hardcode_minus_L, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_TAGVAR(inherit_rpath, $1)=no + _LT_TAGVAR(link_all_deplibs, $1)=unknown + _LT_TAGVAR(module_cmds, $1)= + _LT_TAGVAR(module_expsym_cmds, $1)= + _LT_TAGVAR(old_archive_from_new_cmds, $1)= + _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_TAGVAR(thread_safe_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. +dnl Note also adjust exclude_expsyms for C++ above. + extract_expsyms_cmds= -# Old archive suffix (normally "a"). -libext="$libext" + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + linux* | k*bsd*-gnu | gnu*) + _LT_TAGVAR(link_all_deplibs, $1)=no + ;; + esac -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' + _LT_TAGVAR(ld_shlibs, $1)=yes -# Executable file suffix (normally ""). -exeext="$exeext" + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no + if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; + *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi -# Additional compiler flags for building library objects. -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) -pic_mode=$pic_mode + if test "$lt_use_gnu_ld_interface" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + supports_anon_versioning=no + case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) + # See if GNU ld supports shared libraries. + case $host_os in + aix[[3-9]]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 -# Must we lock files when doing compilation? -need_locks=$lt_need_locks +*** Warning: the GNU linker, at least up to release 2.19, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix +_LT_EOF + fi + ;; -# Do we need a version for libraries? -need_version=$need_version + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; -# Whether dlopen is supported. -dlopen_support=$enable_dlopen + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test "$host_os" = linux-dietlibc; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test "$tmp_diet" = no + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + _LT_TAGVAR(whole_archive_flag_spec, $1)= + tmp_sharedflag='--shared' ;; + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) + case $cc_basename in + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# Library versioning type. -version_type=$version_type + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; -# Format of library name prefix. -libname_spec=$lt_libname_spec + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; -# Commands used to build and install a shared archive. -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds + sunos4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib + if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then + runpath_var= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. -# The directories searched by this compiler when creating a shared -# library -compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1) + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) + if test "$GCC" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + _LT_TAGVAR(link_all_deplibs, $1)=no + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) + bsdi[[45]]*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + case $cc_basename in + cl*) + # Native MSVC + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + esac + ;; -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval + dgux*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + freebsd1*) + _LT_TAGVAR(ld_shlibs, $1)=no + ;; -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# This is the shared library runtime path variable. -runpath_var=$runpath_var + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# This is the shared library path variable. -shlibpath_var=$shlibpath_var + hpux9*) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; -# How to hardcode a shared library path into an executable. -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) + hpux10*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + fi + ;; -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs + hpux11*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + m4_if($1, [], [ + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + _LT_LINKER_OPTION([if $CC understands -b], + _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) + ;; + esac + fi + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], + [lt_cv_irix_exported_symbol], + [save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + AC_LINK_IFELSE( + [AC_LANG_SOURCE( + [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], + [C++], [[int foo (void) { return 0; }]], + [Fortran 77], [[ + subroutine foo + end]], + [Fortran], [[ + subroutine foo + end]])])], + [lt_cv_irix_exported_symbol=yes], + [lt_cv_irix_exported_symbol=no]) + LDFLAGS="$save_LDFLAGS"]) + if test "$lt_cv_irix_exported_symbol" = yes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) + newsos6) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) + *nto* | *qnx*) + ;; -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" + os2*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) + osf3*) + if test "$GCC" = yes; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + # Both c and cxx compiler support -rpath directly + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path + solaris*) + _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' + if test "$GCC" = yes; then + wlarc='${wl}' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='${wl}' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + fi + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; -# Set to yes if exported symbols are required. -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# The commands to list exported symbols. -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) + sysv4) + case $host_vendor in + sni) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds + sysv4.3*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_TAGVAR(ld_shlibs, $1)=yes + fi + ;; -# Symbols that must always be exported. -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' -ifelse([$1],[], -[# ### END LIBTOOL CONFIG], -[# ### END LIBTOOL TAG CONFIG: $tagname]) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; -__EOF__ + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' -ifelse([$1],[], [ - case $host_os in - aix3*) - cat <<\EOF >> "$cfgfile" + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -EOF - ;; - esac + uts4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + *) + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac - mv -f "$cfgfile" "$ofile" || \ - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" -]) -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" + if test x$host_vendor = xsni; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' + ;; + esac + fi fi -fi -])# AC_LIBTOOL_CONFIG - - -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) -# ------------------------------------------- -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl - -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= +]) +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) +test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no -if test "$GCC" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld - AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], - lt_cv_prog_compiler_rtti_exceptions, - [-fno-rtti -fno-exceptions], [], - [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) -fi -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl +_LT_DECL([], [extract_expsyms_cmds], [2], + [The commands to extract the exported symbol list from a shared archive]) +# +# Do we need to explicitly link libc? +# +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# --------------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], -[AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([LT_AC_PROG_SED]) -AC_REQUIRE([AC_PROG_NM]) -AC_REQUIRE([AC_OBJEXT]) -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output from $compiler object]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], -[ -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_CACHE_CHECK([whether -lc should be explicitly linked in], + [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), + [$RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) + _LT_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) + then + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no + else + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + ]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) + ;; + esac + fi + ;; +esac -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], + [Whether or not to add -lc for building shared libraries]) +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes], + [enable_shared_with_static_runtimes], [0], + [Whether or not to disallow shared libs when runtime libs are static]) +_LT_TAGDECL([], [export_dynamic_flag_spec], [1], + [Compiler flag to allow reflexive dlopens]) +_LT_TAGDECL([], [whole_archive_flag_spec], [1], + [Compiler flag to generate shared objects directly from archives]) +_LT_TAGDECL([], [compiler_needs_object], [1], + [Whether the compiler copes with passing no objects directly]) +_LT_TAGDECL([], [old_archive_from_new_cmds], [2], + [Create an old-style archive from a shared archive]) +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], + [Create a temporary old-style archive to link instead of a shared archive]) +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) +_LT_TAGDECL([], [archive_expsym_cmds], [2]) +_LT_TAGDECL([], [module_cmds], [2], + [Commands used to build a loadable module if different from building + a shared archive.]) +_LT_TAGDECL([], [module_expsym_cmds], [2]) +_LT_TAGDECL([], [with_gnu_ld], [1], + [Whether we are building with GNU ld or not]) +_LT_TAGDECL([], [allow_undefined_flag], [1], + [Flag that allows shared libraries with undefined symbols to be built]) +_LT_TAGDECL([], [no_undefined_flag], [1], + [Flag that enforces no undefined symbols]) +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], + [Flag to hardcode $libdir into a binary during linking. + This must work even if $libdir does not exist]) +_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1], + [[If ld is used when linking, flag to hardcode $libdir into a binary + during linking. This must work even if $libdir does not exist]]) +_LT_TAGDECL([], [hardcode_libdir_separator], [1], + [Whether we need a single "-rpath" flag with a separated argument]) +_LT_TAGDECL([], [hardcode_direct], [0], + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes + DIR into the resulting binary]) +_LT_TAGDECL([], [hardcode_direct_absolute], [0], + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes + DIR into the resulting binary and the resulting library dependency is + "absolute", i.e impossible to change by setting ${shlibpath_var} if the + library is relocated]) +_LT_TAGDECL([], [hardcode_minus_L], [0], + [Set to "yes" if using the -LDIR flag during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_shlibpath_var], [0], + [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_automatic], [0], + [Set to "yes" if building a shared library automatically hardcodes DIR + into the library and all subsequent libraries and executables linked + against it]) +_LT_TAGDECL([], [inherit_rpath], [0], + [Set to yes if linker adds runtime paths of dependent libraries + to runtime path list]) +_LT_TAGDECL([], [link_all_deplibs], [0], + [Whether libtool must link a program against all its dependency libraries]) +_LT_TAGDECL([], [always_export_symbols], [0], + [Set to "yes" if exported symbols are required]) +_LT_TAGDECL([], [export_symbols_cmds], [2], + [The commands to list exported symbols]) +_LT_TAGDECL([], [exclude_expsyms], [1], + [Symbols that should not be listed in the preloaded symbols]) +_LT_TAGDECL([], [include_expsyms], [1], + [Symbols that must always be exported]) +_LT_TAGDECL([], [prelink_cmds], [2], + [Commands necessary for linking programs (against libraries) with templates]) +_LT_TAGDECL([], [postlink_cmds], [2], + [Commands necessary for finishing linking programs]) +_LT_TAGDECL([], [file_list_spec], [1], + [Specify filename containing input files]) +dnl FIXME: Not yet implemented +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], +dnl [Compiler flag to generate thread safe objects]) +])# _LT_LINKER_SHLIBS -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' -# Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +# _LT_LANG_C_CONFIG([TAG]) +# ------------------------ +# Ensure that the configuration variables for a C compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_C_CONFIG], +[m4_require([_LT_DECL_EGREP])dnl +lt_save_CC="$CC" +AC_LANG_PUSH(C) -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" +# Source file extension for C test sources. +ac_ext=c -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) # Its linker distinguishes data from code symbols - if test "$host_cpu" = ia64; then - symcode='[[ABCDEGRST]]' - fi - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -linux* | k*bsd*-gnu) - if test "$host_cpu" = ia64; then - symcode='[[ABCDGIRSTW]]' - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - fi - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris*) - symcode='[[BDRT]]' - ;; -sco3.2v5*) - symcode='[[DT]]' - ;; -sysv4.2uw2*) - symcode='[[DT]]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[[ABDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac +# Object file extension for compiled C test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[[ABCDGIRSTW]]' ;; -esac +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do +_LT_TAG_COMPILER +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE - # Write the raw and C identifiers. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + LT_SYS_DLOPEN_SELF + _LT_CMD_STRIPLIB + + # Report which library types will actually be built + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) - # Check to see that the pipe works correctly. - pipe_works=no + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no - rm -f conftest* - cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) - # Make sure that we snagged all the symbols we need. - if grep ' nm_test_var$' "$nlist" >/dev/null; then - if grep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) -EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + _LT_CONFIG($1) +fi +AC_LANG_POP +CC="$lt_save_CC" +])# _LT_LANG_C_CONFIG - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr_t void * -#else -# define lt_ptr_t char * -# define const -#endif -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr_t address; -} -lt_preloaded_symbols[[]] = -{ -EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr_t) 0} -}; +# _LT_LANG_CXX_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a C++ compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_CXX_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_PROG_CXXCPP +else + _lt_caught_CXX_error=yes +fi -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD - fi +AC_LANG_PUSH(C++) +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(compiler_needs_object, $1)=no +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the CXX compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_caught_CXX_error" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="int some_variable = 0;" + + # Code to be used in simple link tests + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC=$CC + lt_save_CFLAGS=$CFLAGS + lt_save_LD=$LD + lt_save_GCC=$GCC + GCC=$GXX + lt_save_with_gnu_ld=$with_gnu_ld + lt_save_path_LD=$lt_cv_path_LD + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD - cat conftest.$ac_ext >&5 + $as_unset lt_cv_prog_gnu_ld fi - rm -rf conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break + if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX else - lt_cv_sys_global_symbol_pipe= + $as_unset lt_cv_path_LD fi -done -]) -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE + test -z "${LDCXX+set}" || LD=$LDCXX + CC=${CXX-"c++"} + CFLAGS=$CXXFLAGS + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + if test -n "$compiler"; then + # We don't want -fno-exception when compiling C++ code, so set the + # no_builtin_flag separately + if test "$GXX" = yes; then + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + else + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + fi -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) -# --------------------------------------- -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= + if test "$GXX" = yes; then + # Set up default GNU C++ configuration -AC_MSG_CHECKING([for $compiler option to produce PIC]) - ifelse([$1],[CXX],[ - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + LT_PATH_LD - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | os2* | pw32*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - m4_if([$1], [GCJ], [], - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | + $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi - ;; - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + GXX=no + with_gnu_ld=no + wlarc= + fi + + # PORTME: fill in a description of your system's C++ link characteristics + AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) + _LT_TAGVAR(ld_shlibs, $1)=yes case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; aix[[4-9]]*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' + + if test "$GXX" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to + # export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty + # executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared + # libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + _LT_TAGVAR(ld_shlibs, $1)=no fi ;; + chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32* | cegcc*) + case $GXX,$cc_basename in + ,cl* | no,cl*) + # Native MSVC + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + func_to_tool_file "$lt_outputfile"~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # g++ + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi ;; esac ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - esac - ;; + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + dgux*) - case $cc_basename in - ec++*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no ;; - ghcx*) + ghcx*) # Green Hills C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no ;; - *) + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no ;; - esac - ;; + esac + ;; + + freebsd[[12]]*) + # C++ shared libraries reported to be fairly broken before + # switch to ELF + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + freebsd-elf*) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd* | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - if test "$host_cpu" != ia64; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - fi - ;; - aCC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + gnu*) + ;; + + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + hpux9*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; - *) + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - # CC pic flag -KPIC is the default. + esac + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; - *) + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' + fi + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes ;; - esac - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # KAI C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + esac + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; - icpc* | ecpc*) + icpc* | ecpc* ) # Intel C++ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + case `$CC -V` in + *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) + _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' + _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ + $RANLIB $oldlib' + _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + *) # Version 6 and above use weak symbols + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + ;; cxx*) # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' + ;; + xl* | mpixl* | bgxl*) + # IBM XL 8.0 on PPC, with GNU ld + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no ;; + mvs*) - case $cc_basename in - cxx*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no ;; *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + + *nto* | *qnx*) + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + openbsd2*) + # C++ shared libraries are fairly broken + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd=func_echo_all + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi ;; + osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + case $host in + osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; + *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; + esac ;; - RCC*) + RCC*) # Rational C++ 2.4.1 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no ;; - cxx*) - # Digital/Compaq C++ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + cxx*) + case $host in + osf3*) + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + ;; + *) + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ + $RM $lib.exp' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + case $host in + osf3*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi ;; - esac - ;; + esac + ;; + psos*) - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - ;; - *) - ;; - esac - ;; + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + sunos4*) - case $cc_basename in - CC*) + case $cc_basename in + CC*) # Sun C++ 4.x - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no ;; - lcc*) + lcc*) # Lucid - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no ;; - esac - ;; - vxworks*) - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -], -[ - if test "$GCC" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - m4_if([$1], [GCJ], [], - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - - interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - enable_shared=no - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - esac - ;; - - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - m4_if([$1], [GCJ], [], - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; + esac + ;; - hpux9* | hpux10* | hpux11*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - ;; + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(archive_cmds_need_lc,$1)=yes + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes - irix5* | irix6* | nonstopux*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC (with -KPIC) is the default. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; + output_verbose_link_cmd='func_echo_all' - newsos6) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - linux* | k*bsd*-gnu) - case $cc_basename in - icc* | ecc*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - ccc*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All Alpha code is PIC. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # The C++ compiler must be used to create the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | $GREP -v '^2\.7' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + fi + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='' - ;; - esac - ;; - esac - ;; - osf3* | osf4* | osf5*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All OSF/1 code is PIC. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - rdos*) - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' - solaris*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in - f77* | f90* | f95*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; - *) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; esac ;; - sunos4*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ + '"$_LT_TAGVAR(old_archive_cmds, $1)" + _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ + '"$_LT_TAGVAR(reload_cmds, $1)" + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac ;; - unicos*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; - uts4*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; esac - fi -]) -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then - AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], - _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1), - [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], - [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in - "" | " "*) ;; - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; - esac], - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) -fi -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" - ;; -esac -# -# Check to make sure the static flag actually works. -# -wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], - _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1), - $lt_tmp_static_flag, - [], - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) -]) + AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) + test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + _LT_TAGVAR(GCC, $1)="$GXX" + _LT_TAGVAR(LD, $1)="$LD" -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) -# ------------------------------------ -# See if the linker supports building shared libraries. -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -ifelse([$1],[CXX],[ - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in - aix[[4-9]]*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - else - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" - ;; - cygwin* | mingw*) - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' - ;; - *) - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac - _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] -],[ - runpath_var= - _LT_AC_TAGVAR(allow_undefined_flag, $1)= - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no - _LT_AC_TAGVAR(archive_cmds, $1)= - _LT_AC_TAGVAR(archive_expsym_cmds, $1)= - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown - _LT_AC_TAGVAR(hardcode_automatic, $1)=no - _LT_AC_TAGVAR(module_cmds, $1)= - _LT_AC_TAGVAR(module_expsym_cmds, $1)= - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - _LT_AC_TAGVAR(include_expsyms, $1)= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - # Exclude shared library initialization/finalization symbols. -dnl Note also adjust exclude_expsyms for C++ above. - extract_expsyms_cmds= - # Just being paranoid about ensuring that cc_basename is set. - _LT_CC_BASENAME([$compiler]) - case $host_os in - cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS + LDCXX=$LD + LD=$lt_save_LD + GCC=$lt_save_GCC + with_gnu_ld=$lt_save_with_gnu_ld + lt_cv_path_LDCXX=$lt_cv_path_LD + lt_cv_path_LD=$lt_save_path_LD + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +fi # test "$_lt_caught_CXX_error" != yes - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' +AC_LANG_POP +])# _LT_LANG_CXX_CONFIG - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - fi - supports_anon_versioning=no - case `$LD -v 2>/dev/null` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - # See if GNU ld supports shared libraries. - case $host_os in - aix[[3-9]]*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <&2 +# _LT_FUNC_STRIPNAME_CNF +# ---------------------- +# func_stripname_cnf prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# +# This function is identical to the (non-XSI) version of func_stripname, +# except this one can be used by m4 code that may be executed by configure, +# rather than the libtool script. +m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl +AC_REQUIRE([_LT_DECL_SED]) +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) +func_stripname_cnf () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname_cnf +])# _LT_FUNC_STRIPNAME_CNF -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) +# --------------------------------- +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +m4_defun([_LT_SYS_HIDDEN_LIBDEPS], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl +# Dependencies to place before and after the object being linked: +_LT_TAGVAR(predep_objects, $1)= +_LT_TAGVAR(postdep_objects, $1)= +_LT_TAGVAR(predeps, $1)= +_LT_TAGVAR(postdeps, $1)= +_LT_TAGVAR(compiler_lib_search_path, $1)= -EOF - fi - ;; +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF +int a; +void foo (void) { a = 0; } +_LT_EOF +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF +class Foo +{ +public: + Foo (void) { a = 0; } +private: + int a; +}; +_LT_EOF +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer*4 a + a=0 + return + end +_LT_EOF +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer a + a=0 + return + end +_LT_EOF +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF +public class foo { + private int a; + public void bar (void) { + a = 0; + } +}; +_LT_EOF +]) - amigaos*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can't use - # them. - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; +_lt_libdeps_save_CFLAGS=$CFLAGS +case "$CC $CFLAGS " in #( +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +esac - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; +dnl Parse the compiler output and extract the necessary +dnl objects, libraries and library flags. +if AC_TRY_EVAL(ac_compile); then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; + for p in `eval "$output_verbose_link_cmd"`; do + case ${prev}${p} in - interix[[3-9]]*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" || + test $p = "-R"; then + prev=$p + continue + fi - gnu* | linux* | k*bsd*-gnu) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_addflag= - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - *) - tmp_sharedflag='-shared' ;; - esac - _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + # Expand the sysroot to ease extracting the directories later. + if test -z "$prev"; then + case $p in + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; + esac + fi + case $p in + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; + esac + if test "$pre_test_object_deps_done" = no; then + case ${prev} in + -L | -R) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then + _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" + else + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$_LT_TAGVAR(postdeps, $1)"; then + _LT_TAGVAR(postdeps, $1)="${prev}${p}" + else + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" + fi + fi + prev= + ;; - if test $supports_anon_versioning = yes; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; + *.lto.$objext) ;; # Ignore GCC LTO objects + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; + if test "$pre_test_object_deps_done" = no; then + if test -z "$_LT_TAGVAR(predep_objects, $1)"; then + _LT_TAGVAR(predep_objects, $1)="$p" + else + _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" + fi + else + if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then + _LT_TAGVAR(postdep_objects, $1)="$p" + else + _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" + fi + fi + ;; - solaris*) - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <&2 + *) ;; # Ignore the rest. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. + esac + done -EOF - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling $1 test program" +fi - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 +$RM -f confest.$objext +CFLAGS=$_lt_libdeps_save_CFLAGS -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. +# PORTME: override above test on systems where it is broken +m4_if([$1], [CXX], +[case $host_os in +interix[[3-9]]*) + # Interix 3.5 installs completely hosed .la files for C++, so rather than + # hack all around it, let's just trust "g++" to DTRT. + _LT_TAGVAR(predep_objects,$1)= + _LT_TAGVAR(postdep_objects,$1)= + _LT_TAGVAR(postdeps,$1)= + ;; -_LT_EOF - ;; - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; +linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 - sunos4*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes ;; + esac - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi + if test "$solaris_use_stlport4" != yes; then + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; + +solaris*) + case $cc_basename in + CC* | sunCC*) + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes ;; esac - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then - runpath_var= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. + if test "$solaris_use_stlport4" != yes; then + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - fi - ;; + ;; + esac + ;; +esac +]) - aix[[4-9]]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - else - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no +case " $_LT_TAGVAR(postdeps, $1) " in +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; +esac + _LT_TAGVAR(compiler_lib_search_dirs, $1)= +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` +fi +_LT_TAGDECL([], [compiler_lib_search_dirs], [1], + [The directories searched by this compiler when creating a shared library]) +_LT_TAGDECL([], [predep_objects], [1], + [Dependencies to place before and after the objects being linked to + create a shared library]) +_LT_TAGDECL([], [postdep_objects], [1]) +_LT_TAGDECL([], [predeps], [1]) +_LT_TAGDECL([], [postdeps], [1]) +_LT_TAGDECL([], [compiler_lib_search_path], [1], + [The library search path used internally by the compiler when linking + a shared library]) +])# _LT_SYS_HIDDEN_LIBDEPS - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi +# _LT_LANG_F77_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a Fortran 77 compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_F77_CONFIG], +[AC_LANG_PUSH(Fortran 77) +if test -z "$F77" || test "X$F77" = "Xno"; then + _lt_disable_F77=yes +fi + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. +# Source file extension for f77 test sources. +ac_ext=f - _LT_AC_TAGVAR(archive_cmds, $1)='' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes +# Object file extension for compiled f77 test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi +# No sense in running all these tests if we already determined that +# the F77 compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_disable_F77" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared libraries. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC="$CC" + lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS + CC=${F77-"f77"} + CFLAGS=$FFLAGS + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + GCC=$G77 + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no fi - fi - ;; + ;; + esac + AC_MSG_RESULT([$enable_shared]) - amigaos*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - # see comment about different semantics on the GNU ld section - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)="$G77" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC="$lt_save_CC" + CFLAGS="$lt_save_CFLAGS" +fi # test "$_lt_disable_F77" != yes - bsdi[[45]]*) - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic - ;; +AC_LANG_POP +])# _LT_LANG_F77_CONFIG - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' - # FIXME: Should let the user specify the lib program. - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' - _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - ;; - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - if test "$GCC" = yes ; then - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi - ;; +# _LT_LANG_FC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for a Fortran compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_FC_CONFIG], +[AC_LANG_PUSH(Fortran) + +if test -z "$FC" || test "X$FC" = "Xno"; then + _lt_disable_FC=yes +fi + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - dgux*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; +# Source file extension for fc test sources. +ac_ext=${ac_fc_srcext-f} - freebsd1*) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; +# Object file extension for compiled fc test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; +# No sense in running all these tests if we already determined that +# the FC compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_disable_FC" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER - hpux9*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(hardcode_direct, $1)=yes + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC="$CC" + lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS + CC=${FC-"f95"} + CFLAGS=$FCFLAGS + compiler=$CC + GCC=$ac_cv_fc_compiler_gnu - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - fi - ;; + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS +fi # test "$_lt_disable_FC" != yes - case $host_cpu in - hppa*64*|ia64*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' +AC_LANG_POP +])# _LT_LANG_FC_CONFIG - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - fi - ;; - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; +# _LT_LANG_GCJ_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Java Compiler compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_GCJ_CONFIG], +[AC_REQUIRE([LT_PROG_GCJ])dnl +AC_LANG_SAVE - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; +# Source file extension for Java test sources. +ac_ext=java - newsos6) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; +# Object file extension for compiled Java test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext - openbsd*) - if test -f /usr/libexec/ld.so; then - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - else - case $host_os in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - ;; - esac - fi - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}" - os2*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' - osf3*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - else - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE - # Both c and cxx compiler support -rpath directly - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - fi - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC=yes +CC=${GCJ-"gcj"} +CFLAGS=$GCJFLAGS +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)="$LD" +_LT_CC_BASENAME([$compiler]) - solaris*) - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' - if test "$GCC" = yes; then - wlarc='${wl}' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' - else - wlarc='' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' - fi - ;; - esac - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; +# GCJ did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds + +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) - sysv4) - case $host_vendor in - sni) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - ;; - motorola) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; + _LT_CONFIG($1) +fi - sysv4.3*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' - ;; +AC_LANG_RESTORE - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - fi - ;; +GCC=$lt_save_GCC +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_GCJ_CONFIG - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; +# _LT_LANG_RC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for the Windows resource compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_RC_CONFIG], +[AC_REQUIRE([LT_PROG_RC])dnl +AC_LANG_SAVE - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' +# Source file extension for RC test sources. +ac_ext=rc - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; +# Object file extension for compiled RC test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext - uts4*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi -]) -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" -# -# Do we need to explicitly link libc? -# -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in -x|xyes) - # Assume -lc should be added - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $_LT_AC_TAGVAR(archive_cmds, $1) in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - $rm conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) - pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) - _LT_AC_TAGVAR(allow_undefined_flag, $1)= - if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) - then - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - else - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - fi - _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) - ;; - esac - fi - ;; -esac -])# AC_LIBTOOL_PROG_LD_SHLIBS +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC= +CC=${RC-"windres"} +CFLAGS= +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) +_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes -# _LT_AC_FILE_LTDLL_C -# ------------------- -# Be careful that the start marker always follows a newline. -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ -])# _LT_AC_FILE_LTDLL_C +if test -n "$compiler"; then + : + _LT_CONFIG($1) +fi +GCC=$lt_save_GCC +AC_LANG_RESTORE +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_RC_CONFIG -# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) -# --------------------------------- -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) +# LT_PROG_GCJ +# ----------- +AC_DEFUN([LT_PROG_GCJ], +[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], + [AC_CHECK_TOOL(GCJ, gcj,) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS)])])[]dnl +]) -# old names -AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) -AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) -AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) -AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) -AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) +# Old name: +AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_GCJ], []) -# This is just to silence aclocal about the macro not being used -ifelse([AC_DISABLE_FAST_INSTALL]) -AC_DEFUN([LT_AC_PROG_GCJ], -[AC_CHECK_TOOL(GCJ, gcj, no) - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" - AC_SUBST(GCJFLAGS) +# LT_PROG_RC +# ---------- +AC_DEFUN([LT_PROG_RC], +[AC_CHECK_TOOL(RC, windres,) ]) -AC_DEFUN([LT_AC_PROG_RC], -[AC_CHECK_TOOL(RC, windres, no) +# Old name: +AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_RC], []) + + +# _LT_DECL_EGREP +# -------------- +# If we don't have a new enough Autoconf to choose the best grep +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_EGREP], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_REQUIRE([AC_PROG_FGREP])dnl +test -z "$GREP" && GREP=grep +_LT_DECL([], [GREP], [1], [A grep program that handles long lines]) +_LT_DECL([], [EGREP], [1], [An ERE matcher]) +_LT_DECL([], [FGREP], [1], [A literal string matcher]) +dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too +AC_SUBST([GREP]) ]) -# Cheap backport of AS_EXECUTABLE_P and required macros -# from Autoconf 2.59; we should not use $as_executable_p directly. +# _LT_DECL_OBJDUMP +# -------------- +# If we don't have a new enough Autoconf to choose the best objdump +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_OBJDUMP], +[AC_CHECK_TOOL(OBJDUMP, objdump, false) +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) +AC_SUBST([OBJDUMP]) +]) -# _AS_TEST_PREPARE +# _LT_DECL_DLLTOOL # ---------------- -m4_ifndef([_AS_TEST_PREPARE], -[m4_defun([_AS_TEST_PREPARE], -[if test -x / >/dev/null 2>&1; then - as_executable_p='test -x' -else - as_executable_p='test -f' -fi -])])# _AS_TEST_PREPARE +# Ensure DLLTOOL variable is set. +m4_defun([_LT_DECL_DLLTOOL], +[AC_CHECK_TOOL(DLLTOOL, dlltool, false) +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program]) +AC_SUBST([DLLTOOL]) +]) -# AS_EXECUTABLE_P -# --------------- -# Check whether a file is executable. -m4_ifndef([AS_EXECUTABLE_P], -[m4_defun([AS_EXECUTABLE_P], -[AS_REQUIRE([_AS_TEST_PREPARE])dnl -$as_executable_p $1[]dnl -])])# AS_EXECUTABLE_P +# _LT_DECL_SED +# ------------ +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +m4_defun([_LT_DECL_SED], +[AC_PROG_SED +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" +_LT_DECL([], [SED], [1], [A sed program that does not truncate output]) +_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], + [Sed that helps us avoid accidentally triggering echo(1) options like -n]) +])# _LT_DECL_SED +m4_ifndef([AC_PROG_SED], [ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # -# macro and use it instead. # -# LT_AC_PROG_SED -# -------------- -# Check for a fully-functional sed program, that truncates -# as few characters as possible. Prefer GNU sed if found. -AC_DEFUN([LT_AC_PROG_SED], +# macro and use it instead. # + +m4_defun([AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. @@ -6615,7 +7596,7 @@ test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do - if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done @@ -6656,9 +7637,837 @@ SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) +])#AC_PROG_SED +])#m4_ifndef + +# Old name: +AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_SED], []) + + +# _LT_CHECK_SHELL_FEATURES +# ------------------------ +# Find out whether the shell is Bourne or XSI compatible, +# or has some other useful features. +m4_defun([_LT_CHECK_SHELL_FEATURES], +[AC_MSG_CHECKING([whether the shell understands some XSI constructs]) +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +AC_MSG_RESULT([$xsi_shell]) +_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) + +AC_MSG_CHECKING([whether the shell understands "+="]) +lt_shell_append=no +( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +AC_MSG_RESULT([$lt_shell_append]) +_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi +_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac +_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl +_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl +])# _LT_CHECK_SHELL_FEATURES + + +# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) +# ------------------------------------------------------ +# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and +# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. +m4_defun([_LT_PROG_FUNCTION_REPLACE], +[dnl { +sed -e '/^$1 ()$/,/^} # $1 /c\ +$1 ()\ +{\ +m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) +} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: +]) + + +# _LT_PROG_REPLACE_SHELLFNS +# ------------------------- +# Replace existing portable implementations of several shell functions with +# equivalent extended shell implementations where those features are available.. +m4_defun([_LT_PROG_REPLACE_SHELLFNS], +[if test x"$xsi_shell" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac]) + + _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl + func_basename_result="${1##*/}"]) + + _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac + func_basename_result="${1##*/}"]) + + _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary parameter first. + func_stripname_result=${3} + func_stripname_result=${func_stripname_result#"${1}"} + func_stripname_result=${func_stripname_result%"${2}"}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl + func_split_long_opt_name=${1%%=*} + func_split_long_opt_arg=${1#*=}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl + func_split_short_opt_arg=${1#??} + func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) + + _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl + case ${1} in + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; + *) func_lo2o_result=${1} ;; + esac]) + + _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) + + _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) + + _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) +fi + +if test x"$lt_shell_append" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) + + _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl + func_quote_for_eval "${2}" +dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ + eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) +fi +]) + +# _LT_PATH_CONVERSION_FUNCTIONS +# ----------------------------- +# Determine which file name conversion functions should be used by +# func_to_host_file (and, implicitly, by func_to_host_path). These are needed +# for certain cross-compile configurations and native mingw. +m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_MSG_CHECKING([how to convert $build file names to $host format]) +AC_CACHE_VAL(lt_cv_to_host_file_cmd, +[case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac +]) +to_host_file_cmd=$lt_cv_to_host_file_cmd +AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) +_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], + [0], [convert $build file names to $host format])dnl + +AC_MSG_CHECKING([how to convert $build file names to toolchain format]) +AC_CACHE_VAL(lt_cv_to_tool_file_cmd, +[#assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac +]) +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) +_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], + [0], [convert $build files to toolchain format])dnl +])# _LT_PATH_CONVERSION_FUNCTIONS + +# Helper functions for option handling. -*- Autoconf -*- +# +# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 7 ltoptions.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) + + +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) +# ------------------------------------------ +m4_define([_LT_MANGLE_OPTION], +[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) + + +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) +# --------------------------------------- +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a +# matching handler defined, dispatch to it. Other OPTION-NAMEs are +# saved as a flag. +m4_define([_LT_SET_OPTION], +[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl +m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), + _LT_MANGLE_DEFUN([$1], [$2]), + [m4_warning([Unknown $1 option `$2'])])[]dnl +]) + + +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) +# ------------------------------------------------------------ +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +m4_define([_LT_IF_OPTION], +[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) + + +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) +# ------------------------------------------------------- +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME +# are set. +m4_define([_LT_UNLESS_OPTIONS], +[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), + [m4_define([$0_found])])])[]dnl +m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 +])[]dnl +]) + + +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) +# ---------------------------------------- +# OPTION-LIST is a space-separated list of Libtool options associated +# with MACRO-NAME. If any OPTION has a matching handler declared with +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about +# the unknown option and exit. +m4_defun([_LT_SET_OPTIONS], +[# Set options +m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [_LT_SET_OPTION([$1], _LT_Option)]) + +m4_if([$1],[LT_INIT],[ + dnl + dnl Simply set some default values (i.e off) if boolean options were not + dnl specified: + _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no + ]) + _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no + ]) + dnl + dnl If no reference was made to various pairs of opposing options, then + dnl we run the default mode handler for the pair. For example, if neither + dnl `shared' nor `disable-shared' was passed, we enable building of shared + dnl archives by default: + _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) + _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], + [_LT_ENABLE_FAST_INSTALL]) + ]) +])# _LT_SET_OPTIONS + + + +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) +# ----------------------------------------- +m4_define([_LT_MANGLE_DEFUN], +[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) + + +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) +# ----------------------------------------------- +m4_define([LT_OPTION_DEFINE], +[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl +])# LT_OPTION_DEFINE + + +# dlopen +# ------ +LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes +]) + +AU_DEFUN([AC_LIBTOOL_DLOPEN], +[_LT_SET_OPTION([LT_INIT], [dlopen]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `dlopen' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) + + +# win32-dll +# --------- +# Declare package support for building win32 dll's. +LT_OPTION_DEFINE([LT_INIT], [win32-dll], +[enable_win32_dll=yes + +case $host in +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; +esac + +test -z "$AS" && AS=as +_LT_DECL([], [AS], [1], [Assembler program])dnl + +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl + +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl +])# win32-dll + +AU_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +_LT_SET_OPTION([LT_INIT], [win32-dll]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `win32-dll' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) + + +# _LT_ENABLE_SHARED([DEFAULT]) +# ---------------------------- +# implement the --enable-shared flag, and supports the `shared' and +# `disable-shared' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_SHARED], +[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([shared], + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) + + _LT_DECL([build_libtool_libs], [enable_shared], [0], + [Whether or not to build shared libraries]) +])# _LT_ENABLE_SHARED + +LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) +]) + +AC_DEFUN([AC_DISABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) +AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_SHARED], []) +dnl AC_DEFUN([AM_DISABLE_SHARED], []) + + + +# _LT_ENABLE_STATIC([DEFAULT]) +# ---------------------------- +# implement the --enable-static flag, and support the `static' and +# `disable-static' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_STATIC], +[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([static], + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]_LT_ENABLE_STATIC_DEFAULT) + + _LT_DECL([build_old_libs], [enable_static], [0], + [Whether or not to build static libraries]) +])# _LT_ENABLE_STATIC + +LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) +]) + +AC_DEFUN([AC_DISABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], [disable-static]) +]) + +AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_STATIC], []) +dnl AC_DEFUN([AM_DISABLE_STATIC], []) + + + +# _LT_ENABLE_FAST_INSTALL([DEFAULT]) +# ---------------------------------- +# implement the --enable-fast-install flag, and support the `fast-install' +# and `disable-fast-install' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_FAST_INSTALL], +[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([fast-install], + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) + +_LT_DECL([fast_install], [enable_fast_install], [0], + [Whether or not to optimize for fast installation])dnl +])# _LT_ENABLE_FAST_INSTALL + +LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) + +# Old names: +AU_DEFUN([AC_ENABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the `fast-install' option into LT_INIT's first parameter.]) +]) + +AU_DEFUN([AC_DISABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the `disable-fast-install' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) +dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) + + +# _LT_WITH_PIC([MODE]) +# -------------------- +# implement the --with-pic flag, and support the `pic-only' and `no-pic' +# LT_INIT options. +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +m4_define([_LT_WITH_PIC], +[AC_ARG_WITH([pic], + [AS_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) + +test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) + +_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl +])# _LT_WITH_PIC + +LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) + +# Old name: +AU_DEFUN([AC_LIBTOOL_PICMODE], +[_LT_SET_OPTION([LT_INIT], [pic-only]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `pic-only' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) + + +m4_define([_LTDL_MODE], []) +LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], + [m4_define([_LTDL_MODE], [nonrecursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [recursive], + [m4_define([_LTDL_MODE], [recursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [subproject], + [m4_define([_LTDL_MODE], [subproject])]) + +m4_define([_LTDL_TYPE], []) +LT_OPTION_DEFINE([LTDL_INIT], [installable], + [m4_define([_LTDL_TYPE], [installable])]) +LT_OPTION_DEFINE([LTDL_INIT], [convenience], + [m4_define([_LTDL_TYPE], [convenience])]) + +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 6 ltsugar.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) + + +# lt_join(SEP, ARG1, [ARG2...]) +# ----------------------------- +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their +# associated separator. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier +# versions in m4sugar had bugs. +m4_define([lt_join], +[m4_if([$#], [1], [], + [$#], [2], [[$2]], + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) +m4_define([_lt_join], +[m4_if([$#$2], [2], [], + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) + + +# lt_car(LIST) +# lt_cdr(LIST) +# ------------ +# Manipulate m4 lists. +# These macros are necessary as long as will still need to support +# Autoconf-2.59 which quotes differently. +m4_define([lt_car], [[$1]]) +m4_define([lt_cdr], +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], + [$#], 1, [], + [m4_dquote(m4_shift($@))])]) +m4_define([lt_unquote], $1) + + +# lt_append(MACRO-NAME, STRING, [SEPARATOR]) +# ------------------------------------------ +# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. +# Note that neither SEPARATOR nor STRING are expanded; they are appended +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). +# No SEPARATOR is output if MACRO-NAME was previously undefined (different +# than defined and empty). +# +# This macro is needed until we can rely on Autoconf 2.62, since earlier +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. +m4_define([lt_append], +[m4_define([$1], + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) + + + +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) +# ---------------------------------------------------------- +# Produce a SEP delimited list of all paired combinations of elements of +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list +# has the form PREFIXmINFIXSUFFIXn. +# Needed until we can rely on m4_combine added in Autoconf 2.62. +m4_define([lt_combine], +[m4_if(m4_eval([$# > 3]), [1], + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl +[[m4_foreach([_Lt_prefix], [$2], + [m4_foreach([_Lt_suffix], + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) + + +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) +# ----------------------------------------------------------------------- +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. +m4_define([lt_if_append_uniq], +[m4_ifdef([$1], + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], + [lt_append([$1], [$2], [$3])$4], + [$5])], + [lt_append([$1], [$2], [$3])$4])]) + + +# lt_dict_add(DICT, KEY, VALUE) +# ----------------------------- +m4_define([lt_dict_add], +[m4_define([$1($2)], [$3])]) + + +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) +# -------------------------------------------- +m4_define([lt_dict_add_subkey], +[m4_define([$1($2:$3)], [$4])]) + + +# lt_dict_fetch(DICT, KEY, [SUBKEY]) +# ---------------------------------- +m4_define([lt_dict_fetch], +[m4_ifval([$3], + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) + + +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) +# ----------------------------------------------------------------- +m4_define([lt_if_dict_fetch], +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], + [$5], + [$6])]) + + +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) +# -------------------------------------------------------------- +m4_define([lt_dict_filter], +[m4_if([$5], [], [], + [lt_join(m4_quote(m4_default([$4], [[, ]])), + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl +]) + +# ltversion.m4 -- version numbers -*- Autoconf -*- +# +# Copyright (C) 2004 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# @configure_input@ + +# serial 3293 ltversion.m4 +# This file is part of GNU Libtool + +m4_define([LT_PACKAGE_VERSION], [2.4]) +m4_define([LT_PACKAGE_REVISION], [1.3293]) + +AC_DEFUN([LTVERSION_VERSION], +[macro_version='2.4' +macro_revision='1.3293' +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) +_LT_DECL(, macro_revision, 0) +]) + +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004. +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 5 lt~obsolete.m4 + +# These exist entirely to fool aclocal when bootstrapping libtool. +# +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) +# which have later been changed to m4_define as they aren't part of the +# exported API, or moved to Autoconf or Automake where they belong. +# +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us +# using a macro with the same name in our local m4/libtool.m4 it'll +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define +# and doesn't know about Autoconf macros at all.) +# +# So we provide this file, which has a silly filename so it's always +# included after everything else. This provides aclocal with the +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything +# because those macros already exist, or will be overwritten later. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. +# +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. +# Yes, that means every name once taken will need to remain here until +# we give up compatibility with versions before 1.7, at which point +# we need to keep only those names which we still refer to. + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) + +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) + # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# serial 1 (pkg-config-0.24) # # Copyright © 2004 Scott James Remnant . # @@ -6685,8 +8494,12 @@ # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi @@ -6699,7 +8512,6 @@ AC_MSG_RESULT([no]) PKG_CONFIG="" fi - fi[]dnl ])# PKG_PROG_PKG_CONFIG @@ -6708,21 +8520,20 @@ # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # -# -# Similar to PKG_CHECK_MODULES, make sure that the first instance of -# this or PKG_CHECK_MODULES is called, or make sure to call -# PKG_CHECK_EXISTS manually +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +# only at the first occurence in configure.ac, so if the first place +# it's called might be skipped (such as if it is within an "if", you +# have to call PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_ifval([$2], [$2], [:]) + m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) - # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], @@ -6730,7 +8541,8 @@ pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried @@ -6775,16 +8587,17 @@ See the pkg-config man page for more details.]) if test $pkg_failed = yes; then + AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - ifelse([$4], , [AC_MSG_ERROR(dnl + m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS @@ -6792,25 +8605,24 @@ Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. -_PKG_TEXT -])], - [AC_MSG_RESULT([no]) - $4]) +_PKG_TEXT])[]dnl + ]) elif test $pkg_failed = untried; then - ifelse([$4], , [AC_MSG_FAILURE(dnl + AC_MSG_RESULT([no]) + m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT -To get pkg-config, see .])], - [$4]) +To get pkg-config, see .])[]dnl + ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) - ifelse([$3], , :, [$3]) + $3 fi[]dnl ])# PKG_CHECK_MODULES @@ -6829,7 +8641,7 @@ [am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.11], [], +m4_if([$1], [1.11.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -6845,7 +8657,7 @@ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.11])dnl +[AM_AUTOMAKE_VERSION([1.11.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) @@ -7570,7 +9382,7 @@ dnl Find a Python interpreter. Python versions prior to 2.0 are not dnl supported. (2.0 was released on October 16, 2000). m4_define_default([_AM_PYTHON_INTERPRETER_LIST], - [python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl + [python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 dnl python2.1 python2.0]) m4_if([$1],[],[ @@ -7661,6 +9473,14 @@ am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` ;; + *) + case $am_py_prefix in + /usr|/System*) ;; + *) + am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; esac ]) AC_SUBST([pythondir], [$am_cv_python_pythondir]) @@ -7691,6 +9511,14 @@ am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` ;; + *) + case $am_py_exec_prefix in + /usr|/System*) ;; + *) + am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; esac ]) AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) diff -Nru hplip-3.12.2/align.py hplip-3.13.4/align.py --- hplip-3.12.2/align.py 2012-02-01 11:53:57.000000000 +0000 +++ hplip-3.13.4/align.py 2013-04-08 09:58:46.000000000 +0000 @@ -205,13 +205,16 @@ elif align_type == ALIGN_TYPE_LIDIL_DJ_D1600: maint.AlignType14(d, tui.load_paper_prompt, type10and11and14Align, invalidPen2) - + elif align_type == ALIGN_TYPE_LEDM: maint.AlignType15(d, tui.load_paper_prompt, aioUI2) elif align_type == ALIGN_TYPE_LEDM_MANUAL: maint.AlignType16(d, tui.load_paper_prompt, enterAlignmentNumber) + elif align_type == ALIGN_TYPE_LEDM_FF_CC_0: + maint.AlignType17(d, tui.load_paper_prompt, aioUI2) + else: log.error("Invalid alignment type.") diff -Nru hplip-3.12.2/base/LedmWifi.py hplip-3.13.4/base/LedmWifi.py --- hplip-3.12.2/base/LedmWifi.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/LedmWifi.py 2013-04-08 09:58:45.000000000 +0000 @@ -22,7 +22,22 @@ # StdLib import time import cStringIO -import xml.parsers.expat + +from base.g import * +try: + import xml.parsers.expat +except ImportError,e: + log.info("\n") + log.error("Failed to import xml.parsers.expat(%s).\nThis may be due to the incompatible version of python-xml package.\n"%(e)) + if "undefined symbol" in str(e): + log.info(log.blue("Please re-install compatible version (other than 2.7.2-7.14.1) due to bug reported at 'https://bugzilla.novell.com/show_bug.cgi?id=766778'.")) + log.info(log.blue("\n Run the following commands in root mode to change the python-xml package.(i.e Installing 2.7.2-7.1.2)")) + log.info(log.blue("\n Using zypper:\n 'zypper remove python-xml'\n 'zypper install python-xml-2.7.2-7.1.2'")) + log.info(log.blue("\n Using apt-get:\n 'apt-get remove python-xml'\n 'apt-get install python-xml-2.7.2-7.1.2'")) + log.info(log.blue("\n Using yum:\n 'yum remove python-xml'\n 'yum install python-xml-2.7.2-7.1.2'")) + + sys.exit(1) + from string import * # Local @@ -39,7 +54,11 @@ LEDM_WIFI_BASE_URI = "/IoMgmt/Adapters/" -adapterPowerXml = """%s""" +# This payload is working for LaserJet Devices +adapterPowerXml_payload2 =""" %s """ + +# This payload is working for OfficeJet and Photosmart Devices +adapterPowerXml_payload1 = """%s""" passPhraseXml="""%s%s%s%s""" @@ -51,7 +70,7 @@ while max_tries < MAX_RETRIES: max_tries +=1 URI = LEDM_WIFI_BASE_URI[0:len(LEDM_WIFI_BASE_URI)-1]# to remove "\" from the string - params,code,elementCount = readXmlDataFromURI(dev,URI,'') + paramsList,code = readXmlTagDataFromURI(dev,URI,'') if code == HTTP_OK: break @@ -59,32 +78,34 @@ log.error("Request Failed With Response Code %d"%code) return ret - ret['adaptorlistlength'] = elementCount - if params is not None: - if elementCount == 1: - try: - ret['adaptorid-0' % a] = params['io:adapters-io:adapter-map:resourcenode-map:resourcelink-dd:resourceuri'] - ret['adaptorname-0' % a] = params['io:adapters-io:adapter-io:hardwareconfig-dd:name'] - ret['adaptorpresence-0' % a] = '' - ret['adaptorstate-0' % a] = '' - ret['adaptortype-0' % a] = params['io:adapters-io:adapter-io:hardwareconfig-dd:deviceconnectivityporttype'] - except KeyError, e: - log.error("Missing response key: %s" % e) - else: - for a in xrange(elementCount): + ret['adaptorlistlength'] = len(paramsList) + if len(paramsList) != 0: + a = 0 + for params in paramsList: + ret['adaptorpresence-%d' % a] = '' + ret['adaptorstate-%d' % a] = '' try: - ret['adaptorid-%d' % a] = params['io:adapters-io:adapter-map:resourcenode-map:resourcelink-dd:resourceuri-%d' % a] - ret['adaptorname-%d' % a] = params['io:adapters-io:adapter-io:hardwareconfig-dd:name-%d' % a] - ret['adaptorpresence-%d' % a] = '' - ret['adaptorstate-%d' % a] = '' - ret['adaptortype-%d' % a] = params['io:adapters-io:adapter-io:hardwareconfig-dd:deviceconnectivityporttype-%d' % a] + ret['adaptorid-%d' % a] = params['io:adapter-map:resourcenode-map:resourcelink-dd:resourceuri'] except KeyError, e: - log.error("Missing response key: %s" % e) + log.debug("Missing response key: %s" % e) #changed from error to debug + ret['adaptorid-%d' % a]="" + try: + ret['adaptorname-%d' % a] = params['io:adapter-io:hardwareconfig-dd:name'] + except KeyError, e: + log.debug("Missing response key: %s" % e) #changed from error to debug + ret['adaptorname-%d' % a] = "" + try: + ret['adaptortype-%d' % a] = params['io:adapter-io:hardwareconfig-dd:deviceconnectivityporttype'] + except KeyError, e: + log.debug("Missing response key: %s" % e) #changed from error to debug + ret['adaptortype-%d' % a] = "" + + a = a+1 return ret def getWifiAdaptorID(dev): - ret = {} + rVal = [] ret = getAdaptorList(dev) try: @@ -112,20 +133,34 @@ r.append(x) - return r + rVal.append(r) - return -1, 'Unknown', 'Unknown', 'Unknown' + return rVal -def setAdaptorPower(dev, adapterName, adaptor_id=0, power_state='on'): - ret,powerXml,URI,code = {},'','',HTTP_ERROR - URI = LEDM_WIFI_BASE_URI + adapterName - powerXml = adapterPowerXml %(power_state) +def setAdaptorPower(dev, adapterList, power_state='on'): + adaptor_id=-1 + adaptorName ="" + for a in adapterList: + adaptor_id = a[0] + adaptorName = a[1] + ret,powerXml,URI,code = {},'','',HTTP_ERROR + URI = LEDM_WIFI_BASE_URI + adaptorName + powerXml = adapterPowerXml_payload1 %(power_state) - ret['errorreturn'] = writeXmlDataToURI(dev,URI,powerXml,10) - if not(ret['errorreturn'] == HTTP_OK or HTTP_NOCONTENT): - log.error("Request Failed With Response Code %d" %code) - - return ret + ret['errorreturn'] = writeXmlDataToURI(dev,URI,powerXml,10) + if not(ret['errorreturn'] == HTTP_OK or ret['errorreturn'] == HTTP_NOCONTENT): + log.debug("Wifi Adapter turn ON request Failed. ResponseCode=%s AdaptorId=%s AdaptorName=%s. Trying another interface" %(ret['errorreturn'],adaptor_id,adaptorName)) + powerXml = adapterPowerXml_payload2 %(power_state) + ret['errorreturn'] = writeXmlDataToURI(dev,URI,powerXml,10) + + if not(ret['errorreturn'] == HTTP_OK or ret['errorreturn'] == HTTP_NOCONTENT): + log.error("Wifi Adapter turn ON request Failed. ResponseCode=%s AdaptorId=%s AdaptorName=%s" %(ret['errorreturn'],adaptor_id,adaptorName)) + else: + log.debug("Wifi Adapter turn ON request is Success. AdaptorId=%s AdaptorName=%s" %(adaptor_id,adaptorName)) +# adapaterState = a[2], adapterPresence= a[3] + return adaptor_id, adaptorName, a[2], a[3] + + return -1 ,"","","" def performScan(dev, adapterName, ssid=None): ret ={} @@ -155,23 +190,35 @@ ret['ssid-0'] = u'(unknown)' else: ret['ssid-0'] = ssid - ret['bssid-0'] = str(params['io:wifinetworks-io:wifinetwork-wifi:bssid']).decode("hex") + try: + ret['bssid-0'] = str(params['io:wifinetworks-io:wifinetwork-wifi:bssid']).decode("hex") + except: + ret['bssid-0'] = params['io:wifinetworks-io:wifinetwork-wifi:bssid'] + ret['channel-0'] = params['io:wifinetworks-io:wifinetwork-wifi:channel'] ret['communicationmode-0'] = params['io:wifinetworks-io:wifinetwork-wifi:communicationmode'] ret['dbm-0'] = params['io:wifinetworks-io:wifinetwork-io:signalinfo-wifi:dbm'] ret['encryptiontype-0'] = params['io:wifinetworks-io:wifinetwork-wifi:encryptiontype'] ret['signalstrength-0'] = params['io:wifinetworks-io:wifinetwork-io:signalinfo-wifi:signalstrength'] except KeyError, e: - log.error("Missing response key: %s" % e) + log.debug("Missing response key: %s" % e) else: for a in xrange(elementCount): try: - ssid = str(params['io:wifinetworks-io:wifinetwork-wifi:ssid-%d' % a]).decode("hex") + try: + ssid = str(params['io:wifinetworks-io:wifinetwork-wifi:ssid-%d' % a]).decode("hex") + #ssid = params['io:wifinetworks-io:wifinetwork-wifi:ssid-%d' % a] + except: + ssid = params['io:wifinetworks-io:wifinetwork-wifi:ssid-%d' % a] + #ssid = str(params['io:wifinetworks-io:wifinetwork-wifi:ssid-%d' % a]).decode("hex") if not ssid: ret['ssid-%d' % a] = u'(unknown)' else: ret['ssid-%d' % a] = ssid - ret['bssid-%d' % a] = str(params['io:wifinetworks-io:wifinetwork-wifi:bssid-%d' % a]).decode("hex") + try: + ret['bssid-%d' % a] = str(params['io:wifinetworks-io:wifinetwork-wifi:bssid-%d' % a]).decode("hex") + except: + ret['bssid-%d' % a] = params['io:wifinetworks-io:wifinetwork-wifi:bssid-%d' % a] ret['channel-%d' % a] = params['io:wifinetworks-io:wifinetwork-wifi:channel-%d' % a] ret['communicationmode-%d' % a] = params['io:wifinetworks-io:wifinetwork-wifi:communicationmode-%d' % a] ret['dbm-%d' % a] = params['io:wifinetworks-io:wifinetwork-io:signalinfo-wifi:dbm-%d' % a] @@ -179,7 +226,7 @@ ret['signalstrength-%d' % a] = params['io:wifinetworks-io:wifinetwork-io:signalinfo-wifi:signalstrength-%d' % a] except KeyError, e: - log.error("Missing response key: %s" % e) + log.debug("Missing response key: %s" % e) try: ret['signalstrengthmax'] = 5 ret['signalstrengthmin'] = 0 @@ -190,8 +237,9 @@ def getIPConfiguration(dev, adapterName): ip, hostname, addressmode, subnetmask, gateway, pridns, sec_dns = \ '0.0.0.0', 'Unknown', 'Unknown', '0.0.0.0', '0.0.0.0', '0.0.0.0', '0.0.0.0' - + protocol = 'old' URI = LEDM_WIFI_BASE_URI + adapterName + "/Protocols" + #URI = "/DevMgmt/IOConfigDyn.xml" params,code,elementCount = {},HTTP_ERROR,0 max_tries = 0 @@ -202,30 +250,83 @@ break if code != HTTP_OK: + max_tries = 0 + URI = "/DevMgmt/IOConfigDyn.xml" + while max_tries < MAX_RETRIES: + max_tries +=1 + params,code,elementCount = readXmlDataFromURI(dev,URI,'", xmlReqDataNode) # To remove '<' and '>' characters + reqDataElementList = root_element.getElementsByTagName(xmlReqDataNode) + for node in reqDataElementList: + repstr = node.toString() + repstr = repstr.replace('\r',' ').replace('\t',' ').replace('\n',' ') # To remove formating characters from the received xml + params = utils.XMLToDictParser().parseXML(repstr) + paramsList.append(params) + except xml.parsers.expat.ExpatError, e: + log.debug("XML parser failed: %s" % e) #changed from error to debug + else: + log.debug("HTTP Responce failed with %s code"%code) + + return paramsList,code + + + def readXmlDataFromURI(dev,URI,xmlRootNode,xmlChildNode,timeout=5): params,code,elementCount ={},HTTP_ERROR,0 data = format_http_get(URI,0,"") - log.info(data) - dev.openLEDM() - dev.writeLEDM(data) + log.info(data) response = cStringIO.StringIO() - try: - while dev.readLEDM(1024, response, timeout): - pass - except Error: + if dev.openLEDM() == -1: dev.closeLEDM() - log.error("Unable to read LEDM Channel") - dev.closeEWS_LEDM() - strResp = str(response.getvalue()) + if dev.openEWS_LEDM() == -1: + + dev.openMarvell_EWS() + dev.writeMarvell_EWS(data) + try: + while dev.readMarvell_EWS(1024, response, timeout): + pass + except Error: + dev.closeMarvell_EWS() + log.error("Unable to read Marvell_EWS Channel") + else: + dev.writeEWS_LEDM(data) + try: + while dev.readEWS_LEDM(1024, response, timeout): + pass + except Error: + dev.closeEWS_LEDM() + log.error("Unable to read EWS_LEDM Channel") + else: + dev.writeLEDM(data) + try: + while dev.readLEDM(1024, response, timeout): + pass + except Error: + dev.closeLEDM() + log.error("Unable to read LEDM Channel") + #dev.closeEWS_LEDM() + strResp = str(response.getvalue()) if strResp is not None: code = get_error_code(strResp) - pos = strResp.find(xmlRootNode,0,len(strResp)) - repstr = strResp[pos:].strip() - elementCount = repstr.count(xmlChildNode) - try: - params = utils.XMLToDictParser().parseXML(repstr) - except xml.parsers.expat.ExpatError, e: - log.error("XML parser failed: %s" % e) + if code == HTTP_OK: + strResp = utils.unchunck_xml_data(strResp) + + pos = strResp.find(xmlRootNode,0,len(strResp)) + repstr = strResp[pos:].strip() + repstr = repstr.replace('\r',' ').replace('\t',' ').replace('\n',' ') # To remove formating characters from the received xml + repstr = repstr.rstrip('0') # To remove trailing zero from the received xml + elementCount = repstr.count(xmlChildNode) + try: + params = utils.XMLToDictParser().parseXML(repstr) + except xml.parsers.expat.ExpatError, e: + log.debug("XML parser failed: %s" % e) #changed from error to debug + else: + log.debug(" HTTP Responce failed with %s code"%code) return params,code,elementCount @@ -390,17 +588,39 @@ def writeXmlDataToURI(dev,URI,xml,timeout=5): code = HTTP_ERROR - data = format_http_put(URI,len(xml),xml) - dev.openLEDM() - dev.writeLEDM(data) + data = format_http_put(URI,len(xml),xml) response = cStringIO.StringIO() - try: - while dev.readLEDM(1000, response, timeout): - pass - except Error: - dev.closeLEDM() - log.error("Unable to read LEDM Channel") - dev.closeLEDM() + + if dev.openLEDM() == -1: + if dev.openEWS_LEDM() == -1: + dev.openMarvell_EWS() + dev.writeMarvell_EWS(data) + try: + while dev.readMarvell_EWS(1000, response, timeout): + pass + except Error: + dev.closeMarvell_EWS() + log.error("Unable to read Marvell_EWS Channel") + else: + dev.writeEWS_LEDM(data) + try: + while dev.readEWS_LEDM(1000, response, timeout): + pass + except Error: + dev.closeEWS_LEDM() + log.error("Unable to read EWS_LEDM Channel") + + else: + dev.writeLEDM(data) + #response = cStringIO.StringIO() + try: + while dev.readLEDM(1000, response, timeout): + pass + except Error: + dev.closeLEDM() + log.error("Unable to read LEDM Channel") + + strResp = str(response.getvalue()) if strResp is not None: code = get_error_code(strResp) diff -Nru hplip-3.12.2/base/codes.py hplip-3.13.4/base/codes.py --- hplip-3.12.2/base/codes.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/codes.py 2013-04-08 09:58:45.000000000 +0000 @@ -158,6 +158,24 @@ STATUS_PRINTER_CARTRIDGE_MISSING = 1048 STATUS_PRINTER_PRINTHEAD_MISSING = 1049 +#Alert messages for Pentane products RQ 8888 +STATUS_SCANNER_ADF_MISPICK = 1050 +STATUS_PRINTER_PAPER_TOO_SHORT_TO_AUTODUPLEX = 1051 +STATUS_PRINTER_TRAY_2_3_DOOR_OPEN = 1052 +STATUS_PRINTER_INK_TOO_LOW_TO_PRIME = 1053 +STATUS_PRINTER_VERY_LOW_ON_INK = 1054 +STATUS_PRINTER_SERVICE_INK_CONTAINER_ALMOST_FULL =1055 +STATUS_PRINTER_SERVICE_INK_CONTAINER_FULL=1056 +STATUS_PRINTER_SERVICE_INK_CONTAINER_FULL_PROMPT=1057 +STATUS_PRINTER_DUPLEX_MODULE_MISSING=1058 +STATUS_PRINTER_PRINTHEAD_JAM=1059 +STATUS_PRINTER_CLEAR_OUTPUT_AREA=1060 +STATUS_PRINTER_RESEAT_DUPLEXER=1061 +STATUS_MANUALLY_FEED=1062 +STATUS_PRINTER_PRINTHEAD_FAILED = 1063 +STATUS_PRINTER_PRINTHEAD_INCOMPATIBLE = 1064 + + # derived codes # set to AGENT_TYPE + base (base: 1500=ink, 1600=laser ) STATUS_PRINTER_LOW_INK_BASE = 1500 @@ -207,6 +225,9 @@ EVENT_SCAN_ADF_DOOR_OPEN = 2008 EVENT_SCAN_CANCEL = 2009 EVENT_SIZE_WARNING = 2010 +EVENT_SCAN_ADF_NO_DOCS = 2011 +EVENT_SCAN_ADF_MISPICK = 2012 +EVENT_SCAN_BUSY = 2013 #end # fax @@ -253,6 +274,11 @@ EVENT_ERROR_DEVICEOPEN_FAILED_DEV_NODE_MOVED = 5038 # end +# diagnosis tool codes +EVENT_ADD_PRINTQUEUE = 5501 +EVENT_DIAGNOSE_PRINTQUEUE = 5502 +#end + # pcard EVENT_START_PCARD_JOB = 6000 EVENT_END_PCARD_JOB = 6001 @@ -399,7 +425,24 @@ STATUS_DEVICE_UNSUPPORTED : ERROR_STATE_ERROR, STATUS_PRINTER_CARTRIDGE_MISSING : ERROR_STATE_ERROR, STATUS_PRINTER_CARTRIDGE_WRONG : ERROR_STATE_ERROR, - STATUS_PRINTER_PRINTHEAD_MISSING : ERROR_STATE_ERROR, + STATUS_PRINTER_PRINTHEAD_MISSING : ERROR_STATE_ERROR, + + #Alert messages for Pentane products RQ 8888 + STATUS_SCANNER_ADF_MISPICK : ERROR_STATE_ERROR, + STATUS_PRINTER_PAPER_TOO_SHORT_TO_AUTODUPLEX : ERROR_STATE_ERROR, + STATUS_PRINTER_TRAY_2_3_DOOR_OPEN : ERROR_STATE_ERROR, + STATUS_PRINTER_INK_TOO_LOW_TO_PRIME : ERROR_STATE_WARNING, + STATUS_PRINTER_VERY_LOW_ON_INK : ERROR_STATE_OK, + STATUS_PRINTER_SERVICE_INK_CONTAINER_ALMOST_FULL : ERROR_STATE_WARNING, + STATUS_PRINTER_SERVICE_INK_CONTAINER_FULL: ERROR_STATE_WARNING, + STATUS_PRINTER_SERVICE_INK_CONTAINER_FULL_PROMPT: ERROR_STATE_ERROR, + STATUS_PRINTER_DUPLEX_MODULE_MISSING: ERROR_STATE_ERROR, + STATUS_PRINTER_PRINTHEAD_JAM: ERROR_STATE_ERROR, + STATUS_PRINTER_CLEAR_OUTPUT_AREA: ERROR_STATE_WARNING, + STATUS_PRINTER_RESEAT_DUPLEXER: ERROR_STATE_WARNING, + STATUS_MANUALLY_FEED: ERROR_STATE_WARNING, + + # The following block are EVENTs because they are only # recieved as events from hpmud, hp backend, etc. # i.e., a device does not produce status codes in this range @@ -430,6 +473,9 @@ EVENT_SCAN_ADF_LOADED : ERROR_STATE_OK, EVENT_SCAN_CANCEL : ERROR_STATE_OK, EVENT_SIZE_WARNING : ERROR_STATE_WARNING, + EVENT_SCAN_ADF_NO_DOCS : ERROR_STATE_OK, + EVENT_SCAN_ADF_MISPICK : ERROR_STATE_WARNING, + EVENT_SCAN_BUSY : ERROR_STATE_SCANNING, # Fax EVENT_FAX_DIALING : ERROR_STATE_BUSY, EVENT_FAX_CONNECTING : ERROR_STATE_BUSY, @@ -546,6 +592,8 @@ AGENT_TYPE_LG = 17 # light grey AGENT_TYPE_G = 18 # medium grey AGENT_TYPE_PG = 19 # photo grey +AGENT_TYPE_PHOTO_BLACK = 20 # photo black +AGENT_TYPE_MATTE_BLACK = 21 # matte black AGENT_TYPE_BLACK_B8800 = 39 # For PS B8800 AGENT_TYPE_WHITE = 0x20 # For ISO 10180 compatibility AGENT_TYPE_RED = 0x21 # For ISO 10180 compatibility @@ -603,6 +651,7 @@ ALIGN_TYPE_LIDIL_DJ_D1600 = 14 ALIGN_TYPE_LEDM = 15 ALIGN_TYPE_LEDM_MANUAL = 16 +ALIGN_TYPE_LEDM_FF_CC_0 = 17 # clean-types CLEAN_TYPE_UNSUPPORTED = -1 @@ -610,6 +659,7 @@ CLEAN_TYPE_PCL = 1 CLEAN_TYPE_LIDIL = 2 CLEAN_TYPE_PCL_WITH_PRINTOUT = 3 +CLEAN_TYPE_LEDM = 4 # color-cal-types COLOR_CAL_TYPE_UNSUPPORTED = -1 @@ -634,6 +684,7 @@ STATUS_TYPE_PJL = 8 STATUS_TYPE_PML_AND_PJL = 9 # Same as types 3(tbx)+8(hp:) STATUS_TYPE_LEDM = 10 # Low-end Data Model +STATUS_TYPE_LEDM_FF_CC_0 = 11 #Low-end Data Model over FF/CC/0 USB channel # status-battery-check STATUS_BATTERY_CHECK_NONE = 0 @@ -688,17 +739,11 @@ SCAN_TYPE_LEDM = 7 SCAN_TYPE_MARVEL2 = 8 -# scan-styles -SCAN_STYLE_NONE = 0 -SCAN_STYLE_FLATBED = 1 -SCAN_STYLE_SCROLLFED = 2 -SCAN_STYLE_BOTH = 3 - # scan-src -SCAN_SRC_NA = 0 -SCAN_SRC_ADF = 1 -SCAN_SRC_FLATBED = 2 -SCAN_SRC_BOTH = 3 +SCAN_SRC_NONE = 0x0 +SCAN_SRC_FLATBED = 0x1 +SCAN_SRC_SCROLLFED = 0x2 +SCAN_SRC_CAMERA = 0x4 # copy-types COPY_TYPE_NOT_SUPPORTED = -1 @@ -781,6 +826,13 @@ PLUGIN_REQUIRED = 1 PLUGIN_OPTIONAL = 2 + +#Plugin installation status values +PLUGIN_FILES_CORRUPTED = '-2' +PLUGIN_VERSION_MISMATCH = '-1' +PLUGIN_NOT_INSTALLED = '0' +PLUGIN_INSTALLED = '1' + # plugin-reason PLUGIN_REASON_NONE = 0x0 PLUGIN_REASON_PRINTING_SUPPORT = 0x1 @@ -862,3 +914,12 @@ #USB-Autoplugin-installation EVENT_AUTO_CONFIGURE = 900 + +# Queue diagnosis codes +QUEUES_CONFIG_ERROR = 1 +QUEUES_PAUSED = 2 +QUEUES_INCORRECT_PPD = 3 +QUEUES_USER_GROUPS_ERROR = 4 +QUEUES_MSG_SENDING = 5 +QUEUES_SMART_INSTALL_ENABLED = 6 + diff -Nru hplip-3.12.2/base/device.py hplip-3.13.4/base/device.py --- hplip-3.12.2/base/device.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/device.py 2013-04-08 09:58:45.000000000 +0000 @@ -31,11 +31,14 @@ import httplib import struct import string +import time # Local from g import * from codes import * import utils +import services +import os_utils import status import pml import status @@ -43,6 +46,10 @@ import models, mdns, slp from strings import StringTable +http_result_pat = re.compile("""HTTP/\d.\d\s(\d+)""", re.I) + +HTTP_OK = 200 +HTTP_ERROR = 500 try: import hpmudext @@ -96,7 +103,7 @@ ### **********Lambda Function UniStar for checking type of arguments to constructor of class event******************************* -UniStr = lambda title: isinstance(title, str) and utils.xrstrip(title, '\x00')[:128] or utils.xrstrip(title, '\x00')[:128].encode('utf-8') +UniStr = lambda title: isinstance(title, str) and utils.xrstrip(title, '\x00')[:128] or utils.xrstrip(title, '\x00')[:128].encode('utf-8') # @@ -528,7 +535,6 @@ bn = hpmudext.HPMUD_BUS_USB result_code, data = hpmudext.probe_devices(bn) - if result_code == hpmudext.HPMUD_R_OK: for x in data.splitlines(): m = direct_pat.match(x) @@ -974,6 +980,8 @@ AGENT_TYPE_PG : 'photo_gray', AGENT_TYPE_C_M : 'cyan_and_magenta', AGENT_TYPE_K_Y : 'black_and_yellow', + AGENT_TYPE_PHOTO_BLACK : 'photo_black', + AGENT_TYPE_MATTE_BLACK : 'matte_black', AGENT_TYPE_UNSPECIFIED : 'unspecified', # Kind=5,6 } @@ -1080,6 +1088,11 @@ log.debug("Model/UI model: %s/%s" % (self.model, self.model_ui)) + if self.bus == 'net': + self.http_host = self.host + else: + self.http_host = 'localhost' + # TODO: #service.setAlertsEx(self.hpssd_sock) @@ -1303,10 +1316,13 @@ def openEWS_LEDM(self): return self.__openChannel(hpmudext.HPMUD_S_EWS_LEDM_CHANNEL) - + def openLEDM(self): return self.__openChannel(hpmudext.HPMUD_S_LEDM_SCAN) + def openMarvell_EWS(self): + return self.__openChannel(hpmudext.HPMUD_S_MARVELL_EWS_CHANNEL) + def closePrint(self): return self.__closeChannel(hpmudext.HPMUD_S_PRINT_CHANNEL) @@ -1330,10 +1346,13 @@ def closeEWS_LEDM(self): return self.__closeChannel(hpmudext.HPMUD_S_EWS_LEDM_CHANNEL) - + def closeLEDM(self): return self.__closeChannel(hpmudext.HPMUD_S_LEDM_SCAN) + def closeMarvell_EWS(self): + return self.__closeChannel(hpmudext.HPMUD_S_MARVELL_EWS_CHANNEL) + def openCfgUpload(self): return self.__openChannel(hpmudext.HPMUD_S_CONFIG_UPLOAD_CHANNEL) @@ -1714,7 +1733,11 @@ elif status_type == STATUS_TYPE_LEDM: log.debug("Type 10: LEDM") - status_block = status.StatusType10(self) + status_block = status.StatusType10(self.getEWSUrl_LEDM) + + elif status_type == STATUS_TYPE_LEDM_FF_CC_0: + log.debug("Type 11: LEDM_FF_CC_0") + status_block = status.StatusType10(self.getUrl_LEDM) else: log.error("Unimplemented status type: %d" % status_type) @@ -1816,27 +1839,44 @@ 'rr' : rr, }) + #Check if device itself is sending the supplies info. If so, then in that case we need not check model.dat static data and + #compare with region, kind and type values. + dynamic_sku_data = False + for agent in agents: + try: + if agent['agent-sku'] != '': + dynamic_sku_data = True + break + except: + pass + a, aa = 1, 1 while True: - mq_agent_kind = self.mq.get('r%d-agent%d-kind' % (r_value, a), -1) - - if mq_agent_kind == -1: - break - - mq_agent_type = self.mq.get('r%d-agent%d-type' % (r_value, a), 0) - mq_agent_sku = self.mq.get('r%d-agent%d-sku' % (r_value, a), '') - - found = False - - log.debug("Looking for kind=%d, type=%d..." % (mq_agent_kind, mq_agent_type)) - for agent in agents: + if dynamic_sku_data: + if a > len(agents): + break + agent = agents[a-1] + mq_agent_sku = agent['agent-sku'] agent_kind = agent['kind'] agent_type = agent['type'] - - if agent_kind == mq_agent_kind and \ - agent_type == mq_agent_type: - found = True - break + found = True + else: + mq_agent_kind = self.mq.get('r%d-agent%d-kind' % (r_value, a), -1) + if mq_agent_kind == -1: + break + mq_agent_type = self.mq.get('r%d-agent%d-type' % (r_value, a), 0) + mq_agent_sku = self.mq.get('r%d-agent%d-sku' % (r_value, a), '') + found = False + + log.debug("Looking for kind=%d, type=%d..." % (mq_agent_kind, mq_agent_type)) + for agent in agents: + agent_kind = agent['kind'] + agent_type = agent['type'] + + if agent_kind == mq_agent_kind and \ + agent_type == mq_agent_type: + found = True + break if found: log.debug("found: r%d-kind%d-type%d" % (r_value, agent_kind, agent_type)) @@ -1859,7 +1899,7 @@ # if agent health is OK, check for low supplies. If low, use # the agent level trigger description for the agent description. # Otherwise, report the agent health. - if (status_code == STATUS_PRINTER_IDLE or status_code == STATUS_PRINTER_OUT_OF_INK) and \ + if (status_code == STATUS_PRINTER_POWER_SAVE or status_code == STATUS_PRINTER_IDLE or status_code == STATUS_PRINTER_OUT_OF_INK) and \ (agent_health == AGENT_HEALTH_OK or (agent_health == AGENT_HEALTH_FAIR_MODERATE and agent_kind == AGENT_KIND_HEAD)) and \ agent_level_trigger >= AGENT_LEVEL_TRIGGER_MAY_BE_LOW: @@ -2125,6 +2165,9 @@ def readLEDM(self, bytes_to_read, stream=None, timeout=prop.read_timeout, allow_short_read=True): return self.__readChannel(self.openLEDM, bytes_to_read, stream, timeout, allow_short_read) + def readMarvell_EWS(self, bytes_to_read, stream=None, timeout=prop.read_timeout, allow_short_read=True): + return self.__readChannel(self.openMarvell_EWS, bytes_to_read, stream, timeout, allow_short_read) + def readSoapFax(self, bytes_to_read, stream=None, timeout=prop.read_timeout, allow_short_read=True): return self.__readChannel(self.openSoapFax, bytes_to_read, stream, timeout, allow_short_read) @@ -2211,6 +2254,9 @@ def writeLEDM(self, data): return self.__writeChannel(self.openLEDM, data) + def writeMarvell_EWS(self, data): + return self.__writeChannel(self.openMarvell_EWS, data) + def writeCfgDownload(self, data): return self.__writeChannel(self.openCfgDownload, data) @@ -2267,6 +2313,52 @@ self.printData(data, direct=direct, raw=True) + def post(self, url, post): + status_type = self.mq.get('status-type', STATUS_TYPE_NONE) + data = """POST %s HTTP/1.1\r +Connection: Keep-alive\r +User-agent: hplip/2.0\r +Host: %s\r +Content-type: text/xml\r +Content-length: %d\r +\r +%s""" % (url, self.http_host, len(post), post) + log.log_data(data) + if status_type == STATUS_TYPE_LEDM: + log.debug("status-type: %d" % status_type) + self.writeEWS_LEDM(data) + response = cStringIO.StringIO() + + while self.readEWS_LEDM(512, response, timeout=5): + pass + + response = response.getvalue() + log.log_data(response) + self.closeEWS_LEDM() + + elif status_type == STATUS_TYPE_LEDM_FF_CC_0: + log.debug("status-type: %d" % status_type) + self.writeLEDM(data) + response = cStringIO.StringIO() + + while self.readLEDM(512, response, timeout=5): + pass + + response = response.getvalue() + log.log_data(response) + self.closeLEDM() + + else: + log.error("Not an LEDM status-type: %d" % status_type) + + match = http_result_pat.match(response) + if match is None: return HTTP_OK + try: + code = int(match.group(1)) + except (ValueError, TypeError): + code = HTTP_ERROR + + return code == HTTP_OK def printGzipFile(self, file_name, printer_name=None, direct=False, raw=True, remove=False): return self.printFile(file_name, printer_name, direct, raw, remove) @@ -2348,8 +2440,7 @@ else: c = 'lp -c -d%s %s %s' % (printer_name, lp_opt, file_name) - log.debug(c) - exit_code = os.system(c) + exit_code = os_utils.execute(c) if exit_code != 0: log.error("Print command failed with exit code %d!" % exit_code) @@ -2367,8 +2458,7 @@ else: c = 'lpr -P%s %s %s %s' % (printer_name, raw_str, rem_str, file_name) - log.debug(c) - exit_code = os.system(c) + exit_code = os_utils.execute(c) if exit_code != 0: log.error("Print command failed with exit code %d!" % exit_code) @@ -2466,12 +2556,12 @@ if footer: return opener.open_hp(url2, data, footer) else: - return opener.open_hp(url2, data) + return opener.open_hp(url2, data) except Error: log.debug("Status read failed: %s" % url2) finally: self.closeEWS_LEDM() - + def getUrl_LEDM(self, url, stream, footer=""): try: url2 = "%s&loc=%s" % (self.device_uri.replace('hpfax:', 'hp:'), url) @@ -2481,7 +2571,7 @@ if footer: return opener.open_hp(url2, data, footer) else: - return opener.open_hp(url2, data) + return opener.open_hp(url2, data) except Error: log.debug("Status read failed: %s" % url2) @@ -2497,11 +2587,11 @@ if data: data = data.split('\r\n\r\n', 1)[1] if data: - data = status.clean(data) + data = status.ExtractXMLData(data) return data #-------------------------For LEDM SOAP PROTOCOL(FAX) Devices----------------------------------------------------------------------# - + def FetchEWS_LEDMUrl(self, url, footer=""): data_fp = cStringIO.StringIO() if footer: @@ -2511,7 +2601,7 @@ if data: data = data.split('\r\n\r\n', 1)[1] if data: - data = status.clean(data) + data = status.ExtractXMLData(data) return data def readAttributeFromXml_EWS(self, uri, attribute): @@ -2521,19 +2611,28 @@ log.error("Unable To read the XML data from device") return "" xmlDict = utils.XMLToDictParser().parseXML(data) - return str(xmlDict[attribute]) + + try: + #return str(xmlDict[attribute]) + return xmlDict[attribute] + except: + return str("") #---------------------------------------------------------------------------------------------------# - + def readAttributeFromXml(self,uri,attribute): stream = cStringIO.StringIO() - data = self.FetchLEDMUrl(uri) + data = self.FetchLEDMUrl(uri) if not data: log.error("Unable To read the XML data from device") return "" - xmlDict = utils.XMLToDictParser().parseXML(data) - return str(xmlDict[attribute]) - + xmlDict = utils.XMLToDictParser().parseXML(data) + try: + return xmlDict[attribute] + except: + return str("") + + def downloadFirmware(self, usb_bus_id=None, usb_device_id=None): # Note: IDs not currently used ok = False filename = os.path.join(prop.data_dir, "firmware", self.model.lower() + '.fw.gz') @@ -2630,12 +2729,43 @@ reply = xStringIO() - while dev.readEWS_LEDM(8080, reply, timeout=3): - pass + #while dev.readEWS_LEDM(512, reply, timeout=3): + #pass + + END_OF_DATA="0\r\n\r\n" + bytes_requested = 1024 + bytes_remaining = 0 + chunkedFlag = True + + bytes_read = dev.readEWS_LEDM(bytes_requested, reply, timeout=3) + + for line in reply.getvalue().splitlines(): + if line.lower().find("content-length") != -1: + bytes_remaining = int(line.split(":")[1]) + chunkedFlag = False + break + + xml_data_start = reply.getvalue().find(" 0: + temp_buf = xStringIO() + bytes_read = dev.readEWS_LEDM(bytes_requested, temp_buf, timeout=3) + reply.write(temp_buf.getvalue()) + + if not chunkedFlag: # Unchunked data + bytes_remaining = bytes_remaining - bytes_read + if bytes_remaining <= 0: + break + elif END_OF_DATA == temp_buf.getvalue(): # Chunked data end + break reply.seek(0) return reply.getvalue() + # URLs: hp:/usb/HP_OfficeJet_7500?serial=00XXXXXXXXXX&loc=/hp/device/info_device_status.xml class LocalOpener_LEDM(urllib.URLopener): def open_hp(self, url, dev, foot=""): @@ -2656,11 +2786,37 @@ reply = xStringIO() - while dev.readLEDM(8080, reply, timeout=3): - pass + #while dev.readLEDM(512, reply, timeout=3): + #pass + + END_OF_DATA="0\r\n\r\n" + bytes_requested = 1024 + bytes_remaining = 0 + chunkedFlag = True + + bytes_read = dev.readLEDM(bytes_requested, reply, timeout=3) + + for line in reply.getvalue().splitlines(): + if line.lower().find("content-length") != -1: + bytes_remaining = int(line.split(":")[1]) + chunkedFlag = False + break + + xml_data_start = reply.getvalue().find(" 0: + temp_buf = xStringIO() + bytes_read = dev.readLEDM(bytes_requested, temp_buf, timeout=3) + reply.write(temp_buf.getvalue()) + + if not chunkedFlag: # Unchunked data + bytes_remaining = bytes_remaining - bytes_read + if bytes_remaining <= 0: + break + elif END_OF_DATA == temp_buf.getvalue(): # Chunked data end + break reply.seek(0) return reply.getvalue() - - - diff -Nru hplip-3.12.2/base/g.py hplip-3.13.4/base/g.py --- hplip-3.12.2/base/g.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/g.py 2013-04-08 09:58:45.000000000 +0000 @@ -34,6 +34,7 @@ # Local from codes import * import logger +from base import os_utils # System wide logger log = logger.Logger('', logger.Logger.LOG_LEVEL_INFO, logger.Logger.LOG_TO_CONSOLE) @@ -120,7 +121,7 @@ fp = open(self.filename, "r") self.conf.readfp(fp) fp.close() - except (OSError, IOError): + except (OSError, IOError, ConfigParser.MissingSectionHeaderError): log.debug("Unable to open file %s for reading." % self.filename) def write(self): @@ -149,6 +150,10 @@ class State(ConfigBase): def __init__(self): + if not os.path.exists('/var/lib/hp/') and os.geteuid() == 0: + os.makedirs('/var/lib/hp/') + cmd = 'chmod 755 /var/lib/hp/' + os_utils.execute(cmd) ConfigBase.__init__(self, '/var/lib/hp/hplip.state') @@ -268,16 +273,22 @@ # Spinner, ala Gentoo Portage spinner = "\|/-\|/-" spinpos = 0 +enable_spinner = True + +def change_spinner_state(enable =True): + global enable_spinner + enable_spinner = enable def update_spinner(): - global spinner, spinpos - if not log.is_debug() and sys.stdout.isatty(): + global spinner, spinpos, enable_spinner + if enable_spinner and not log.is_debug() and sys.stdout.isatty(): sys.stdout.write("\b" + spinner[spinpos]) spinpos=(spinpos + 1) % 8 sys.stdout.flush() def cleanup_spinner(): - if not log.is_debug() and sys.stdout.isatty(): + global enable_spinner + if enable_spinner and not log.is_debug() and sys.stdout.isatty(): sys.stdout.write("\b \b") sys.stdout.flush() diff -Nru hplip-3.12.2/base/logger.py hplip-3.13.4/base/logger.py --- hplip-3.12.2/base/logger.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/logger.py 2013-04-08 09:58:45.000000000 +0000 @@ -162,6 +162,10 @@ self._where = where + def get_where(self): + return self._where + + def get_level(self): return self._level diff -Nru hplip-3.12.2/base/maint.py hplip-3.13.4/base/maint.py --- hplip-3.12.2/base/maint.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/maint.py 2013-04-08 09:58:45.000000000 +0000 @@ -26,6 +26,19 @@ from codes import * import status, pml from prnt import pcl, ldl, colorcal +import time + +# ************************* LEDM Clean**************************************** # +CleanXML = """ + + + %s +\" + + """ + +status_xml = '/DevMgmt/InternalPrintDyn.xml' +# **************************************************************************** # # ********************** Align ********************** @@ -33,12 +46,12 @@ ok = loadpaper_ui() if ok: dev.writeEmbeddedPML(pml.OID_AUTO_ALIGNMENT, - pml.AUTO_ALIGNMENT, style=0, + pml.AUTO_ALIGNMENT, style=0, direct=True) dev.closePrint() return ok - + def AlignType1PML(dev, loadpaper_ui): # Auto VIP (using PML) ok = loadpaper_ui() if ok: @@ -404,7 +417,7 @@ log.debug("Pattern=%d" % pattern) return pattern - + def alignType10Phase1(dev): dev.writeEmbeddedPML(pml.OID_PRINT_INTERNAL_PAGE, @@ -422,7 +435,7 @@ break p = ''.join([p, pcl.ESC, '*o5W\x1a', chr(i), '\x00', chr(pattern), chr(x), '\n']) - p = ''.join([p, pcl.UEL]) + p = ''.join([p, pcl.UEL]) dev.printData(p) dev.closePrint() @@ -490,7 +503,7 @@ 'F' : (True, 9), 'G' : (True, 9), 'H' : (True, 9), - 'I' : (True, 9),} + 'I' : (True, 9),} else: if pattern == 1: @@ -530,7 +543,7 @@ if pattern is None: invalidpen_ui() return - + state = 0 while state != -1: if state == 0: @@ -570,9 +583,9 @@ elif dev.pen_config == AGENT_CONFIG_PHOTO_ONLY: return None - log.debug("Pattern=%d" % pattern) + log.debug("Pattern=%d" % pattern) return pattern - + def alignType11Phase1(dev): dev.printData(ldl.buildResetPacket()) @@ -622,85 +635,102 @@ calibrationSession = 1 -def dataModelHelper(dev, ui2): - data = status.StatusType10FetchUrl(dev, "/Calibration/State") +def dataModelHelper(dev, func, ui2): + data = status.StatusType10FetchUrl(func, "/Calibration/State") if not data: - data = status.StatusType10FetchUrl(dev, "/Calibration/State") + data = status.StatusType10FetchUrl(func, "/Calibration/State") if not data: log.debug("Unable to retrieve calibration state") + dev.close() return 0 if "ParmsRequested" in data: log.error("Restart device and start alignment") - return 1 + dev.close() + return 1 if "404 Not Found" in data: log.error("Device may not support Alignment") + dev.close() return 1 if "Printing<" in data: log.warn("Previous alignment job not completed") + dev.close() return 1 - data = status.StatusType10FetchUrl(dev, "/DevMgmt/ConsumableConfigDyn.xml") + data = status.StatusType10FetchUrl(func, "/DevMgmt/ConsumableConfigDyn.xml") if "AlignmentMode" not in data: log.error("Device may not support Alignment") - return 1 + dev.close() + return 1 if "automatic" in data: log.debug("Device supports automatic calibration") - status.StatusType10FetchUrl(dev, "/Calibration/Session", "Printing") + status.StatusType10FetchUrl(func, "/Calibration/Session", "Printing") + dev.close() return 0 if "semiAutomatic" in data: log.debug("Device supports semiAutomatic calibration") - status.StatusType10FetchUrl(dev, "/Calibration/Session", "Printing") + status.StatusType10FetchUrl(func, "/Calibration/Session", "Printing") + dev.close() return ui2() if "manual" in data: log.debug("Device supports manual calibration") - data = status.StatusType10FetchUrl(dev, "/Calibration/Session", "Printing") + data = status.StatusType10FetchUrl(func, "/Calibration/Session", "Printing") import string data = string.split(data, "/Jobs")[1] data = string.split(data, "\r\n")[0] data = "/Jobs" + data - data = status.StatusType10FetchUrl(dev, data) + data = status.StatusType10FetchUrl(func, data) data = string.split(data, "Session/")[1] data = string.split(data, "<")[0] data = "/Calibration/Session/" + data + "/ManualSelectedPatterns.xml" global calibrationSession - calibrationSession = data - + calibrationSession = data + dev.close() return 0 def AlignType16Manual(dev, a, b, c, d, e, f, g, h, i): log.debug("a=%s b=%s c=%s d=%s e=%s f=%s g=%s h=%s i=%s" % (a, b, c, d, e, f, g, h, i )) - data = status.StatusType10FetchUrl(dev, "/Calibration/State") - + func = dev.getEWSUrl_LEDM + data = status.StatusType10FetchUrl(func, "/Calibration/State") + if not data: return 0 while "ParmsRequested" not in data: if "CalibrationValid" in data: return - data = status.StatusType10FetchUrl(dev, "/Calibration/State") + data = status.StatusType10FetchUrl(func, "/Calibration/State") data = "\n\n1%s2%s3%s4%s5%s6%s7%s8%s9%s" % ( a, b, c, d, e, f, g, h, i ) data = "PUT %s HTTP/1.1\r\nHost: localhost\r\nUser-Agent: hp\r\nAccept: text/plain\r\nAccept-Language: en-us,en\r\nAccept-Charset:utf-8\r\nContent-Type: text/xml\r\nContent-Length: %s\r\n\r\n" % ( calibrationSession, len(data)) + data - data = status.StatusType10FetchUrl(dev, calibrationSession, data) + data = status.StatusType10FetchUrl(func, calibrationSession, data) def AlignType15(dev, loadpaper_ui, ui2): if not loadpaper_ui(): return - return dataModelHelper(dev, ui2) + return dataModelHelper(dev, dev.getEWSUrl_LEDM, ui2) def AlignType15Phase1(dev, ui2): - return dataModelHelper(dev, ui2) + return dataModelHelper(dev, dev.getEWSUrl_LEDM, ui2) + +#AlignType 17 is LEDM via FF/CC/0 USB channel +def AlignType17(dev, loadpaper_ui, ui2): + if not loadpaper_ui(): + return + return dataModelHelper(dev, dev.getUrl_LEDM, ui2) + +def AlignType17Phase1(dev, ui2): + return dataModelHelper(dev, dev.getUrl_LEDM, ui2) def AlignType16(dev, loadpaper_ui, align_ui): if not loadpaper_ui(): return - dataModelHelper(dev, align_ui) + dataModelHelper(dev, dev.getEWSUrl_LEDM, align_ui) state, a, b, c, d, e, f, g, h, i = 0, 6, 6, 3, 3, 6, 6, 6, 6, 6 ok = False while state != -1: @@ -773,7 +803,7 @@ if pattern is None: invalidpen_ui() return - + state = 0 while state != -1: if state == 0: @@ -813,9 +843,9 @@ elif dev.pen_config == AGENT_CONFIG_PHOTO_ONLY: return None - log.debug("Pattern=%d" % pattern) + log.debug("Pattern=%d" % pattern) return pattern - + def alignType14Phase1(dev): dev.printData(ldl.buildResetPacket()) @@ -1227,8 +1257,8 @@ dev.printData(s) dev.closePrint() - - + + def AlignType12(dev, loadpaper_ui): if loadpaper_ui(): dev.setPML(pml.OID_PRINT_INTERNAL_PAGE, pml.PRINT_INTERNAL_PAGE_ALIGNMENT_PAGE) @@ -1241,6 +1271,7 @@ loadpaper_ui, dlg1, dlg2, dlg3, wait_ui): state = 0 + level = 0 while state != -1: if state == 0: # Initial level1 print @@ -1262,7 +1293,10 @@ elif state == 3: # Print test page state = 4 - print_clean_test_page(dev) + if clean_type == CLEAN_TYPE_LEDM: + cleanTypeVerify(dev,level = 1) + else: + print_clean_test_page(dev) elif state == 4: # Need level 2? state = -1 @@ -1282,7 +1316,10 @@ elif state == 7: # Print test page state = 8 - print_clean_test_page(dev) + if clean_type == CLEAN_TYPE_LEDM: + cleanTypeVerify(dev,level = 2) + else: + print_clean_test_page(dev) elif state == 8: # Need level 3? state = -1 @@ -1302,7 +1339,10 @@ elif state == 11: # Print test page state = 12 - print_clean_test_page(dev) + if clean_type == CLEAN_TYPE_LEDM: + cleanTypeVerify(dev,level = 3) + else: + print_clean_test_page(dev) elif state == 12: state = -1 @@ -1349,6 +1389,61 @@ ldl.COMMAND_HANDLE_PEN_CLEAN_LEVEL3)) dev.closePrint() +def setCleanType(name): + try: + xml = CleanXML %(name.encode('utf-8')) + except(UnicodeEncodeError, UnicodeDecodeError): + log.error("Unicode Error") + return xml + +def cleanTypeLedm(dev): #LEDM, level 1 + xml = setCleanType('cleaningPage') + dev.post(status_xml, xml) + dev.closePrint() + +def cleanTypeLedm1(dev): #LEDM, level 2 + xml = setCleanType('cleaningPageLevel1') + dev.post(status_xml, xml) + dev.closePrint() + +def cleanTypeLedm2(dev): #LEDM, level 3 + xml = setCleanType('cleaningPageLevel2') + dev.post(status_xml, xml) + dev.closePrint() + +def cleanTypeVerify(dev,level): #LEDM Test Page + state = 0 + timeout = 0 + status_type = dev.mq.get('status-type', STATUS_TYPE_NONE) + xml = setCleanType('cleaningVerificationPage') + + if status_type == STATUS_TYPE_LEDM: + func = dev.getEWSUrl_LEDM + + elif status_type == STATUS_TYPE_LEDM_FF_CC_0: + func = dev.getUrl_LEDM + + else: + log.error("Not an LEDM status-type: %d" % status_type) + + print "Performing level %d cleaning...." % level + + while state != -1: + status_block = status.StatusType10Status(func) + + if status_block['status-code'] == STATUS_PRINTER_IDLE: # Printer Ready + dev.post(status_xml, xml) + state = -1 + else: + + time.sleep(8) + timeout += 1 + + if timeout > 20: + log.error("Timeout waiting for Clean to finish.") + sys.exit(0) + + # ********************** Color Cal ********************** @@ -1603,7 +1698,7 @@ def colorCalType4Phase1(dev): dev.setPML(pml.OID_PRINT_INTERNAL_PAGE, pml.PRINT_INTERNAL_PAGE_COLOR_CAL) - + dev.closePML() @@ -1637,29 +1732,29 @@ dev.setPML(pml.OID_COLOR_CALIBRATION_ARRAY_1, kadj) - + dev.setPML(pml.OID_COLOR_CALIBRATION_ARRAY_2, Cadj) - + dev.setPML(pml.OID_COLOR_CALIBRATION_ARRAY_3, Madj) - + dev.setPML(pml.OID_COLOR_CALIBRATION_ARRAY_4, Yadj) - + dev.setPML(pml.OID_COLOR_CALIBRATION_ARRAY_5, cadj) - + dev.setPML(pml.OID_COLOR_CALIBRATION_ARRAY_6, madj) - + dev.closePML() def colorCalType4Phase3(dev): dev.setPML(pml.OID_PRINT_INTERNAL_PAGE, pml.PRINT_INTERNAL_PAGE_COLOR_PALETTE_CMYK_PAGE) - + dev.closePML() @@ -1668,32 +1763,32 @@ dev.printData("""\x1b%-12345X@PJL ENTER LANGUAGE=PCL3GUI\n\x1bE\x1b%Puifp.multi_button_push 20;\nudw.quit;\x1b*rC\x1bE\x1b%-12345X""") dev.closePrint() - + def colorCalType6(dev, loadpaper_ui): if loadpaper_ui(): dev.setPML(pml.OID_PRINT_INTERNAL_PAGE, pml.PRINT_INTERNAL_PAGE_COLOR_CAL) dev.closePML() - + def colorCalType7(dev, loadpaper_ui): if loadpaper_ui(): dev.setPML(pml.OID_PRINT_INTERNAL_PAGE, pml.PRINT_INTERNAL_PAGE_AUTOMATIC_COLOR_CALIBRATION) dev.closePML() -# ********************** LF Cal ********************** - +# ********************** LF Cal ********************** + def linefeedCalType1(dev, loadpaper_ui): if loadpaper_ui(): dev.printData("""\x1b%-12345X@PJL ENTER LANGUAGE=PCL3GUI\n\x1bE\x1b%Puifp.multi_button_push 3;\nudw.quit;\x1b*rC\x1bE\x1b%-12345X""") dev.closePrint() - + def linefeedCalType2(dev, loadpaper_ui): if loadpaper_ui(): dev.setPML(pml.OID_PRINT_INTERNAL_PAGE, pml.PRINT_INTERNAL_PAGE_LINEFEED_CALIBRATION) dev.closePML() -# ********************** PQ Diag ********************** - +# ********************** PQ Diag ********************** + def printQualityDiagType1(dev, loadpaper_ui): if loadpaper_ui(): dev.printData("""\x1b%-12345X@PJL ENTER LANGUAGE=PCL3GUI\n\x1bE\x1b%Puifp.multi_button_push 14;\nudw.quit;\x1b*rC\x1bE\x1b%-12345X""") diff -Nru hplip-3.12.2/base/models.py hplip-3.13.4/base/models.py --- hplip-3.12.2/base/models.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/models.py 2013-04-08 09:58:45.000000000 +0000 @@ -103,8 +103,14 @@ "Mimas", "StingrayOJ", "Copperhead", + "Copperhead12", "Ampere", "Python11", + "Saipan", + "PyramidPlus", + "Hbpl1", + "Kapan", + "MimasTDR", ] TECH_CLASSES.sort() @@ -159,7 +165,11 @@ "Mimas" : 'pcl3', "StingrayOJ" : 'pcl3', "Copperhead" : 'pcl3', - "Ampere" : 'pcl3' + "Copperhead12" : 'pcl3', + "Ampere" : 'pcl3', + "Hbpl1" : 'hbpl1', + "Kapan" : 'pcl3', + "MimasTDR" : 'pcl3' } PDL_TYPE_PCL = 0 # less preferred @@ -183,6 +193,7 @@ 'jpg' : PDL_TYPE_HOST, 'jetready' : PDL_TYPE_HOST, 'jr' : PDL_TYPE_HOST, + 'hbpl1' : PDL_TYPE_HOST, } @@ -213,7 +224,10 @@ "Trim", "4800x1200dpi", "Advanced", - "AutoDuplex" + "Mono", + "Color", + "AutoDuplex", + "K10" ] TECH_SUBCLASSES.sort() @@ -306,7 +320,6 @@ 'power-settings': TYPE_INT, 'pq-diag-type' : TYPE_INT, 'r-type' : TYPE_INT, - 'scan-style' : TYPE_INT, 'scan-type' : TYPE_INT, 'scan-src' : TYPE_INT, #'scan-duplex' : TYPE_BOOL, diff -Nru hplip-3.12.2/base/module.py hplip-3.13.4/base/module.py --- hplip-3.12.2/base/module.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/module.py 2013-04-08 09:58:45.000000000 +0000 @@ -171,7 +171,7 @@ content.append(utils.USAGE_DEVICE) content.append(utils.USAGE_PRINTER) - if self.avail_modes is not None and self.num_valid_modes > 1: + if self.avail_modes is not None and self.num_valid_modes > 0: summary.append('[MODE]') content.append(utils.USAGE_SPACE) content.append(utils.USAGE_MODE) @@ -263,7 +263,7 @@ params = ''.join([params, 'd:p:P:']) long_params.extend(['device=', 'device-uri=', 'printer=', 'printer-name']) - if self.num_valid_modes > 1: + if self.num_valid_modes > 0: if GUI_MODE in self.avail_modes and prop.gui_build: params = ''.join([params, 'u']) long_params.extend(['gui', 'ui']) @@ -444,7 +444,7 @@ log.info(log.bold("%s ver. %s" % (self.title, self.version))) log.info("") - log.info("Copyright (c) 2001-9 Hewlett-Packard Development Company, LP") + log.info("Copyright (c) 2001-13 Hewlett-Packard Development Company, LP") log.info("This software comes with ABSOLUTELY NO WARRANTY.") log.info("This is free software, and you are welcome to distribute it") log.info("under certain conditions. See COPYING file for more details.") @@ -642,11 +642,11 @@ return printer_name_ret, device_uri_ret - def lockInstance(self, suffix=''): + def lockInstance(self, suffix='',suppress_error=False): if suffix: - ok, self.lock_file = utils.lock_app('-'.join([self.mod, suffix])) + ok, self.lock_file = utils.lock_app('-'.join([self.mod, suffix]),suppress_error) else: - ok, self.lock_file = utils.lock_app(self.mod) + ok, self.lock_file = utils.lock_app(self.mod,suppress_error) if not ok: sys.exit(1) diff -Nru hplip-3.12.2/base/os_utils.py hplip-3.13.4/base/os_utils.py --- hplip-3.12.2/base/os_utils.py 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/base/os_utils.py 2013-04-08 09:58:45.000000000 +0000 @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# +# (c) Copyright @ 2013 Hewlett-Packard Development Company, L.P. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Author: Amarnath Chitumalla, Goutam Kodu +# + +# Global import +import os + +#Local +from base import logger + +log = logger.Logger('', logger.Logger.LOG_LEVEL_INFO, logger.Logger.LOG_TO_CONSOLE) + +def execute(cmd): + if cmd: + return os.system(cmd) + else: + log.error("Command not found \n" % cmd) + return 127 diff -Nru hplip-3.12.2/base/password.py hplip-3.13.4/base/password.py --- hplip-3.12.2/base/password.py 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/base/password.py 2013-04-08 09:58:45.000000000 +0000 @@ -0,0 +1,321 @@ +# -*- coding: utf-8 -*- +# +# (c) Copyright @ 2013 Hewlett-Packard Development Company, L.P. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Author: Amarnath Chitumalla +# +import os +import getpass +import cStringIO +import time +import string + +from base import utils, tui +from base.g import * +import pexpect + +PASSWORD_RETRY_COUNT = 3 + +AUTH_TYPES ={'mepis':'su', + 'debian':'su', + 'suse':'su', + 'mandriva':'su', + 'fedora':'su', + 'redhat':'su', + 'rhel':'su', + 'slackware':'su', + 'gentoo':'su', + 'redflag':'su', + 'ubuntu':'sudo', + 'xandros':'su', + 'freebsd':'su', + 'linspire':'su', + 'ark':'su', + 'pclinuxos':'su', + 'centos':'su', + 'igos':'su', + 'linuxmint':'sudo', + 'linpus':'sudo', + 'gos':'sudo', + 'boss':'su', + 'lfs':'su', + } + + +#TBD this function shoud be removed once distro class implemented +def get_distro_name(): + os_name = None; + if utils.which('lsb_release'): + name = os.popen('lsb_release -i | cut -f 2') + os_name = name.read().strip() + name.close() + else: + name = os.popen("cat /etc/issue | awk '{print $1}' | head -n 1") + os_name = name.read().strip() + name.close() + + if "redhatenterprise" in os_name.lower(): + os_name = 'rhel' + elif "suse" in os_name.lower(): + os_name = 'suse' + + return os_name + + + + +class Password(object): + def __init__(self, Mode = INTERACTIVE_MODE): + self.__password ="" + self.__passwordValidated = False + self.__mode = Mode + self.__readAuthType() #self.__authType + self.__expectList =[] + for s in utils.EXPECT_WORD_LIST: + try: + p = re.compile(s, re.I) + except TypeError: + self.__expectList.append(s) + else: + self.__expectList.append(p) + + ##################### Private functions ###################### + + + def __readAuthType(self): + #TBD: Getting distro name should get distro class + distro_name = get_distro_name().lower() + + try: + self.__authType = AUTH_TYPES[distro_name] + except KeyError: + log.warn("%s distro is not found in AUTH_TYPES"%distro_name) + self.__authType = 'su' + + def __getPasswordDisplayString(self): + if self.__authType == "su": + return "Please enter the root/superuser password: " + else: + return "Please enter the sudoer (%s)'s password: " % os.getenv('USER') + + + def __changeAuthType(self): + if self.__authType == "sudo": + self.__authType = "su" + else: + self.__authType = "sudo" + + + def __get_password(self,pswd_msg=''): + if pswd_msg == '': + if self.__authType == "su": + pswd_msg = "Please enter the root/superuser password: " + else: + pswd_msg = "Please enter the sudoer (%s)'s password: " % os.getenv('USER') + + return getpass.getpass(log.bold(pswd_msg)) + + + + def __get_password_ui(self,pswd_msg='', qt="qt4"): + if pswd_msg == '': + pswd_msg = "Your HP Device requires to install HP proprietary plugin\nPlease enter root/superuser password to continue" + + #TBD: currently takes only username as root, need to handle for other users also. + if qt == "qt4": + from ui4.setupdialog import showPasswordUI + username, password = showPasswordUI(pswd_msg, "root", False) + + if qt == "qt3": + from ui.setupform import showPasswordUI + username, password = showPasswordUI(pswd_msg, "root", False) + + return password + + + def __password_check(self, cmd, timeout=1): + output = cStringIO.StringIO() + ok, ret = False, '' + + try: + child = pexpect.spawn(cmd, timeout=1) + except pexpect.ExceptionPexpect: + return 1, '' + + try: + try: + start = time.time() + + while True: + update_spinner() + + i = child.expect_list(self.__expectList) + cb = child.before + if cb: + # output + start = time.time() + log.log_to_file(cb) + log.debug(cb) + output.write(cb) + + if i == 0: # EOF + ok, ret = True, output.getvalue() + break + + elif i == 1: # TIMEOUT + continue + + else: # password + child.sendline(self.__password) + + except (Exception, pexpect.ExceptionPexpect): + log.exception() + + finally: + cleanup_spinner() + + try: + child.close() + except OSError: + pass + + if ok: + return child.exitstatus, ret + else: + return 1, '' + + + def __validatePassword(self ,pswd_msg): + x = 1 + qt = "" + while True: + if self.__mode == INTERACTIVE_MODE: + self.__password = self.__get_password(pswd_msg) + else: + if self.getAuthType() == 'su': + if not utils.to_bool(sys_conf.get('configure', 'qt4', '0')) and utils.to_bool(sys_conf.get('configure', 'qt3', '0')) : + qt = "qt3" #ifqt4 is enabled, gives more preferrence to qt4. + else: + qt = "qt4" + + self.__password = self.__get_password_ui(pswd_msg, qt) + else: + # Other password utils (i.e. kdesu, gnomesu, gksu) just validates the password but won't return password. + break + + cmd = self.getAuthCmd() % "true" + log.debug(cmd) + + status, output = self.__password_check(cmd) + log.debug("status = %s output=%s "%(status,output)) + + if status == 0: + self.__passwordValidated = True + break + elif "not in the sudoers file" in output: + log.error("User is not in the sudoers file.") + break + #TBD.. IF user dosn't have sudo permissions, needs to change to "su" type and query for password +# self.__changeAuthType() + else: + self.__password = "" + x += 1 + if self.__mode == GUI_MODE: + if qt == "qt4": + from ui4.setupdialog import FailureMessageUI + if qt == "qt3": + from ui.setupform import FailureMessageUI + + if x > PASSWORD_RETRY_COUNT: + FailureMessageUI("Password incorrect. ") + return + else: + FailureMessageUI("Password incorrect. %d attempt(s) left." % (PASSWORD_RETRY_COUNT +1 -x )) + else: + if x > PASSWORD_RETRY_COUNT: + log.error("Password incorrect. ") + return + else: + log.error("Password incorrect. %d attempt(s) left." % (PASSWORD_RETRY_COUNT +1 -x )) + + + def __get_password_utils(self): + if self.__authType == "su": + AuthType, AuthCmd = 'su', 'su -c "%s"' + else: + AuthType, AuthCmd = 'sudo', 'sudo %s' + + return AuthType, AuthCmd + + + def __get_password_utils_ui(self): + distro_name = get_distro_name().lower() + if distro_name == 'rhel': + AuthType, AuthCmd = 'su', 'su -c "%s"' + else: + AuthType, AuthCmd = 'su', 'su - -c "%s"' + + if utils.which('kdesu'): + AuthType, AuthCmd = 'kdesu', 'kdesu -- %s' + elif utils.which('gnomesu'): + AuthType, AuthCmd = 'gnomesu', 'gnomesu -c "%s"' + elif utils.which('gksu'): + AuthType, AuthCmd = 'gksu' , 'gksu "%s"' + +#Uncomment ::: For testing +# AuthType, AuthCmd = 'su' ,'su - -c "%s"' + return AuthType, AuthCmd + + + ##################### Public functions ###################### + + def clearPassword(self): + log.debug("Clearing password...") + self.__password ="" + self.__passwordValidated = False + if self.__authType == 'sudo': + utils.run("sudo -K") + + + def getAuthType(self): + if self.__mode == INTERACTIVE_MODE: + retValue = self.__authType + else: + retValue, AuthCmd = self.__get_password_utils_ui() + + return retValue + + + def getAuthCmd(self): + if self.__mode == INTERACTIVE_MODE: + AuthType, AuthCmd = self.__get_password_utils() + else: + AuthType, AuthCmd = self.__get_password_utils_ui() + + return AuthCmd + + + def getPassword(self, pswd_msg='', psswd_queried_cnt = 0): + if self.__passwordValidated: + return self.__password + + if psswd_queried_cnt: + return self.__password + + self.__validatePassword( pswd_msg) + return self.__password + diff -Nru hplip-3.12.2/base/pkit.py hplip-3.13.4/base/pkit.py --- hplip-3.12.2/base/pkit.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/pkit.py 2013-04-08 09:58:45.000000000 +0000 @@ -34,7 +34,8 @@ from base.logger import * from base.g import * from base.codes import * -from base import utils, device +from base import utils, password,services +from installer import pluginhandler # DBus import dbus @@ -256,8 +257,14 @@ return False log.debug("installPlugin: installing from '%s'" % src_dir) + try: + from installer import pluginhandler + except ImportError,e: + log.error("Failed to Import pluginhandler") + return False - if not copyPluginFiles(src_dir): + pluginObj = pluginhandler.PluginHandle() + if not pluginObj.copyFiles(src_dir): log.error("Plugin installation failed") return False @@ -320,126 +327,9 @@ -def copyPluginFiles(src_dir): - os.chdir(src_dir) - - plugin_spec = ConfigBase("plugin.spec") - products = plugin_spec.keys("products") - - BITNESS = utils.getBitness() - ENDIAN = utils.getEndian() - PPDDIR = sys_conf.get('dirs', 'ppd') - DRVDIR = sys_conf.get('dirs', 'drv') - HOMEDIR = sys_conf.get('dirs', 'home') - DOCDIR = sys_conf.get('dirs', 'doc') - CUPSBACKENDDIR = sys_conf.get('dirs', 'cupsbackend') - CUPSFILTERDIR = sys_conf.get('dirs', 'cupsfilter') - RULESDIR = '/etc/udev/rules.d' - - processor = utils.getProcessor() - if processor == 'power_machintosh': - ARCH = 'ppc' - else: - ARCH = 'x86_%d' % BITNESS - - if BITNESS == 64: - SANELIBDIR = '/usr/lib64/sane' - LIBDIR = '/usr/lib64' - else: - SANELIBDIR = '/usr/lib/sane' - LIBDIR = '/usr/lib' - - copies = [] - - for PRODUCT in products: - MODEL = PRODUCT.replace('hp-', '').replace('hp_', '') - for s in plugin_spec.get("products", PRODUCT).split(','): - - if not plugin_spec.has_section(s): - log.error("Missing section [%s]" % s) - return False - - src = plugin_spec.get(s, 'src', '') - trg = plugin_spec.get(s, 'trg', '') - link = plugin_spec.get(s, 'link', '') - - if not src: - log.error("Missing 'src=' value in section [%s]" % s) - return False - - if not trg: - log.error("Missing 'trg=' value in section [%s]" % s) - return False - - src = os.path.basename(utils.cat(src)) - trg = utils.cat(trg) - - if link: - link = utils.cat(link) - - copies.append((src, trg, link)) - - copies = utils.uniqueList(copies) - copies.sort() - - os.umask(0) - - for src, trg, link in copies: - if not os.path.exists(src): - log.debug("Source file %s does not exist. Skipping." % src) - continue - if os.path.exists(trg): - log.debug("Target file %s already exists. Replacing." % trg) - os.remove(trg) - - trg_dir = os.path.dirname(trg) - - if not os.path.exists(trg_dir): - log.debug("Target directory %s does not exist. Creating." % trg_dir) - os.makedirs(trg_dir, 0755) - - if not os.path.isdir(trg_dir): - log.error("Target directory %s exists but is not a directory. Skipping." % trg_dir) - continue - - try: - shutil.copyfile(src, trg) - except (IOError, OSError), e: - log.error("File copy failed: %s" % e.strerror) - continue - - else: - if not os.path.exists(trg): - log.error("Target file %s does not exist. File copy failed." % trg) - continue - else: - os.chmod(trg, stat.S_IRWXU | stat.S_IRGRP | stat.S_IXGRP | stat.S_IROTH) - - if link: - if os.path.exists(link): - log.debug("Symlink already exists. Replacing.") - os.remove(link) - - log.debug("Creating symlink %s (link) to file %s (target)..." % - (link, trg)) - - try: - os.symlink(trg, link) - except (OSError, IOError), e: - log.debug("Unable to create symlink: %s" % e.strerror) - pass - - log.debug("Updating hplip.conf - installed = 1") - sys_state.set('plugin', "installed", '1') - log.debug("Updating hplip.conf - eula = 1") - sys_state.set('plugin', "eula", '1') - - return True - - -def run_plugin_command(required=True, plugin_reason=PLUGIN_REASON_NONE): +def run_plugin_command(required=True, plugin_reason=PLUGIN_REASON_NONE, Mode = GUI_MODE): su_sudo = None need_sudo = True name = None @@ -457,20 +347,11 @@ if os.geteuid() == 0: su_sudo = "%s" need_sudo = False - - password_f = None + + passwordObj = password.Password(Mode) if need_sudo: - su_sudo = utils.su_sudo() - if su_sudo is "su": - name,version,is_su = utils.os_release() - log.debug("name = %s version = %s is_su = %s" %(name,version,is_su)) - if ( name == 'Fedora' and version >= '14' and is_su == True): - #using su opening GUI apps fail in Fedora 14. - #To run GUI apps as root, you need a root login shell (su -) in Fedora 14 - su_sudo = 'su - -c "%s"' - else: - su_sudo = 'su -c "%s"' - password_f = "get_password_ui" + su_sudo = passwordObj.getAuthType() + if su_sudo is None: log.error("Unable to find a suitable sudo command to run 'hp-plugin'") return (False, False) @@ -479,25 +360,22 @@ if not required: req = '--optional' - if utils.which("hp-plugin"): p_path="hp-plugin" else: p_path="python ./plugin.py" if 'gksu' in su_sudo: - cmd = su_sudo % ("%s -u %s --reason %s" % (p_path, req, plugin_reason)) + cmd = passwordObj.getAuthCmd() % ("%s -u %s --reason %s" % (p_path, req, plugin_reason)) cmd +=" -m" - cmd += (" \"hp-plugin:- HP Device requires to install HP proprietary plugin. Please enter user (sudo) password to continue\"") + cmd += (" \"hp-plugin:- HP Device requires to install HP proprietary plugin. Please enter root password to continue\"") else: - cmd = su_sudo % ("%s -u %s --reason %s To_install_plugin_for_HP_Device" % (p_path, req, plugin_reason)) + cmd = passwordObj.getAuthCmd() % ("%s -u %s --reason %s To_install_plugin_for_HP_Device" % (p_path, req, plugin_reason)) + log.debug("%s" % cmd) - if password_f is not None: - status, output = utils.run(cmd, log_output=True, password_func=password_f, timeout=1) - else: - status, output = utils.run(cmd, log_output=True, password_func=None, timeout=1) - + status, output = utils.run(cmd, passwordObj) + return (status == 0, True) diff -Nru hplip-3.12.2/base/queues.py hplip-3.13.4/base/queues.py --- hplip-3.12.2/base/queues.py 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/base/queues.py 2013-04-08 09:58:45.000000000 +0000 @@ -0,0 +1,441 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# (c) Copyright 2011-2014 Hewlett-Packard Development Company, L.P. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Author: Amarnath Chitumalla +# + +# Std Lib +import sys +import os +import re + +# Local +from base.g import * +from base import utils, tui, password, os_utils, smart_install +from prnt import cups +from installer import core_install + +# ppd type +HPCUPS = 1 +HPIJS = 2 +HPPS = 3 +HPOTHER = 4 + +DEVICE_URI_PATTERN = re.compile(r"""(.*):/(.*?)/(\S*?)\?(?:serial=(\S*)|device=(\S*)|ip=(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}[^&]*)|zc=(\S+))(?:&port=(\d))?""", re.I) +NICKNAME_PATTERN = re.compile(r'''\*NickName:\s*\"(.*)"''', re.MULTILINE) +NET_PATTERN = re.compile(r"""(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})""") +NET_ZC_PATTERN = re.compile(r'''zc=(.*)''',re.IGNORECASE) +NET_OTHER_PATTERN = re.compile(r'''(.*)://(.*)''',re.IGNORECASE) +USB_PATTERN = re.compile(r'''serial=(.*)''',re.IGNORECASE) +LPSTAT_PATTERN = re.compile(r"""(\S*): (.*)""", re.IGNORECASE) +#BACK_END_PATTERN = re.compile(r'''(.*):(.*)''',re.IGNORECASE) + + + +##### Global variables ### +mapofDevices={} +Error_Found = False +####### Device class ######## +class DetectedDevice: + def __init__(self, Printer_Name,Device_URI,Device_Type, ppdType, PPDFileError = False, IsEnabled=True ): + self.PrinterName =Printer_Name + self.DeviceURI = Device_URI + self.DeviceType = Device_Type + self.PPDFileType = ppdType + self.PPDFileError = PPDFileError + self.IsEnabled = IsEnabled + + + + +##### METHODS ##### + +# Checks 'lp' group is added o not +def check_user_groups(): + result = False + sts,output = utils.run('groups') + if sts != 0: + log.error("Failed to get groups") + else: + output = output.rstrip('\r\n') + log.debug("groups =%s "%output) + grp_list= output.split(' ') + cnt = 0 + while cnt < len(grp_list) : + if grp_list[cnt] == 'lp': + result = True + break + cnt += 1 + + return result + +# This function adds the groups ('lp') to user +def add_group(core, mode, passwordObj): + result = False + add_user_to_group = core.get_distro_ver_data('add_user_to_group', '') + if add_user_to_group: + usermod = os.path.join(utils.which("usermod"), "usermod") + " %s %s" % (add_user_to_group, prop.username) + else: + usermod = os.path.join(utils.which("usermod"), "usermod") + " %s -a %s" % ("-Glp", prop.username) + + if passwordObj == None: + passwordObj = password.Password(mode) + + cmd =passwordObj.getAuthCmd() % usermod + log.info("cmd = %s" %cmd) + + pswd_msg = "Enter root/superuser password to add 'lp' group" + sts, output = utils.run(cmd, passwordObj, pswd_msg) + if sts == 0: + result = True + + return result + + + +#Add Printer info to dictionary +def addToDeviceList(Key, printer_name, device_uri,back_end, ppd_fileType,PPDFileError, Is_Print_Q_Enabled): + if ppd_fileType != None: + device1 =DetectedDevice(printer_name, device_uri,back_end, ppd_fileType,PPDFileError, Is_Print_Q_Enabled) + if Key in mapofDevices: + mapofDevices[Key].append(device1) + else: + deviceList=[device1] + mapofDevices[Key]=deviceList + else: + log.warn("%s is not HP Device." %(printer_name)) + +#Validate all the Queues +def parseQueues(mode): + is_hpcups_installed = to_bool(sys_conf.get('configure', 'hpcups-install', '0')) + is_hpijs_installed = to_bool(sys_conf.get('configure', 'hpijs-install', '0')) + status, output = utils.run('lpstat -v') + + cups_printers = [] + if output.find("No destinations added") != -1 or output.find("lpstat:") != -1: + log.info("No Queue added") + else: + for p in output.splitlines(): + try: + match = LPSTAT_PATTERN.search(p) + printer_name = match.group(1) + device_uri = match.group(2) + cups_printers.append((printer_name, device_uri)) + except AttributeError: + pass + + log.debug(cups_printers) + log.debug("HPCups installation=%d HPIJS installation =%d" %(is_hpcups_installed, is_hpijs_installed)) + if cups_printers: + for p in cups_printers: + printer_name, device_uri = p + + if device_uri.startswith("cups-pdf:/"): + continue + + log.debug(log.bold(printer_name)) + log.debug(log.bold('-'*len(printer_name))) + + try: + back_end, is_hp, bus, model, serial, dev_file, host, zc, port = parseDeviceURI(device_uri) + except Error: + back_end, is_hp, bus, model, serial, dev_file, host, zc, port = '', False, '', '', '', '', '', '', 1 + if 'HP' in device_uri: + is_hp = True + + log.debug("Device URI: %s" % device_uri) + ppd_file = os.path.join('/etc/cups/ppd', printer_name + '.ppd') + ppd_fileType = None + PPDFileError = False + if not os.path.exists(ppd_file): + log.error("PPD %s file not found" % ppd_file) + addToDeviceList(HPOTHER,printer_name, device_uri,back_end, ppd_fileType, PPDFileError, True) + else: + log.debug("PPD: %s" % ppd_file) + try: + fileptr = file(ppd_file, 'r').read(4096) + except IOError: + log.warn("Fail to read ppd=%s file"%ppd_file) + desc='' + else: + try: + desc = NICKNAME_PATTERN.search(fileptr).group(1) + except AttributeError: + desc = '' + + log.debug("PPD Description: %s" % desc) + cmd= 'lpstat -p%s' % printer_name + status, output = utils.run(cmd) + log.debug("Printer status: %s" % output.replace("\n", "")) + + #### checking for USb devices #### + if USB_PATTERN.search(device_uri): + Key =USB_PATTERN.search(device_uri).group(1) + #### checking for network devices #### + elif NET_PATTERN.search(device_uri): + Key = NET_PATTERN.search(device_uri).group(1) + elif NET_ZC_PATTERN.search(device_uri): + Key = NET_ZC_PATTERN.search(device_uri).group(1) + elif NET_OTHER_PATTERN.search(device_uri): + part_1 = NET_OTHER_PATTERN.search(device_uri).group(1) + part_2 = NET_OTHER_PATTERN.search(device_uri).group(2) + if 'HP' in part_2: + Key = part_2 + else: + log.info("unknown protocol device_uri=%s" %device_uri) + Key=None + else: + log.info("unknown protocol device_uri=%s" %device_uri) + Key=None + + if Key is not None: + Is_Print_Q_Enabled= True + if output.find('Paused') != -1: + Is_Print_Q_Enabled= False + Key=Key+"_"+back_end + log.debug("Key'%s': deviceType '%s' is_hp '%s' bus '%s' model '%s' serial '%s' dev_file '%s' host '%s' zc '%s' port '%s' Enabled'%d'"\ + %( Key,back_end, is_hp, bus, model, serial, dev_file, host, zc, port,Is_Print_Q_Enabled)) + + PPDFileError = False + if back_end == 'hpfax' and not 'HP Fax' in desc: + log.warn("Incorrect PPD file for fax queue '%s'. Fax queue must use 'HP-Fax-hplip.ppd'." % printer_name) + PPDFileError = True + elif back_end == 'hp' and 'HP Fax' in desc: + log.warn("Incorrect PPD file for print queue '%s'. Print queue must not use 'HP-Fax-hplip.ppd'." % printer_name) + PPDFileError = True + elif back_end not in ('hp', 'hpfax'): + log.warn("Device %s is not HPLIP installed. Device must use the hp: or hpfax: to function in HPLIP."% printer_name) + + ppd_fileType = None + if 'hpcups' in desc: + ppd_fileType = HPCUPS + if not is_hpcups_installed: + PPDFileError = True + elif 'hpijs' in desc: + ppd_fileType = HPIJS + if not is_hpijs_installed: + PPDFileError = True + elif 'Postscript' in desc: + ppd_fileType =HPPS + elif is_hp: + ppd_fileType =HPOTHER + PPDFileError = True + + addToDeviceList(Key, printer_name, device_uri,back_end, ppd_fileType,PPDFileError, Is_Print_Q_Enabled) + log.info("") + return mapofDevices + + +# Validate and remove Queue +def reconfigure_Queue(que, mode, dialog= None,app=None): + global Error_Found + Error_msg =None + if mode == INTERACTIVE_MODE: + if 'hp' in que.DeviceType or 'hpfax' in que.DeviceType: + if que.PPDFileError == False: + log.debug("'%s' is configured correctly." %(que.PrinterName)) + else: + Error_msg = "PPD file for '%s' is not correct. Need to choose correct PPD file." %(que.PrinterName) + else: + Error_msg ="'%s' is not configured using HPLIP. Need to remove and re-cofigure using hp-setup." %(que.PrinterName) + + + if Error_msg != None: + Error_Found = True + log.error(Error_msg) + response, value = tui.enter_yes_no("Do you want to remove and re-configure?") + if response == False: + log.debug("User Exit") + sys.exit(1) + elif value == True: + cups.delPrinter(que.PrinterName) + log.info("' %s' removed successfully.\nRe-configuring this printer by hp-setup..."%que.PrinterName) + path = utils.which('hp-setup') + if path: + cmd = 'hp-setup -i' + os_utils.execute(cmd) + elif que.IsEnabled == False: + Error_Found = True + responce, value =tui.enter_yes_no("'%s Queue is paused. Do you want to enable queue?"%(que.PrinterName)) + if responce == False: + log.debug("User Exit") + sys.exit(1) + elif value == True: + cups.enablePrinter(que.PrinterName) + log.info("'%s' is enabled successfully"%que.PrinterName) + else: + log.info("Manually enable '%s'."%que.PrinterName) + else: + if 'hp' in que.DeviceType or 'hpfax' in que.DeviceType: + if que.PPDFileError == False: + log.debug("'%s' is configured correctly." %(que.PrinterName)) + else: + log.error("PPD file for '%s' is not correct. Need to choose correct PPD file." %(que.PrinterName)) + Error_msg = QUEUES_INCORRECT_PPD + else: + log.error("'%s' is not configured using HPLIP. Need to remove and re-cofigure using hp-setup." %(que.PrinterName)) + Error_msg =QUEUES_CONFIG_ERROR + + if Error_msg == None and que.IsEnabled == False: + Error_msg = QUEUES_PAUSED + + if Error_msg and dialog and app: + Error_Found = True + dialog.init(que.PrinterName, que.DeviceURI, Error_msg) + dialog.show() + log.debug("Starting GUI loop...") + app.exec_() + + +# This parse the given Device URI. and provides the details. +def parseDeviceURI(device_uri): + m = DEVICE_URI_PATTERN.match(device_uri) + if m is None: + raise Error(ERROR_INVALID_DEVICE_URI) + + back_end = m.group(1).lower() or '' + is_hp = (back_end in ('hp', 'hpfax', 'hpaio')) + bus = m.group(2).lower() or '' + + if bus not in ('usb', 'net', 'bt', 'fw', 'par'): + raise Error(ERROR_INVALID_DEVICE_URI) + + model =m.group(3) or '' + serial = m.group(4) or '' + dev_file = m.group(5) or '' + host = m.group(6) or '' + zc = '' + if not host: + zc = host = m.group(7) or '' + port = m.group(8) or 1 + + if bus == 'net': + try: + port = int(port) + except (ValueError, TypeError): + port = 1 + + if port == 0: + port = 1 + +# log.warning("++++: back_end '%s' is_hp '%s' bus '%s' model '%s' serial '%s' dev_file '%s' host '%s' zc '%s' port '%s' " % +# ( back_end, is_hp, bus, model, serial, dev_file, host, zc, port)) + + return back_end, is_hp, bus, model, serial, dev_file, host, zc, port + + +def main_function(passwordObj = None, mode = GUI_MODE, ui_toolkit= UI_TOOLKIT_QT4, quiet_mode = False, check_grps= False,DEVICE_URI=None): + global Error_Found + try: + from base import device, pml + # This can fail due to hpmudext not being present + except ImportError: + log.error("Device library is not avail.") + sys.exit(1) + + if mode == INTERACTIVE_MODE: + if check_grps and check_user_groups() is False: + core = core_install.CoreInstall(core_install.MODE_CHECK) + core.init() + if add_group(core, mode, passwordObj) is False: + Error_Found = True + log.error("Failed to add lp group to user[%s]. Manually add 'lp' group to usergroups. And reboot system."%prop.username) + else: + log.info("Groups added successfully and reboot is required. Please reboot system to take effect.") + mapofDevices = parseQueues(mode) + if mapofDevices.items() == 0: + log.debug("No queues found.") + + for key,val in mapofDevices.items(): + if len(val) >1: + if not quiet_mode: + Error_Found = True + log.warn("%d queues of same device %s is configured.\nRemove unwanted queues."%(len(val),val[0].PrinterName)) + + for que in val: + reconfigure_Queue(que, mode) + else: + log.debug("") + log.debug("Single print queue is configured for '%s'. " %val[0].PrinterName) + reconfigure_Queue(val[0], mode) + + SI_sts = smart_install.disable(mode, '', None, None, passwordObj) + if SI_sts != smart_install.SIH_NO_SI_DEVICES: + Error_Found = True + + if Error_Found is False: + if not quiet_mode: + if len(mapofDevices) == 0: + log.warn("No Queue(s) configured.") + else: +# log.info(log.green("Queue(s) configured correctly using HPLIP.")) + log.info("Queue(s) configured correctly using HPLIP.") + + elif mode == GUI_MODE: + # Only Qt4 is supported. + if ui_toolkit == 'qt3': + log.error("This is not supported in Qt3, requires GUI support (try running with --qt4). Also, try using interactive (-i) mode.") + sys.exit(1) + + try: + from PyQt4.QtGui import QApplication, QMessageBox + from ui4.queuesconf import QueuesDiagnose + except ImportError: + log.error("Unable to load Qt4 support. Is it installed?") + sys.exit(1) + app = QApplication(sys.argv) + dialog = QueuesDiagnose(None, "","",QUEUES_MSG_SENDING,passwordObj) + if check_grps and check_user_groups() is False: + core = core_install.CoreInstall(core_install.MODE_CHECK) + core.init() + if add_group(core, mode, passwordObj) is False: + Error_Found = True + dialog.showMessage("User must be part of 'lp' group.\nManually add 'lp' group to '%s' user. " %prop.username) + else: + dialog.showSuccessMessage("Groups added successfully and reboot is required. Please reboot system to take effect.") + + mapofDevices = parseQueues(mode) + if mapofDevices.items() == 0: + log.debug("No queues found.") + + for key,val in mapofDevices.items(): + if len(val) >1: + log.warn('%d queues of same device %s is configured. Remove unwanted queues.' %(len(val),val[0].PrinterName)) + if not quiet_mode: + Error_Found = True + dialog.showMessage("%d queues of same device %s is configured.\nRemove unwanted queues."%(len(val),val[0].PrinterName)) + for que in val: + reconfigure_Queue(que, mode,dialog,app) + + else: + log.debug("") + log.debug("Single print queue is configured for '%s'. " %val[0].PrinterName) + reconfigure_Queue(val[0], mode,dialog, app) + + SI_sts = smart_install.disable(mode, ui_toolkit, dialog, app, passwordObj) + if SI_sts != smart_install.SIH_NO_SI_DEVICES: + Error_Found = True + + if Error_Found is False: + if not quiet_mode: + if len(mapofDevices) == 0: + msg= "No Queue(s) configured." + else: + msg= "Queue(s) configured correctly using HPLIP." + dialog.showSuccessMessage(msg) diff -Nru hplip-3.12.2/base/services.py hplip-3.13.4/base/services.py --- hplip-3.12.2/base/services.py 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/base/services.py 2013-04-08 09:58:45.000000000 +0000 @@ -0,0 +1,244 @@ +# -*- coding: utf-8 -*- +# +# (c) Copyright 2013 Hewlett-Packard Development Company, L.P. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Author: Goutam Kodu, Amarnath Chitumalla +# +# +# + +from __future__ import generators + +# Std Lib +import sys +import os +from subprocess import Popen, PIPE +import grp +import fnmatch +import tempfile +import socket +import struct +import select +import time +import fcntl +import errno +import stat +import string +import glob +import commands # TODO: Replace with subprocess (commands is deprecated in Python 3.0) +import cStringIO +import re +import getpass +import locale +import htmlentitydefs +import urllib + +# Local +from base.g import * +from codes import * +from base import utils, tui +import pexpect +import logger +# System wide logger +log = logger.Logger('', logger.Logger.LOG_LEVEL_INFO, logger.Logger.LOG_TO_CONSOLE) +log.set_level('info') + +def running_as_root(): + return os.geteuid() == 0 + +def restart_cups(): + if os.path.exists('/etc/init.d/cups'): + return '/etc/init.d/cups restart' + + elif os.path.exists('/etc/init.d/cupsys'): + return '/etc/init.d/cupsys restart' + + else: + return 'killall -HUP cupsd' + +def restart(passwordObj): + ok = False + shutdown = utils.which('shutdown') + if shutdown and passwordObj: + cmd = "%s -r now" % (os.path.join(shutdown, "shutdown")) + cmd = passwordObj.getAuthCmd() % cmd + status, output = utils.run(cmd, passwordObj) + + ok = (status == 0) + return ok + + +def run_open_mdns_port(core, passwordObj, callback=None): + open_mdns_port_cmd = core.get_distro_ver_data('open_mdns_port') + log.debug(open_mdns_port_cmd) + if open_mdns_port_cmd and passwordObj: + x = 1 + for cmd in open_mdns_port_cmd: + cmd = passwordObj.getAuthCmd() % cmd + status, output = utils.run(cmd, passwordObj) + + if status != 0: + log.warn("An error occurred running '%s'" % cmd) + log.warn(output) + + if callback is not None: + callback(cmd, "Open mDNS/Bonjour step %d" % x) + + x += 1 + + +def run_hp_tools(cmd): + if cmd is not None: + hpCommand = utils.which(cmd, True) + + if not hpCommand: + hpCommand = cmd + + log.debug(hpCommand) + status, output = utils.run(hpCommand) + return status == 0 + else: + log.error("Command not found") + return False + + +def run_hp_tools_with_auth(cmd, passwordObj): + if cmd is not None and passwordObj is not None : + hpCommand = utils.which(cmd,True) + + if not hpCommand: #if it is local command like. ./setup.py + hpCommand = cmd + + hpCommand = passwordObj.getAuthCmd() % hpCommand + + log.debug(hpCommand) + status, output = utils.run(hpCommand, passwordObj) + return status == 0 + else: + log.error("Command not found or password object is not valid") + return False + + +# start_service() starts the services +# Input: +# service_name (string) --> service name to be started. +# passwordObj --> root required services, needs to pass base/password object +# Output: +# ret_val (bool) --> returns True, if service is started or already running also. +# --> returns False, if failed to start service. +def start_service( service_name, passwordObj): + ret_Val = False + if not service_name or not passwordObj: + return ret_Val + + if utils.which('systemctl'): + cmd_status = passwordObj.getAuthCmd()%("systemctl status %s.service"%service_name) + log.debug(cmd_status) + sts,out = utils.run(cmd_status, passwordObj) + if sts ==0: + if 'stop' in out or 'inactive' in out: + cmd_start = passwordObj.getAuthCmd()%("systemctl start %s.service"%service_name) + log.debug("cmd_start=%s"%cmd_start) + sts,out = utils.run(cmd_start, passwordObj) + if sts ==0: + ret_Val = True + else: + ret_Val = True + else: + log.error("Fail to start %s service, please start %s service manually."%(service_name,service_name)) + + elif utils.which('service'): + cmd_status = passwordObj.getAuthCmd()%("service %s status"%service_name) + log.debug(cmd_status) + sts,out = utils.run(cmd_status, passwordObj) + if sts ==0: + if 'stop' in out or 'inactive' in out: + cmd_start = passwordObj.getAuthCmd()%("service %s start"%service_name) + log.debug("cmd_start=%s"%cmd_start) + sts,out = utils.run(cmd_start, passwordObj) + if sts ==0: + ret_Val = True + elif 'unrecognized service' in out: + log.error("Failed to Start since %s is unrecognized service"%service_name) + else: + ret_Val = True + else: + log.error("Fail to start %s service, please start %s service manually."%(service_name,service_name)) + + elif os.path.exists('/etc/init.d/%s'%service_name): + cmd_status = passwordObj.getAuthCmd()%('/etc/init.d/%s status'%service_name) + log.debug(cmd_status) + sts,out = utils.run(cmd_status, passwordObj) + if sts ==0: + if 'stop' in out or 'inactive' in out: + cmd_start = passwordObj.getAuthCmd()%('/etc/init.d/%s start'%service_name) + log.debug("cmd_start=%s"%cmd_start) + sts,out = utils.run(cmd_start, passwordObj) + if sts ==0: + ret_Val = True + else: + ret_Val = True + else: + log.error("Fail to start %s service, please start %s service manually."%(service_name,service_name)) + else: + if service_name == 'cups': + cmd = 'lpstat -r' + sts,out = utils.run(cmd, passwordObj) + if sts ==0 and 'is running' in out: + ret_Val = True + else: + log.error("service command not found, please start cups service manually.") + else: + log.error("Fail to start %s service, please start %s service manually."%(service_name,service_name)) + + return ret_Val + + +def run_systray(): + path = utils.which('hp-systray') + if path: + path = os.path.join(path, 'hp-systray') + else: + path = os.path.join(prop.home_dir, 'systray.py') + + if not os.path.exists(path): + log.warn("Unable to start hp-systray") + + log.debug("Running hp-systray: %s --force-startup" % path) + os.spawnlp(os.P_NOWAIT, path, 'hp-systray', '--force-startup', "--ignore-update-firsttime") + log.debug("Waiting for hp-systray to start...") + time.sleep(1) + +def disable_SmartInstall(): + path = utils.which('hp-SIDisable',True) + if path: + param = '-' + sicmd = "%s %s" % (path,param) + if run_hp_tools(sicmd): + log.debug("Smart Install is disabled\n") + else: + log.error("Smart Install could not be disabled\n") + else: + try: + from base import pkit + plugin = PLUGIN_REQUIRED + plugin_reason = PLUGIN_REASON_NONE + ok, sudo_ok = pkit.run_plugin_command(plugin == PLUGIN_REQUIRED, plugin_reason) + if not ok or not sudo_ok: + log.error("Failed to install plug-in.") + except ImportError: + log.warn("Import error\n") diff -Nru hplip-3.12.2/base/smart_install.py hplip-3.13.4/base/smart_install.py --- hplip-3.12.2/base/smart_install.py 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/base/smart_install.py 2013-04-08 09:58:45.000000000 +0000 @@ -0,0 +1,277 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# (c) Copyright @2013 Hewlett-Packard Development Company, L.P. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Author: Amarnath Chitumalla +# + + +# Std Lib +import sys +import os.path +import re +import os + +# Local +from base.g import * +from base import utils, tui + + +##### Global variables ### +HPLIP_INFO_SITE ="http://hplip.sourceforge.net/hplip_web.conf" + + +SIH_DISABLED_SUCCESSFULLY = 0 +SIH_NO_SI_DEVICES = 1 +SIH_FAILED_TO_DISABLE = 2 +SIH_FAILED_TO_DOWNLOAD = 3 +SIH_FAILED_TO_VERIFY_DIG_SIGN = 4 +SIH_FAILED_TO_IMPORT_UI = 5 +SIH_VERIFIED_DIG_SIGN = 6 + + +########### methods ########### + + +def get_usb_details(vid_pid): + result_cnt = 0 + param_result = {"idVendor":'', "iProduct":'', "bNumInterfaces":'', "bInterfaceClass":''} + param_search = {"idVendor": re.compile(r"""\s*idVendor\s*([0-9a-fx]{1,})\s*.*""", re.I), + "iProduct" : re.compile(r"""\s*iProduct\s*[0-9a-fx]{1,}\s*(.*)""", re.I), + "bNumInterfaces" : re.compile(r"""\s*bNumInterfaces\s*(\d{1,})\s*.*""", re.I), + "bInterfaceClass" : re.compile(r"""\s*bInterfaceClass\s*(\d{1,})\s*.*""", re.I) } + + lsusb_cmd = utils.which('lsusb',True) + if lsusb_cmd: + sts,out = utils.run("%s -d %s -v"%(lsusb_cmd, vid_pid), passwordObj = None, pswd_msg='', log_output=False) + if sts == 0: + for l in out.splitlines(): + for s in param_search: + if s in l: + result_cnt += 1 + if param_search[s].match(l): + param_result[s] = param_search[s].match(l).group(1) + else: + log.warn("TBD... Shouldn't have entered into this condition. key[%s]"%s) + + if "idVendor" == s and param_result[s].lower() != "0x03f0": # if non-HP vendor, ignoring usb parsing. + return False, {} + elif "iProduct" == s and param_result[s] == "": + return False, {} + + break + + if result_cnt == len(param_result): # To avoid extra parsing... + break + + return True, param_result + + +# get_smartinstall_enabled_devices function checks CD-ROM enabled devices. +#Input: +# None +# Output: +# smartinstall_dev_list (list) --> Returns CD-ROM enabled device list. +# +def get_smartinstall_enabled_devices(): + smartinstall_dev_list=[] + lsusb_cmd = utils.which('lsusb',True) + + if not lsusb_cmd: + log.error("Failed to find the lsusb command") + return smartinstall_dev_list + + try: + sts,out = utils.run(lsusb_cmd) + if sts != 0: + log.error("Failed to run the %s command"%lsusb_cmd) + return smartinstall_dev_list + + for d in out.splitlines(): + usb_dev_pat = re.compile(r""".*([0-9a-f]{4}:([0-9a-f]{4}))\s*""", re.I) + + if usb_dev_pat.match(d): + vid_pid = usb_dev_pat.match(d).group(1) + + bsts, usb_params = get_usb_details(vid_pid) + if not bsts: + continue # These are not HP-devices + + log.debug("Product['%s'],Interfaces[%s],InterfaceClass[%s]"%(usb_params["iProduct"], usb_params["bNumInterfaces"],usb_params["bInterfaceClass"])) + if usb_params["bNumInterfaces"] == '1' and usb_params["bInterfaceClass"] == '8': #'8' is MASS STORAGE CLASS, + smartinstall_dev_list.append(usb_params["iProduct"]) + + else: + log.warn("Failed to find vid and pid for USB device[%s]"%d) + + except KeyError: + pass + + if smartinstall_dev_list: + smartinstall_dev_list = utils.uniqueList(smartinstall_dev_list) + + return smartinstall_dev_list + + +def check_SmartInstall(): + devices = get_smartinstall_enabled_devices() + if devices: + return True + else: + return False + + +def get_SmartInstall_tool_info(): + url, file_name = "", "" + if not utils.check_network_connection(): + log.error("Internet connection not found.") + else: + sts, HPLIP_file = utils.download_from_network(HPLIP_INFO_SITE) + if sts is True: + hplip_si_conf = ConfigBase(HPLIP_file) + url = hplip_si_conf.get("SMART_INSTALL","reference","") + if url: + file_name = 'SmartInstallDisable-Tool.run' + else: + log.error("Failed to download %s."%HPLIP_INFO_SITE) + else: + log.error("Failed to download %s."%HPLIP_INFO_SITE) + + return url, file_name + + + +def download(mode, passwordObj): + if not utils.check_network_connection(): + log.error("Internet connection not found.") + return SIH_FAILED_TO_DOWNLOAD, "" , "" + + else: + sts, HPLIP_file = utils.download_from_network(HPLIP_INFO_SITE) + if sts is True: + hplip_si_conf = ConfigBase(HPLIP_file) + source = hplip_si_conf.get("SMART_INSTALL","url","") + if not source: + log.error("Failed to download %s."%HPLIP_INFO_SITE) + return SIH_FAILED_TO_DOWNLOAD, "" , "" + + sts, smart_install_run = utils.download_from_network(source) + if not sts: + log.error("Failed to download %s."%source) + return SIH_FAILED_TO_DOWNLOAD, "" , "" + + sts, smart_install_asc = utils.download_from_network(source+'.asc') + if not sts: + log.error("Failed to download %s."%(source+'.asc')) + return SIH_FAILED_TO_VERIFY_DIG_SIGN, smart_install_run , "" + + if passwordObj == None: + try: + from base.password import Password + except ImportError: + return SIH_FAILED_TO_VERIFY_DIG_SIGN, smart_install_run , "" + passwordObj = Password(mode) + + if utils.ERROR_NONE == utils.validateDownloadFile(smart_install_run, smart_install_asc,"",passwordObj): + return SIH_VERIFIED_DIG_SIGN, smart_install_run, smart_install_asc + else: + log.error("GPG verification failed for %s ."%source) + return SIH_FAILED_TO_VERIFY_DIG_SIGN, smart_install_run, smart_install_asc + + +def disable(mode, ui_toolkit='qt4', dialog=None, app=None, passwordObj = None): + + dev_list = get_smartinstall_enabled_devices() + if not dev_list: + log.debug("No Smart Install Device found") + return SIH_NO_SI_DEVICES + + return_val = SIH_FAILED_TO_DISABLE + url, file_name = get_SmartInstall_tool_info() + printer_names = utils.list_to_string(dev_list) + + try: + if mode == GUI_MODE: + if ui_toolkit == 'qt3': + try: + from ui.setupform import FailureMessageUI + except ImportError: + log.error("Smart Install is enabled in %s device(s).\nAuto Smart Install disable is not supported in QT3.\nPlease refer link \'%s\' to disable manually"%(printer_names,url)) + else: + FailureMessageUI("Smart Install is enabled in %s device(s).\n\nAuto Smart Install disable is not supported in QT3.\nPlease refer link \'%s\' to disable manually"%(printer_names,url)) + + else: #qt4 + if not utils.canEnterGUIMode4(): + log.error("%s requires GUI support . Is Qt4 installed?" % __mod__) + return SIH_FAILED_TO_DISABLE + + if dialog and app: # If QT app already opened, re-using same object + dialog.init(printer_names, "", QUEUES_SMART_INSTALL_ENABLED) + else: # If QT object is not created, creating QT app + try: + from ui4.queuesconf import QueuesDiagnose + except ImportError: + log.error("Unable to load Qt4 support. Is it installed?") + else: # app = QApplication(sys.argv) # caller needs to inoke this, if already QApplication object is not created. + dialog = QueuesDiagnose(None, printer_names ,"",QUEUES_SMART_INSTALL_ENABLED) + + log.debug("Starting GUI loop...") + dialog.exec_() + + if check_SmartInstall(): + dialog.showMessage("Failed to disable smart install.\nPlease refer link \'%s\' for more information" %url) + else: + dialog.showSuccessMessage("Smart install disabled successfully.") + + + #Interaction mode + else: + log.error("Smart Install is enabled in %s device(s). "%printer_names) + response, value = tui.enter_choice("Do you want to download and disable smart install?(y=yes*, n=no):",['y', 'n'], 'y') + + if not response or value != 'y': #User exit + return_val = SIH_FAILED_TO_DISABLE + + else: + sts, smart_install_run, smart_install_asc = download(mode, passwordObj) + if sts == SIH_FAILED_TO_VERIFY_DIG_SIGN: + response, value = tui.enter_yes_no("Digital Sign verification failed, Do you want to continue?") + if not response or not value: + return_val = SIH_FAILED_TO_VERIFY_DIG_SIGN + else: # Continue without validation succes. + sts = SIH_VERIFIED_DIG_SIGN + + if sts == SIH_VERIFIED_DIG_SIGN: + sts, out = utils.run("sh %s"%smart_install_run) + + # Once smart install disabler installation completed, cross verifying to ensure no smart install devices found + if sts or check_SmartInstall(): + log.error("Failed to disable smart install.") + log.error("Please refer link \'%s\' to disable manually"%url) + else: + log.info("Smart install disabled successfully.") + return_val = SIH_DISABLED_SUCCESSFULLY + else: + return_val = sts + + except KeyboardInterrupt: + log.error("User exit") + sys.exit(0) + + return return_val + diff -Nru hplip-3.12.2/base/status.py hplip-3.13.4/base/status.py --- hplip-3.12.2/base/status.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/status.py 2013-04-08 09:58:45.000000000 +0000 @@ -24,7 +24,21 @@ # Std Lib import struct import cStringIO -import xml.parsers.expat as expat +from base.g import * +try: + import xml.parsers.expat as expat +except ImportError,e: + log.info("\n") + log.error("Failed to import xml.parsers.expat(%s).\nThis may be due to the incompatible version of python-xml package.\n"%(e)) + if "undefined symbol" in str(e): + log.info(log.blue("Please re-install compatible version (other than 2.7.2-7.14.1) due to bug reported at 'https://bugzilla.novell.com/show_bug.cgi?id=766778'.")) + log.info(log.blue("\n Run the following commands in root mode to change the python-xml package.(i.e Installing 2.7.2-7.1.2)")) + log.info(log.blue("\n Using zypper:\n 'zypper remove python-xml'\n 'zypper install python-xml-2.7.2-7.1.2'")) + log.info(log.blue("\n Using apt-get:\n 'apt-get remove python-xml'\n 'apt-get install python-xml-2.7.2-7.1.2'")) + log.info(log.blue("\n Using yum:\n 'yum remove python-xml'\n 'yum install python-xml-2.7.2-7.1.2'")) + + sys.exit(1) + import re import urllib try: @@ -403,6 +417,9 @@ 'magenta': AGENT_TYPE_MAGENTA, 'yellow' : AGENT_TYPE_YELLOW, 'black' : AGENT_TYPE_BLACK, + 'photoblack': AGENT_TYPE_PHOTO_BLACK, + 'matteblack' : AGENT_TYPE_MATTE_BLACK, + 'gray' : AGENT_TYPE_LG, } MARKER_SUPPLES_TYPE_TO_AGENT_KIND_MAP = { @@ -553,6 +570,7 @@ else: # SUCCESS if colorant_value is not None: log.debug("colorant value: %s" % colorant_value) + colorant_value = colorant_value.lower().strip() agent_type = COLORANT_INDEX_TO_AGENT_TYPE_MAP.get( colorant_value, AGENT_TYPE_BLACK ) if agent_type == AGENT_TYPE_NONE: @@ -1486,11 +1504,14 @@ 'missing' : AGENT_HEALTH_MISINSTALLED, } -def clean(data): + +#ExtractXMLData will extract actual data from http response (Transfer-encoding: chunked). +#For unchunked response it will not do anything. +def ExtractXMLData(data): if data[0] is not '<': size = -1 temp = "" - while size: + while size: index = data.find('\r\n') size = int(data[0:index+1], 16) temp = temp + data[index+2:index+2+size] @@ -1498,19 +1519,19 @@ data = temp return data -def StatusType10FetchUrl(dev, url, footer=""): +def StatusType10FetchUrl(func, url, footer=""): data_fp = cStringIO.StringIO() if footer: - data = dev.getEWSUrl_LEDM(url, data_fp, footer) + data = func(url, data_fp, footer) else: - data = dev.getEWSUrl_LEDM(url, data_fp) + data = func(url, data_fp) if data: data = data.split('\r\n\r\n', 1)[1] if data: - data = clean(data) + data = ExtractXMLData(data) return data -def StatusType10(dev): # Low End Data Model +def StatusType10(func): # Low End Data Model status_block = { 'revision' : STATUS_REV_UNKNOWN, 'agents' : [], 'top-door' : TOP_DOOR_NOT_PRESENT, @@ -1527,12 +1548,27 @@ log.error("cannot get status for printer. please load ElementTree module") return status_block + status_block = StatusType10Agents(func) + + temp_status_block = {} + temp_status_block = StatusType10Media(func) + status_block.update(temp_status_block) + + temp_status_block = {} + temp_status_block = StatusType10Status(func) + status_block.update(temp_status_block) + + return status_block + + +def StatusType10Agents(func): # Low End Data Model + status_block = {} # Get the dynamic consumables configuration - data = StatusType10FetchUrl(dev, "/DevMgmt/ConsumableConfigDyn.xml") + data = StatusType10FetchUrl(func, "/DevMgmt/ConsumableConfigDyn.xml") if not data: return status_block data = data.replace("ccdyn:", "").replace("dd:", "") - + # Parse the agent status XML agents = [] try: @@ -1544,6 +1580,7 @@ for e in elements: health = AGENT_HEALTH_OK ink_level = 0 + agent_sku = '' try: type = e.find("ConsumableTypeEnum").text state = e.find("ConsumableLifeState/ConsumableState").text @@ -1554,20 +1591,34 @@ if state != "missing": try: ink_level = int(e.find("ConsumablePercentageLevelRemaining").text) + if ink_level == 0: + state = "empty" + elif ink_level <=10: + state = "low" + + agent_sku = 'Unknown' #Initialize to unknown. IN some old devices, ConsumableSelectibilityNumber is not returned by device. except: ink_level = 0 + elif type == "printhead": + continue; #No need of adding this agent. else: ink_type = '' if state == "ok": ink_level = 100 - log.debug("type '%s' state '%s' ink_type '%s' ink_level %d" % (type, state, ink_type, ink_level)) - + try: + agent_sku = e.find("ConsumableSelectibilityNumber").text + except: + pass + + log.debug("type '%s' state '%s' ink_type '%s' ink_level %d agent_sku = %s" % (type, state, ink_type, ink_level,agent_sku)) + entry = { 'kind' : element_type10_xlate.get(type, AGENT_KIND_NONE), 'type' : pen_type10_xlate.get(ink_type, AGENT_TYPE_NONE), 'health' : pen_health10_xlate.get(state, AGENT_HEALTH_OK), 'level' : int(ink_level), - 'level-trigger' : pen_level10_xlate.get(state, AGENT_LEVEL_TRIGGER_SUFFICIENT_0) + 'level-trigger' : pen_level10_xlate.get(state, AGENT_LEVEL_TRIGGER_SUFFICIENT_0), + 'agent-sku' : agent_sku } log.debug("%s" % entry) @@ -1577,9 +1628,12 @@ except (expat.ExpatError, UnboundLocalError): agents = [] status_block['agents'] = agents + return status_block +def StatusType10Media(func): # Low End Data Model + status_block = {} # Get the media handling configuration - data = StatusType10FetchUrl(dev, "/DevMgmt/MediaHandlingDyn.xml") + data = StatusType10FetchUrl(func, "/DevMgmt/MediaHandlingDyn.xml") if not data: return status_block data = data.replace("mhdyn:", "").replace("dd:", "") @@ -1612,13 +1666,17 @@ if e.text == "autoDuplexor": status_block['duplexer'] = DUPLEXER_DOOR_CLOSED + return status_block + +def StatusType10Status(func): # Low End Data Model + status_block = {} # Get the product status - data = StatusType10FetchUrl(dev, "/DevMgmt/ProductStatusDyn.xml") + data = StatusType10FetchUrl(func, "/DevMgmt/ProductStatusDyn.xml") if not data: return status_block data = data.replace("psdyn:", "").replace("locid:", "") data = data.replace("pscat:", "").replace("dd:", "").replace("ad:", "") - + # Parse the product status XML try: if etree_loaded: @@ -1628,10 +1686,14 @@ elements = tree.findall("Status/StatusCategory") except (expat.ExpatError, UnboundLocalError): elements = [] + for e in elements: + if e.text == "processing": status_block['status-code'] = STATUS_PRINTER_PRINTING - if e.text == "closeDoorOrCover": + elif e.text == "ready": + status_block['status-code'] = STATUS_PRINTER_IDLE + elif e.text == "closeDoorOrCover": status_block['status-code'] = STATUS_PRINTER_DOOR_OPEN elif e.text == "shuttingDown": status_block['status-code'] = STATUS_PRINTER_TURNING_OFF @@ -1690,4 +1752,54 @@ elif e.text == "missingPrintHead": status_block['status-code'] = STATUS_PRINTER_PRINTHEAD_MISSING + + #Alert messages for Pentane products RQ 8888 + elif e.text == "scannerADFMispick": + status_block['status-code'] = STATUS_SCANNER_ADF_MISPICK + + elif e.text == "mediaTooShortToAutoDuplex": + status_block['status-code'] = STATUS_PRINTER_PAPER_TOO_SHORT_TO_AUTODUPLEX + + elif e.text == "insertOrCloseTray": + status_block['status-code'] = STATUS_PRINTER_TRAY_2_3_DOOR_OPEN + + elif e.text == "inkTooLowToPrime": + status_block['status-code'] = STATUS_PRINTER_INK_TOO_LOW_TO_PRIME + + elif e.text == "cartridgeVeryLow": + status_block['status-code'] = STATUS_PRINTER_VERY_LOW_ON_INK + + elif e.text == "wasteMarkerCollectorAlmostFull": + status_block['status-code'] = STATUS_PRINTER_SERVICE_INK_CONTAINER_ALMOST_FULL + + elif e.text == "wasteMarkerCollectorFull": + status_block['status-code'] = STATUS_PRINTER_SERVICE_INK_CONTAINER_FULL + + elif e.text == "wasteMarkerCollectorFullPrompt": + status_block['status-code'] = STATUS_PRINTER_SERVICE_INK_CONTAINER_FULL_PROMPT + + elif e.text == "missingDuplexer": + status_block['status-code'] = STATUS_PRINTER_DUPLEX_MODULE_MISSING + + elif e.text == "printBarStall": + status_block['status-code'] = STATUS_PRINTER_PRINTHEAD_JAM + + elif e.text == "outputBinClosed": + status_block['status-code'] = STATUS_PRINTER_CLEAR_OUTPUT_AREA + + elif e.text == "outputBinOpened": + status_block['status-code'] = STATUS_PRINTER_CLEAR_OUTPUT_AREA + + elif e.text == "reseatDuplexer": + status_block['status-code'] = STATUS_PRINTER_RESEAT_DUPLEXER + + elif e.text == "unexpectedTypeInTray": + status_block['status-code'] = STATUS_PRINTER_MEDIA_TYPE_MISMATCH + + elif e.text == "manuallyFeed": + status_block['status-code'] = STATUS_MANUALLY_FEED + + else: + status_block['status-code'] = STATUS_UNKNOWN + return status_block diff -Nru hplip-3.12.2/base/strings.py hplip-3.13.4/base/strings.py --- hplip-3.12.2/base/strings.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/strings.py 2013-04-08 09:58:45.000000000 +0000 @@ -99,7 +99,25 @@ '1046' : (self.__tr('In power save mode'), ''), '1047' : (self.__tr('Incorrect cartridge'), ''), '1048' : (self.__tr('Missing cartridge'), ''), - '1049' : (self.__tr('Printhead(s): Missing or Damaged'), ''), + '1049' : (self.__tr('Missing Printhead(s)'), ''), + + #Alert messages for Pentane products RQ 8888 + '1050' : (self.__tr('ADF can not load original, please try reloading'), ''), + '1051' : (self.__tr('Paper too short to auto duplex'), ''), + '1052' : (self.__tr('Tray 2/3 missing or door open'), ''), + '1053' : (self.__tr('Ink too low to complete startup process'), ''), + '1054' : (self.__tr('Very low on ink'), ''), + '1055' : (self.__tr('Service ink container in duplex module in filled almost to its capacity'), self.__tr('Consider replacing duplex module from HP')), + '1056' : (self.__tr('Service ink container in duplex module in filled very close to its capacity'), self.__tr('Consider replacing duplex module from HP')), + '1057' : (self.__tr('Service ink container in duplex module is full'), self.__tr('Consider replacing duplex module from HP')), + '1058' : (self.__tr('Duplex module missing'), ''), + '1059' : (self.__tr('Printhead jam'), ''), + '1060' : (self.__tr('Remove paper and other material from output flap area'), ''), + '1061' : (self.__tr('To Maintain print quality, remove and re-install duplex module'), ''), + '1062' : (self.__tr('Manually feed correct paper in MP tray'), ''), + '1063' : (self.__tr('Printhead(s) Failed'), ''), + '1064' : (self.__tr('Incompatible Printhead(s)'), ''), + '1501' : (self.__tr('Black cartridge is low on ink'), ''), '1502' : (self.__tr('Tri-color cartridge is low on ink'), ''), '1503' : (self.__tr('Photo cartridge is low on ink'), ''), @@ -135,6 +153,9 @@ '2008' : (self.__tr('Scanner automatic document feeder door opened'), ''), '2009' : (self.__tr('Scan job cancelled'), ''), '2010' : (self.__tr('Check scan image size requirements'), ''), + '2011' : (self.__tr('Scanner ADF empty'), ''), + '2012' : (self.__tr('Scanner ADF mispick'), ''), + '2013' : (self.__tr('Scanner busy'), ''), '3000' : (self.__tr('Fax job started'), ''), '3001' : (self.__tr('Fax job complete'), ''), '3002' : (self.__tr('Fax job failed'), '%try_again%'), @@ -158,6 +179,7 @@ '5026' : (self.__tr("Device status not available"), ''), '5031' : ('%5021%', ''), '5034' : (self.__tr('Device does not support requested operation'), '%try_again%'), + '5501' : (self.__tr('Device added'), ''), '6000' : (self.__tr('Photocard unload started'), ''), '6001' : (self.__tr('Photocard unload ended'), ''), '6002' : (self.__tr('Photocard unload failed'), self.__tr('Make sure photocard is inserted properly and try again')), @@ -193,6 +215,15 @@ 'agent_yellow_head' : (self.__tr('Yellow print head'), ''), 'agent_yellow_supply' : (self.__tr('Yellow ink cartridge'), ''), 'agent_yellow_cartridge': (self.__tr('Yellow cartridge'), ''), + 'agent_photo_black_head' : (self.__tr('Photo Black print head'), ''), + 'agent_photo_black_supply' : (self.__tr('Photo Black ink cartridge'), ''), + 'agent_photo_black_cartridge': (self.__tr('Photo Black cartridge'), ''), + 'agent_matte_black_head' : (self.__tr('Matte Black print head'), ''), + 'agent_matte_black_supply' : (self.__tr('Matte Black ink cartridge'), ''), + 'agent_matte_black_cartridge': (self.__tr('Matte Black cartridge'), ''), + 'agent_light_gray_head' : (self.__tr('Gray print head'), ''), + 'agent_light_gray_supply' : (self.__tr('Gray ink cartridge'), ''), + 'agent_light_gray_cartridge': (self.__tr('Gray cartridge'), ''), 'agent_photo_cyan_head' : (self.__tr('Photo cyan print head'), ''), 'agent_photo_cyan_supply' : (self.__tr('Photo cyan ink cartridge'), ''), 'agent_photo_cyan_cartridge' : (self.__tr('Photo cyan cartridge'), ''), diff -Nru hplip-3.12.2/base/utils.py hplip-3.13.4/base/utils.py --- hplip-3.12.2/base/utils.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/utils.py 2013-04-08 09:58:45.000000000 +0000 @@ -38,13 +38,15 @@ import errno import stat import string +import glob import commands # TODO: Replace with subprocess (commands is deprecated in Python 3.0) import cStringIO import re +from base.g import * import xml.parsers.expat as expat -import getpass import locale import htmlentitydefs +import urllib try: import platform @@ -52,15 +54,84 @@ except ImportError: platform_avail = False +try: + import dbus + from dbus import SystemBus, lowlevel + dbus_avail=True +except ImportError: + dbus_avail=False + +try: + import hashlib # new in 2.5 + + def get_checksum(s): + return hashlib.sha1(s).hexdigest() + +except ImportError: + import sha # deprecated in 2.6/3.0 + + def get_checksum(s): + return sha.new(s).hexdigest() + + + + # Local from g import * from codes import * import pexpect +#from base.password import Password BIG_ENDIAN = 0 LITTLE_ENDIAN = 1 -def addgroup(): +RMDIR="rm -rf" +RM="rm -f" + +DBUS_SERVICE='com.hplip.StatusService' + +HPLIP_WEB_SITE ="http://hplipopensource.com/hplip-web/index.html" +HTTP_CHECK_TARGET = "http://www.hp.com" +PING_CHECK_TARGET = "www.hp.com" + +ERROR_NONE = 0 +ERROR_FILE_CHECKSUM = 1 +ERROR_UNABLE_TO_RECV_KEYS =2 +ERROR_DIGITAL_SIGN_BAD =3 + + + + + +EXPECT_WORD_LIST = [ + pexpect.EOF, # 0 + pexpect.TIMEOUT, # 1 + "Continue?", # 2 (for zypper) + "passwor[dt]", # en/de/it/ru + "kennwort", # de? + "password for", # en + "mot de passe", # fr + "contraseña", # es + "palavra passe", # pt + "口令", # zh + "wachtwoord", # nl + "heslo", # czech + "密码", + "Lösenord", #sv +] + + +EXPECT_LIST = [] +for s in EXPECT_WORD_LIST: + try: + p = re.compile(s, re.I) + except TypeError: + EXPECT_LIST.append(s) + else: + EXPECT_LIST.append(p) + + +def get_cups_systemgroup_list(): lis = [] try: fp=open('/etc/cups/cupsd.conf') @@ -81,14 +152,6 @@ fp.close() return lis -def list_to_string(lis): - if len(lis) == 0: - return "" - if len(lis) == 1: - return str("\""+lis[0]+"\"") - if len(lis) >= 1: - return "\""+"\", \"".join(lis)+"\" and \""+str(lis.pop())+"\"" - def lock(f): log.debug("Locking: %s" % f.name) try: @@ -154,6 +217,14 @@ return callable +def list_to_string(lis): + if len(lis) == 0: + return "" + if len(lis) == 1: + return str("\""+lis[0]+"\"") + if len(lis) >= 1: + return "\""+"\", \"".join(lis)+"\" and \""+str(lis.pop())+"\"" + def to_bool_str(s, default='0'): """ Convert an arbitrary 0/1/T/F/Y/N string to a normalized string 0/1.""" if isinstance(s, str) and s: @@ -177,6 +248,7 @@ return default +# Compare with os.walk() def walkFiles(root, recurse=True, abs_paths=False, return_folders=False, pattern='*', path=None): if path is None: path = root @@ -545,6 +617,11 @@ self.cmd_copy = user_conf.get('commands', 'cpy', self.cmd_copy) self.cmd_fax = user_conf.get('commands', 'fax', self.cmd_fax) self.cmd_fab = user_conf.get('commands', 'fab', self.cmd_fab) + + self.upgrade_notify= to_bool(user_conf.get('upgrade', 'notify_upgrade', '0')) + self.upgrade_last_update_time = int(user_conf.get('upgrade','last_upgraded_time', '0')) + self.upgrade_pending_update_time =int(user_conf.get('upgrade', 'pending_upgrade_time', '0')) + self.latest_available_version=str(user_conf.get('upgrade', 'latest_available_version','')) self.debug() def debug(self): @@ -557,6 +634,10 @@ log.debug("Auto refresh: %s" % self.auto_refresh) log.debug("Auto refresh rate: %s" % self.auto_refresh_rate) log.debug("Auto refresh type: %s" % self.auto_refresh_type) + log.debug("Upgrade notification:%d" %self.upgrade_notify) + log.debug("Last Installed time:%d" %self.upgrade_last_update_time) + log.debug("Next scheduled installation time:%d" % self.upgrade_pending_update_time) + def save(self): log.debug("Saving user settings...") @@ -568,6 +649,11 @@ user_conf.set('refresh', 'enable',self.auto_refresh) user_conf.set('refresh', 'rate', self.auto_refresh_rate) user_conf.set('refresh', 'type', self.auto_refresh_type) + user_conf.set('upgrade', 'notify_upgrade', self.upgrade_notify) + user_conf.set('upgrade','last_upgraded_time', self.upgrade_last_update_time) + user_conf.set('upgrade', 'pending_upgrade_time', self.upgrade_pending_update_time) + user_conf.set('upgrade', 'latest_available_version', self.latest_available_version) + self.debug() @@ -840,14 +926,15 @@ if not f(x): return False return True - -BROWSERS = ['firefox', 'mozilla', 'konqueror', 'galeon', 'skipstone'] # in preferred order -BROWSER_OPTS = {'firefox': '-new-window', 'mozilla' : '', 'konqueror': '', 'galeon': '-w', 'skipstone': ''} +BROWSERS = ['firefox', 'mozilla', 'konqueror', 'epiphany', 'skipstone'] # in preferred order +BROWSER_OPTS = {'firefox': '-new-tab', 'mozilla': '', 'konqueror': '', 'epiphany': '--new-tab', 'skipstone': ''} def find_browser(): if platform_avail and platform.system() == 'Darwin': return "open" + elif which("xdg-open"): + return "xdg-open" else: for b in BROWSERS: if which(b): @@ -859,19 +946,19 @@ def openURL(url, use_browser_opts=True): if platform_avail and platform.system() == 'Darwin': cmd = 'open "%s"' % url - log.debug(cmd) - os.system(cmd) + os_utils.execute(cmd) + elif which("xdg-open"): + cmd = 'xdg-open "%s"' % url + os_utils.execute(cmd) else: for b in BROWSERS: - bb = which(b) + bb = which(b, return_full_path='True') if bb: - bb = os.path.join(bb, b) if use_browser_opts: cmd = """%s %s "%s" &""" % (bb, BROWSER_OPTS[b], url) else: cmd = """%s "%s" &""" % (bb, url) - log.debug(cmd) - os.system(cmd) + os_utils.execute(cmd) break else: log.warn("Unable to open URL: %s" % url) @@ -975,10 +1062,114 @@ parser.StartElementHandler = self.startElement parser.EndElementHandler = self.endElement parser.CharacterDataHandler = self.charData - parser.Parse(text.encode('utf-8'), True) + + try: + parser.Parse(text, True) + except: + log.error("Unicode Error") return self.data + +class Element: + def __init__(self,name,attributes): + self.name = name + self.attributes = attributes + self.chardata = '' + self.children = [] + + def AddChild(self,element): + self.children.append(element) + + def getAttribute(self,key): + return self.attributes.get(key) + + def getData(self): + return self.chardata + + def getElementsByTagName(self,name='',ElementNode=None): + if ElementNode: + Children_list = ElementNode.children + else: + Children_list = self.children + if not name: + return self.children + else: + elements = [] + for element in Children_list: + if element.name == name: + elements.append(element) + + rec_elements = self.getElementsByTagName (name,element) + for a in rec_elements: + elements.append(a) + return elements + + def getChildElements(self,name=''): + if not name: + return self.children + else: + elements = [] + for element in self.children: + if element.name == name: + elements.append(element) + return elements + + def toString(self, level=0): + retval = " " * level + retval += "<%s" % self.name + for attribute in self.attributes: + retval += " %s=\"%s\"" % (attribute, self.attributes[attribute]) + c = "" + for child in self.children: + c += child.toString(level+1) + if c == "": + if self.chardata: + retval += ">"+self.chardata + ("" % self.name) + else: + retval += "/>" + else: + retval += ">" + c + ("" % self.name) + return retval + +class extendedExpat: + def __init__(self): + self.root = None + self.nodeStack = [] + + def StartElement_EE(self,name,attributes): + element = Element(name.encode(),attributes) + + if len(self.nodeStack) > 0: + parent = self.nodeStack[-1] + parent.AddChild(element) + else: + self.root = element + self.nodeStack.append(element) + + def EndElement_EE(self,name): + self.nodeStack = self.nodeStack[:-1] + + def charData_EE(self,data): + if string.strip(data): + data = data.encode() + element = self.nodeStack[-1] + element.chardata += data + return + + def Parse(self,xmlString): + Parser = expat.ParserCreate() + + Parser.StartElementHandler = self.StartElement_EE + Parser.EndElementHandler = self.EndElement_EE + Parser.CharacterDataHandler = self.charData_EE + + Parser.Parse(xmlString.encode('utf-8'), True) + + return self.root + + + def dquote(s): return ''.join(['"', s, '"']) @@ -1031,70 +1222,61 @@ return LITTLE_ENDIAN -def get_password(): - return getpass.getpass("Enter password: ") - -def get_password_ui(): - fp = open("/etc/hp/hplip.conf", "r") - qt = "qt3" - for line in fp: - if string.find(line, "qt4") is not -1 and string.find(line, "yes") is not -1: - qt = "qt4" - fp.close() - if qt is "qt4": - from ui4.setupdialog import showPasswordUI - username, password = showPasswordUI("Your HP Device requires to install HP proprietary plugin\nPlease enter root/superuser password to continue", "root", False) - if qt is "qt3": - from ui.setupform import showPasswordUI - username, password = showPasswordUI("Your HP Device requires to install HP proprietary plugin\nPlease enter root/superuser password to continue", "root", False) - return password +# +# Function: run() +# Note:- to run su/sudo commands, caller needs to pass passwordObj. +# password object can be created from base.password.py -def run(cmd, log_output=True, password_func=get_password, timeout=1, spinner=True): +def run(cmd, passwordObj = None, pswd_msg='', log_output=True, spinner=True, timeout=1): output = cStringIO.StringIO() try: child = pexpect.spawn(cmd, timeout=timeout) - except pexpect.ExceptionPexpect: + except pexpect.ExceptionPexpect, e: return -1, '' try: + pswd_queried_cnt = 0 while True: if spinner: update_spinner() - i = child.expect(["[pP]assword:", pexpect.EOF, pexpect.TIMEOUT]) + i = child.expect(EXPECT_LIST) if child.before: output.write(child.before) if log_output: log.debug(child.before) - if i == 0: # Password: - if password_func is not None: - if password_func == "get_password_ui": - child.sendline(get_password_ui()) - else: - child.sendline(password_func()) - else: - child.sendline(get_password()) - - - elif i == 1: # EOF + if i == 0: # EOF break - elif i == 2: # TIMEOUT + elif i == 1: # TIMEOUT continue + elif i == 2: # zypper + child.sendline("YES") + + else: # Password: + if not passwordObj : + raise Exception("password Object(i.e. passwordObj) is not valid") + + child.sendline(passwordObj.getPassword(pswd_msg, pswd_queried_cnt)) + pswd_queried_cnt += 1 except Exception, e: log.error("Exception: %s" % e) if spinner: cleanup_spinner() - child.close() + try: + child.close() + except pexpect.ExceptionPexpect, e: + pass return child.exitstatus, output.getvalue() + def expand_range(ns): # ns -> string repr. of numeric range, e.g. "1-4, 7, 9-12" """Credit: Jean Brouwers, comp.lang.python 16-7-2004 Convert a string representation of a set of ranges into a @@ -1335,8 +1517,6 @@ USAGE_USE_QT4 = ("Use Qt4:", "--qt4 (Default)", "option", False) - - def ttysize(): # TODO: Move to base/tui ln1 = commands.getoutput('stty -a').splitlines()[0] vals = {'rows':None, 'columns':None} @@ -1585,7 +1765,7 @@ log.info("contact the HPLIP Team.") log.info(".SH COPYRIGHT") - log.info("Copyright (c) 2011-14 Hewlett-Packard Development Company, L.P.") + log.info("Copyright (c) 2001-13 Hewlett-Packard Development Company, L.P.") log.info(".LP") log.info("This software comes with ABSOLUTELY NO WARRANTY.") log.info("This is free software, and you are welcome to distribute it") @@ -1604,7 +1784,7 @@ log.info(log.bold("%s ver. %s" % (program_name, version))) log.info("") - log.info("Copyright (c) 2011-14 Hewlett-Packard Development Company, LP") + log.info("Copyright (c) 2001-13 Hewlett-Packard Development Company, LP") log.info("This software comes with ABSOLUTELY NO WARRANTY.") log.info("This is free software, and you are welcome to distribute it") log.info("under certain conditions. See COPYING file for more details.") @@ -1615,58 +1795,6 @@ regex = '(?i)' + re.escape(search) return re.sub(regex, replace, old) - -def su_sudo(): - su_sudo_str = None - - if which('kdesu'): - su_sudo_str = 'kdesu -- %s' - - elif which('gnomesu'): - su_sudo_str = 'gnomesu -c "%s"' - - elif which('gksu'): - su_sudo_str = 'gksu "%s"' - - elif which('su'): - su_sudo_str = 'su' - - return su_sudo_str - -# This function returns the distro name and distro version. -#This is provided to check on Fedora 14 in pkit.py file for Plugin-installation. -#is_su variable is used to provide a check on Fedora 8 -def os_release(): - os_name = None; - os_version = None; - is_su = None; - if which('lsb_release'): - name = os.popen('lsb_release -i | cut -f 2') - os_name = name.read().strip() - name.close() - version = os.popen('lsb_release -r | cut -f 2') - os_version=version.read().strip() - version.close() - is_su = True - else: - name = os.popen('cat /etc/issue | cut -c 1-6 | head -n 1') - os_name = name.read().strip() - name.close() - version1=os.popen('cat /etc/issue | cut -c 16 | head -n 1') - version2=version1.read().strip() - version1.close() - if (version2 == '1'): - version=os.popen('cat /etc/issue | cut -c 16-17 | head -n 1') - is_su = True - else: - version=os.popen('cat /etc/issue | cut -c 16 | head -n 1') - is_su = False - os_version=version.read().strip() - version.close() - - return os_name,os_version,is_su - - # # Removes HTML or XML character references and entities from a text string. # @@ -1713,6 +1841,355 @@ return s + +#return tye: strings +#Return values. +# None --> on error. +# "terminal name"-->success +def get_terminal(): + terminal_list=['gnome-terminal', 'konsole','x-terminal-emulator', 'xterm', 'gtkterm'] + terminal_cmd = None + for cmd in terminal_list: + if which(cmd): + terminal_cmd = cmd +" -e " + log.debug("Available Terminal = %s " %terminal_cmd) + break + + return terminal_cmd + +#Return Type: bool +# Return values: +# True --> if it is older version +# False --> if it is same or later version. + +def Is_HPLIP_older_version(installed_version, available_version): + + if available_version == "" or available_version == None or installed_version == "" or installed_version == None: + log.debug("available_version is ''") + return False + + installed_array=installed_version.split('.') + available_array=available_version.split('.') + + log.debug("HPLIP Installed_version=%s Available_version=%s"%(installed_version,available_version)) + cnt = 0 + Is_older = False + pat=re.compile('''(\d{1,})([a-z]{1,})''') + try: + while cnt available_ver_dig): + log.debug("Already new verison is installed") + return False + #checking sub minor versions .. e.g "3.12.10a" vs "3.12.10".... "3.12.10a" --> latest + else: + if (installed_ver_alph.lower() < available_ver_alph.lower()): + Is_older = True + break + elif (installed_ver_alph.lower() > available_ver_alph.lower()): + log.debug("Already new verison is installed") + return False + + cnt += 1 + + # To check version is installed. e.g. "3.12.10" vs "3.12.10.1".... "3.12.10.1"-->latest + if Is_older is False and len(installed_array) < len(available_array): + Is_older = True + + except: + log.error("Failed to get the latest version. Check out %s for manually installing latest version of HPLIP."%HPLIP_WEB_SITE) + return False + + return Is_older + + +def downLoad_status(count, blockSize, totalSize): + percent = int(count*blockSize*100/totalSize) + if count != 0: + sys.stdout.write("\b\b\b") + sys.stdout.write("%s" %(log.color("%2d%%"%percent, 'bold'))) + sys.stdout.flush() + + +def download_from_network(weburl, outputFile = None, useURLLIB=False): + result =False + + if weburl is "" or weburl is None: + log.error("URL is empty") + return result, "" + + if outputFile is None: + fp, outputFile = make_temp_file() + + try: + if useURLLIB is False: + wget = which("wget") + if wget: + wget = os.path.join(wget, "wget") + status, output = run("%s --cache=off --tries=3 --timeout=60 --output-document=%s %s" %(wget, outputFile, weburl)) + if status: + log.error("Failed to connect to HPLIP site. Error code = %d" %status) + return False, "" + else: + useURLLIB = True + + if useURLLIB: + sys.stdout.write("Download in progress...") + urllib.urlretrieve(weburl, outputFile, downLoad_status) + + except IOError, e: + log.error("I/O Error: %s" % e.strerror) + return False, "" + + if not os.path.exists(outputFile): + log.error("Failed to get hplip version/ %s file not found."%hplip_version_file) + return False, "" + + return True, outputFile + + + + + +class Sync_Lock: + def __init__(self, filename): + self.Lock_filename = filename + self.handler = open(self.Lock_filename, 'w') + +# Wait for another process to release resource and acquires the resource. + def acquire(self): + fcntl.flock(self.handler, fcntl.LOCK_EX) + + def release(self): + fcntl.flock(self.handler, fcntl.LOCK_UN) + + def __del__(self): + self.handler.close() + +def sendEvent(event_code,device_uri, printer_name, username="", job_id=0, title="", pipe_name=''): + + if not dbus_avail: + log.debug("Failed to import dbus, lowlevel") + return + + log.debug("send_message() entered") + args = [device_uri, printer_name, event_code, username, job_id, title, pipe_name] + msg = lowlevel.SignalMessage('/', DBUS_SERVICE, 'Event') + msg.append(signature='ssisiss', *args) + SystemBus().send_message(msg) + log.debug("send_message() returning") + +def expand_list(File_exp): + File_list = glob.glob(File_exp) + if File_list: + File_list_str = ' '.join(File_list) + return File_list, File_list_str + else: + return [],"" + + + +def unchunck_xml_data(src_data): + index = 0 + dst_data="" + # src_data contains HTTP data + xmlpayload. delimter is '\r\n\r\n'. + if src_data.find('\r\n\r\n') != -1: + src_data = src_data.split('\r\n\r\n', 1)[1] + else: + return dst_data + + if len(src_data) <= 0: + return dst_data + + #If xmlpayload doesn't have chuncksize embedded, returning same xml. + if src_data[index] == '<': + dst_data = src_data + else: # Removing chunck size from xmlpayload + try: + while index < len(src_data): + buf_len = 0 + while src_data[index] == ' ' or src_data[index] == '\r' or src_data[index] == '\n': + index = index +1 + while src_data[index] != '\n' and src_data[index] != '\r': + buf_len = buf_len *16 + int(src_data[index], 16) + index = index +1 + + if buf_len == 0: + break; + + dst_data = dst_data+ src_data[index:buf_len+index+2] + + index = buf_len + index + 2 # 2 for after size '\r\n' chars. + except IndexError: + pass + return dst_data + + +#check_user_groups function checks required groups and returns missing list. +#Input: +# required_grps_str --> required groups from distro.dat +# avl_grps --> Current groups list (as a string) for this user. +# Output: +# result --> Returns True, if required groups are present +# --> Returns False, if required groups are not present +# missing_groups_str --> Returns the missing groups list (as a string) +# +def check_user_groups(required_grps_str, avl_grps): + result = False + exp_grp_list=[] + exp_pat =re.compile('''.*-G(.*)''') + if required_grps_str and exp_pat.search(required_grps_str): + grps = exp_pat.search(required_grps_str).group(1) + grps =re.sub(r'\s', '', str(grps)) + exp_grp_list = grps.split(',') + else: + exp_grp_list.append('lp') + + log.debug("Requied groups list =[%s]"%exp_grp_list) + + avl_grps = avl_grps.rstrip('\r\n') + grp_list= avl_grps.split(' ') + for g in grp_list: + grp_index = 0 + for p in exp_grp_list: + if g == p: + del exp_grp_list[grp_index] + break + grp_index +=1 + + if len(exp_grp_list) == 0: + result = True + missing_groups_str='' + for a in exp_grp_list: + if missing_groups_str: + missing_groups_str += ',' + missing_groups_str += a + return result ,missing_groups_str + + +def check_library( so_file_path): + ret_val = False + if not os.path.exists(so_file_path): + log.debug("Either %s file is not present or symbolic link is missing" %(so_file_path)) + else: + # capturing real file path + if os.path.islink(so_file_path): + real_file = os.path.realpath(so_file_path) + else: + real_file = so_file_path + + if not os.path.exists(real_file): + log.debug("%s library file is missing." % (real_file)) + elif (os.stat(so_file_path).st_mode & 72) != 72: + log.debug("%s library file doesn't have user/group execute permission." % (so_file_path)) + else: + log.debug("%s library file present." % (so_file_path)) + ret_val = True + + log.debug("%s library status: %d" % (so_file_path, ret_val)) + return ret_val + + +def download_via_wget(target): + status = -1 + wget = which("wget") + if target and wget: + wget = os.path.join(wget, "wget") + cmd = "%s --cache=off --tries=3 --timeout=60 --output-document=- %s" % (wget, target) + log.debug(cmd) + status, output = run(cmd) + log.debug("wget returned: %d" % status) + else: + log.debug("wget not found") + return status + +def download_via_curl(target): + status = -1 + curl = which("curl") + if target and curl: + curl = os.path.join(curl, "curl") + cmd = "%s --output - --connect-timeout 5 --max-time 10 %s" % (curl, target) + log.debug(cmd) + status, output = run(cmd) + log.debug("curl returned: %d" % status) + else: + log.debug("curl not found") + return status + +def check_network_via_ping(target): + status = -1 + ping = which("ping") + if target and ping: + ping = os.path.join(ping, "ping") + cmd = "%s -c1 -W1 -w10 %s" % (ping, target) + log.debug(cmd) + status, output = run(cmd) + log.debug("ping returned: %d" % status) + else: + log.debug("ping not found") + return status + +def check_network_connection(url=HTTP_CHECK_TARGET, ping_server=PING_CHECK_TARGET): + status = download_via_wget(url) + if (status != 0): + status = download_via_curl(url) + if (status != 0): + status = check_network_via_ping(ping_server) + return (status == 0) + +#Expands '*' in File/Dir names. +def expandList(Files_List, prefix_dir=None): + Expanded_Files_list=[] + for f in Files_List: + if prefix_dir: + f= prefix_dir + '/' + f + if '*' in f: + f_full = glob.glob(f) + for file in f_full: + Expanded_Files_list.append(file) + else: + Expanded_Files_list.append(f) + return Expanded_Files_list + +def compare(x, y): + try: + return cmp(float(x), float(y)) + except ValueError: + return cmp(x, y) + + +def check_pkg_mgr( package_mgrs = None): + if package_mgrs is not None: + log.debug("Searching for '%s' in running processes..." % package_mgrs) + for p in package_mgrs: + status,process = Is_Process_Running(p) + if status is True: + for pid in process: + log.debug("Found: %s (%s)" % (process[pid], pid)) + return (pid, process[pid]) + + log.debug("Not found") + return (0, '') + # checks if given process is running. #return value: # True or False @@ -1720,34 +2197,77 @@ # grep output - if process is running def Is_Process_Running(process_name): + if not process_name: + return False, {} + try: - p1 = Popen(["ps", "aux"], stdout=PIPE) + process = {} + p1 = Popen(["ps", "-w", "-w", "aux"], stdout=PIPE) p2 = Popen(["grep", process_name], stdin=p1.stdout, stdout=PIPE) p3 = Popen(["grep", "-v", "grep"], stdin=p2.stdout, stdout=PIPE) output = p3.communicate()[0] - log.debug("Is_Process_Running outpu = %s " %output) + log.debug("Is_Process_Running output = %s " %output) + + if output: + for p in output.splitlines(): + cmd = "echo %s | awk {'print $2'}" %p + status,pid = commands.getstatusoutput(cmd) + cmd = "echo %s | awk {'print $11,$12'}" %p + status,cmdline = commands.getstatusoutput(cmd) + if pid : + process[pid] = cmdline - if process_name in output: - return True, output + return True, process else: - return False, None + return False, {} except Exception, e: log.error("Execution failed: process Name[%s]" %process_name) print >>sys.stderr, "Execution failed:", e - return False, None + return False, {} -class Sync_Lock: - def __init__(self, filename): - self.Lock_filename = filename - self.handler = open(self.Lock_filename, 'w') -# Wait for another process to release resource and acquires the resource. - def acquire(self): - fcntl.flock(self.handler, fcntl.LOCK_EX) +def remove(path, passwordObj = None, cksudo = False): + cmd= RMDIR + " " + path + if cksudo and passwordObj: + cmd= passwordObj.getAuthCmd() %cmd - def release(self): - fcntl.flock(self.handler, fcntl.LOCK_UN) + log.debug("Removing %s cmd = %s " %(path, cmd)) + status, output = run(cmd, passwordObj) + if 0 != status: + log.debug("Failed to remove=%s "%path) - def __del__(self): - self.handler.close() + +def validateDownloadFile(downloaded_file, digsig_file, req_checksum='', passwordObj = None): + calc_checksum = get_checksum(file(downloaded_file, 'r').read()) + log.debug("File checksum=%s" % calc_checksum) + + if req_checksum and req_checksum != calc_checksum: + return ERROR_FILE_CHECKSUM + + gpg = which('gpg',True) + if gpg: + cmd = '%s --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0xA59047B9' % gpg + if passwordObj: + cmd = passwordObj.getAuthCmd()%cmd + + log.info("Receiving digital keys: %s" % cmd) + status, output = run(cmd, passwordObj) + log.debug(output) + + if status != 0: + return ERROR_UNABLE_TO_RECV_KEYS + + cmd = '%s --no-permission-warning --verify %s %s' % (gpg, digsig_file, downloaded_file) + if passwordObj: + cmd = passwordObj.getAuthCmd()%cmd + + log.debug("Verifying plugin with digital keys: %s" % cmd) + status, output = run(cmd,passwordObj) + log.debug(output) + log.debug("%s status: %d" % (gpg, status)) + + if status != 0: + return ERROR_DIGITAL_SIGN_BAD + + return ERROR_NONE diff -Nru hplip-3.12.2/base/wifi.py hplip-3.13.4/base/wifi.py --- hplip-3.12.2/base/wifi.py 2012-02-01 11:53:55.000000000 +0000 +++ hplip-3.13.4/base/wifi.py 2013-04-08 09:58:45.000000000 +0000 @@ -22,8 +22,21 @@ # StdLib import time import cStringIO -import xml.parsers.expat +from base.g import * +try: + import xml.parsers.expat +except ImportError,e: + log.info("\n") + log.error("Failed to import xml.parsers.expat(%s).\nThis may be due to the incompatible version of python-xml package.\n"%(e)) + if "undefined symbol" in str(e): + log.info(log.blue("Please re-install compatible version (other than 2.7.2-7.14.1) due to bug reported at 'https://bugzilla.novell.com/show_bug.cgi?id=766778'.")) + log.info(log.blue("\n Run the following commands in root mode to change the python-xml package.(i.e Installing 2.7.2-7.1.2)")) + log.info(log.blue("\n Using zypper:\n 'zypper remove python-xml'\n 'zypper install python-xml-2.7.2-7.1.2'")) + log.info(log.blue("\n Using apt-get:\n 'apt-get remove python-xml'\n 'apt-get install python-xml-2.7.2-7.1.2'")) + log.info(log.blue("\n Using yum:\n 'yum remove python-xml'\n 'yum install python-xml-2.7.2-7.1.2'")) + sys.exit(1) + # Local from base.g import * from base import device, utils @@ -189,7 +202,9 @@ # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX def getWifiAdaptorID(dev): - # ret: adaptor_id, name, state, presence + # rVal: [[adaptor_id, name, state, presence]] + # ret: [adaptor_id, name, state, presence] + rVal = [] ret = getAdaptorList(dev) try: @@ -218,31 +233,36 @@ r.append(x) - return r + rVal.append(r) + + return rVal - return -1, 'Unknown', 'Unknown', 'Unknown' # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - - -def setAdaptorPower(dev, adapterName, adaptor_id=0, power_state='PowerOn'): - ret = {} - request = PREAMBLE + """ + +def setAdaptorPower(dev, adapterList, power_state='PowerOn'): + adaptor_id=-1 + adaptorName ="" + for a in adapterList: + adaptor_id = a[0] + adaptorName = a[1] + request = PREAMBLE + """ %s %s """ % (adaptor_id, power_state.encode('utf-8')) - errorreturn, params = _readWriteWifiConfig(dev, request) - if not params: - return {} + errorreturn, params = _readWriteWifiConfig(dev, request) + if not params: + return -1 ,"","","" - ret['errorreturn'] = errorreturn - if errorreturn != 'ok': - log.error("SetAdaptorPower returned an error: %s" % errorreturn) - return ret + if errorreturn != 'ok': + log.error("SetAdaptorPower returned an error: %s" % errorreturn) + else: + log.debug("SetAdaptorPower returned Success.") + return adaptor_id, adaptorName, a[2], a[3] - return ret + return -1 ,"","","" # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX diff -Nru hplip-3.12.2/check-plugin.py hplip-3.13.4/check-plugin.py --- hplip-3.12.2/check-plugin.py 2012-02-01 11:53:57.000000000 +0000 +++ hplip-3.13.4/check-plugin.py 2013-04-08 09:58:46.000000000 +0000 @@ -21,7 +21,7 @@ # # -__version__ = '1.0' +__version__ = '1.1' __title__ = 'AutoConfig Utility for Plug-in Installation' __mod__ = 'hp-check-plugin' __doc__ = "Auto config utility for HPLIP supported multifunction Devices for installing proprietary plug-ins." @@ -37,15 +37,15 @@ # Local from base.g import * -from base import utils, device, tui, module, pkit -from installer import core_install +from base import utils, device, tui, module, pkit, services +from installer import pluginhandler # Temp values for testing; May not be needed username = "" device_uri = "" printer_name = "" -LOG_FILE = "/var/log/hp/hplip_ac.log" +LOG_FILE = "/var/log/hp/hplip_ac.log" DBUS_SERVICE='com.hplip.StatusService' ##### METHODS ##### @@ -60,47 +60,58 @@ SystemBus().send_message(msg) log.debug("send_message() returning") -# plugin installation +# Plugin installation def install_Plugin(systray_running_status, run_directly=False): if run_directly: - plugin = PLUGIN_REQUIRED + if not utils.canEnterGUIMode4(): + log.error("%s requires GUI support . Is Qt4 installed?" % __mod__) + sys.exit(1) + + try: + from PyQt4.QtGui import QApplication, QMessageBox + from ui4.plugindiagnose import PluginDiagnose + from installer import core_install + except ImportError: + log.error("Unable to load Qt4 support. Is it installed?") + sys.exit(1) + + app = QApplication(sys.argv) + plugin = PLUGIN_REQUIRED plugin_reason = PLUGIN_REASON_NONE ok, sudo_ok = pkit.run_plugin_command(plugin == PLUGIN_REQUIRED, plugin_reason) if not ok or not sudo_ok: log.error("Failed to install plug-in.") elif systray_running_status: - send_message( device_uri, printer_name, EVENT_AUTO_CONFIGURE, username, 0, "AutoConfig") + send_message( device_uri, "", EVENT_AUTO_CONFIGURE, username, 0, "AutoConfig") log.debug("Event EVENT_AUTO_CONFIGURE sent to hp-systray to invoke hp-plugin") else: log.error("Run hp-systray manually and re-plugin printer") #TBD: needs to run hp-plugin in silent mode. or needs to show error UI to user. - -#install Firmware after plugin installation completion. -def install_firmware(Plugin_Installation_Completed): +#Installs/Uploads the firmware to device once plugin installation is completed. +def install_firmware(pluginObj,Plugin_Installation_Completed, USB_param): #timeout check for plugin installation sleep_timeout = 6000 # 10 mins time out while Plugin_Installation_Completed is False and sleep_timeout != 0: time.sleep(0.3) #0.3 sec delay sleep_timeout = sleep_timeout -3 - + ps_plugin,output = utils.Is_Process_Running('hp-plugin') ps_diagnose_plugin,output = utils.Is_Process_Running('hp-diagnose_plugin') - - if ps_plugin is False and ps_diagnose_plugin is False: + + if ps_plugin is False and ps_diagnose_plugin is False: Plugin_Installation_Completed = True - if core.check_for_plugin() is True: + if pluginObj.getStatus() == PLUGIN_INSTALLED: break else: log.error("Failed to download firmware required files. manually run hp-plugin command in terminal fisrt") sys.exit(1) - + execmd="hp-firmware" options="" - if usb_bus_id is not None and usb_device_id is not None: - options += " -y3 %s:%s"%(usb_bus_id, usb_device_id) - + if USB_param is not None: + options += " -y3 %s"%(USB_param) if log_level is 'debug': options += " -g" @@ -117,20 +128,18 @@ #Usage details USAGE = [(__doc__, "", "name", True), - ("Usage: %s [MODE] [OPTIONS]" % __mod__, "", "summary", True), - utils.USAGE_MODE, - utils.USAGE_GUI_MODE, - ("Run in interactive mode:", "-i or --interactive (For future use)", "option", False), + ("Usage: %s [OPTIONS] [USB bus:device]" % __mod__, "", "summary", True), utils.USAGE_OPTIONS, ("Install Plug-in through HP System Tray:", "-m (Default)", "option", False), ("Install Plug-in through hp-plugin:", "-p", "option", False), - ("Download firmware into the device:", "-F", "option", False), - ("Download firmware into the known device:", "-f bbb:ddd, where bbb is the USB bus ID and ddd is the USB device ID. The ':' and all leading zeroes must be present", "option", False), + ("Download firmware into the device:", "-f", "option", False), utils.USAGE_HELP, utils.USAGE_LOGGING1, utils.USAGE_LOGGING2, utils.USAGE_LOGGING3, + utils.USAGE_EXAMPLES, + ("Install plugin:", "$%s 001:002"%(__mod__), "example", False), + ("Install plugin and firmware:", "$%s -f 001:002"%(__mod__), "example", False), utils.USAGE_NOTES, ("-m and -p options can't be used together. ","","note",False), - ("-f and -F options can't be used together. ","","note",False) ] @@ -151,7 +160,9 @@ log.error("hp-check-plugin Tool requires dBus and python-dbus") sys.exit(1) try: - opts, args = getopt.getopt(sys.argv[1:],'l:hHuUmMf:FpPgG',['gui','help', 'help-rest', 'help-man', 'help-desc','logging=']) + mod = module.Module(__mod__, __title__, __version__, __doc__, USAGE, (INTERACTIVE_MODE, GUI_MODE), (UI_TOOLKIT_QT3, UI_TOOLKIT_QT4), run_as_root_ok=True, quiet=True) + opts, device_uri, printer_name, mode, ui_toolkit, loc = \ + mod.parseStdOpts('l:hHuUmMfFpPgG',['gui','help', 'help-rest', 'help-man', 'help-desc','logging='],handle_device_printer=False) except getopt.GetoptError, e: log.error(e.msg) @@ -165,11 +176,8 @@ Systray_Msg_Enabled = False Plugin_option_Enabled = False Firmware_Option_Enabled = False -Firmware_GUI_Option_Enabled = False GUI_Mode = True Is_Plugin_Already_Installed = False -usb_bus_id=None -usb_device_id=None for o, a in opts: if o in ('-h','-H', '--help'): @@ -187,7 +195,7 @@ # elif o in ('-i', '-I', '--interactive'): # #this is future use -# GUI_Mode = False +# GUI_Mode = False elif o == '--help-desc': print __doc__, @@ -201,20 +209,21 @@ elif o in ('-m', '-M'): Systray_Msg_Enabled = True - + elif o in ('-p', '-P'): Plugin_option_Enabled = True - - elif o== '-F': - Firmware_GUI_Option_Enabled = True - elif o =='-f': - usb_bus_id, usb_device_id = a.split(":", 1) + elif o in ('-F','-f'): Firmware_Option_Enabled = True if not log.set_level (log_level): usage() +try: + param = mod.args[0] +except IndexError: + param = '' + LOG_FILE = os.path.normpath(LOG_FILE) log.info(log.bold("Saving output in log file: %s" % LOG_FILE)) if os.path.exists(LOG_FILE): @@ -222,7 +231,7 @@ log.set_logfile(LOG_FILE) log.set_where(log.LOG_TO_CONSOLE_AND_FILE) -cmd="chmod 774 "+LOG_FILE +cmd="chmod 664 "+LOG_FILE sts,output = utils.run(cmd) if sts != 0: log.warn("Failed to change log file permissions: %s" %output) @@ -239,49 +248,57 @@ usage() sys.exit(1) -if Firmware_GUI_Option_Enabled and Firmware_Option_Enabled: - log.error("Both -f and -F options can't be used together.") +log.debug("param=%s" % param) +if len(param) < 1: usage() + sys.exit() + +if param: + device_uri, sane_uri, fax_uri = device.makeURI(param) +if not device_uri: + log.error("This is not a valid device") + sys.exit(0) + +log.debug("\nSetting up device: %s\n" % device_uri) +#Query model and checks Plugin information. +mq = device.queryModelByURI(device_uri) +if not mq or mq.get('support-type', SUPPORT_TYPE_NONE) == SUPPORT_TYPE_NONE: + log.error("Unsupported printer model.") sys.exit(1) -if Firmware_GUI_Option_Enabled: - Firmware_Option_Enabled =True # Firmware_GUI_Option_Enabled is just to check both -f: and -F enabled or not +plugin = mq.get('plugin', PLUGIN_NONE) +if plugin == PLUGIN_NONE: + log.debug("This is not a plugin device.") + sys.exit() if not Plugin_option_Enabled: Systray_Msg_Enabled = True # checking whether HP-systray is running or not. Invokes, if systray is not running +Systray_Is_Running=False status,output = utils.Is_Process_Running('hp-systray') if status is False: - Systray_Is_Running=False - log.info("hp-systray is not running.") if os.getuid() == 0: log.error(" hp-systray must be running.\n Run \'hp-systray &\' in a terminal. ") else: log.info("Starting hp-systray service") - child_pid = os.fork() - if child_pid == 0: - Systray_Is_Running=True - status,output =utils.run('hp-systray &', True, None, 1, False) - if status is not 0: - log.error("Failed to start \'hp-systray\' service. Manually run \'hp-sysray &\' from terminal as non-root user.") - Systray_Is_Running=False - - sys.exit() - else: - Systray_Is_Running=True - time.sleep(2) -else: + services.run_systray() + status,output = utils.Is_Process_Running('hp-systray') + +if status == True: Systray_Is_Running=True - log.info("hp-systray service is running\n") + log.debug("hp-systray service is running\n") -core = core_install.CoreInstall() -core.set_plugin_version() -if core.check_for_plugin(): +pluginObj = pluginhandler.PluginHandle() +plugin_sts = pluginObj.getStatus() +if plugin_sts == pluginhandler.PLUGIN_INSTALLED: log.info("Device Plugin is already installed") Is_Plugin_Already_Installed = True + +elif plugin_sts == pluginhandler.PLUGIN_NOT_INSTALLED : + log.info("HP Device Plug-in is not found") else: - log.info("Device Plugin is not found") + log.info("HP Device Plug-in version mismatch or some files are corrupted") if Systray_Msg_Enabled: if not Is_Plugin_Already_Installed: @@ -297,7 +314,7 @@ else: Plugin_Installation_Completed = True - install_firmware(Plugin_Installation_Completed) + install_firmware(pluginObj, Plugin_Installation_Completed, param) log.info() log.info("Done.") diff -Nru hplip-3.12.2/check.py hplip-3.13.4/check.py --- hplip-3.12.2/check.py 2012-02-01 11:53:57.000000000 +0000 +++ hplip-3.13.4/check.py 2013-04-08 09:58:46.000000000 +0000 @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -# (c) Copyright 2003-2009 Hewlett-Packard Development Company, L.P. +# (c) Copyright 2003-2014 Hewlett-Packard Development Company, L.P. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,27 +17,26 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# Author: Don Welch +# Author: Don Welch, Amarnath Chitumalla # -__version__ = '14.3' +__version__ = '15.1' __title__ = 'Dependency/Version Check Utility' __mod__ = 'hp-check' -__doc__ = """Check the existence and versions of HPLIP dependencies. (Run as 'python ./check.py' from the HPLIP tarball before installation.)""" +__doc__ = """Checks dependency versions,permissions of HPLIP. (Run as 'python ./check.py' from the HPLIP tarball before installation.)""" # Std Lib import sys import os import getopt -import commands import re +import StringIO # Local from base.g import * -from base import utils, tui, models -from installer import dcheck +from base import utils, tui, queues, smart_install from installer.core_install import * - +from prnt import cups device_avail = False try: from base import device, pml @@ -48,22 +47,35 @@ device_avail = True +################ Global variables ############ USAGE = [(__doc__, "", "name", True), ("Usage: %s [OPTIONS]" % __mod__, "", "summary", True), utils.USAGE_OPTIONS, ("Compile-time check:", "-c or --compile", "option", False), - ("Run-time check:", "-r or --run", "option", False), + ("Run-time check:", "-r or --run or --runtime", "option", False), ("Compile and run-time checks:", "-b or --both (default)", "option", False), utils.USAGE_LOGGING1, utils.USAGE_LOGGING2, utils.USAGE_LOGGING3, utils.USAGE_LOGGING_PLAIN, utils.USAGE_HELP, + utils.USAGE_NOTES, ("1. For checking for the proper build environment for the HPLIP supplied tarball (.tar.gz or .run),", "", "note", False), ("use the --compile or --both switches.", "", "note", False), ("2. For checking for the proper runtime environment for a distro supplied package (.deb, .rpm, etc),", "", "note", False), ("use the --runtime switch.", "", "note", False), ] + +Ver_Func_Pat = re.compile('''FUNC#(.*)''') + +EXTERNALDEP = 1 +GENERALDEP = 2 +COMPILEDEP = 3 +PYEXT = 4 +SCANCONF = 5 +IS_LIBUSB01_ENABLED = 'no' +############ Functions ######### +# Usage function def usage(typ='text'): if typ == 'text': utils.log_title(__title__, __version__) @@ -72,434 +84,256 @@ sys.exit(0) -build_str = "HPLIP will not build, install, and/or function properly without this dependency." - -pat_deviceuri = re.compile(r"""(.*):/(.*?)/(\S*?)\?(?:serial=(\S*)|device=(\S*)|ip=(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}[^&]*)|zc=(\S+))(?:&port=(\d))?""", re.I) -#pat_deviceuri = re.compile(r"""(.*):/(.*?)/(\S*?)\?(?:serial=(\S*)|device=(\S*)|ip=(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}[^&]*))(?:&port=(\d))?""", re.I) - -pat_cups_error_log = re.compile("""^loglevel\s?(debug|debug2|warn|info|error|none)""", re.I) - - -def parseDeviceURI(device_uri): - m = pat_deviceuri.match(device_uri) - - if m is None: - raise Error(ERROR_INVALID_DEVICE_URI) - - back_end = m.group(1).lower() or '' - is_hp = (back_end in ('hp', 'hpfax', 'hpaio')) - bus = m.group(2).lower() or '' - - if bus not in ('usb', 'net', 'bt', 'fw', 'par'): - raise Error(ERROR_INVALID_DEVICE_URI) - - model = m.group(3) or '' - serial = m.group(4) or '' - dev_file = m.group(5) or '' - host = m.group(6) or '' - zc = '' - if not host: - zc = host = m.group(7) or '' - port = m.group(8) or 1 - - if bus == 'net': - try: - port = int(port) - except (ValueError, TypeError): - port = 1 - - if port == 0: - port = 1 - -# log.debug("%s: back_end '%s' is_hp '%s' bus '%s' model '%s' serial '%s' dev_file '%s' host '%s' zc '%s' port '%s' " % -# (device_uri, back_end, is_hp, bus, model, serial, dev_file, host, zc, port)) - - return back_end, is_hp, bus, model, serial, dev_file, host, zc, port - -num_errors = 0 -fmt = True -overall_commands_to_run = [] -time_flag = DEPENDENCY_RUN_AND_COMPILE_TIME - -try: - log.set_module(__mod__) - - try: - opts, args = getopt.getopt(sys.argv[1:], 'hl:gtcrb', - ['help', 'help-rest', 'help-man', 'help-desc', 'logging=', - 'run', 'runtime', 'compile', 'both']) - - except getopt.GetoptError, e: - log.error(e.msg) - usage() - sys.exit(1) - - if os.getenv("HPLIP_DEBUG"): - log.set_level('debug') - - log_level = 'info' - - for o, a in opts: - if o in ('-h', '--help'): - usage() - - elif o == '--help-rest': - usage('rest') - - elif o == '--help-man': - usage('man') - - elif o == '--help-desc': - print __doc__, - sys.exit(0) - - elif o in ('-l', '--logging'): - log_level = a.lower().strip() - - elif o == '-g': - log_level = 'debug' - - elif o == '-t': - fmt = False - - elif o in ('-c', '--compile'): - time_flag = DEPENDENCY_COMPILE_TIME - - elif o in ('-r', '--runtime', '--run'): - time_flag = DEPENDENCY_RUN_TIME - - elif o in ('-b', '--both'): - time_flag = DEPENDENCY_RUN_AND_COMPILE_TIME - - if not log.set_level(log_level): - usage() - - if not fmt: - log.no_formatting() - - utils.log_title(__title__, __version__) - - log.info(log.bold("Note: hp-check can be run in three modes:")) - - for l in tui.format_paragraph("1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP."): - log.info(l) - - for l in tui.format_paragraph("2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run."): - log.info(l) - - for l in tui.format_paragraph("3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies)."): - log.info(l) - - log.info() - - log_file = os.path.normpath('./hp-check.log') - log.info(log.bold("Saving output in log file: %s" % log_file)) - log.debug("Log file=%s" % log_file) - if os.path.exists(log_file): - os.remove(log_file) - - log.set_logfile(log_file) - log.set_where(log.LOG_TO_CONSOLE_AND_FILE) - - log.info("\nInitializing. Please wait...") - core = CoreInstall(MODE_CHECK) - core.init() - core.set_plugin_version() - - tui.header("SYSTEM INFO") - - log.info(log.bold("Basic system information:")) - log.info(core.sys_uname_info) - - log.info() - log.info(log.bold("Distribution:")) - log.info("%s %s" % (core.distro_name, core.distro_version)) +# Displays the the hp-check usage information. +def show_title(): + utils.log_title(__title__, __version__) - #log.info(log.bold("\nHPOJ running?")) + log.info(log.bold("Note: hp-check can be run in three modes:")) - #if core.hpoj_present: - #log.error("Yes, HPOJ is running. HPLIP is not compatible with HPOJ. To run HPLIP, please remove HPOJ.") - #num_errors += 1 - #else: - #log.info("No, HPOJ is not running (OK).") + for l in tui.format_paragraph("1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP."): + log.info(l) + for l in tui.format_paragraph("2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run."): + log.info(l) - log.info() - log.info(log.bold("Checking Python version...")) - ver = sys.version_info - log.debug("sys.version_info = %s" % repr(ver)) - ver_maj = ver[0] - ver_min = ver[1] - ver_pat = ver[2] - - if ver_maj == 2: - if ver_min >= 1: - log.info("OK, version %d.%d.%d installed" % ver[:3]) - else: - log.error("Version %d.%d.%d installed. Please update to Python >= 2.1" % ver[:3]) - sys.exit(1) + for l in tui.format_paragraph("3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies)."): + log.info(l) - ui_toolkit = sys_conf.get('ui_toolkit', 'qt4') - if ui_toolkit == 'qt3': log.info() - log.info(log.bold("Checking PyQt 3.x version...")) - - # PyQt 3 - try: - import qt - except ImportError: - num_errors += 1 - log.error("NOT FOUND OR FAILED TO LOAD!") - else: - # check version of Qt - qtMajor = int(qt.qVersion().split('.')[0]) - - if qtMajor < MINIMUM_QT_MAJOR_VER: - log.error("Incorrect version of Qt installed. Ver. 3.0.0 or greater required.") - else: - #check version of PyQt - try: - pyqtVersion = qt.PYQT_VERSION_STR - except AttributeError: - pyqtVersion = qt.PYQT_VERSION - - while pyqtVersion.count('.') < 2: - pyqtVersion += '.0' - - (maj_ver, min_ver, pat_ver) = pyqtVersion.split('.') - - if pyqtVersion.find('snapshot') >= 0: - log.error("A non-stable snapshot version of PyQt is installed (%s)." % pyqtVersion) - num_errors += 1 - else: - try: - maj_ver = int(maj_ver) - min_ver = int(min_ver) - pat_ver = int(pat_ver) - except ValueError: - maj_ver, min_ver, pat_ver = 0, 0, 0 - - if maj_ver < MINIMUM_PYQT_MAJOR_VER or \ - (maj_ver == MINIMUM_PYQT_MAJOR_VER and min_ver < MINIMUM_PYQT_MINOR_VER): - num_errors += 1 - log.error("HPLIP may not function properly with the version of PyQt that is installed (%d.%d.%d)." % (maj_ver, min_ver, pat_ver)) - log.error("Ver. %d.%d or greater required." % (MINIMUM_PYQT_MAJOR_VER, MINIMUM_PYQT_MINOR_VER)) - else: - log.info("OK, version %d.%d installed." % (maj_ver, min_ver)) - del qt - - - else: + for l in tui.format_paragraph("Check types:"): + log.info(l) + for l in tui.format_paragraph("a. EXTERNALDEP - External Dependencies"): + log.info(l) + for l in tui.format_paragraph("b. GENERALDEP - General Dependencies (required both at compile and run time)"): + log.info(l) + for l in tui.format_paragraph("c. COMPILEDEP - Compile time Dependencies"): + log.info(l) + for l in tui.format_paragraph("d. [All are run-time checks]"): + log.info(l) + for l in tui.format_paragraph("PYEXT\nSCANCONF\nQUEUES\nPERMISSION"): + log.info(l) log.info() - log.info(log.bold("Checking PyQt 4.x version...")) + log.info("Status Types:") + log.info(" OK") + log.info(" MISSING - Missing Dependency or Permission or Plug-in") + log.info(" INCOMPAT - Incompatible dependency-version or Plugin-version") + log.info() - # PyQt 4 - try: - import PyQt4 - except ImportError: - num_errors += 1 - log.error("NOT FOUND OR FAILED TO LOAD!") +# Status_Type function. --> Returns the package installed status indformation +def Status_Type(Installedsts, min_ver,Installed_ver): + if Installedsts is True or Installedsts != 0: + if min_ver == '-' or check_version(Installed_ver,min_ver): + return "OK" else: - from PyQt4 import QtCore - log.info("OK, version %s installed." % QtCore.PYQT_VERSION_STR) - - -# log.info() -# log.info(log.bold("Checking SIP version...")) -# -# sip_ver = None -# try: -# import pyqtconfig -# except ImportError: -# pass -# else: -# sip_ver = pyqtconfig.Configuration().sip_version_str -# -# if sip_ver is not None: -# log.info("OK, Version %s installed" % sip_ver) -# else: -# num_errors += 1 -# log.error("SIP not installed or version not found.") - - log.info() - log.info(log.bold("Checking for CUPS...")) - cups_ok = True - - status, output = utils.run('lpstat -r') - if status == 0: - log.info("Status: %s" % output.strip()) + return "INCOMPAT" else: - log.error("Status: (Not available. CUPS may not be installed or not running.)") - cups_ok = False - num_errors += 1 - - if cups_ok: - status, output = utils.run('cups-config --version') - if status == 0: - log.info("Version: %s" % output.strip()) - else: - log.warn("Version: (cups-config) Not available. Unable to determine installed version of CUPS.)") - - if cups_ok: - cups_conf = '/etc/cups/cupsd.conf' + return "MISSING" - try: - f = file(cups_conf, 'r') - except (IOError, OSError): - log.warn("%s file not found or not accessible." % cups_conf) + +# get_comment function --> Returns the 'comments' corresponding to the function. +def get_comment(package, Inst_status, installed_ver): + comment = "-" + if package == 'pyqt' or package == 'pyqt4': + if Inst_status == 'OK': + if not check_version(installed_ver, '2.3') and check_version(installed_ver, '2.2'): + comment = "Fax is not supported if version is lessthan 2.3" + elif not check_version(installed_ver, '2.2'): + comment = "Python Programming is not supported if version is lessthan 2.2" + elif package == 'hpaio': + if Inst_status == 'OK': + comment = "'hpaio found in /etc/sane.d/dll.conf'" + else: + comment = "'hpaio not found in /etc/sane.d/dll.conf. hpaio needs to be added in this file.'" + elif package == 'cupsext' or package == 'pcardext' or package == 'hpmudext': + if Inst_status != 'OK': + comment = "'Not Found or Failed to load, Please reinstall HPLIP'" + elif package =='cups': + if Inst_status != 'OK': + comment = "'CUPS may not be installed or not running'" + else: + comment = "'CUPS Scheduler is running'" + elif package == 'libusb' and IS_LIBUSB01_ENABLED == "yes": + if Inst_status != 'OK': + comment = "'libusb-1.0 needs to be installed'" + elif package == 'dbus': + if Inst_status != 'OK': + comment = "'DBUS may not be installed or not running'" else: - for l in f: - m = pat_cups_error_log.match(l) - if m is not None: - level = m.group(1).lower() - log.info("error_log is set to level: %s" % level) - - #if level not in ('debug', 'debug2'): - #log.note("For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'") - #log.note("set to 'debug'. To set the LogLevel to debug, edit the file %s (as root)," % cups_conf) - #log.note("and change the line near the top of the file that begins with 'LogLevel' to read:") - #log.note("LogLevel debug") - #log.note("Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).") - #log.note("Now, when you print, helpful debug information will be saved to the file:") - #log.note("/var/log/cups/error_log") - #log.note("You can monitor this file by running this command in a console/shell:") - #log.note("tail -f /var/log/cups/error_log") - - break - - - log.info() - - log.info(log.bold("Checking for dbus/python-dbus...")) - - if dcheck.check_ps(['dbus-daemon']): - log.info("dbus daemon is running.") + comment = "-" else: - log.warn("dbus daemon is not running.") - - try: - import dbus - try: - log.info("python-dbus version: %s" % dbus.__version__) - except AttributeError: - try: - log.info("python-dbus version: %s" % '.'.join([str(x) for x in dbus.version])) - except AttributeError: - log.warn("python-dbus imported OK, but unknown version.") - except ImportError: - log.warn("python-dbus not installed.") - - log.info() - - - if time_flag == DEPENDENCY_RUN_AND_COMPILE_TIME: - tui.header("COMPILE AND RUNTIME DEPENDENCIES") - log.note("To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).") - log.note("To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).") - - elif time_flag == DEPENDENCY_COMPILE_TIME: - tui.header("COMPILE TIME DEPENDENCIES") - - elif time_flag == DEPENDENCY_RUN_TIME: - tui.header("RUNTIME DEPENDENCIES") - - log.info() - - dd = core.dependencies.keys() - - status, output = utils.run('cups-config --version') - import string - if status == 0 and (string.count(output, '.') == 1 or string.count(output, '.') == 2): - if string.count(output, '.') == 1: - major, minor = string.split(output, '.', 2) - if string.count(output, '.') == 2: - major, minor, release = string.split(output, '.', 3) - if len(minor) > 1 and minor[1] >= '0' and minor[1] <= '9': - minor = ((ord(minor[0]) - ord('0')) * 10) + (ord(minor[1]) - ord('0')) - else: - minor = ord(minor[0]) - ord('0') - if major > '1' or (major == '1' and minor >= 4): - dd.remove('cups-ddk') - - dd.sort() - for d in dd: - if (d == 'pyqt' and ui_toolkit != 'qt3') or \ - (d == 'pyqt4' and ui_toolkit != 'qt4'): - continue - - log.debug("***") - - if time_flag == DEPENDENCY_RUN_AND_COMPILE_TIME or time_flag == core.dependencies[d][4]: - - log.info(log.bold("Checking for dependency: %s..." % core.dependencies[d][2])) - - if core.have_dependencies[d]: - log.info("OK, found.") - else: - num_errors += 1 - - if core.dependencies[d][4] == DEPENDENCY_RUN_AND_COMPILE_TIME: - s = '' - elif core.dependencies[d][4] == DEPENDENCY_COMPILE_TIME: - s = '/COMPILE TIME ONLY' - - elif core.dependencies[d][4] == DEPENDENCY_RUN_TIME: - s = '/RUNTIME ONLY' - - if core.dependencies[d][0]: - log.error("NOT FOUND! This is a REQUIRED%s dependency. Please make sure that this dependency is installed before installing or running HPLIP." % s) - else: - log.warn("NOT FOUND! This is an OPTIONAL%s dependency. Some HPLIP functionality may not function properly." %s) - - if core.distro_supported(): - packages_to_install, commands = core.get_dependency_data(d) - - commands_to_run = [] - - if packages_to_install: - package_mgr_cmd = core.get_distro_data('package_mgr_cmd') - - if package_mgr_cmd: - packages_to_install = ' '.join(packages_to_install) - commands_to_run.append(utils.cat(package_mgr_cmd)) - - if commands: - commands_to_run.extend(commands) - - overall_commands_to_run.extend(commands_to_run) - - if len(commands_to_run) == 1: - log.info("To install this dependency, execute this command:") - log.info(commands_to_run[0]) - - elif len(commands_to_run) > 1: - log.info("To install this dependency, execute these commands:") - for c in commands_to_run: - log.info(c) - - - log.info() + if Inst_status != 'OK': + comment = "'%s needs to be installed'"%package + return comment + +def get_libusb_version(): + if IS_LIBUSB01_ENABLED == "yes": + return get_version('libusb-config --version') + else: + return '1.0' - if time_flag in (DEPENDENCY_RUN_TIME, DEPENDENCY_RUN_AND_COMPILE_TIME): - tui.header("HPLIP INSTALLATION") - scanning_enabled = utils.to_bool(sys_conf.get('configure', 'scanner-build', '0')) - log.info() - log.info(log.bold("Currently installed HPLIP version...")) +########## Classes ########### +#DependenciesCheck class derived from CoreInstall +class DependenciesCheck(CoreInstall): + def __init__(self,mode=MODE_CHECK, ui_mode=INTERACTIVE_MODE, ui_toolkit='qt4'): + CoreInstall.__init__(self,mode,ui_mode,ui_toolkit) + self.num_errors = 0 + self.num_warns = 0 + + self.missing_user_grps = '' + self.disable_selinux = False + self.req_deps_to_be_installed = [] + self.opt_deps_to_be_installed =[] + self.cmds_to_be_run = [] + self.comm_error_devices = {} + self.plugin_status = '' + self.smart_install_devices = [] + + self.user_grps_cmd = '' + + self.hplip_dependencies ={ EXTERNALDEP: + { +# : (, , , , , ), + 'dbus': (True, ['fax'], "DBus", self.check_dbus,'-','dbus-daemon --version'), + 'cups' : (True, ['base'], 'CUPS', self.check_cups,'1.1','cups-config --version'), + 'gs': (True, ['base'], "Ghostscript", self.check_gs,'7.05','gs --version'), + 'policykit': (False, ['gui_qt4'], "Admin-Policy-framework", self.check_policykit,'-','pkexec --version'), # optional for non-sudo behavior of plugins (only optional for Qt4 option) + 'xsane': (False, ['scan'], "SANE-GUI", self.check_xsane,'0.9','FUNC#get_xsane_version'), + 'scanimage': (False, ['scan'], "Shell-Scanning", self.check_scanimage,'1.0','scanimage --version'), + 'network': (False, ['network'], "Network-wget", self.check_wget,'-','wget --version'), + }, + GENERALDEP: + {'libpthread': (True, ['base'], "POSIX-Threads-Lib", self.check_libpthread,'-','FUNC#get_libpthread_version'), + 'libusb': (True, ['base'], "USB-Lib", self.check_libusb,'-','FUNC#get_libusb_version'), + 'libcrypto': (True, ['network'], "OpenSSL-Crypto-Lib", self.check_libcrypto,'-','openssl version'), + 'libjpeg': (True, ['base'], "JPEG-Lib", self.check_libjpeg,'-',None), + 'libnetsnmp-devel': (True, ['network'], "SNMP-Networking-SDK", self.check_libnetsnmp,'5.0.9','net-snmp-config --version'), + 'cups-image': (True, ['base'], "CUPS-Image-Lib", self.check_cups_image,'-','cups-config --version'), + 'cups-devel': (True, ['base'], 'CUPS-SDK', self.check_cups_devel,'-','cups-config --version'), + 'cups-ddk': (False, ['base'], "CUPS-DDK", self.check_cupsddk,'-',None), # req. for .drv PPD installs + 'python-dbus': (True, ['fax'], "Python-DBUS", self.check_python_dbus,'0.80.0','FUNC#get_python_dbus_ver'), + 'pyqt4': (True, ['gui_qt4'], "Python-Qt4", self.check_pyqt4,'4.0','FUNC#get_pyQt4_version'), # PyQt 4.x ) + 'pyqt4-dbus' : (True, ['gui_qt4'], "PyQt4-DBUS", self.check_pyqt4_dbus,'4.0','FUNC#get_pyQt4_version'), + 'pyqt': (True, ['gui_qt'], "Python-Qt", self.check_pyqt,'2.3','FUNC#get_pyQt_version'), + 'python-devel' : (True, ['base'], "Python-SDK", self.check_python_devel,'2.2','python --version'), + 'python-notify' : (False, ['gui_qt4'], "Desktop-notifications", self.check_pynotify,'-','python-notify --version'), # Optional for libnotify style popups from hp-systray + 'python-xml' : (True, ['base'], "Python-XML-Lib", self.check_python_xml,'-','FUNC#get_python_xml_version'), + 'pil': (False, ['scan'], "Python-Image-Lib", self.check_pil,'-','FUNC#get_pil_version'), #required for commandline scanning with hp-scan + 'sane': (True, ['scan'], "Scan-Lib", self.check_sane,'-','sane-config --version'), + 'sane-devel' : (True, ['scan'], "SANE-SDK", self.check_sane_devel,'-','sane-config --version'), + 'reportlab': (False, ['fax'], "Python-PDF-Lib", self.check_reportlab,'2.0','FUNC#get_reportlab_version'), + }, + COMPILEDEP: + { 'gcc' : (True, ['base'], 'gcc-Compiler', self.check_gcc, '-','gcc --version'), + 'libtool': (True, ['base'], "Build-tools", self.check_libtool,'-','libtool --version'), + 'make' : (True, ['base'], "GNU-Build-tools", self.check_make,'3.0','make --version'), + }, + PYEXT: + { 'cupsext' : (True, ['base'], 'CUPS-Extension', self.check_cupsext,'-','FUNC#get_HPLIP_version'), + 'hpmudext' : (True, ['base'], 'IO-Extension', self.check_hpmudext,'-','FUNC#get_HPLIP_version'), + 'pcardext' : (True, ['base'], 'PhotoCard-Extension', self.check_pcardext,'-','FUNC#get_HPLIP_version'), + }, + SCANCONF: + { 'hpaio' : (True, ['scan'], 'HPLIP-SANE-Backend', self.check_hpaio,'-','FUNC#get_HPLIP_version'), + 'scanext' : (True, ['scan'], 'Scan-SANE-Extension', self.check_scanext,'-','FUNC#get_HPLIP_version'), + } + } + + self.version_func={ + 'FUNC#get_python_dbus_ver':get_python_dbus_ver, + 'FUNC#get_pyQt4_version':get_pyQt4_version, + 'FUNC#get_pyQt_version':get_pyQt_version, + 'FUNC#get_reportlab_version':get_reportlab_version, + 'FUNC#get_xsane_version':get_xsane_version, + 'FUNC#get_pil_version':get_pil_version, + 'FUNC#get_libpthread_version':get_libpthread_version, + 'FUNC#get_python_xml_version':get_python_xml_version, + 'FUNC#get_HPLIP_version':get_HPLIP_version, + 'FUNC#get_libusb_version':get_libusb_version, + } + + def get_required_deps(self): + return self.req_deps_to_be_installed + + + def get_optional_deps(self): + return self.opt_deps_to_be_installed + + + def get_cmd_to_run(self): + return self.cmds_to_be_run + + + def get_disable_selinux_status(self): + return self.disable_selinux + + + def get_communication_error_devs(self): + return self.comm_error_devices + + + def get_missing_user_grps(self): + return self.missing_user_grps + + + def get_user_grp_cmd(self): + return self.user_grps_cmd + + + def get_plugin_status(self): + return self.plugin_status + + + def get_smart_install_devices(self): + return self.smart_install_devices + + + def validate(self,time_flag=DEPENDENCY_RUN_AND_COMPILE_TIME, is_quiet_mode= False): + ############ Variables ####################### + cups_ddk_not_req = False + hpmudext_avail = False + add_user_to_group = None + ui_toolkit = sys_conf.get('configure','ui-toolkit') + org_log_location = log.get_where() + + if is_quiet_mode: + log.set_where(log.LOG_TO_FILE) + + IS_LIBUSB01_ENABLED = sys_conf.get('configure', 'libusb01-build', 'no') + vrs =self.get_distro_data('versions_list') + supported_distro_vrs= self.distro_version + if self.distro_version not in vrs and len(vrs): + supported_distro_vrs= vrs[len(vrs)-1] + log.warn(log.bold("%s-%s version is not supported. Using %s-%s versions dependencies to verify and install..." \ + %(self.distro_name, self.distro_version, self.distro_name, supported_distro_vrs))) + + tui.header("SYSTEM INFO") + Sts, Kernel_info =utils.run("uname -r -v -o") + Sts, Host_info =utils.run("uname -n") + Sts, Proc_info =utils.run("uname -r -v -o") + log.info(" Kernel: %s Host: %s Proc: %s Distribution: %s %s"\ + %(Kernel_info,Host_info,Proc_info,self.distro_name, self.distro_version)) + log.info(" Bitness: %s bit\n"%utils.getBitness()) + tui.header("HPLIP CONFIGURATION") v = sys_conf.get('hplip', 'version') - home = sys_conf.get('dirs', 'home') - if v: - log.info("HPLIP %s currently installed in '%s'." % (v, home)) + home = sys_conf.get('dirs', 'home') + log.info("HPLIP-Version: HPLIP %s" %v) + log.info("HPLIP-Home: %s" %home) + if self.is_auto_installer_support(): + log.info("HPLIP-Installation: Auto installation is supported for %s distro %s version " %(self.distro_name, self.distro_version)) + else: + log.warn("HPLIP-Installation: Auto installation is not supported for %s distro %s version " %(self.distro_name, self.distro_version)) log.info() log.info(log.bold("Current contents of '/etc/hp/hplip.conf' file:")) try: output = file('/etc/hp/hplip.conf', 'r').read() except (IOError, OSError), e: - log.error("Could not access file: %s" % e.strerror) + log.error("Could not access file: %s. Check HPLIP installation." % e.strerror) + self.num_errors += 1 else: log.info(output) @@ -508,7 +342,7 @@ try: output = file(os.path.expanduser('/var/lib/hp/hplip.state'), 'r').read() except (IOError, OSError), e: - log.error("Could not access file: %s" % e.strerror) + log.info("Plugins are not installed. Could not access file: %s" % e.strerror) else: log.info(output) @@ -517,381 +351,554 @@ try: output = file(os.path.expanduser('~/.hplip/hplip.conf'), 'r').read() except (IOError, OSError), e: - log.error("Could not access file: %s" % e.strerror) + log.warn("Could not access file: %s" % e.strerror) + self.num_warns += 1 else: log.info(output) - else: - log.info("Not found.") - - - if device_avail: - #if prop.par_build: - #tui.header("DISCOVERED PARALLEL DEVICES") - - #devices = device.probeDevices(['par']) - - #if devices: - #f = tui.Formatter() - #f.header = ("Device URI", "Model") - - #for d, dd in devices.items(): - #f.add((d, dd[0])) - - #f.output() - - #else: - #log.info("No devices found.") - - #if not core.have_dependencies['ppdev']: - #log.error("'ppdev' kernel module not loaded.") - - if prop.usb_build: - tui.header("DISCOVERED USB DEVICES") + scanning_enabled = utils.to_bool(sys_conf.get('configure', 'scanner-build', '0')) + log.info(" %-20s %-20s %-10s %-10s %-10s %-10s %s"%( "", " ", "", "","", "", "")) + for s in self.hplip_dependencies: + if s == EXTERNALDEP: + if time_flag == DEPENDENCY_RUN_AND_COMPILE_TIME or time_flag == DEPENDENCY_RUN_TIME: + tui.header(" External Dependencies") + else: continue + elif s == GENERALDEP: + if time_flag == DEPENDENCY_RUN_AND_COMPILE_TIME or time_flag == DEPENDENCY_RUN_TIME: + tui.header(" General Dependencies") + else: continue + elif s == COMPILEDEP: + if time_flag == DEPENDENCY_RUN_AND_COMPILE_TIME or time_flag == DEPENDENCY_COMPILE_TIME: + tui.header(" Compile Time Dependencies") + else: continue + elif s == PYEXT: tui.header(" Python Extentions") + elif s == SCANCONF: tui.header(" Scan Configuration") + else: tui.header(" Other Dependencies") + for d in self.hplip_dependencies[s]: + if d == 'cups-ddk' and cups_ddk_not_req == True: + continue + elif ui_toolkit != 'qt4' and ui_toolkit != 'qt3' and d == 'pyqt': + continue + elif d == 'pyqt' and ui_toolkit == 'qt4': + continue + elif d == 'pyqt4' and ui_toolkit == 'qt3': + continue + elif d == 'hpaio' and not scanning_enabled: + continue + elif self.distro_name =="rhel" and "5." in self.distro_version: + if d in ['dbus','python-devel','python-dbus','pyqt4-dbus','libnetsnmp-devel','gcc','make','reportlab','policykit','sane-devel','cups-ddk']: + continue - devices = device.probeDevices(['usb']) + if self.hplip_dependencies[s][d][5] is None: + installed_ver = '-' + elif Ver_Func_Pat.search(self.hplip_dependencies[s][d][5]): + if self.hplip_dependencies[s][d][5] in self.version_func: + installed_ver = self.version_func[self.hplip_dependencies[s][d][5]]() + else: + installed_ver = '-' + else: + installed_ver = get_version(self.hplip_dependencies[s][d][5]) + Status = Status_Type(self.hplip_dependencies[s][d][3](),self.hplip_dependencies[s][d][4],installed_ver) + comment = get_comment(d, Status, installed_ver) + packages_to_install, commands=[],[] + if self.is_auto_installer_support(): + packages_to_install, commands = self.get_dependency_data(d) + if not packages_to_install and d == 'hpaio': + packages_to_install.append(d) + else: + packages_to_install, commands = self.get_dependency_data(d,supported_distro_vrs) + if not packages_to_install and d == 'hpaio': + packages_to_install.append(d) + + if self.hplip_dependencies[s][d][0]: + package_type = "REQUIRED" + else: + package_type = "OPTIONAL" + + if d == 'cups' and ((installed_ver == '-') or check_version(installed_ver,'1.4')): + cups_ddk_not_req = True + log.debug("cups -ddk not required as cups version [%s] is => 1.4 "%installed_ver) + if d == 'hpmudext' and Status == 'OK': + hpmudext_avail = True + + if Status == 'OK': + log.info(" %-20s %-25s %-15s %-15s %-15s %-10s %s" %(d,self.hplip_dependencies[s][d][2], package_type,self.hplip_dependencies[s][d][4],installed_ver,Status,comment)) + else: + log.info(log.red(" error: %-13s %-25s %-15s %-15s %-15s %-10s %s" %(d,self.hplip_dependencies[s][d][2], package_type,self.hplip_dependencies[s][d][4],installed_ver,Status,comment))) + self.num_errors += 1 + for cmd in commands: + if cmd: + self.cmds_to_be_run.append(cmd) + if package_type == "OPTIONAL": + for pkg in packages_to_install: + if pkg: + self.opt_deps_to_be_installed.append(pkg) + else: + for pkg in packages_to_install: + if pkg: + self.req_deps_to_be_installed.append(pkg) - if devices: - f = tui.Formatter() - f.header = ("Device URI", "Model") + if scanning_enabled: + tui.header("DISCOVERED SCANNER DEVICES") + if utils.which('scanimage'): + status, output = utils.run("scanimage -L") + if status != 0 : + log.error("Failed to get Scanners information.") + elif 'No scanners were identified' in output: + log.info("No Scanner found.") + else: + log.info(output) - for d, dd in devices.items(): - f.add((d, dd[0])) + if device_avail: + #if prop.par_build: + #tui.header("DISCOVERED PARALLEL DEVICES") + #devices = device.probeDevices(['par']) + #if devices: + #f = tui.Formatter() + #f.header = ("Device URI", "Model") + #for d, dd in devices.items(): + #f.add((d, dd[0])) + #f.output() + #else: + #log.info("No devices found.") + #if not core.have_dependencies['ppdev']: + #log.error("'ppdecmds_to_be_runv' kernel module not loaded.") + + if prop.usb_build: + tui.header("DISCOVERED USB DEVICES") + + devices = device.probeDevices(['usb']) + + if devices: + f = tui.Formatter() + f.header = ("Device URI", "Model") - f.output() + for d, dd in devices.items(): + f.add((d, dd[0])) - else: - log.info("No devices found.") + f.output() + else: + log.info("No devices found.") - tui.header("INSTALLED CUPS PRINTER QUEUES") - lpstat_pat = re.compile(r"""(\S*): (.*)""", re.IGNORECASE) - status, output = utils.run('lpstat -v') - log.info() + tui.header("INSTALLED CUPS PRINTER QUEUES") - cups_printers = [] - for p in output.splitlines(): - try: - match = lpstat_pat.search(p) - printer_name = match.group(1) - device_uri = match.group(2) - cups_printers.append((printer_name, device_uri)) - except AttributeError: - pass - - log.debug(cups_printers) - - if cups_printers: - #non_hp = False - for p in cups_printers: - printer_name, device_uri = p - - if device_uri.startswith("cups-pdf:/") or \ - device_uri.startswith('ipp://'): - continue + lpstat_pat = re.compile(r"""(\S*): (.*)""", re.IGNORECASE) + status, output = utils.run('lpstat -v') + log.info() + cups_printers = [] + plugin_sts = None + for p in output.splitlines(): try: - back_end, is_hp, bus, model, serial, dev_file, host, zc, port = \ - parseDeviceURI(device_uri) - except Error: - back_end, is_hp, bus, model, serial, dev_file, host, zc, port = \ - '', False, '', '', '', '', '', '', 1 - - #print back_end, is_hp, bus, model, serial, dev_file, host, zc, port - - log.info(log.bold(printer_name)) - log.info(log.bold('-'*len(printer_name))) - - x = "Unknown" - if back_end == 'hpfax': - x = "Fax" - elif back_end == 'hp': - x = "Printer" - - log.info("Type: %s" % x) - - #if is_hp: - # x = 'Yes, using the %s: CUPS backend.' % back_end - #else: - # x = 'No, not using the hp: or hpfax: CUPS backend.' - # non_hp = True - - #log.info("Installed in HPLIP?: %s" % x) - log.info("Device URI: %s" % device_uri) - - ppd = os.path.join('/etc/cups/ppd', printer_name + '.ppd') - - if os.path.exists(ppd): - log.info("PPD: %s" % ppd) - nickname_pat = re.compile(r'''\*NickName:\s*\"(.*)"''', re.MULTILINE) + match = lpstat_pat.search(p) + printer_name = match.group(1) + device_uri = match.group(2) + cups_printers.append((printer_name, device_uri)) + except AttributeError: + pass - f = file(ppd, 'r').read(4096) + log.debug(cups_printers) + if cups_printers: + #non_hp = False + for p in cups_printers: + printer_name, device_uri = p + + if device_uri.startswith("cups-pdf:/") or \ + device_uri.startswith('ipp://'): + continue try: - desc = nickname_pat.search(f).group(1) - except AttributeError: - desc = '' + back_end, is_hp, bus, model, serial, dev_file, host, zc, port = \ + device.parseDeviceURI(device_uri) + except Error: + back_end, is_hp, bus, model, serial, dev_file, host, zc, port = \ + '', False, '', '', '', '', '', '', 1 + + #print back_end, is_hp, bus, model, serial, dev_file, host, zc, port + + log.info(log.bold(printer_name)) + log.info(log.bold('-'*len(printer_name))) + + x = "Unknown" + if back_end == 'hpfax': + x = "Fax" + elif back_end == 'hp': + x = "Printer" + + log.info("Type: %s" % x) + + #if is_hp: + # x = 'Yes, using the %s: CUPS backend.' % back_end + #else: + # x = 'No, not using the hp: or hpfax: CUPS backend.' + # non_hp = True + + #log.info("Installed in HPLIP?: %s" % x) + log.info("Device URI: %s" % device_uri) + + ppd = os.path.join('/etc/cups/ppd', printer_name + '.ppd') + + if os.path.exists(ppd): + log.info("PPD: %s" % ppd) + nickname_pat = re.compile(r'''\*NickName:\s*\"(.*)"''', re.MULTILINE) + try: + f = file(ppd, 'r').read(4096) + except IOError: + log.warn("Failed to read %s ppd file"%ppd) + desc = '' + else: + try: + desc = nickname_pat.search(f).group(1) + except AttributeError: + desc = '' - log.info("PPD Description: %s" % desc) + log.info("PPD Description: %s" % desc) - status, output = utils.run('lpstat -p%s' % printer_name) - log.info("Printer status: %s" % output.replace("\n", "")) + status, output = utils.run('lpstat -p%s' % printer_name) + log.info("Printer status: %s" % output.replace("\n", "")) - if back_end == 'hpfax' and not 'HP Fax' in desc: - num_errors += 1 - log.error("Incorrect PPD file for fax queue '%s'. Fax queues must use 'HP-Fax-hplip.ppd'." % printer_name) + if back_end == 'hpfax' and not 'HP Fax' in desc: + self.num_errors += 1 + log.error("Incorrect PPD file for fax queue '%s'. Fax queues must use 'HP-Fax-hplip.ppd'." % printer_name) - elif back_end == 'hp' and 'HP Fax' in desc: - num_errors += 1 - log.error("Incorrect PPD file for a print queue '%s'. Print queues must not use 'HP-Fax-hplip.ppd'." % printer_name) + elif back_end == 'hp' and 'HP Fax' in desc: + self.num_errors += 1 + log.error("Incorrect PPD file for a print queue '%s'. Print queues must not use 'HP-Fax-hplip.ppd'." % printer_name) - elif back_end not in ('hp', 'hpfax'): - log.warn("Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.") - num_errors += 1 + elif back_end not in ('hp', 'hpfax'): + log.warn("Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.") + self.num_warns += 1 - if device_avail and is_hp: - d = None - try: + if device_avail and is_hp: + d = None try: - d = device.Device(device_uri) - except Error: - log.error("Device initialization failed.") - continue + try: + d = device.Device(device_uri,None, None, None, True) + except Error: + log.error("Device initialization failed.") + continue - plugin = d.mq.get('plugin', PLUGIN_NONE) - if plugin in (PLUGIN_REQUIRED, PLUGIN_OPTIONAL): + plugin = d.mq.get('plugin', PLUGIN_NONE) + if plugin in (PLUGIN_REQUIRED, PLUGIN_OPTIONAL): + if not plugin_sts: + from installer import pluginhandler + pluginObj = pluginhandler.PluginHandle() + plugin_sts = pluginObj.getStatus() + + if plugin_sts == pluginhandler.PLUGIN_INSTALLED: + self.plugin_status = PLUGIN_INSTALLED + if plugin == pluginhandler.PLUGIN_REQUIRED: + log.info("Required plug-in status: Installed") + else: + log.info("Optional plug-in status: Installed") + elif plugin_sts == pluginhandler.PLUGIN_NOT_INSTALLED: + self.plugin_status = PLUGIN_NOT_INSTALLED + if plugin == PLUGIN_REQUIRED: + self.num_errors += 1 + log.error("Required plug-in status: Not installed") + else: + self.num_warns +=1 + log.warn("Optional plug-in status: Not installed") + elif plugin_sts == pluginhandler.PLUGIN_VERSION_MISMATCH: + self.num_warns += 1 + self.plugin_status = pluginhandler.PLUGIN_VERSION_MISMATCH + log.warn("plug-in status: Version mismatch") - if core.check_for_plugin(): - if plugin == PLUGIN_REQUIRED: - log.info("Required plug-in status: Installed") - else: - log.info("Optional plug-in status: Installed") - else: - num_errors += 1 - if plugin == PLUGIN_REQUIRED: - log.error("Required plug-in status: Not installed") + if bus in ('par', 'usb'): + try: + d.open() + except Error, e: + log.error(e.msg) + deviceid = '' else: - log.warn("Optional plug-in status: Not installed") - - - if bus in ('par', 'usb'): - try: - d.open() - except Error, e: - log.error(e.msg) - deviceid = '' - else: - deviceid = d.getDeviceID() - log.debug(deviceid) - - #print deviceid - if not deviceid: - log.error("Communication status: Failed") - #error_code = pml.ERROR_COMMAND_EXECUTION - num_errors += 1 - else: - log.info("Communication status: Good") - - elif bus == 'net': - try: - error_code, deviceid = d.getPML(pml.OID_DEVICE_ID) - except Error: - #log.error("Communication with device failed.") - #error_code = pml.ERROR_COMMAND_EXECUTION - pass - - #print error_code - if not deviceid: - log.error("Communication status: Failed") - num_errors += 1 - else: - log.info("Communication status: Good") - - finally: - if d is not None: - d.close() - - log.info() + deviceid = d.getDeviceID() + log.debug(deviceid) + #print deviceid + if not deviceid: + log.error("Communication status: Failed") + self.comm_error_devices[printer_name] = device_uri + self.num_errors += 1 + else: + log.info("Communication status: Good") + elif bus == 'net': + try: + error_code, deviceid = d.getPML(pml.OID_DEVICE_ID) + except Error: + pass - else: - log.warn("No queues found.") + #print error_code + if not deviceid: + log.error("Communication status: Failed") + self.comm_error_devices[printer_name] = device_uri + self.num_errors += 1 + else: + log.info("Communication status: Good") - if scanning_enabled: - tui.header("SANE CONFIGURATION") - log.info(log.bold("'hpaio' in '/etc/sane.d/dll.conf'...")) - try: - f = file('/etc/sane.d/dll.conf', 'r') - except IOError: - log.error("'/etc/sane.d/dll.conf' not found. Is SANE installed?") - num_errors += 1 + finally: + if d is not None: + d.close() + log.info() else: - found = False - for line in f: - lineNoSpace = re.sub(r'\s', '', line) - hpaiomatched=re.match('hpaio',lineNoSpace) -# if 'hpaio' in line: - if hpaiomatched: - found = True + log.warn("No queues found.") - if found: - log.info("OK, found. SANE backend 'hpaio' is properly set up.") + tui.header("PERMISSION") + sts,avl_grps_out =utils.run('groups') + self.user_grps_cmd = self.get_distro_ver_data('add_user_to_group', '',supported_distro_vrs) + sts, out = utils.check_user_groups(self.user_grps_cmd, avl_grps_out) + if sts: + log.info("%-15s %-30s %-15s %-8s %-8s %-8s %s"%("groups", "user-groups","Required", "-","-", "OK",avl_grps_out)) + else: + log.info(log.red("error: %-8s %-30s %-15s %-8s %-8s %-8s %s"%("groups", "user-groups", "Required","-", "-", "MISSING", out))) + self.num_errors += 1 + self.missing_user_grps = out + + if hpmudext_avail: + lsusb = utils.which('lsusb') + if lsusb: + lsusb = os.path.join(lsusb, 'lsusb') + status, output = utils.run("%s -d03f0:" % lsusb) + + if output: + lsusb_pat = re.compile("""^Bus\s([0-9a-fA-F]{3,3})\sDevice\s([0-9a-fA-F]{3,3}):\sID\s([0-9a-fA-F]{4,4}):([0-9a-fA-F]{4,4})(.*)""", re.IGNORECASE) + log.debug(output) + try: + import hpmudext + except ImportError: + log.error("NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of hpmudext.") + self.num_errors += 1 + + for o in output.splitlines(): + ok = True + match = lsusb_pat.search(o) + + if match is not None: + bus, dev, vid, pid, mfg = match.groups() + #log.info("\nHP Device 0x%x at %s:%s: " % (int(pid, 16), bus, dev)) + result_code, deviceuri = hpmudext.make_usb_uri(bus, dev) + + if result_code == hpmudext.HPMUD_R_OK: + # log.info(" Device URI: %s" % deviceuri) + d = None + try: + d = device.Device(deviceuri,None, None, None, True) + except Error: + continue + if not d.supported: + continue + else: + log.warn(" Device URI: (Makeuri FAILED)") + continue + printers = cups.getPrinters() + printer_name=None + for p in printers: + if p.device_uri == deviceuri: + printer_name=p.name + break + + devnode = os.path.join("/", "dev", "bus", "usb", bus, dev) + + if not os.path.exists(devnode): + devnode = os.path.join("/", "proc", "bus", "usb", bus, dev) + + if os.path.exists(devnode): + # log.debug(" Device node: %s" % devnode) + st_mode, st_ino, st_dev, st_nlink, st_uid, st_gid, \ + st_size, st_atime, st_mtime, st_ctime = os.stat(devnode) + + getfacl = utils.which('getfacl',True) + if getfacl: + # log.debug("%s %s" % (getfacl, devnode)) + status, output = utils.run("%s %s" % (getfacl, devnode)) + getfacl_out_list = output.split('\r\n') + + out ='' + for g in getfacl_out_list: + if 'getfacl' not in g and '' is not g and 'file' not in g: + pat = re.compile('''.*:(.*)''') + if pat.search(g): + out = out +' '+ pat.search(g).group(1) + log.info("%-15s %-30s %-15s %-8s %-8s %-8s %s"%("USB", printer_name, "Required", "-", "-", "OK", "Node:'%s' Perm:'%s'"%(devnode,out))) + else: + log.info("%-15s %-30s %-15s %-8s %-8s %-8s %s"%("USB", printer_name, "Required","-","-","OK", "Node:'%s' Mode:'%s'"%(devnode,st_mode&0777))) + + selinux_file = '/etc/selinux/config' + if os.path.exists(selinux_file): + tui.header("SELINUX") + try: + selinux_fp = file(selinux_file, 'r') + except IOError: + log.error("Failed to open %s file."%selinux_file) else: - num_errors += 1 - log.error("Not found. SANE backend 'hpaio' NOT properly setup (needs to be added to /etc/sane.d/dll.conf).") - - log.info() - log.info(log.bold("Checking output of 'scanimage -L'...")) - if utils.which('scanimage'): - status, output = utils.run("scanimage -L") - log.info(output) + for line in selinux_fp: + line=re.sub(r'\s','',line) + if line == "SELINUX=enforcing": + self.num_warns += 1 + log.warn("%-12s %-12s %-10s %-3s %-3s %-8s %s" \ + %("SELinux", "enabled", "Optional", "-", "-", "INCOMPAT", "'SELinux needs to be disabled for Plugin printers and Fax functionality.'")) + self.disable_selinux = True + break + if self.disable_selinux == False: + log.info("%-15s %-15s %-10s %-3s %-3s %-8s %s"\ + %("SELinux", "disabled", "Optional", "-", "-", "OK", "-")) + + self.smart_install_devices = smart_install.get_smartinstall_enabled_devices() + if len(self.smart_install_devices): + tui.header("'CD-ROM'/'Smart Install' Detected Devices") + self.num_errors += 1 + for d in self.smart_install_devices: + log.error("%-30s %-20s %s "%(d, "CD_ROM_Enabled", "Needs to disable Smart Install")) + + else: + log.error("HPLIP not found.") + self.num_errors += 1 + + if is_quiet_mode: + log.set_where(org_log_location) + + return self.num_errors, self.num_warns + + + def display_summary(self): + tui.header("SUMMARY") + + log.info(log.bold("Missing Required Dependencies")) + log.info(log.bold('-'*len("Missing Required Dependencies"))) + if len(self.req_deps_to_be_installed) == 0: + log.info("None") + else: + for packages_to_install in self.req_deps_to_be_installed: + if packages_to_install == 'cups': + log.error("'%s' package is missing or '%s' service is not running."%(packages_to_install,packages_to_install)) else: - log.error("scanimage not found.") - - tui.header("PYTHON EXTENSIONS") - - log.info(log.bold("Checking 'cupsext' CUPS extension...")) - try: - import cupsext - except ImportError: - num_errors += 1 - log.error("NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of cupsext.") - else: - log.info("OK, found.") - + log.error("'%s' package is missing/incompatible "%packages_to_install) + + log.info("") + log.info(log.bold("Missing Optional Dependencies")) + log.info(log.bold('-'*len("Missing Optional Dependencies"))) + if len(self.opt_deps_to_be_installed) == 0: + log.info("None\n") + else: + for packages_to_install in self.opt_deps_to_be_installed: + log.error("'%s' package is missing/incompatible "%packages_to_install) + + if self.plugin_status == PLUGIN_NOT_INSTALLED or self.plugin_status == PLUGIN_VERSION_MISMATCH: + log.info("") + log.info(log.bold("Plug-in Status")) + log.info(log.bold('-'*len("Plug-in Status"))) + log.error("Plug-ins need to be installed") + + if self.disable_selinux == True: + log.info("") + log.info(log.bold("SELINUX")) + log.info(log.bold('-'*len("SELINUX"))) + log.error("SELINUX need to be disabled") + + if self.missing_user_grps: + log.info("") + log.info(log.bold("USER GROUPS")) + log.info(log.bold('-'*len("USER GROUPS"))) + log.error("%s groups need to be added for %s user"%(self.missing_user_grps,prop.username)) + + if self.smart_install_devices: + log.info("") + log.info(log.bold("SMART INSTALL/CD_ROM ENABLED DEVICES")) + log.info(log.bold('-'*len("SMART INSTALL/CD_ROM ENABLED DEVICES"))) + for dev in self.smart_install_devices: + log.error("%s"%dev) + url, tool_name = smart_install.get_SmartInstall_tool_info() + log.info(log.bold("Smart Install is enabled for these devices. Please disable Smart Install to enable device functionalities.\n\nRefer link '%s' to disable Smart Install.\n"%(url))) + + log.info("") + log.info("Total Errors: %d" % self.num_errors) + log.info("Total Warnings: %d" % self.num_warns) log.info() - log.info(log.bold("Checking 'pcardext' Photocard extension...")) - try: - import pcardext - except ImportError: - num_errors += 1 - log.error("NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of pcardext.") - else: - log.info("OK, found.") - - log.info() - log.info(log.bold("Checking 'hpmudext' I/O extension...")) - try: - import hpmudext - hpmudext_avail = True - except ImportError: - hpmudext_avail = False - num_errors += 1 - log.error("NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of hpmudext.") - else: - log.info("OK, found.") - - if scanning_enabled: - log.info() - log.info(log.bold("Checking 'scanext' SANE scanning extension...")) - try: - import scanext - except ImportError: - num_errors += 1 - log.error("NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of scanext.") - else: - log.info("OK, found.") - - log.info() - - - if hpmudext_avail: - lsusb = utils.which('lsusb') - if lsusb: - log.info() - - lsusb = os.path.join(lsusb, 'lsusb') - status, output = utils.run("%s -d03f0:" % lsusb) + if self.disable_selinux or self.missing_user_grps or (self.plugin_status == PLUGIN_VERSION_MISMATCH) or (self.plugin_status == PLUGIN_NOT_INSTALLED) or len(self.req_deps_to_be_installed) or len(self.opt_deps_to_be_installed): + log.info("Re-run 'hp-doctor' command to prompt and fix the issues. ") + - if output: - tui.header("USB I/O SETUP") - log.info(log.bold("Checking for permissions of USB attached printers...")) - - lsusb_pat = re.compile("""^Bus\s([0-9a-fA-F]{3,3})\sDevice\s([0-9a-fA-F]{3,3}):\sID\s([0-9a-fA-F]{4,4}):([0-9a-fA-F]{4,4})(.*)""", re.IGNORECASE) - log.debug(output) - - for o in output.splitlines(): - ok = True - match = lsusb_pat.search(o) - - if match is not None: - bus, dev, vid, pid, mfg = match.groups() - log.info("\nHP Device 0x%x at %s:%s: " % (int(pid, 16), bus, dev)) - result_code, deviceuri = hpmudext.make_usb_uri(bus, dev) - - if result_code == hpmudext.HPMUD_R_OK: - log.info(" Device URI: %s" % deviceuri) - d = None - try: - d = device.Device(deviceuri) - except Error: - continue - if not d.supported: - continue - else: - log.warn(" Device URI: (Makeuri FAILED)") - continue - - devnode = os.path.join("/", "dev", "bus", "usb", bus, dev) - - if not os.path.exists(devnode): - devnode = os.path.join("/", "proc", "bus", "usb", bus, dev) - - if os.path.exists(devnode): - log.info(" Device node: %s" % devnode) - - st_mode, st_ino, st_dev, st_nlink, st_uid, st_gid, \ - st_size, st_atime, st_mtime, st_ctime = \ - os.stat(devnode) - - log.info(" Mode: 0%o" % (st_mode & 0777)) - - getfacl = utils.which('getfacl') - if getfacl: - getfacl = os.path.join(getfacl, "getfacl") +############ Main ####################### +if __name__ == "__main__": + try: + log.set_module(__mod__) - status, output = utils.run("%s %s" % (getfacl, devnode)) + try: + opts, args = getopt.getopt(sys.argv[1:], 'hl:gtcrbsi', ['help', 'help-rest', 'help-man', 'help-desc', 'logging=', 'run', 'runtime', 'compile', 'both','fix']) + except getopt.GetoptError, e: + log.error(e.msg) + usage() + sys.exit(1) - log.info(output) + log_level = 'info' + if os.getenv("HPLIP_DEBUG"): + log_level = 'debug' - tui.header("USER GROUPS") + time_flag = DEPENDENCY_RUN_AND_COMPILE_TIME + is_quiet_mode = False + fmt = True + for o, a in opts: + if o in ('-h', '--help'): + usage() + elif o == '--help-rest': + usage('rest') + elif o == '--help-man': + usage('man') + elif o == '--help-desc': + print __doc__, + sys.exit(0) + elif o in ('-l', '--logging'): + log_level = a.lower().strip() + elif o == '-g': + log_level = 'debug' + elif o == '-t': + fmt = False + elif o in ('-c', '--compile'): + time_flag = DEPENDENCY_COMPILE_TIME + elif o in ('-r', '--runtime', '--run'): + time_flag = DEPENDENCY_RUN_TIME + elif o in ('-b', '--both'): + time_flag = DEPENDENCY_RUN_AND_COMPILE_TIME + elif o == '--fix': + log.info(log.bold("\n\nNote:- 'hp-check --fix' is deprecated. Please run 'hp-doctor' command\n\n")) + sys.exit(1) + elif o == '-s': + is_quiet_mode = True - groups = utils.which('groups') - if groups: - groups = os.path.join(groups, 'groups') - status, output = utils.run(groups) + if not log.set_level(log_level): + usage() - if status == 0: - log.info(output) + if not fmt: + log.no_formatting() + log_file = os.path.abspath('./hp-check.log') + log.info(log.bold("Saving output in log file: %s" % log_file)) - tui.header("SUMMARY") + if os.path.exists(log_file): + os.remove(log_file) - if num_errors: - if num_errors == 1: - log.error("1 error or warning.") + log.set_logfile(log_file) + if not is_quiet_mode: + log.set_where(log.LOG_TO_CONSOLE_AND_FILE) else: - log.error("%d errors and/or warnings." % num_errors) + log.set_where(log.LOG_TO_FILE) - if overall_commands_to_run: - log.info() - log.info(log.bold("Summary of needed commands to run to satisfy missing dependencies:")) - for c in overall_commands_to_run: - log.info(c) - - log.info() - log.info("Please refer to the installation instructions at:") - log.info("http://hplip.sourceforge.net/install/index.html\n") + show_title() + ui_toolkit = sys_conf.get('configure','ui-toolkit') + core = DependenciesCheck(MODE_CHECK,INTERACTIVE_MODE,ui_toolkit) + core.init() + num_errors, num_warns = core.validate(time_flag, is_quiet_mode) - else: - log.info(log.green("No errors or warnings.")) - -except KeyboardInterrupt: - log.error("User exit") + if num_errors or num_warns: + core.display_summary() + else: + log.info(log.green("No errors or warnings.")) -log.info() -log.info("Done.") + except KeyboardInterrupt: + log.error("User exit") + log.info() + log.info("Done.") diff -Nru hplip-3.12.2/clean.py hplip-3.13.4/clean.py --- hplip-3.12.2/clean.py 2012-02-01 11:53:57.000000000 +0000 +++ hplip-3.13.4/clean.py 2013-04-08 09:58:45.000000000 +0000 @@ -150,6 +150,12 @@ CleanUI1, CleanUI2, CleanUI3, None) + elif clean_type == CLEAN_TYPE_LEDM: + maint.cleaning(d, clean_type, maint.cleanTypeLedm, maint.cleanTypeLedm1, + maint.cleanTypeLedm2, tui.load_paper_prompt, + CleanUI1, CleanUI2, CleanUI3, + None) + else: log.error("Cleaning not needed or supported on this device.") diff -Nru hplip-3.12.2/common/utils.c hplip-3.13.4/common/utils.c --- hplip-3.12.2/common/utils.c 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/common/utils.c 2013-04-08 09:58:35.000000000 +0000 @@ -0,0 +1,262 @@ +#include "utils.h" +#include "string.h" +#include +#include +#include + +extern int errno; + +static int GetPair(char *buf, int buf_len, char *key, char *value, char **tail) +{ + int i=0, j; + + key[0] = 0; + value[0] = 0; + + if (buf[i] == '#') + { + for (; buf[i] != '\n' && i < buf_len; i++); /* eat comment line */ + if (buf[i] == '\n') + i++; /* bump past '\n' */ + } + + j = 0; + while ((buf[i] != '=') && (i < buf_len) && (j < UTILS_LINE_SIZE)) + key[j++] = buf[i++]; + for (j--; key[j] == ' ' && j > 0; j--); /* eat white space before = */ + key[++j] = 0; + + if (buf[i] == '=') + for (i++; buf[i] == ' ' && i < buf_len; i++); /* eat white space after = */ + + j = 0; + while ((buf[i] != '\n') && (i < buf_len) && (j < UTILS_LINE_SIZE)) + value[j++] = buf[i++]; + for (j--; value[j] == ' ' && j > 0; j--); /* eat white space before \n */ + value[++j] = 0; + + if (buf[i] == '\n') + i++; /* bump past '\n' */ + + if (tail != NULL) + *tail = buf + i; /* tail points to next line */ + + return i; +} + + +/* Get value for specified section and key from hplip.conf. */ +enum UTILS_CONF_RESULT get_conf(const char *section, const char *key, char *value, int value_size) +{ + return get_key_value(CONFDIR "/hplip.conf", section, key, value, value_size); +} + +/* Get value for specified section and key from specified file. */ +enum UTILS_CONF_RESULT get_key_value(const char *file, const char *section, const char *key, char *value, int value_size) +{ + char new_key[UTILS_LINE_SIZE]; + char new_value[UTILS_LINE_SIZE]; + char rcbuf[255]; + char new_section[32]; + char *tail; + FILE *inFile; + enum UTILS_CONF_RESULT stat = UTILS_CONF_DATFILE_ERROR; + int i,j; + + if((inFile = fopen(file, "r")) == NULL) + { + BUG("unable to open %s: %m\n", file); + goto bugout; + } + + new_section[0] = 0; + + /* Read the config file */ + while ((fgets(rcbuf, sizeof(rcbuf), inFile) != NULL)) + { + if (rcbuf[0] == '[') + { + i = j = 0; + while ((rcbuf[i] != ']') && (j < (sizeof(new_section)-2))) + new_section[j++] = rcbuf[i++]; + new_section[j++] = rcbuf[i++]; /* ']' */ + new_section[j] = 0; /* zero terminate */ + continue; + } + + GetPair(rcbuf, strlen(rcbuf), new_key, new_value, &tail); + + if ((strcasecmp(new_section, section) == 0) && (strcasecmp(new_key, key) == 0)) + { + strncpy(value, new_value, value_size); + stat = UTILS_CONF_OK; + break; /* done */ + } + } + + if (stat != UTILS_CONF_OK) + BUG("unable to find %s %s in %s\n", section, key, file); + +bugout: + if (inFile != NULL) + fclose(inFile); + + return stat; +} + + +enum UTILS_PLUGIN_STATUS validate_plugin_version() +{ + char hplip_version[128]; + char plugin_version[128]; + + if (get_conf("[hplip]", "version", hplip_version, sizeof(hplip_version)) != UTILS_CONF_OK) + return UTILS_PLUGIN_STATUS_NOT_INSTALLED; + + if (get_key_value(HPLIP_PLUGIN_STATE,"[plugin]" , "version", plugin_version, sizeof(plugin_version)) != UTILS_CONF_OK ) + { + BUG("validate_plugin_version() Failed to get Plugin version from [%s]\n", "/var/lib/hp/hplip.state"); + return UTILS_PLUGIN_STATUS_NOT_INSTALLED; + } + + + if (strcmp(hplip_version, plugin_version) == 0) + { + return UTILS_PLUGIN_STATUS_OK; + } + else + { + BUG("validate_plugin_version() Plugin version[%s] mismatch with HPLIP version[%s]\n",plugin_version, hplip_version); + return UTILS_PLUGIN_STATUS_MISMATCH; + } + return UTILS_PLUGIN_STATUS_NOT_INSTALLED; +} + + +void *load_plugin_library (enum UTILS_PLUGIN_LIBRARY_TYPE eLibraryType, const char *szPluginName) +{ + void *pHandler = NULL; + char szHome[256]; + char szLibraryFile[256]; + + if (szPluginName == NULL || szPluginName[0] == '\0') + { + BUG("Invalid Library name\n"); + return pHandler; + } + + if (get_conf("[dirs]", "home", szHome, sizeof(szHome)) != UTILS_CONF_OK) + { + BUG("Failed to find the home directory from hplip.conf file\n"); + return pHandler; + } + + if (validate_plugin_version() != UTILS_PLUGIN_STATUS_OK ) + { + BUG("Plugin version is not matching \n"); + return pHandler; + } + + if (eLibraryType == UTILS_PRINT_PLUGIN_LIBRARY) + snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/prnt/plugins/%s", szHome, szPluginName); + else if (eLibraryType == UTILS_SCAN_PLUGIN_LIBRARY) + snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/scan/plugins/%s", szHome, szPluginName); + else if (eLibraryType == UTILS_FAX_PLUGIN_LIBRARY) + snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/fax/plugins/%s", szHome, szPluginName); + else + { + BUG("Invalid Library Type =%d \n",eLibraryType); + return pHandler; + } + + return load_library (szLibraryFile); + +} + +void *load_library (const char *szLibraryFile) +{ + void *pHandler = NULL; + + if (szLibraryFile == NULL || szLibraryFile[0] == '\0') + { + BUG("Invalid Library name\n"); + return pHandler; + } + + if ((pHandler = dlopen(szLibraryFile, RTLD_NOW|RTLD_GLOBAL)) == NULL) + BUG("unable to load library %s: %s\n", szLibraryFile, dlerror()); + + return pHandler; +} + +void *get_library_symbol(void *pLibHandler, const char *szSymbol) +{ + void *pSymHandler = NULL; + if (pLibHandler == NULL) + { + BUG("Invalid Library hanlder\n"); + return NULL; + } + + if (szSymbol == NULL || szSymbol[0] == '\0') + { + BUG("Invalid Library symbol\n"); + return NULL; + } + + pSymHandler = dlsym(pLibHandler, szSymbol); + if (pSymHandler == NULL) + BUG("Can't find %s symbol in Library:%s\n",szSymbol,dlerror()); + + return pSymHandler; +} + +void unload_library(void *pLibHandler) +{ + if (pLibHandler) + dlclose(pLibHandler); + else + BUG("Invalid Library hanlder pLibHandler = NULL.\n"); +} + +int createTempFile(char* szFileName, FILE** pFilePtr) +{ + char* pFilePos = NULL; + char szFolderName[64]={0,}; + struct stat st; + int iFD; + + if (szFileName == NULL || szFileName[0] == '\0' || pFilePtr == NULL) + { + BUG("Invalid Filename/ pointer\n"); + return 0; + } + + if (strstr(szFileName,"XXXXXX") == NULL) + strcat(szFileName,"_XXXXXX"); + + pFilePos = strrchr(szFileName, '/'); + if (pFilePos) + { + strncpy(szFolderName, szFileName, (pFilePos - szFileName)); + if(stat(szFolderName,&st) == 0) + { + if(st.st_mode & S_IFDIR != 0) + { + iFD = mkstemp(szFileName); + *pFilePtr = fdopen(iFD,"w+"); + } + else + BUG("Insufficient directory [%s] permissions\n",szFolderName); + } + else + BUG("Failed to check directory [%s] errno[%d]\n",szFolderName, errno); + } + else + { + iFD = mkstemp(szFileName); + *pFilePtr = fdopen(iFD,"w+"); + } + + return iFD; +} \ No newline at end of file diff -Nru hplip-3.12.2/common/utils.h hplip-3.13.4/common/utils.h --- hplip-3.12.2/common/utils.h 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/common/utils.h 2013-04-08 09:58:35.000000000 +0000 @@ -0,0 +1,159 @@ +#ifndef _COMMON_UTILS_H +#define _COMMON_UTILS_H + +#include +#include +#include +//#include "hpmud.h" + +#define _STRINGIZE(x) #x +#define STRINGIZE(x) _STRINGIZE(x) + +#define BUG(args...) syslog(LOG_ERR, __FILE__ " " STRINGIZE(__LINE__) ": " args) +#define UTILS_LINE_SIZE 256 /* Length of a line. */ +#define UTILS_BUFFER_SIZE 16384 /* General Read/Write buffer. */ + +#define PRNT_PLUGIN_LJ "lj.so" +#define PRNT_PLUGIN_HBPL1 "hbpl1.so" +#define SCAN_PLUGIN_MARVELL "bb_marvell.so" +#define SCAN_PLUGIN_SOAP "bb_soap.so" +#define SCAN_PLUGIN_SOAPHT "bb_soapht.so" + +#define HPLIP_PLUGIN_STATE "/var/lib/hp/hplip.state" + +enum UTILS_CONF_RESULT +{ + UTILS_CONF_OK = 0, + UTILS_CONF_FILE_NOT_FOUND, // =1, + UTILS_CONF_SECTION_NOT_FOUND, // =2, + UTILS_CONF_KEY_NOT_FOUND, // =3, + UTILS_CONF_DATFILE_ERROR, // = 4, +}; + + +enum UTILS_PLUGIN_STATUS +{ + UTILS_PLUGIN_STATUS_OK = 0, + UTILS_PLUGIN_STATUS_MISMATCH, // = 1, + UTILS_PLUGIN_STATUS_NOT_INSTALLED, // = 2, +}; + +enum UTILS_PLUGIN_LIBRARY_TYPE +{ + UTILS_PRINT_PLUGIN_LIBRARY = 0, // = 0, + UTILS_SCAN_PLUGIN_LIBRARY, // =1, + UTILS_FAX_PLUGIN_LIBRARY, // =2, +// UTILS_GENERAL_PLUGIN_LIBRARY //=4, // Future use.. +}; + + +#ifdef __cplusplus +extern "C" { +#endif + + /* + * get_conf - get key value from hplip.conf + * + * This function is a stateless utils helper function. + * + * inputs: + * section - zero terminated string (ie: "[dirs]") + * key - zero terminated string (ie: "home") + * value_size - size of value buffer in bytes + * + * outputs: + * return value - see enum definition + */ + enum UTILS_CONF_RESULT get_conf(const char *section, const char *key, char *value, int value_size); + + /* + * get_key_value - get key value from specified file + * + * This function is a stateless utils helper function. + * + * inputs: + * file - zero terminated file path + * section - zero terminated string (ie: "[dirs]") + * key - zero terminated string (ie: "home") + * value_size - size of value buffer in bytes + * + * outputs: + * return value - see enum definition + */ + + enum UTILS_CONF_RESULT get_key_value(const char *file, const char *section, const char *key, char *value, int value_size); + + /* + * validate_plugin_version - validates the plugin version + * + * inputs: void + * + * outputs: + * return value - see enum definition + */ + + enum UTILS_PLUGIN_STATUS validate_plugin_version(); + + + /* + * load_library - Loads the Library by validating the library. + * + * inputs: + * const char *szLibName - Plugin or Library Name (full path, if required) + * outputs: + * return void* - returns dlopen handler. Returns NULL, in case of error. + */ + + void *load_library (const char *szLibName); + + /* + * load_plugin_library - Loads the Plugin Library depending the module type. + * + * inputs: enum UTILS_PLUGIN_LIBRARY_TYPE -see enum definition + * const char *szPluginName - Plugin or Library Name (e.g. "lj.so") + * outputs: + * return void* - returns dlopen handler. Returns NULL, in case of error. + */ + + void *load_plugin_library (enum UTILS_PLUGIN_LIBRARY_TYPE eLibraryType, const char *szPluginName); + + /* + * get_library_symbol - Loads the symbol from the library. + * + * inputs: void *pLibHandler -dlopen Handler + * const char *szSymbol - Symbol to search in library + * outputs: + * return void* - returns dlsym handler. Returns NULL, in case of error. + */ + + void *get_library_symbol(void *pLibHandler, const char *szSymbol); + /* + * unload_library - Unloads the Library. + * + * inputs: void *pLibHandler -dlopen Handler + * + * outputs: + * return void. + */ + + void unload_library(void *pLibHandler); + + /* + * Function : createTempFile() + * Argements: + * 1. char* szFileName --> (in and out) --> FIle name must contains "XXXXXX" at end. e.g. "/tmp/file_XXXXXX" + * 2. FILE** pFilePtr --> (out) --> returns the File pionter + * Return value: + * Returns file descreptor + */ + + int createTempFile(char* szFileName, FILE** pFilePtr); + +#ifdef __cplusplus +} +#endif + + + + +#endif //_COMMON_UTILS_H diff -Nru hplip-3.12.2/config.guess hplip-3.13.4/config.guess --- hplip-3.12.2/config.guess 2008-08-29 22:27:25.000000000 +0000 +++ hplip-3.13.4/config.guess 2011-05-12 07:56:51.000000000 +0000 @@ -1,10 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 -# Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011 Free Software Foundation, Inc. -timestamp='2008-01-23' +timestamp='2011-05-11' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -27,16 +27,16 @@ # the same distribution terms that you use for the rest of that program. -# Originally written by Per Bothner . -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. +# Originally written by Per Bothner. Please send patches (context +# diff format) to and include a ChangeLog +# entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD me=`echo "$0" | sed -e 's,.*/,,'` @@ -56,8 +56,9 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free +Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -170,7 +171,7 @@ arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null + | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? @@ -180,7 +181,7 @@ fi ;; *) - os=netbsd + os=netbsd ;; esac # The OS release @@ -223,7 +224,7 @@ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on @@ -269,7 +270,10 @@ # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit ;; + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead @@ -295,7 +299,7 @@ echo s390-ibm-zvmoe exit ;; *:OS400:*:*) - echo powerpc-ibm-os400 + echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} @@ -324,14 +328,33 @@ case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux${UNAME_RELEASE} + exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + eval $set_cc_for_build + SUN_ARCH="i386" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize @@ -375,23 +398,23 @@ # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} + echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} - exit ;; + exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} + echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit ;; + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit ;; + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit ;; + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; @@ -461,8 +484,8 @@ echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ @@ -475,7 +498,7 @@ else echo i586-dg-dgux${UNAME_RELEASE} fi - exit ;; + exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; @@ -532,7 +555,7 @@ echo rs6000-ibm-aix3.2 fi exit ;; - *:AIX:*:[456]) + *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 @@ -575,52 +598,52 @@ 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac + esac ;; + esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa @@ -640,7 +663,7 @@ # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | - grep __LP64__ >/dev/null + grep -q __LP64__ then HP_ARCH="hppa2.0w" else @@ -711,22 +734,22 @@ exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd - exit ;; + exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi - exit ;; + exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd - exit ;; + exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd - exit ;; + exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd - exit ;; + exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; @@ -750,14 +773,14 @@ exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} @@ -785,18 +808,18 @@ echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) - # uname -m includes "-pc" on this system. - echo ${UNAME_MACHINE}-mingw32 + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - *:Interix*:[3456]*) - case ${UNAME_MACHINE} in + *:Interix*:*) + case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; - EM64T | authenticamd) + authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) @@ -806,6 +829,9 @@ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we @@ -835,6 +861,20 @@ i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ @@ -842,7 +882,13 @@ then echo ${UNAME_MACHINE}-unknown-linux-gnu else - echo ${UNAME_MACHINE}-unknown-linux-gnueabi + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabihf + fi fi exit ;; avr32*:Linux:*:*) @@ -855,7 +901,18 @@ echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) - echo frv-unknown-linux-gnu + echo frv-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) + LIBC=gnu + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu @@ -866,74 +923,33 @@ m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - mips:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips - #undef mipsel - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - mips64:Linux:*:*) + mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU - #undef mips64 - #undef mips64el + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mips64el + CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips64 + CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu + padre:Linux:*:*) + echo sparc-unknown-linux-gnu exit ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level @@ -943,14 +959,17 @@ *) echo hppa-unknown-linux-gnu ;; esac exit ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu @@ -958,6 +977,9 @@ sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-tilera-linux-gnu + exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; @@ -965,71 +987,8 @@ echo x86_64-unknown-linux-gnu exit ;; xtensa*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - # Set LC_ALL=C to ensure ld outputs messages in English. - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/[ ][ ]*/ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit ;; - coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit ;; - esac - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #ifdef __ELF__ - # ifdef __GLIBC__ - # if __GLIBC__ >= 2 - LIBC=gnu - # else - LIBC=gnulibc1 - # endif - # else - LIBC=gnulibc1 - # endif - #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) - LIBC=gnu - #else - LIBC=gnuaout - #endif - #endif - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^LIBC/{ - s: ::g - p - }'`" - test x"${LIBC}" != x && { - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" - exit - } - test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } - ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both @@ -1037,11 +996,11 @@ echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. + # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) @@ -1058,7 +1017,7 @@ i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) @@ -1073,7 +1032,7 @@ fi exit ;; i*86:*:5:[678]*) - # UnixWare 7.x, OpenUNIX and OpenServer 6. + # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; @@ -1101,10 +1060,13 @@ exit ;; pc:*:*:*) # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp - exit ;; + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; @@ -1139,8 +1101,18 @@ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4; exit; } ;; + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; @@ -1153,7 +1125,7 @@ rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) @@ -1173,10 +1145,10 @@ echo ns32k-sni-sysv fi exit ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm @@ -1202,11 +1174,11 @@ exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} + echo mips-nec-sysv${UNAME_RELEASE} else - echo mips-unknown-sysv${UNAME_RELEASE} + echo mips-unknown-sysv${UNAME_RELEASE} fi - exit ;; + exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; @@ -1216,6 +1188,9 @@ BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; @@ -1243,6 +1218,16 @@ *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in + i386) + eval $set_cc_for_build + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + UNAME_PROCESSOR="x86_64" + fi + fi ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} @@ -1258,6 +1243,9 @@ *:QNX:*:4*) echo i386-pc-qnx exit ;; + NEO-?:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; @@ -1303,13 +1291,13 @@ echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) - echo mips-sei-seiux${UNAME_RELEASE} + echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) - UNAME_MACHINE=`(uname -p) 2>/dev/null` + UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; @@ -1324,6 +1312,9 @@ i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 @@ -1346,11 +1337,11 @@ #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 - "4" + "4" #else - "" + "" #endif - ); exit (0); + ); exit (0); #endif #endif diff -Nru hplip-3.12.2/config.sub hplip-3.13.4/config.sub --- hplip-3.12.2/config.sub 2008-08-29 22:27:25.000000000 +0000 +++ hplip-3.13.4/config.sub 2011-05-12 07:56:51.000000000 +0000 @@ -1,10 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 -# Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011 Free Software Foundation, Inc. -timestamp='2008-01-16' +timestamp='2011-03-23' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -32,13 +32,16 @@ # Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. +# diff and a properly formatted GNU ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. @@ -72,8 +75,9 @@ version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free +Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -120,8 +124,10 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` @@ -148,10 +154,13 @@ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray) + -apple | -axis | -knuth | -cray | -microblaze) os= basic_machine=$1 ;; + -bluegene*) + os=-cnk + ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 @@ -166,10 +175,10 @@ os=-chorusos basic_machine=$1 ;; - -chorusrdb) - os=-chorusrdb + -chorusrdb) + os=-chorusrdb basic_machine=$1 - ;; + ;; -hiux*) os=-hiuxwe2 ;; @@ -249,13 +258,16 @@ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ + | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore | mep \ + | maxq | mb | microblaze | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ - | mips64vr | mips64vrel \ + | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ @@ -268,28 +280,42 @@ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ + | moxie \ | mt \ | msp430 \ + | nds32 | nds32le | nds32be \ | nios | nios2 \ | ns16k | ns32k \ + | open8 \ | or32 \ | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ + | rx \ | score \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu | strongarm \ - | tahoe | thumb | tic4x | tic80 | tron \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ + | ubicom32 \ | v850 | v850e \ | we32k \ - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ - | z8k) + | x86 | xc16x | xstormy16 | xtensa \ + | z8k | z80) basic_machine=$basic_machine-unknown ;; - m6811 | m68hc11 | m6812 | m68hc12) + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12 | picochip) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none @@ -300,6 +326,18 @@ basic_machine=mt-unknown ;; + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown + ;; + # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. @@ -320,7 +358,7 @@ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ @@ -329,14 +367,17 @@ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ + | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ - | mips64vr-* | mips64vrel-* \ + | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ @@ -351,27 +392,31 @@ | mmix-* \ | mt-* \ | msp430-* \ + | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ - | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ + | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile-* | tilegx-* \ | tron-* \ + | ubicom32-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ - | z8k-*) + | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) @@ -393,7 +438,7 @@ basic_machine=a29k-amd os=-udi ;; - abacus) + abacus) basic_machine=abacus-unknown ;; adobe68k) @@ -439,6 +484,10 @@ basic_machine=m68k-apollo os=-bsd ;; + aros) + basic_machine=i386-pc + os=-aros + ;; aux) basic_machine=m68k-apple os=-aux @@ -455,10 +504,27 @@ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c54x-*) + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; c90) basic_machine=c90-cray os=-unicos ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; convex-c1) basic_machine=c1-convex os=-bsd @@ -487,7 +553,7 @@ basic_machine=craynv-cray os=-unicosmp ;; - cr16) + cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; @@ -526,6 +592,10 @@ basic_machine=m88k-motorola os=-sysv3 ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp @@ -699,6 +769,9 @@ basic_machine=ns32k-utek os=-sysv ;; + microblaze) + basic_machine=microblaze-xilinx + ;; mingw32) basic_machine=i386-pc os=-mingw32 @@ -803,6 +876,12 @@ np1) basic_machine=np1-gould ;; + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem + ;; nsr-tandem) basic_machine=nsr-tandem ;; @@ -885,9 +964,10 @@ ;; power) basic_machine=power-ibm ;; - ppc) basic_machine=powerpc-unknown + ppc | ppcbe) basic_machine=powerpc-unknown ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown @@ -981,6 +1061,9 @@ basic_machine=i860-stratus os=-sysv4 ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; sun2) basic_machine=m68000-sun ;; @@ -1037,17 +1120,10 @@ basic_machine=t90-cray os=-unicos ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tic55x | c55x*) - basic_machine=tic55x-unknown - os=-coff - ;; - tic6x | c6x*) - basic_machine=tic6x-unknown - os=-coff + # This must be matched before tile*. + tilegx*) + basic_machine=tilegx-unknown + os=-linux-gnu ;; tile*) basic_machine=tile-unknown @@ -1120,6 +1196,9 @@ xps | xps100) basic_machine=xps100-honeywell ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` + ;; ymp) basic_machine=ymp-cray os=-unicos @@ -1128,6 +1207,10 @@ basic_machine=z8k-unknown os=-sim ;; + z80-*-coff) + basic_machine=z80-unknown + os=-sim + ;; none) basic_machine=none-none os=-none @@ -1166,7 +1249,7 @@ we32k) basic_machine=we32k-att ;; - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) @@ -1213,9 +1296,12 @@ if [ x"$os" != x"" ] then case $os in - # First match some system type aliases - # that might get confused with valid system types. + # First match some system type aliases + # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. + -auroraux) + os=-auroraux + ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; @@ -1236,10 +1322,11 @@ # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ + | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ @@ -1248,9 +1335,10 @@ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* \ + | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -mingw32* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ @@ -1258,7 +1346,7 @@ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1297,7 +1385,7 @@ -opened*) os=-openedition ;; - -os400*) + -os400*) os=-os400 ;; -wince*) @@ -1346,7 +1434,7 @@ -sinix*) os=-sysv4 ;; - -tpf*) + -tpf*) os=-tpf ;; -triton*) @@ -1388,6 +1476,11 @@ -zvmoe) os=-zvmoe ;; + -dicos*) + os=-dicos + ;; + -nacl*) + ;; -none) ;; *) @@ -1410,10 +1503,10 @@ # system, and we'll never get to this point. case $basic_machine in - score-*) + score-*) os=-elf ;; - spu-*) + spu-*) os=-elf ;; *-acorn) @@ -1425,8 +1518,17 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff + c4x-* | tic4x-*) + os=-coff + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff ;; # This must come before the *-dec entry. pdp10-*) @@ -1453,7 +1555,7 @@ m68*-cisco) os=-aout ;; - mep-*) + mep-*) os=-elf ;; mips*-cisco) @@ -1480,7 +1582,7 @@ *-ibm) os=-aix ;; - *-knuth) + *-knuth) os=-mmixware ;; *-wec) @@ -1585,7 +1687,7 @@ -sunos*) vendor=sun ;; - -aix*) + -cnk*|-aix*) vendor=ibm ;; -beos*) diff -Nru hplip-3.12.2/config_usb_printer.py hplip-3.13.4/config_usb_printer.py --- hplip-3.12.2/config_usb_printer.py 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/config_usb_printer.py 2013-04-08 09:58:45.000000000 +0000 @@ -0,0 +1,250 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# (c) Copyright 2011-2014 Hewlett-Packard Development Company, L.P. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Author: Amarnath Chitumalla +# + +__version__ = '1.0' +__title__ = 'HP device setup using USB' +__mod__ = 'hp-config_usb_printer' +__doc__ = "Detects HP printers connected using USB and installs HPLIP printers and faxes in the CUPS spooler. Tries to automatically determine the correct PPD file to use." + +# Std Lib +import sys +import os +import getopt +import commands +import re +import time + +# Local +from base.g import * +from base import device,utils, tui, models,module, services +from prnt import cups + + +LPSTAT_PAT = re.compile(r"""(\S*): (.*)""", re.IGNORECASE) +USB_PATTERN = re.compile(r'''serial=(.*)''',re.IGNORECASE) +BACK_END_PATTERN = re.compile(r'''(.*):(.*)''',re.IGNORECASE) +DBUS_SERVICE='com.hplip.StatusService' + +##### METHODS ##### + +# Returns already existing print queues for this printer. +def get_already_added_queues(udev_MDL, udev_serial_no, udev_back_end,remove_non_hp_config): + status, output = utils.run('lpstat -v') + + same_printer_queues = [] + for p in output.splitlines(): + try: + match = LPSTAT_PAT.search(p) + printer_name = match.group(1) + device_uri = match.group(2) + if device_uri.startswith("cups-pdf:/"): + continue + if not USB_PATTERN.search(device_uri): + continue + + back_end = BACK_END_PATTERN.search(device_uri).group(1) + serial = USB_PATTERN.search(device_uri).group(1) + log.debug("udev_serial_no[%s] serial[%s] udev_back_end[%s] back_end[%s]"%(udev_serial_no, serial, udev_back_end, back_end)) + if udev_serial_no == serial and (udev_back_end == back_end or back_end == 'usb'): + if remove_non_hp_config and printer_name.find('_') == -1 and printer_name.find('-') != -1: + log.debug("Removed %s Queue"%printer_name) + # remove queues using cups API + cups.delPrinter(printer_name) + else: + same_printer_queues.append(printer_name) + + except AttributeError: + pass + + log.debug(same_printer_queues) + return same_printer_queues + +def check_cups_process(): + cups_running_sts = False + sts, output = utils.run('lpstat -r') + if sts == 0 and ('is running' in output): + cups_running_sts = True + + return cups_running_sts + +# Send dbus event to hpssd on dbus system bus +def send_message(device_uri, printer_name, event_code, username, job_id, title, pipe_name=''): + log.debug("send_message() entered") + args = [device_uri, printer_name, event_code, username, job_id, title, pipe_name] + msg = lowlevel.SignalMessage('/', DBUS_SERVICE, 'Event') + msg.append(signature='ssisiss', *args) + SystemBus().send_message(msg) + log.debug("send_message() returning") + + +# Usage function +def usage(typ='text'): + utils.format_text(USAGE, typ, __title__, __mod__, __version__) + sys.exit(0) + +# Systray service. If hp-systray is not running, starts. +def start_systray(): + Systray_Is_Running=False + status,output = utils.Is_Process_Running('hp-systray') + if status is False: + if os.getuid() == 0: + log.error(" hp-systray must be running.\n Run \'hp-systray &\' in a terminal. ") + else: + log.info("Starting hp-systray service") + services.run_systray() + status,output = utils.Is_Process_Running('hp-systray') + + if status == True: + Systray_Is_Running=True + log.debug("hp-systray service is running\n") + + return Systray_Is_Running + + + +USAGE = [ (__doc__, "", "name", True), + ("Usage: %s [OPTIONS] [SERIAL NO.|USB bus:device]" % __mod__, "", "summary", True), + utils.USAGE_OPTIONS, + utils.USAGE_LOGGING1, utils.USAGE_LOGGING2, utils.USAGE_LOGGING3, + utils.USAGE_HELP, + ("[SERIAL NO.|USB bus:device]", "", "heading", False), + ("USB bus:device :", """"xxx:yyy" where 'xxx' is the USB bus and 'yyy' is the USB device. (Note: The ':' and all leading zeros must be present.)""", 'option', False), + ("", "Use the 'lsusb' command to obtain this information.", "option", False), + ("SERIAL NO.:", '"serial no." (future use)', "option", True), + utils.USAGE_EXAMPLES, + ("USB, IDs specified:", "$%s 001:002"%(__mod__), "example", False), + ("USB, using serial number:", "$%s US12345678A"%(__mod__), "example", False), + utils.USAGE_SPACE, + utils.USAGE_NOTES, + ("1. Using 'lsusb' to obtain USB IDs: (example)", "", 'note', False), + (" $ lsusb", "", 'note', False), + (" Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard", "", 'note', False), + (" $ %s 003:011"%(__mod__), "", 'note', False), + (" (Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)", "", 'note', True), + ] + + + +mod = module.Module(__mod__, __title__, __version__, __doc__, USAGE, (INTERACTIVE_MODE, GUI_MODE), (UI_TOOLKIT_QT3, UI_TOOLKIT_QT4), run_as_root_ok=True, quiet=True) + +opts, device_uri, printer_name, mode, ui_toolkit, loc = \ + mod.parseStdOpts('gh',['time-out=', 'timeout='],handle_device_printer=False) + + +LOG_FILE = "/var/log/hp/hplip_config_usb_printer.log" +if os.path.exists(LOG_FILE): + os.remove(LOG_FILE) + +log.set_logfile(LOG_FILE) +log.set_where(log.LOG_TO_CONSOLE_AND_FILE) +cmd="chmod 664 "+LOG_FILE +sts,output = utils.run(cmd) +if sts != 0: + log.warn("Failed to change log file permissions: %s" %output) + +cmd="chgrp lp "+LOG_FILE +sts,output = utils.run(cmd) +if sts != 0: + log.warn("Failed to change log file group permissions: %s" %output) + +try: + import dbus + from dbus import SystemBus, lowlevel +except ImportError: + log.error("hp-check-plugin Tool requires dBus and python-dbus") + sys.exit(1) + +try: + param = mod.args[0] +except IndexError: + param = '' + +log.debug("param=%s" % param) +if len(param) < 1: + usage() + sys.exit() + +try: + + # ******************************* MAKEURI + if param: + device_uri, sane_uri, fax_uri = device.makeURI(param) + if not device_uri: + log.error("This is not a valid device") + sys.exit(0) + + # ******************************* QUERY MODEL AND COLLECT PPDS + log.debug("\nSetting up device: %s\n" % device_uri) + back_end, is_hp, bus, model, serial, dev_file, host, zc, port = device.parseDeviceURI(device_uri) + + mq = device.queryModelByURI(device_uri) + if not mq or mq.get('support-type', SUPPORT_TYPE_NONE) == SUPPORT_TYPE_NONE: + log.error("Unsupported printer model.") + sys.exit(1) + while check_cups_process() is False: + log.debug("CUPS is not running.. waiting for 30 sec") + time.sleep(30) + + time.sleep(1) + norm_model = models.normalizeModelName(model).lower() + remove_non_hp_config =True + if not mq.get('fax-type', FAX_TYPE_NONE) in (FAX_TYPE_NONE, FAX_TYPE_NOT_SUPPORTED): + fax_config_list = get_already_added_queues(norm_model, serial, 'hpfax',remove_non_hp_config) + + + printer_config_list = get_already_added_queues(norm_model, serial, back_end, remove_non_hp_config) + if len(printer_config_list) ==0 or len(printer_config_list) == 0: + if "SMART_INSTALL_ENABLED" not in device_uri: + cmd ="hp-setup -i -x -a -q %s"%param + log.debug("%s"%cmd) + utils.run(cmd) + + if start_systray(): + printer_name = "" + username = "" + if "SMART_INSTALL_ENABLED" in device_uri: + send_message( device_uri, printer_name, EVENT_DIAGNOSE_PRINTQUEUE, username, 0,'') + else: + send_message( device_uri, printer_name, EVENT_ADD_PRINTQUEUE, username, 0,'') + else: + if start_systray(): + printer_name = "" + username = "" + send_message( device_uri, printer_name, EVENT_DIAGNOSE_PRINTQUEUE, username, 0,'') + + # Cleaning CUPS created Queues. If any, + i =0 + while i <24: + time.sleep(5) + + get_already_added_queues(norm_model, serial, 'hpfax',remove_non_hp_config) + get_already_added_queues(norm_model, serial, 'hp',remove_non_hp_config) + if i == 0: + username = "" + send_message( device_uri, printer_name, EVENT_DIAGNOSE_PRINTQUEUE, username, 0,'') + i += 1 + + +except KeyboardInterrupt: + log.error("User exit") + +log.debug("Done.") diff -Nru hplip-3.12.2/configure hplip-3.13.4/configure --- hplip-3.12.2/configure 2012-02-01 11:56:55.000000000 +0000 +++ hplip-3.13.4/configure 2013-04-08 09:59:38.000000000 +0000 @@ -1,20 +1,24 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63 for HP Linux Imaging and Printing 3.12.2. +# Generated by GNU Autoconf 2.68 for HP Linux Imaging and Printing 3.13.4. +# +# Report bugs to <3.13.4>. # -# Report bugs to <3.12.2>. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software +# Foundation, Inc. +# +# # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which @@ -22,23 +26,15 @@ alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; esac - fi - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - as_nl=' ' export as_nl @@ -46,7 +42,13 @@ as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else @@ -57,7 +59,7 @@ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; - case $arg in + case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; @@ -80,13 +82,6 @@ } fi -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - # IFS # We need space, tab and new line, in precisely that order. Quoting is @@ -96,15 +91,16 @@ IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -case $0 in +as_myself= +case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done IFS=$as_save_IFS ;; @@ -116,12 +112,16 @@ fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } + exit 1 fi -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' @@ -133,7 +133,263 @@ LANGUAGE=C export LANGUAGE -# Required to use basename. +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 + + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + # Preserve -v and -x to the replacement shell. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; + esac + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and 3.13.4 about your +$0: system, including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr @@ -147,8 +403,12 @@ as_basename=false fi +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi -# Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ @@ -168,632 +428,193 @@ } s/.*/./; q'` -# CDPATH. -$as_unset CDPATH +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits -if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes -else - as_have_required=no -fi + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit } -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null fi - -if as_func_ret_success; then - : +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi else - exitcode=1 - echo as_func_ret_success failed. + as_ln_s='cp -p' fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false fi -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' else - exitcode=1 - echo positional parameters were not saved. + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' fi +as_executable_p=$as_test_x -test \$exitcode = 0) || { (exit 1); exit 1; } +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" -( - as_lineno_1=\$LINENO - as_lineno_2=\$LINENO - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } -") 2> /dev/null; then - : -else - as_candidate_shells= - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - case $as_dir in - /*) - for as_base in sh bash ksh sh5; do - as_candidate_shells="$as_candidate_shells $as_dir/$as_base" - done;; - esac -done -IFS=$as_save_IFS +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" +SHELL=${CONFIG_SHELL-/bin/sh} - for as_shell in $as_candidate_shells $SHELL; do - # Try only shells that exist, to save several forks. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { ("$as_shell") 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -_ASEOF -}; then - CONFIG_SHELL=$as_shell - as_have_required=yes - if { "$as_shell" 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -(as_func_return () { - (exit $1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = "$1" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test $exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } - -_ASEOF -}; then - break -fi - -fi - - done - - if test "x$CONFIG_SHELL" != x; then - for as_var in BASH_ENV ENV - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - done - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - - if test $as_have_required = no; then - echo This script requires a shell more modern than all the - echo shells that I found on your system. Please install a - echo modern shell, or manually run the script under such a - echo shell if you do have one. - { (exit 1); exit 1; } -fi - - -fi - -fi - - - -(eval "as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0") || { - echo No shell found that supports shell functions. - echo Please tell bug-autoconf@gnu.org about your system, - echo including any error possibly output before this message. - echo This can help us improve future autoconf versions. - echo Configuration will now proceed without shell functions. -} - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" +test -n "$DJDIR" || exec 7<&0 &1 +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} +# Identity of this package. +PACKAGE_NAME='HP Linux Imaging and Printing' +PACKAGE_TARNAME='hplip' +PACKAGE_VERSION='3.13.4' +PACKAGE_STRING='HP Linux Imaging and Printing 3.13.4' +PACKAGE_BUGREPORT='3.13.4' +PACKAGE_URL='' -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` - ;; -esac - -echo=${ECHO-echo} -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "$0" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null 2>&1 && unset CDPATH - -if test -z "$ECHO"; then -if test "X${echo_test_string+set}" != Xset; then -# find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if (echo_test_string=`eval $cmd`) 2>/dev/null && - echo_test_string=`eval $cmd` && - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null - then - break - fi - done -fi - -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : -else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$echo" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - echo='print -r' - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} - else - # Try using printf. - echo='printf %s\n' - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - echo="$CONFIG_SHELL $0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$CONFIG_SHELL $0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "$0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} - else - # Oops. We lost completely, so just stick with echo. - echo=echo - fi - fi - fi - fi -fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -ECHO=$echo -if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then - ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" -fi - - - - -tagnames=${tagnames+${tagnames},}CXX - -tagnames=${tagnames+${tagnames},}F77 - -exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIBOBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} - -# Identity of this package. -PACKAGE_NAME='HP Linux Imaging and Printing' -PACKAGE_TARNAME='hplip' -PACKAGE_VERSION='3.12.2' -PACKAGE_STRING='HP Linux Imaging and Printing 3.12.2' -PACKAGE_BUGREPORT='3.12.2' - -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +udev_sysfs_rules udev_acl_rules SNMPLIB hpcups_only_build @@ -822,6 +643,7 @@ ui_toolkit APDK_AUTO_INCLUDE_FLAG APDK_ENDIAN_FLAG +libusb01_build shadow_build doc_build hpcups_install @@ -856,6 +678,8 @@ abs_datadir DBUS_LIBS DBUS_CFLAGS +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH PKG_CONFIG PYTHONINCLUDEDIR pkgpyexecdir @@ -883,8 +707,12 @@ FOOMATIC_DRV_INSTALL_TRUE FOOMATIC_PPD_INSTALL_FALSE FOOMATIC_PPD_INSTALL_TRUE +LIBUSB01_BUILD_FALSE +LIBUSB01_BUILD_TRUE SHADOW_BUILD_FALSE SHADOW_BUILD_TRUE +UDEV_SYSFS_RULES_FALSE +UDEV_SYSFS_RULES_TRUE UDEV_ACL_RULES_FALSE UDEV_ACL_RULES_TRUE FAX_BUILD_FALSE @@ -915,18 +743,25 @@ DOC_BUILD_TRUE DARWIN_BUILD_FALSE DARWIN_BUILD_TRUE -LIBTOOL -ac_ct_F77 -FFLAGS -F77 CXXCPP CPP +OTOOL64 +OTOOL +LIPO NMEDIT DSYMUTIL +MANIFEST_TOOL RANLIB +ac_ct_AR AR -ECHO +DLLTOOL +OBJDUMP LN_S +NM +ac_ct_DUMPBIN +DUMPBIN +LD +FGREP EGREP GREP SED @@ -938,6 +773,7 @@ build_vendor build_cpu build +LIBTOOL am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE @@ -1013,6 +849,7 @@ program_transform_name prefix exec_prefix +PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION @@ -1026,11 +863,11 @@ enable_static enable_dependency_tracking enable_shared +with_pic enable_fast_install with_gnu_ld +with_sysroot enable_libtool_lock -with_pic -with_tags enable_doc_build enable_hpijs_only_build enable_lite_build @@ -1046,7 +883,9 @@ enable_dbus_build enable_cups11_build enable_udev_acl_rules +enable_udev_sysfs_rules enable_shadow_build +enable_libusb01_build with_cupsbackenddir with_cupsfilterdir with_icondir @@ -1077,11 +916,11 @@ CFLAGS CPP CXXCPP -F77 -FFLAGS PYTHON PYTHONINCLUDEDIR PKG_CONFIG +PKG_CONFIG_PATH +PKG_CONFIG_LIBDIR DBUS_CFLAGS DBUS_LIBS' @@ -1146,8 +985,9 @@ fi case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. @@ -1192,8 +1032,7 @@ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1219,8 +1058,7 @@ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1424,8 +1262,7 @@ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1441,8 +1278,7 @@ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1472,17 +1308,17 @@ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; - -*) { $as_echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; @@ -1491,7 +1327,7 @@ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac @@ -1499,15 +1335,13 @@ if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { $as_echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; - fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 - { (exit 1); exit 1; }; } ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -1530,8 +1364,7 @@ [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac - { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' @@ -1545,8 +1378,8 @@ if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi @@ -1561,11 +1394,9 @@ ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - { $as_echo "$as_me: error: working directory cannot be determined" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. @@ -1604,13 +1435,11 @@ fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 - { (exit 1); exit 1; }; } + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then @@ -1636,7 +1465,7 @@ # 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.12.2 to adapt to many kinds of systems. +\`configure' configures HP Linux Imaging and Printing 3.13.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1650,7 +1479,7 @@ --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages + -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files @@ -1706,7 +1535,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of HP Linux Imaging and Printing 3.12.2:";; + short | recursive ) echo "Configuration of HP Linux Imaging and Printing 3.13.4:";; esac cat <<\_ACEOF @@ -1729,14 +1558,16 @@ --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=no) + --enable-pp-build (**Deprecated) 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-udev_sysfs_rules Use SYSFS attribute instead of ATTR/ATTRS attribute in udev rules(default=no) --enable-shadow-build enable shadow build (default=no) + --enable-libusb01_build Use libusb-0.1 instead of libusb-1.0 (default=no. i.e. libusb-1.0) --enable-foomatic-ppd-install enable foomatic static ppd install (default=no), uses 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 @@ -1749,27 +1580,28 @@ Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-pic try to use only PIC/non-PIC objects [default=use both] - --with-tags[=TAGS] include additional configurations [automatic] + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-sysroot=DIR Search for dependent libraries within DIR + (or the compiler's sysroot if not specified). --with-cupsbackenddir=DIR set cups backend install directory - default=/usr/lib/cups/backend + [default=/usr/lib/cups/backend] --with-cupsfilterdir=DIR set cups filter install directory - default=/usr/lib/cups/filter + [default=/usr/lib/cups/filter] --with-icondir=DIR set hplip.desktop install directory - default=/usr/share/applications + [default=/usr/share/applications] --with-systraydir=DIR set hplip-systray.desktop install directory - default=/etc/xdg/autostart + [default=/etc/xdg/autostart] --with-hpppddir=DIR set hp ppd install directory - default=datadir/ppd/HP - --with-mimedir=DIR set cups mime.types location default=abs_mimedir + [default=datadir/ppd/HP] + --with-mimedir=DIR set cups mime.types location [default=abs_mimedir] --with-docdir=DIR set hplip documentation directory - default=datadir/doc + [default=datadir/doc] --with-drvdir=DIR set cups drv install directory - default=datadir/cups/drv/hp + [default=datadir/cups/drv/hp] Some influential environment variables: CXX C++ compiler command @@ -1777,25 +1609,27 @@ LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CC C compiler command CFLAGS C compiler flags CPP C preprocessor CXXCPP C++ preprocessor - F77 Fortran 77 compiler command - FFLAGS Fortran 77 compiler flags PYTHON Python interpreter/compiler command PYTHONINCLUDEDIR path to Python.h C header file PKG_CONFIG path to pkg-config utility + PKG_CONFIG_PATH + directories to add to pkg-config's search path + PKG_CONFIG_LIBDIR + path overriding pkg-config's built-in search path DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config DBUS_LIBS linker flags for DBUS, overriding pkg-config 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.12.2>. +Report bugs to <3.13.4>. _ACEOF ac_status=$? fi @@ -1858,80 +1692,610 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -HP Linux Imaging and Printing configure 3.12.2 -generated by GNU Autoconf 2.63 +HP Linux Imaging and Printing configure 3.13.4 +generated by GNU Autoconf 2.68 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi -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.12.2, which was -generated by GNU Autoconf 2.63. Invocation command line was +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_cxx_try_compile LINENO +# ---------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + 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:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval - $ $0 $@ +} # ac_fn_cxx_try_compile -_ACEOF -exec 5>>config.log +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () { -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + 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:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` +} # ac_fn_c_try_compile -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + 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:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + 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_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -_ASUNAME + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" -done -IFS=$as_save_IFS +} # ac_fn_c_check_header_compile -} >&5 +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + 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:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -cat >&5 <<_ACEOF + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval +} # ac_fn_c_try_cpp -## ----------- ## -## Core tests. ## -## ----------- ## +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + 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:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -_ACEOF + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* 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 $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func + +# ac_fn_cxx_try_cpp LINENO +# ------------------------ +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + 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:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_cpp + +# ac_fn_cxx_try_link LINENO +# ------------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + 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:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_link + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$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:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## --------------------- ## +## Report this to 3.13.4 ## +## --------------------- ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel + +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +# ------------------------------------------- +# Tests whether TYPE exists after having included INCLUDES, setting cache +# variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + eval "$3=yes" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_type +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.13.4, which was +generated by GNU Autoconf 2.68. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 @@ -1947,9 +2311,9 @@ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) - ac_configure_args1="$ac_configure_args1 '$ac_arg'" + as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else @@ -1965,13 +2329,13 @@ -* ) ac_must_keep_next=true ;; esac fi - ac_configure_args="$ac_configure_args '$ac_arg'" + as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there @@ -1983,11 +2347,9 @@ { echo - cat <<\_ASBOX -## ---------------- ## + $as_echo "## ---------------- ## ## Cache variables. ## -## ---------------- ## -_ASBOX +## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( @@ -1996,13 +2358,13 @@ case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) $as_unset $ac_var ;; + *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done @@ -2021,11 +2383,9 @@ ) echo - cat <<\_ASBOX -## ----------------- ## + $as_echo "## ----------------- ## ## Output variables. ## -## ----------------- ## -_ASBOX +## ----------------- ##" echo for ac_var in $ac_subst_vars do @@ -2038,11 +2398,9 @@ echo if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## + $as_echo "## ------------------- ## ## File substitutions. ## -## ------------------- ## -_ASBOX +## ------------------- ##" echo for ac_var in $ac_subst_files do @@ -2056,11 +2414,9 @@ fi if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## + $as_echo "## ----------- ## ## confdefs.h. ## -## ----------- ## -_ASBOX +## ----------- ##" echo cat confdefs.h echo @@ -2074,46 +2430,53 @@ exit $exit_status ' 0 for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h +$as_echo "/* confdefs.h */" > confdefs.h + # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF - cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF - cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF - cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF - cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then - ac_site_file1=$CONFIG_SITE + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site @@ -2124,19 +2487,23 @@ for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue - if test -r "$ac_site_file"; then - { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; @@ -2144,7 +2511,7 @@ esac fi else - { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi @@ -2159,11 +2526,11 @@ eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; @@ -2173,17 +2540,17 @@ ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else - { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi - { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac @@ -2195,43 +2562,20 @@ esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; + *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then - { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi - - - - - - - - - - - - - - - - - - - - - - - - +## -------------------- ## +## Main body of script. ## +## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -2260,9 +2604,7 @@ fi done if test -z "$ac_aux_dir"; then - { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 -$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, @@ -2288,10 +2630,10 @@ # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then +if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -2299,11 +2641,11 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. @@ -2340,7 +2682,7 @@ ;; esac -done + done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir @@ -2356,7 +2698,7 @@ INSTALL=$ac_install_sh fi fi -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. @@ -2367,7 +2709,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 @@ -2378,15 +2720,11 @@ ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) - { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 -$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} - { (exit 1); exit 1; }; };; + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 -$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} - { (exit 1); exit 1; }; };; + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; esac # Do `set' in a subshell so we don't clobber the current shell's @@ -2408,11 +2746,8 @@ # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". - { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" >&5 -$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken +alias in your environment" "$LINENO" 5 fi test "$2" = conftest.file @@ -2421,13 +2756,10 @@ # Ok. : else - { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! -Check your system clock" >&5 -$as_echo "$as_me: error: newly created file is older than distributed files! -Check your system clock" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 fi -{ $as_echo "$as_me:$LINENO: result: yes" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" @@ -2455,7 +2787,7 @@ am_missing_run="$MISSING --run " else am_missing_run= - { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi @@ -2476,9 +2808,9 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then +if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then @@ -2489,24 +2821,24 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -2516,9 +2848,9 @@ ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then @@ -2529,24 +2861,24 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -2555,7 +2887,7 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -2568,10 +2900,10 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then + if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -2579,7 +2911,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in mkdir gmkdir; do + for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( @@ -2591,11 +2923,12 @@ esac done done -done + done IFS=$as_save_IFS fi + test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else @@ -2603,11 +2936,10 @@ # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. - test -d ./--version && rmdir ./--version MKDIR_P="$ac_install_sh -d" fi fi -{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" @@ -2620,9 +2952,9 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then +if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then @@ -2633,24 +2965,24 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - { $as_echo "$as_me:$LINENO: result: $AWK" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -2658,11 +2990,11 @@ test -n "$AWK" && break done -{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF @@ -2670,7 +3002,7 @@ all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; @@ -2680,11 +3012,11 @@ rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -2704,9 +3036,7 @@ am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then - { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 -$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi @@ -2722,7 +3052,7 @@ # Define the identity of the package. PACKAGE='hplip' - VERSION='3.12.2' + VERSION='3.13.4' cat >>confdefs.h <<_ACEOF @@ -2763,7 +3093,7 @@ # Check whether --enable-static was given. -if test "${enable_static+set}" = set; then +if test "${enable_static+set}" = set; then : enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; @@ -2788,6 +3118,12 @@ + + + + + + # Checks for programs. ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -2803,9 +3139,9 @@ do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then +if ${ac_cv_prog_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then @@ -2816,24 +3152,24 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then - { $as_echo "$as_me:$LINENO: result: $CXX" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 $as_echo "$CXX" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -2847,9 +3183,9 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then +if ${ac_cv_prog_ac_ct_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then @@ -2860,24 +3196,24 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CXX="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 $as_echo "$ac_ct_CXX" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -2890,7 +3226,7 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -2901,48 +3237,31 @@ fi fi # Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 set X $ac_compile ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -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_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -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_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" 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_compiler -V >&5") 2>&5 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2958,8 +3277,8 @@ # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 -$as_echo_n "checking for C++ compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 +$as_echo_n "checking whether the C++ compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: @@ -2975,17 +3294,17 @@ done rm -f $ac_rmfiles -if { (ac_try="$ac_link_default" +if { { ac_try="$ac_link_default" 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_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, @@ -3002,7 +3321,7 @@ # certainly right. break;; *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi @@ -3021,84 +3340,41 @@ else ac_file='' fi - -{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -if test -z "$ac_file"; then - $as_echo "$as_me: failed program was:" >&5 +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: C++ compiler cannot create executables -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } +as_fn_error 77 "C++ compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } fi - +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 +$as_echo_n "checking for C++ compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 -$as_echo_n "checking whether the C++ compiler works... " >&6; } -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (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_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot run C++ compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - fi - fi -fi -{ $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } -if { (ac_try="$ac_link" +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_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with @@ -3113,32 +3389,83 @@ esac done else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } fi - -rm -f conftest$ac_cv_exeext -{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT -{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { 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:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C++ compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then +if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3150,17 +3477,17 @@ } _ACEOF rm -f conftest.o conftest.obj -if { (ac_try="$ac_compile" +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_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in @@ -3173,31 +3500,23 @@ $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } fi - rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then +if ${ac_cv_cxx_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3211,37 +3530,16 @@ return 0; } _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_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_cxx_try_compile "$LINENO"; then : ac_compiler_gnu=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no + ac_compiler_gnu=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GXX=yes @@ -3250,20 +3548,16 @@ fi ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then +if ${ac_cv_prog_cxx_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3274,35 +3568,11 @@ return 0; } _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_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CXXFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + CXXFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3313,36 +3583,12 @@ return 0; } _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_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cxx_werror_flag=$ac_save_cxx_werror_flag +else + ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3353,42 +3599,17 @@ return 0; } _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_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 $as_echo "$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS @@ -3422,7 +3643,7 @@ .PHONY: am__doit END # If we don't find an include directive, just comment out the code. -{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= @@ -3450,12 +3671,12 @@ fi -{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then +if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi @@ -3475,9 +3696,9 @@ depcc="$CXX" am_compiler_list= -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then +if ${am_cv_CXX_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then @@ -3585,7 +3806,7 @@ fi fi -{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type @@ -3608,9 +3829,9 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3621,24 +3842,24 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -3648,9 +3869,9 @@ ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -3661,24 +3882,24 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -3687,7 +3908,7 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -3701,9 +3922,9 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3714,24 +3935,24 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -3741,9 +3962,9 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3755,18 +3976,18 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then @@ -3785,10 +4006,10 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -3800,9 +4021,9 @@ do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3813,24 +4034,24 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -3844,9 +4065,9 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -3857,24 +4078,24 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -3887,7 +4108,7 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -3898,62 +4119,42 @@ fi -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -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_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -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_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" 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_compiler -V >&5") 2>&5 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then +if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3967,37 +4168,16 @@ return 0; } _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 +if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no + ac_compiler_gnu=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes @@ -4006,20 +4186,16 @@ fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then +if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4030,35 +4206,11 @@ return 0; } _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 +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4069,36 +4221,12 @@ return 0; } _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 - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_compile "$LINENO"; then : - ac_c_werror_flag=$ac_save_c_werror_flag +else + ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4109,42 +4237,17 @@ return 0; } _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 +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS @@ -4161,18 +4264,14 @@ CFLAGS= fi fi -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then +if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include @@ -4229,32 +4328,9 @@ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" - 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 + if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done @@ -4265,17 +4341,19 @@ # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) - { $as_echo "$as_me:$LINENO: result: none needed" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) - { $as_echo "$as_me:$LINENO: result: unsupported" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac +if test "x$ac_cv_prog_cc_c89" != xno; then : +fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -4285,9 +4363,9 @@ depcc="$CC" am_compiler_list= -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then +if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then @@ -4395,7 +4473,7 @@ fi fi -{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type @@ -4410,178 +4488,55 @@ fi -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; + +case `pwd` in + *\ * | *\ *) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac -done -IFS=$as_save_IFS -rm -rf conftest.one conftest.two conftest.dir -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } +macro_version='2.4' +macro_revision='1.3293' + + -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -# Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then - enableval=$enable_shared; p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_shared=yes -fi -# Check whether --enable-fast-install was given. -if test "${enable_fast_install+set}" = set; then - enableval=$enable_fast_install; p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_fast_install=yes -fi + + + +ltmain="$ac_aux_dir/ltmain.sh" + # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 -$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 -{ $as_echo "$as_me:$LINENO: checking build system type" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } -if test "${ac_cv_build+set}" = set; then +if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && - { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 -$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 -$as_echo "$as_me: error: invalid value of canonical build" >&2;} - { (exit 1); exit 1; }; };; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' @@ -4597,28 +4552,24 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -{ $as_echo "$as_me:$LINENO: checking host system type" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } -if test "${ac_cv_host+set}" = set; then +if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 -$as_echo "$as_me: error: invalid value of canonical host" >&2;} - { (exit 1); exit 1; }; };; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' @@ -4634,68 +4585,160 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac -{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 +# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 +$as_echo_n "checking how to print strings... " >&6; } +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "" +} + +case "$ECHO" in + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 +$as_echo "printf" >&6; } ;; + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 +$as_echo "print -r" >&6; } ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 +$as_echo "cat" >&6; } ;; +esac + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } -if test "${lt_cv_path_SED+set}" = set; then +if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else - # Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ + for ac_i in 1 2 3 4 5 6 7; do + ac_script="$ac_script$as_nl$ac_script" + done + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed + { ac_script=; unset ac_script;} + if test -z "$SED"; then + ac_path_SED_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for lt_ac_prog in sed gsed; do + for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" - fi + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue +# Check for GNU ac_path_SED and select it if it is found. + # Check for GNU $ac_path_SED +case `"$ac_path_SED" --version 2>&1` in +*GNU*) + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo '' >> "conftest.nl" + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_SED_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_SED="$ac_path_SED" + ac_path_SED_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_SED_found && break 3 done done -done + done IFS=$as_save_IFS -lt_ac_max=0 -lt_ac_count=0 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris -# along with /bin/sed that truncates output. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f $lt_ac_sed && continue - cat /dev/null > conftest.in - lt_ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in - # Check for GNU sed and select it if it is found. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then - lt_cv_path_SED=$lt_ac_sed - break + if test -z "$ac_cv_path_SED"; then + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi - while true; do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo >>conftest.nl - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break - cmp -s conftest.out conftest.nl || break - # 10000 chars as input seems more than enough - test $lt_ac_count -gt 10 && break - lt_ac_count=`expr $lt_ac_count + 1` - if test $lt_ac_count -gt $lt_ac_max; then - lt_ac_max=$lt_ac_count - lt_cv_path_SED=$lt_ac_sed - fi - done -done +else + ac_cv_path_SED=$SED +fi fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 +$as_echo "$ac_cv_path_SED" >&6; } + SED="$ac_cv_path_SED" + rm -f conftest.sed + +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" -SED=$lt_cv_path_SED -{ $as_echo "$as_me:$LINENO: result: $SED" >&5 -$as_echo "$SED" >&6; } -{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then +if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then @@ -4706,7 +4749,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do + for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue @@ -4726,7 +4769,7 @@ $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` + as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" @@ -4741,26 +4784,24 @@ $ac_path_GREP_found && break 3 done done -done + done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" -{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then +if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 @@ -4774,7 +4815,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do + for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue @@ -4794,7 +4835,7 @@ $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` + as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" @@ -4809,12 +4850,10 @@ $ac_path_EGREP_found && break 3 done done -done + done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP @@ -4822,40 +4861,126 @@ fi fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 +$as_echo_n "checking for fgrep... " >&6; } +if ${ac_cv_path_FGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 + then ac_cv_path_FGREP="$GREP -F" + else + if test -z "$FGREP"; then + ac_path_FGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in fgrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue +# Check for GNU ac_path_FGREP and select it if it is found. + # Check for GNU $ac_path_FGREP +case `"$ac_path_FGREP" --version 2>&1` in +*GNU*) + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'FGREP' >> "conftest.nl" + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_FGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_FGREP="$ac_path_FGREP" + ac_path_FGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes + $ac_path_FGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_FGREP"; then + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi else - with_gnu_ld=no + ac_cv_path_FGREP=$FGREP fi -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` - done + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 +$as_echo "$ac_cv_path_FGREP" >&6; } + FGREP="$ac_cv_path_FGREP" + + +test -z "$GREP" && GREP=grep + + + + + + + + + + + + + + + + + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done test -z "$LD" && LD="$ac_prog" ;; "") @@ -4868,13 +4993,13 @@ ;; esac elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else - { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi -if test "${lt_cv_path_LD+set}" = set; then +if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then @@ -4905,18 +5030,16 @@ LD="$lt_cv_path_LD" if test -n "$LD"; then - { $as_echo "$as_me:$LINENO: result: $LD" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 $as_echo "$LD" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi -test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 -$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} - { (exit 1); exit 1; }; } -{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then +if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. @@ -4929,39 +5052,21 @@ ;; esac fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld -{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 -$as_echo_n "checking for $LD option to reload object files... " >&6; } -if test "${lt_cv_ld_reload_flag+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_reload_flag='-r' -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 -$as_echo "$lt_cv_ld_reload_flag" >&6; } -reload_flag=$lt_cv_ld_reload_flag -case $reload_flag in -"" | " "*) ;; -*) reload_flag=" $reload_flag" ;; -esac -reload_cmds='$LD$reload_flag -o $output$reload_objs' -case $host_os in - darwin*) - if test "$GCC" = yes; then - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' - else - reload_cmds='$LD$reload_flag -o $output$reload_objs' - fi - ;; -esac -{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 -$as_echo_n "checking for BSD-compatible nm... " >&6; } -if test "${lt_cv_path_NM+set}" = set; then + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } +if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NM"; then @@ -5005,2102 +5110,1247 @@ done IFS="$lt_save_ifs" done - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm + : ${lt_cv_path_NM=no} fi fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } -NM="$lt_cv_path_NM" +if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + if test -n "$ac_tool_prefix"; then + for ac_prog in dumpbin "link -dump" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DUMPBIN"; then + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS -{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 -$as_echo_n "checking whether ln -s works... " >&6; } -LN_S=$as_ln_s -if test "$LN_S" = "ln -s"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } +fi +fi +DUMPBIN=$ac_cv_prog_DUMPBIN +if test -n "$DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 +$as_echo "$DUMPBIN" >&6; } else - { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 -$as_echo "no, using $LN_S" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 -$as_echo_n "checking how to recognize dependent libraries... " >&6; } -if test "${lt_cv_deplibs_check_method+set}" = set; then + + test -n "$DUMPBIN" && break + done +fi +if test -z "$DUMPBIN"; then + ac_ct_DUMPBIN=$DUMPBIN + for ac_prog in dumpbin "link -dump" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given extended regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix[4-9]*) - lt_cv_deplibs_check_method=pass_all - ;; + if test -n "$ac_ct_DUMPBIN"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS -beos*) - lt_cv_deplibs_check_method=pass_all - ;; +fi +fi +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN +if test -n "$ac_ct_DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 +$as_echo "$ac_ct_DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -bsdi[45]*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so - ;; -cygwin*) - # func_win32_libid is a shell function defined in ltmain.sh - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - ;; + test -n "$ac_ct_DUMPBIN" && break +done -mingw* | pw32*) - # Base MSYS/MinGW do not provide the 'file' command needed by - # func_win32_libid shell function, so use a weaker test based on 'objdump', - # unless we find 'file', for example because we are cross-compiling. - if ( file / ) >/dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' + if test "x$ac_ct_DUMPBIN" = x; then + DUMPBIN=":" else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DUMPBIN=$ac_ct_DUMPBIN fi - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; +fi -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: ;; esac - else - lt_cv_deplibs_check_method=pass_all fi - ;; -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix[3-9]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' - ;; + if test "$DUMPBIN" != ":"; then + NM="$DUMPBIN" + fi +fi +test -z "$NM" && NM=nm -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; -# This must be Linux ELF. -linux* | k*bsd*-gnu) - lt_cv_deplibs_check_method=pass_all - ;; -netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' - fi - ;; -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; -nto-qnx*) - lt_cv_deplibs_check_method=unknown - ;; -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 +$as_echo_n "checking the name lister ($NM) interface... " >&6; } +if ${lt_cv_nm_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: output\"" >&5) + cat conftest.out >&5 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" fi - ;; + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 +$as_echo "$lt_cv_nm_interface" >&6; } -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi -rdos*) - lt_cv_deplibs_check_method=pass_all - ;; +# find the maximum length of command line arguments +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +$as_echo_n "checking the maximum length of command line arguments... " >&6; } +if ${lt_cv_sys_max_cmd_len+:} false; then : + $as_echo_n "(cached) " >&6 +else + i=0 + teststring="ABCD" -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; ;; - ncr) - lt_cv_deplibs_check_method=pass_all + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; ;; - siemens) - lt_cv_deplibs_check_method=pass_all + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; - pc) - lt_cv_deplibs_check_method=pass_all + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi ;; esac - ;; -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; -esac +fi +if test -n $lt_cv_sys_max_cmd_len ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 +$as_echo "none" >&6; } fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 -$as_echo "$lt_cv_deplibs_check_method" >&6; } -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown +max_cmd_len=$lt_cv_sys_max_cmd_len -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} -# Allow CC to be a program name with arguments. -compiler=$CC +: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 +$as_echo "$xsi_shell" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } +lt_shell_append=no +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 +$as_echo "$lt_shell_append" >&6; } -# Check whether --enable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval=$enable_libtool_lock; +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false fi -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* + + + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 5262 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' ;; +esac -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -s390*-*linux*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - libsuff=64 - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -$as_echo_n "checking whether the C compiler needs -belf... " >&6; } -if test "${lt_cv_cc_needs_belf+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -int -main () -{ - ; - 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 - lt_cv_cc_needs_belf=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - lt_cv_cc_needs_belf=no -fi -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -$as_echo "$lt_cv_cc_needs_belf" >&6; } - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; - *) - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then - LD="${LD-ld} -64" - fi - ;; - esac - ;; + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 +$as_echo_n "checking how to convert $build file names to $host format... " >&6; } +if ${lt_cv_to_host_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; esac - fi - rm -rf conftest* - ;; + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac +fi -esac +to_host_file_cmd=$lt_cv_to_host_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 +$as_echo "$lt_cv_to_host_file_cmd" >&6; } -need_locks="$enable_libtool_lock" -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } +if ${lt_cv_to_tool_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; + #assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; 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 - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - # Broken: fails on valid input. -continue fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_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 - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 +$as_echo "$lt_cv_to_tool_file_cmd" >&6; } - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - done - ac_cv_prog_CPP=$CPP -fi - CPP=$ac_cv_prog_CPP +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +$as_echo_n "checking for $LD option to reload object files... " >&6; } +if ${lt_cv_ld_reload_flag+:} false; then : + $as_echo_n "(cached) " >&6 else - ac_cv_prog_CPP=$CPP + lt_cv_ld_reload_flag='-r' fi -{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 +$as_echo "$lt_cv_ld_reload_flag" >&6; } +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; 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 - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_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 - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - : -else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_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_cv_header_stdc=yes + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS - ac_cv_header_stdc=no +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 +$as_echo "$OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then - : +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 else - ac_cv_header_stdc=no -fi -rm -f conftest* + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJDUMP="objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 +$as_echo "$ac_ct_OBJDUMP" >&6; } else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -rm -f 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>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; + if test "x$ac_ct_OBJDUMP" = x; then + OBJDUMP="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : + OBJDUMP=$ac_ct_OBJDUMP + fi else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_header_stdc=no -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext + OBJDUMP="$ac_cv_prog_OBJDUMP" fi +test -z "$OBJDUMP" && OBJDUMP=objdump -fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then -cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 -_ACEOF -fi -# On IRIX 5.3, sys/types and inttypes.h are conflicting. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 +$as_echo_n "checking how to recognize dependent libraries... " >&6; } +if ${lt_cv_deplibs_check_method+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. +case $host_os in +aix[4-9]*) + lt_cv_deplibs_check_method=pass_all + ;; +beos*) + lt_cv_deplibs_check_method=pass_all + ;; +bsdi[45]*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ $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 - 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 +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; -#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 - eval "$as_ac_Header=yes" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; - eval "$as_ac_Header=no" -fi +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -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; } -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 +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; -fi +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; -done +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; -for ac_header in dlfcn.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 +interix[3-9]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' + ;; - ac_header_compiler=no -fi +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; -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; } +# This must be Linux ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; -# 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 +netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + fi + ;; - ac_header_preproc=no -fi +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; -# 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 +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; - 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.12.2 ## -## --------------------- ## -_ASBOX - ) | sed "s/^/$as_me: WARNING: /" >&2 + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 +$as_echo "$lt_cv_deplibs_check_method" >&6; } +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` + fi + ;; + esac fi -done +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } -if test -z "$CXXCPP"; then - if test "${ac_cv_prog_CXXCPP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_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_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_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_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - done - ac_cv_prog_CXXCPP=$CXXCPP -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_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_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_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_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - : -else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -fi -ac_ext=f -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_f77_compiler_gnu if test -n "$ac_tool_prefix"; then - for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_F77+set}" = set; then +if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$F77"; then - ac_cv_prog_F77="$F77" # Let the user override the test. + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_F77="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi -F77=$ac_cv_prog_F77 -if test -n "$F77"; then - { $as_echo "$as_me:$LINENO: result: $F77" >&5 -$as_echo "$F77" >&6; } +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +$as_echo "$DLLTOOL" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - test -n "$F77" && break - done fi -if test -z "$F77"; then - ac_ct_F77=$F77 - for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_F77+set}" = set; then +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$ac_ct_F77"; then - ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_F77="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + ac_cv_prog_ac_ct_DLLTOOL="dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi -ac_ct_F77=$ac_cv_prog_ac_ct_F77 -if test -n "$ac_ct_F77"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 -$as_echo "$ac_ct_F77" >&6; } +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +$as_echo "$ac_ct_DLLTOOL" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - - test -n "$ac_ct_F77" && break -done - - if test "x$ac_ct_F77" = x; then - F77="" + if test "x$ac_ct_DLLTOOL" = x; then + DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac - F77=$ac_ct_F77 + DLLTOOL=$ac_ct_DLLTOOL fi +else + DLLTOOL="$ac_cv_prog_DLLTOOL" fi +test -z "$DLLTOOL" && DLLTOOL=dlltool -# Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -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_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -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_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -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_compiler -V >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -rm -f a.out - -# If we don't use `.F' as extension, the preprocessor is not run on the -# input file. (Note that this only needs to work for GNU compilers.) -ac_save_ext=$ac_ext -ac_ext=F -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 -$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } -if test "${ac_cv_f77_compiler_gnu+set}" = set; then + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 +$as_echo_n "checking how to associate runtime and link libraries... " >&6; } +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF - program main -#ifndef __GNUC__ - choke me -#endif + lt_cv_sharedlib_from_linklib_cmd='unknown' - end -_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;; +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; 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_f77_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - ac_compiler_gnu=no fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_f77_compiler_gnu=$ac_compiler_gnu -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 -$as_echo "$ac_cv_f77_compiler_gnu" >&6; } -ac_ext=$ac_save_ext -ac_test_FFLAGS=${FFLAGS+set} -ac_save_FFLAGS=$FFLAGS -FFLAGS= -{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 -$as_echo_n "checking whether $F77 accepts -g... " >&6; } -if test "${ac_cv_prog_f77_g+set}" = set; then + + + + + + +if test -n "$ac_tool_prefix"; then + for ac_prog in ar + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else - FFLAGS=-g -cat >conftest.$ac_ext <<_ACEOF - program main - - end -_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_f77_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_f77_g=yes + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS - ac_cv_prog_f77_g=no +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test -n "$AR" && break + done fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 -$as_echo "$ac_cv_prog_f77_g" >&6; } -if test "$ac_test_FFLAGS" = set; then - FFLAGS=$ac_save_FFLAGS -elif test $ac_cv_prog_f77_g = yes; then - if test "x$ac_cv_f77_compiler_gnu" = xyes; then - FFLAGS="-g -O2" - else - FFLAGS="-g" +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } else - if test "x$ac_cv_f77_compiler_gnu" = xyes; then - FFLAGS="-O2" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" else - FFLAGS= + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR fi fi -if test $ac_compiler_gnu = yes; then - G77=yes -else - G77= -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +: ${AR=ar} +: ${AR_FLAGS=cru} -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! -# find the maximum length of command line arguments -{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 -$as_echo_n "checking the maximum length of command line arguments... " >&6; } -if test "${lt_cv_sys_max_cmd_len+set}" = set; then + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +$as_echo_n "checking for archiver @FILE support... " >&6; } +if ${lt_cv_ar_at_file+:} false; then : $as_echo_n "(cached) " >&6 else - i=0 - teststring="ABCD" + lt_cv_ar_at_file=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; +int +main () +{ - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a - cygwin* | mingw*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 +$as_echo "$lt_cv_ar_at_file" >&6; } - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ - = "XX$teststring") >/dev/null 2>&1 && - new_result=`expr "X$teststring" : ".*" 2>&1` && - lt_cv_sys_max_cmd_len=$new_result && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - teststring= - # Add a significant safety factor because C++ compilers can tack on massive - # amounts of additional arguments before passing them to the linker. - # It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac - -fi - -if test -n $lt_cv_sys_max_cmd_len ; then - { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 -$as_echo "$lt_cv_sys_max_cmd_len" >&6; } -else - { $as_echo "$as_me:$LINENO: result: none" >&5 -$as_echo "none" >&6; } -fi -# Check for command to grab the raw symbol name followed by C symbol from nm. -{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 -$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' - ;; -cygwin* | mingw* | pw32*) - symcode='[ABCDGISTW]' - ;; -hpux*) # Its linker distinguishes data from code symbols - if test "$host_cpu" = ia64; then - symcode='[ABCDEGRST]' - fi - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -linux* | k*bsd*-gnu) - if test "$host_cpu" = ia64; then - symcode='[ABCDGIRSTW]' - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris*) - symcode='[BDRT]' - ;; -sco3.2v5*) - symcode='[DT]' - ;; -sysv4.2uw2*) - symcode='[DT]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[ABDT]' - ;; -sysv4) - symcode='[DFNSTU]' - ;; -esac - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[ABCDGIRSTW]' ;; -esac - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext <&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Now try to grab the symbols. - nlist=conftest.nm - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if grep ' nm_test_var$' "$nlist" >/dev/null; then - if grep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr_t void * -#else -# define lt_ptr_t char * -# define const -#endif +done + done +IFS=$as_save_IFS -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr_t address; -} -lt_preloaded_symbols[] = -{ -EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr_t) 0} -}; +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -rf conftest* conftst* - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi done + done +IFS=$as_save_IFS fi - -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - { $as_echo "$as_me:$LINENO: result: failed" >&5 -$as_echo "failed" >&6; } +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } else - { $as_echo "$as_me:$LINENO: result: ok" >&5 -$as_echo "ok" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 -$as_echo_n "checking for objdir... " >&6; } -if test "${lt_cv_objdir+set}" = set; then - $as_echo_n "(cached) " >&6 -else - rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null + STRIP="$ac_cv_prog_STRIP" fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 -$as_echo "$lt_cv_objdir" >&6; } -objdir=$lt_cv_objdir +test -z "$STRIP" && STRIP=: -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e 1s/^X//' -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Constants: -rm="rm -f" - -# Global variables: -default_ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. -set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AR+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AR="${ac_tool_prefix}ar" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:$LINENO: result: $AR" >&5 -$as_echo "$AR" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AR"; then - ac_ct_AR=$AR - # Extract the first word of "ar", so it can be a program name with args. -set dummy ar; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_AR="ar" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_AR=$ac_cv_prog_ac_ct_AR -if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - if test "x$ac_ct_AR" = x; then - AR="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - AR=$ac_ct_AR - fi -else - AR="$ac_cv_prog_AR" -fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_RANLIB+set}" = set; then +if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then @@ -7111,24 +6361,24 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -7138,9 +6388,9 @@ ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then @@ -7151,24 +6401,24 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -7177,7 +6427,7 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -7187,119 +6437,12 @@ RANLIB="$ac_cv_prog_RANLIB" fi -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS +test -z "$RANLIB" && RANLIB=: -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi -old_CC="$CC" -old_CFLAGS="$CFLAGS" -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$SED" && SED=sed -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' @@ -7318,502 +6461,49 @@ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $MAGIC_CMD in -[\\/*] | ?:[\\/]*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <&2 -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org -EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac -fi -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - { $as_echo "$as_me:$LINENO: checking for file" >&5 -$as_echo_n "checking for file... " >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $MAGIC_CMD in -[\\/*] | ?:[\\/]*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <&2 -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org -EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac -fi -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - else - MAGIC_CMD=: - fi -fi - fi - ;; -esac - case $host_os in - rhapsody* | darwin*) - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. -set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DSYMUTIL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$DSYMUTIL"; then - ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS -fi -fi -DSYMUTIL=$ac_cv_prog_DSYMUTIL -if test -n "$DSYMUTIL"; then - { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 -$as_echo "$DSYMUTIL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi -fi -if test -z "$ac_cv_prog_DSYMUTIL"; then - ac_ct_DSYMUTIL=$DSYMUTIL - # Extract the first word of "dsymutil", so it can be a program name with args. -set dummy dsymutil; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DSYMUTIL"; then - ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS -fi -fi -ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL -if test -n "$ac_ct_DSYMUTIL"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 -$as_echo "$ac_ct_DSYMUTIL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - if test "x$ac_ct_DSYMUTIL" = x; then - DSYMUTIL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DSYMUTIL=$ac_ct_DSYMUTIL - fi -else - DSYMUTIL="$ac_cv_prog_DSYMUTIL" -fi - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. -set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_NMEDIT+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$NMEDIT"; then - ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS -fi -fi -NMEDIT=$ac_cv_prog_NMEDIT -if test -n "$NMEDIT"; then - { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 -$as_echo "$NMEDIT" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi -fi -if test -z "$ac_cv_prog_NMEDIT"; then - ac_ct_NMEDIT=$NMEDIT - # Extract the first word of "nmedit", so it can be a program name with args. -set dummy nmedit; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_NMEDIT"; then - ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_NMEDIT="nmedit" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS -fi -fi -ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT -if test -n "$ac_ct_NMEDIT"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 -$as_echo "$ac_ct_NMEDIT" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - if test "x$ac_ct_NMEDIT" = x; then - NMEDIT=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - NMEDIT=$ac_ct_NMEDIT - fi -else - NMEDIT="$ac_cv_prog_NMEDIT" -fi - { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 -$as_echo_n "checking for -single_module linker flag... " >&6; } -if test "${lt_cv_apple_cc_single_mod+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_apple_cc_single_mod=no - if test -z "${LT_MULTI_MODULE}"; then - # By default we will add the -single_module flag. You can override - # by either setting the environment variable LT_MULTI_MODULE - # non-empty at configure time, or by adding -multi_module to the - # link flags. - echo "int foo(void){return 1;}" > conftest.c - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ - -dynamiclib ${wl}-single_module conftest.c - if test -f libconftest.dylib; then - lt_cv_apple_cc_single_mod=yes - rm -rf libconftest.dylib* - fi - rm conftest.c - fi -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 -$as_echo "$lt_cv_apple_cc_single_mod" >&6; } - { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 -$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -if test "${lt_cv_ld_exported_symbols_list+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_exported_symbols_list=no - save_LDFLAGS=$LDFLAGS - echo "_main" > conftest.sym - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -int -main () -{ - - ; - 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 - lt_cv_ld_exported_symbols_list=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - lt_cv_ld_exported_symbols_list=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 -$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } - case $host_os in - rhapsody* | darwin1.[0123]) - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; - darwin1.*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - darwin*) - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[91]*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - 10.[012]*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - esac - ;; - esac - if test "$lt_cv_apple_cc_single_mod" = "yes"; then - _lt_dar_single_mod='$single_module' - fi - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' - else - _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" - fi - if test "$DSYMUTIL" != ":"; then - _lt_dsymutil="~$DSYMUTIL \$lib || :" - else - _lt_dsymutil= - fi - ;; - esac -enable_dlopen=no -enable_win32_dll=no -# Check whether --enable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval=$enable_libtool_lock; -fi - -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - - -# Check whether --with-pic was given. -if test "${with_pic+set}" = set; then - withval=$with_pic; pic_mode="$withval" -else - pic_mode=default -fi -test -z "$pic_mode" && pic_mode=default -# Use C for the default configuration in the libtool script -tagname= -lt_save_CC="$CC" -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -# Source file extension for C test sources. -ac_ext=c -# Object file extension for compiled C test sources. -objext=o -objext=$objext -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' # If no C compiler was specified, use CC. @@ -7826,6698 +6516,1923 @@ compiler=$CC -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* +# Check for command to grab the raw symbol name followed by C symbol from nm. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } +if ${lt_cv_sys_global_symbol_pipe+:} false; then : + $as_echo_n "(cached) " >&6 +else -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm -r conftest* +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' -lt_prog_compiler_no_builtin_flag= +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[ABCDGISTW]' + ;; +hpux*) + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris*) + symcode='[BDRT]' + ;; +sco3.2v5*) + symcode='[DT]' + ;; +sysv4.2uw2*) + symcode='[DT]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[ABDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac -if test "$GCC" = yes; then - lt_prog_compiler_no_builtin_flag=' -fno-builtin' +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGIRSTW]' ;; +esac +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" -{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_rtti_exceptions=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="-fno-rtti -fno-exceptions" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -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:7868: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:7872: \$? = $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. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_rtti_exceptions=yes - fi - fi - $rm conftest* +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" -else - : -fi +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do -fi + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" -lt_prog_compiler_wl= -lt_prog_compiler_pic= -lt_prog_compiler_static= + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function + # and D for any global variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK '"\ +" {last_section=section; section=\$ 3};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" -{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } + # Check to see that the pipe works correctly. + pipe_works=no - if test "$GCC" = yes; then - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_static='-static' + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T fi - ;; - - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic='-DDLL_EXPORT' - ;; +#ifdef __cplusplus +extern "C" { +#endif - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic='-fno-common' - ;; +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; + cat <<_LT_EOF >> conftest.$ac_ext - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - lt_prog_compiler_can_build_shared=no - enable_shared=no - ;; +/* The mapping between symbol names and symbols. */ +LT_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic=-Kconform_pic - fi - ;; +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - ;; - - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - lt_prog_compiler_wl='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&5 + fi else - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + echo "cannot find nm_test_var in $nlist" >&5 fi - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - lt_prog_compiler_pic='-qnocommon' - lt_prog_compiler_wl='-Wl,' - ;; - esac - ;; + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_prog_compiler_pic='-DDLL_EXPORT' - ;; + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done - hpux9* | hpux10* | hpux11*) - lt_prog_compiler_wl='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - lt_prog_compiler_static='${wl}-a ${wl}archive' - ;; +fi - irix5* | irix6* | nonstopux*) - lt_prog_compiler_wl='-Wl,' - # PIC (with -KPIC) is the default. - lt_prog_compiler_static='-non_shared' - ;; +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +$as_echo "failed" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } +fi - newsos6) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then + nm_file_list_spec='@' +fi - linux* | k*bsd*-gnu) - case $cc_basename in - icc* | ecc*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fpic' - lt_prog_compiler_static='-Bstatic' - ;; - ccc*) - lt_prog_compiler_wl='-Wl,' - # All Alpha code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='' - ;; - esac - ;; - esac - ;; - osf3* | osf4* | osf5*) - lt_prog_compiler_wl='-Wl,' - # All OSF/1 code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - rdos*) - lt_prog_compiler_static='-non_shared' - ;; - solaris*) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - lt_prog_compiler_wl='-Qoption ld ';; - *) - lt_prog_compiler_wl='-Wl,';; - esac - ;; - sunos4*) - lt_prog_compiler_wl='-Qoption ld ' - lt_prog_compiler_pic='-PIC' - lt_prog_compiler_static='-Bstatic' - ;; - sysv4 | sysv4.2uw2* | sysv4.3*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - sysv4*MP*) - if test -d /usr/nec ;then - lt_prog_compiler_pic='-Kconform_pic' - lt_prog_compiler_static='-Bstatic' - fi - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - unicos*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_can_build_shared=no - ;; - uts4*) - lt_prog_compiler_pic='-pic' - lt_prog_compiler_static='-Bstatic' - ;; - *) - lt_prog_compiler_can_build_shared=no - ;; - esac - fi -{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 -$as_echo "$lt_prog_compiler_pic" >&6; } -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic"; then -{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -if test "${lt_cv_prog_compiler_pic_works+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic_works=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic -DPIC" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -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:8158: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:8162: \$? = $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. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works=yes - fi - fi - $rm conftest* -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } -if test x"$lt_cv_prog_compiler_pic_works" = xyes; then - case $lt_prog_compiler_pic in - "" | " "*) ;; - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; - esac + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +$as_echo_n "checking for sysroot... " >&6; } + +# Check whether --with-sysroot was given. +if test "${with_sysroot+set}" = set; then : + withval=$with_sysroot; else - lt_prog_compiler_pic= - lt_prog_compiler_can_build_shared=no + with_sysroot=no fi -fi -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic= - ;; - *) - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" - ;; + +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 +$as_echo "${with_sysroot}" >&6; } + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 + ;; esac -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if test "${lt_cv_prog_compiler_static_works+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works=yes - fi - else - lt_cv_prog_compiler_static_works=yes - fi - fi - $rm -r conftest* - LDFLAGS="$save_LDFLAGS" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +$as_echo "${lt_sysroot:-no}" >&6; } + + + + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 -$as_echo "$lt_cv_prog_compiler_static_works" >&6; } -if test x"$lt_cv_prog_compiler_static_works" = xyes; then - : +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; } +if ${lt_cv_cc_needs_belf+:} false; then : + $as_echo_n "(cached) " >&6 else - lt_prog_compiler_static= + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_cc_needs_belf=yes +else + lt_cv_cc_needs_belf=no fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 +$as_echo "$lt_cv_cc_needs_belf" >&6; } + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +sparc*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac +need_locks="$enable_libtool_lock" -{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o+set}" = set; then +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. +set dummy ${ac_tool_prefix}mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_prog_compiler_c_o=no - $rm -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext + if test -n "$MANIFEST_TOOL"; then + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL +if test -n "$MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 +$as_echo "$MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -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:8262: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:8266: \$? = $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 - # So say no if there are warnings - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o=yes - fi - fi - chmod u+w . 2>&5 - $rm conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out - cd .. - rmdir conftest - $rm conftest* fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL + # Extract the first word of "mt", so it can be a program name with args. +set dummy mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_MANIFEST_TOOL"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS +fi +fi +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL +if test -n "$ac_ct_MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } - if test "$hard_links" = no; then - { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn + if test "x$ac_ct_MANIFEST_TOOL" = x; then + MANIFEST_TOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL fi else - need_locks=no + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" fi -{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } +if ${lt_cv_path_mainfest_tool+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&5 + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 +$as_echo "$lt_cv_path_mainfest_tool" >&6; } +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi - runpath_var= - allow_undefined_flag= - enable_shared_with_static_runtimes=no - archive_cmds= - archive_expsym_cmds= - old_archive_From_new_cmds= - old_archive_from_expsyms_cmds= - export_dynamic_flag_spec= - whole_archive_flag_spec= - thread_safe_flag_spec= - hardcode_libdir_flag_spec= - hardcode_libdir_flag_spec_ld= - hardcode_libdir_separator= - hardcode_direct=no - hardcode_minus_L=no - hardcode_shlibpath_var=unsupported - link_all_deplibs=unknown - hardcode_automatic=no - module_cmds= - module_expsym_cmds= - always_export_symbols=no - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - include_expsyms= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - # Exclude shared library initialization/finalization symbols. - extract_expsyms_cmds= - # Just being paranoid about ensuring that cc_basename is set. - for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - case $host_os in - cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - ld_shlibs=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - supports_anon_versioning=no - case `$LD -v 2>/dev/null` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - # See if GNU ld supports shared libraries. - case $host_os in - aix[3-9]*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - ld_shlibs=no - cat <&2 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. -EOF - fi - ;; + case $host_os in + rhapsody* | darwin*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DSYMUTIL"; then + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes +fi +fi +DSYMUTIL=$ac_cv_prog_DSYMUTIL +if test -n "$DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 +$as_echo "$DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can't use - # them. - ld_shlibs=no - ;; - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; +fi +if test -z "$ac_cv_prog_DSYMUTIL"; then + ac_ct_DSYMUTIL=$DSYMUTIL + # Extract the first word of "dsymutil", so it can be a program name with args. +set dummy dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DSYMUTIL"; then + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=no - enable_shared_with_static_runtimes=yes - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' +fi +fi +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL +if test -n "$ac_ct_DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 +$as_echo "$ac_ct_DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs=no - fi - ;; + if test "x$ac_ct_DSYMUTIL" = x; then + DSYMUTIL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DSYMUTIL=$ac_ct_DSYMUTIL + fi +else + DSYMUTIL="$ac_cv_prog_DSYMUTIL" +fi - interix[3-9]*) - hardcode_direct=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NMEDIT"; then + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS - gnu* | linux* | k*bsd*-gnu) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_addflag= - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - *) - tmp_sharedflag='-shared' ;; - esac - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' +fi +fi +NMEDIT=$ac_cv_prog_NMEDIT +if test -n "$NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 +$as_echo "$NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi - if test $supports_anon_versioning = yes; then - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - else - ld_shlibs=no - fi - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 +fi +if test -z "$ac_cv_prog_NMEDIT"; then + ac_ct_NMEDIT=$NMEDIT + # Extract the first word of "nmedit", so it can be a program name with args. +set dummy nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NMEDIT"; then + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_NMEDIT="nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. +fi +fi +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT +if test -n "$ac_ct_NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 +$as_echo "$ac_ct_NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -EOF - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; + if test "x$ac_ct_NMEDIT" = x; then + NMEDIT=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NMEDIT=$ac_ct_NMEDIT + fi +else + NMEDIT="$ac_cv_prog_NMEDIT" +fi - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) - ld_shlibs=no - cat <<_LT_EOF 1>&2 + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. +set dummy ${ac_tool_prefix}lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LIPO"; then + ac_cv_prog_LIPO="$LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_LIPO="${ac_tool_prefix}lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. +fi +fi +LIPO=$ac_cv_prog_LIPO +if test -n "$LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 +$as_echo "$LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -_LT_EOF - ;; - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - ;; - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +fi +if test -z "$ac_cv_prog_LIPO"; then + ac_ct_LIPO=$LIPO + # Extract the first word of "lipo", so it can be a program name with args. +set dummy lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_LIPO"; then + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_LIPO="lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac +fi +fi +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO +if test -n "$ac_ct_LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 +$as_echo "$ac_ct_LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi - if test "$ld_shlibs" = no; then - runpath_var= - hardcode_libdir_flag_spec= - export_dynamic_flag_spec= - whole_archive_flag_spec= - fi + if test "x$ac_ct_LIPO" = x; then + LIPO=":" else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; - - aix[4-9]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + LIPO=$ac_ct_LIPO + fi +else + LIPO="$ac_cv_prog_LIPO" +fi - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL"; then + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OTOOL="${ac_tool_prefix}otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS - archive_cmds='' - hardcode_direct=yes - hardcode_libdir_separator=':' - link_all_deplibs=yes +fi +fi +OTOOL=$ac_cv_prog_OTOOL +if test -n "$OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 +$as_echo "$OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - 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 - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi +if test -z "$ac_cv_prog_OTOOL"; then + ac_ct_OTOOL=$OTOOL + # Extract the first word of "otool", so it can be a program name with args. +set dummy otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - 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 - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi + if test -n "$ac_ct_OTOOL"; then + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag=' ${wl}-bernotok' - allow_undefined_flag=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec='$convenience' - archive_cmds_need_lc=yes - # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; - - bsdi[45]*) - export_dynamic_flag_spec=-rdynamic - ;; - - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_From_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - enable_shared_with_static_runtimes=yes - ;; - - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[012]) - allow_undefined_flag='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[012]) - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - archive_cmds_need_lc=no - hardcode_direct=no - hardcode_automatic=yes - hardcode_shlibpath_var=unsupported - whole_archive_flag_spec='' - link_all_deplibs=yes - if test "$GCC" = yes ; then - output_verbose_link_cmd='echo' - archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - ld_shlibs=no - ;; - esac - fi - ;; - - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - freebsd1*) - ld_shlibs=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - hpux9*) - if test "$GCC" = yes; then - archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - export_dynamic_flag_spec='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - - hardcode_direct=yes - export_dynamic_flag_spec='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - - case $host_cpu in - hppa*64*|ia64*) - hardcode_libdir_flag_spec_ld='+b $libdir' - hardcode_direct=no - hardcode_shlibpath_var=no - ;; - *) - hardcode_direct=yes - export_dynamic_flag_spec='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_ld='-rpath $libdir' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case $host_os in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - else - ld_shlibs=no - fi - ;; - - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' - - # Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; - - solaris*) - no_undefined_flag=' -z text' - if test "$GCC" = yes; then - wlarc='${wl}' - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' - else - wlarc='' - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' - fi - ;; - esac - link_all_deplibs=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag='${wl}-z,text' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag='${wl}-z,text' - allow_undefined_flag='${wl}-z,nodefs' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - hardcode_libdir_separator=':' - link_all_deplibs=yes - export_dynamic_flag_spec='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - *) - ld_shlibs=no - ;; - esac - fi - -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 -$as_echo "$ld_shlibs" >&6; } -test "$ld_shlibs" = no && can_build_shared=no - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $rm conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl - pic_flag=$lt_prog_compiler_pic - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - archive_cmds_need_lc=no - else - archive_cmds_need_lc=yes - fi - allow_undefined_flag=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 -$as_echo "$archive_cmds_need_lc" >&6; } - ;; - esac - fi - ;; -esac - -{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" - -if test "$GCC" = yes; then - case $host_os in - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; - *) lt_awk_arg="/^libraries:/" ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary. - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path/$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" - else - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' -BEGIN {RS=" "; FS="/|\n";} { - lt_foo=""; - lt_count=0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo="/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[lt_foo]++; } - if (lt_freq[lt_foo] == 1) { print lt_foo; } -}'` - sys_lib_search_path_spec=`echo $lt_search_path_spec` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix[4-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[123]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[3-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -nto-qnx*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - shlibpath_overrides_runpath=no - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - shlibpath_overrides_runpath=yes - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no - -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" -fi - -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" -fi - -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var" || \ - test "X$hardcode_automatic" = "Xyes" ; then - - # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && - test "$hardcode_minus_L" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported -fi -{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 -$as_echo "$hardcode_action" >&6; } - -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - -striplib= -old_striplib= -{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 -$as_echo_n "checking whether stripping libraries is possible... " >&6; } -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" - { $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 - ;; - *) - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - ;; - esac -fi - -if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $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 dlopen (); -int -main () -{ -return dlopen (); - ; - 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_dl_dlopen=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dl_dlopen=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_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - -fi - - ;; - - *) - { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 -$as_echo_n "checking for shl_load... " >&6; } -if test "${ac_cv_func_shl_load+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define shl_load to an innocuous variant, in case declares shl_load. - For example, HP-UX 11i declares gettimeofday. */ -#define shl_load innocuous_shl_load - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char shl_load (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef shl_load - -/* 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 shl_load (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_shl_load || defined __stub___shl_load -choke me -#endif - -int -main () -{ -return shl_load (); - ; - 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_func_shl_load=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_shl_load=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 -$as_echo "$ac_cv_func_shl_load" >&6; } -if test "x$ac_cv_func_shl_load" = x""yes; then - lt_cv_dlopen="shl_load" -else - { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 -$as_echo_n "checking for shl_load in -ldld... " >&6; } -if test "${ac_cv_lib_dld_shl_load+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $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 shl_load (); -int -main () -{ -return shl_load (); - ; - 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_dld_shl_load=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dld_shl_load=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_dld_shl_load" >&5 -$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = x""yes; then - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" -else - { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 -$as_echo_n "checking for dlopen... " >&6; } -if test "${ac_cv_func_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define dlopen to an innocuous variant, in case declares dlopen. - For example, HP-UX 11i declares gettimeofday. */ -#define dlopen innocuous_dlopen - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char dlopen (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef dlopen - -/* 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 dlopen (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_dlopen || defined __stub___dlopen -choke me -#endif - -int -main () -{ -return dlopen (); - ; - 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_func_dlopen=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_dlopen=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 -$as_echo "$ac_cv_func_dlopen" >&6; } -if test "x$ac_cv_func_dlopen" = x""yes; then - lt_cv_dlopen="dlopen" -else - { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $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 dlopen (); -int -main () -{ -return dlopen (); - ; - 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_dl_dlopen=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dl_dlopen=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_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 -$as_echo_n "checking for dlopen in -lsvld... " >&6; } -if test "${ac_cv_lib_svld_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsvld $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 dlopen (); -int -main () -{ -return dlopen (); - ; - 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_svld_dlopen=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_svld_dlopen=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_svld_dlopen" >&5 -$as_echo "$ac_cv_lib_svld_dlopen" >&6; } -if test "x$ac_cv_lib_svld_dlopen" = x""yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" -else - { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 -$as_echo_n "checking for dld_link in -ldld... " >&6; } -if test "${ac_cv_lib_dld_dld_link+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $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 dld_link (); -int -main () -{ -return dld_link (); - ; - 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_dld_dld_link=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dld_dld_link=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_dld_dld_link" >&5 -$as_echo "$ac_cv_lib_dld_dld_link" >&6; } -if test "x$ac_cv_lib_dld_dld_link" = x""yes; then - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" -fi - - -fi - - -fi - - -fi - - -fi - - -fi - - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 -$as_echo_n "checking whether a program can dlopen itself... " >&6; } -if test "${lt_cv_dlopen_self+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext < -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -#ifdef __cplusplus -extern "C" void exit (int); -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - exit (status); -} -EOF - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self=no - fi -fi -rm -fr conftest* - - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 -$as_echo "$lt_cv_dlopen_self" >&6; } - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 -$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -if test "${lt_cv_dlopen_self_static+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self_static=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext < -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -#ifdef __cplusplus -extern "C" void exit (int); -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - exit (status); -} -EOF - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self_static=no - fi -fi -rm -fr conftest* - - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 -$as_echo "$lt_cv_dlopen_self_static" >&6; } - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi - - -# Report which library types will actually be built -{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -$as_echo_n "checking if libtool supports shared libraries... " >&6; } -{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 -$as_echo "$can_build_shared" >&6; } - -{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -$as_echo_n "checking whether to build shared libraries... " >&6; } -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case $host_os in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - -aix[4-9]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 -$as_echo "$enable_shared" >&6; } - -{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -$as_echo_n "checking whether to build static libraries... " >&6; } -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5 -$as_echo "$enable_static" >&6; } - -# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - compiler \ - CC \ - LD \ - lt_prog_compiler_wl \ - lt_prog_compiler_pic \ - lt_prog_compiler_static \ - lt_prog_compiler_no_builtin_flag \ - export_dynamic_flag_spec \ - thread_safe_flag_spec \ - whole_archive_flag_spec \ - enable_shared_with_static_runtimes \ - old_archive_cmds \ - old_archive_from_new_cmds \ - predep_objects \ - postdep_objects \ - predeps \ - postdeps \ - compiler_lib_search_path \ - compiler_lib_search_dirs \ - archive_cmds \ - archive_expsym_cmds \ - postinstall_cmds \ - postuninstall_cmds \ - old_archive_from_expsyms_cmds \ - allow_undefined_flag \ - no_undefined_flag \ - export_symbols_cmds \ - hardcode_libdir_flag_spec \ - hardcode_libdir_flag_spec_ld \ - hardcode_libdir_separator \ - hardcode_automatic \ - module_cmds \ - module_expsym_cmds \ - lt_cv_prog_compiler_c_o \ - fix_srcfile_path \ - exclude_expsyms \ - include_expsyms; do - - case $var in - old_archive_cmds | \ - old_archive_from_new_cmds | \ - archive_cmds | \ - archive_expsym_cmds | \ - module_cmds | \ - module_expsym_cmds | \ - old_archive_from_expsyms_cmds | \ - export_symbols_cmds | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done - - case $lt_echo in - *'\$0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` - ;; - esac - -cfgfile="${ofile}T" - trap "$rm \"$cfgfile\"; exit 1" 1 2 15 - $rm -f "$cfgfile" - { $as_echo "$as_me:$LINENO: creating $ofile" >&5 -$as_echo "$as_me: creating $ofile" >&6;} - - cat <<__EOF__ >> "$cfgfile" -#! $SHELL - -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 -# Free Software Foundation, Inc. -# -# This file is part of GNU Libtool: -# Originally by Gordon Matzigkeit , 1996 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed program that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="$SED -e 1s/^X//" - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -# The names of the tagged configurations supported by this script. -available_tags= - -# ### BEGIN LIBTOOL CONFIG - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A C compiler. -LTCC=$lt_LTCC - -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS - -# A language-specific compiler. -CC=$lt_compiler - -# Is the compiler the GNU C compiler? -with_gcc=$GCC - -# An ERE matcher. -EGREP=$lt_EGREP - -# The linker used to build libraries. -LD=$lt_LD - -# Whether we need hard or soft links. -LN_S=$lt_LN_S - -# A BSD-compatible nm program. -NM=$lt_NM - -# A symbol stripping program -STRIP=$lt_STRIP - -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD - -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" - -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" - -# Used on cygwin: assembler. -AS="$AS" - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl - -# Object file suffix (normally "o"). -objext="$ac_objext" - -# Old archive suffix (normally "a"). -libext="$libext" - -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' - -# Executable file suffix (normally ""). -exeext="$exeext" - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic -pic_mode=$pic_mode - -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec - -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec - -# Library versioning type. -version_type=$version_type - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds - -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_module_cmds -module_expsym_cmds=$lt_module_expsym_cmds - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_predep_objects - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_postdep_objects - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_predeps - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_postdeps - -# The directories searched by this compiler when creating a shared -# library -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag - -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# This is the shared library runtime path variable. -runpath_var=$runpath_var - -# This is the shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec - -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$hardcode_automatic - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs - -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path - -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms - -# ### END LIBTOOL CONFIG - -__EOF__ - - - case $host_os in - aix3*) - cat <<\EOF >> "$cfgfile" - -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -EOF - ;; - esac - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || \ - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" - -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" - fi -fi - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -CC="$lt_save_CC" - - -# Check whether --with-tags was given. -if test "${with_tags+set}" = set; then - withval=$with_tags; tagnames="$withval" -fi - - -if test -f "$ltmain" && test -n "$tagnames"; then - if test ! -f "${ofile}"; then - { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 -$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} - fi - - if test -z "$LTCC"; then - eval "`$SHELL ${ofile} --config | grep '^LTCC='`" - if test -z "$LTCC"; then - { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 -$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} - else - { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 -$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} - fi - fi - if test -z "$LTCFLAGS"; then - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" - fi - - # Extract list of available tagged configurations in $ofile. - # Note that this assumes the entire list is on one line. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` - - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for tagname in $tagnames; do - IFS="$lt_save_ifs" - # Check whether tagname contains only valid characters - case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in - "") ;; - *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 -$as_echo "$as_me: error: invalid tag name: $tagname" >&2;} - { (exit 1); exit 1; }; } - ;; - esac - - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null - then - { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 -$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} - { (exit 1); exit 1; }; } - fi - - # Update the list of available tags. - if test -n "$tagname"; then - echo appending configuration tag \"$tagname\" to $ofile - - case $tagname in - CXX) - if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - -archive_cmds_need_lc_CXX=no -allow_undefined_flag_CXX= -always_export_symbols_CXX=no -archive_expsym_cmds_CXX= -export_dynamic_flag_spec_CXX= -hardcode_direct_CXX=no -hardcode_libdir_flag_spec_CXX= -hardcode_libdir_flag_spec_ld_CXX= -hardcode_libdir_separator_CXX= -hardcode_minus_L_CXX=no -hardcode_shlibpath_var_CXX=unsupported -hardcode_automatic_CXX=no -module_cmds_CXX= -module_expsym_cmds_CXX= -link_all_deplibs_CXX=unknown -old_archive_cmds_CXX=$old_archive_cmds -no_undefined_flag_CXX= -whole_archive_flag_spec_CXX= -enable_shared_with_static_runtimes_CXX=no - -# Dependencies to place before and after the object being linked: -predep_objects_CXX= -postdep_objects_CXX= -predeps_CXX= -postdeps_CXX= -compiler_lib_search_path_CXX= -compiler_lib_search_dirs_CXX= - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -objext_CXX=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(int, char *[]) { return(0); }' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* - -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm -r conftest* - - -# Allow CC to be a program name with arguments. -lt_save_CC=$CC -lt_save_LD=$LD -lt_save_GCC=$GCC -GCC=$GXX -lt_save_with_gnu_ld=$with_gnu_ld -lt_save_path_LD=$lt_cv_path_LD -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx -else - $as_unset lt_cv_prog_gnu_ld -fi -if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX -else - $as_unset lt_cv_path_LD -fi -test -z "${LDCXX+set}" || LD=$LDCXX -CC=${CXX-"c++"} -compiler=$CC -compiler_CXX=$CC -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - -# We don't want -fno-exception wen compiling C++ code, so set the -# no_builtin_flag separately -if test "$GXX" = yes; then - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' -else - lt_prog_compiler_no_builtin_flag_CXX= -fi - -if test "$GXX" = yes; then - # Set up default GNU C++ configuration - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if test "${lt_cv_path_LD+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 -$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} - { (exit 1); exit 1; }; } -{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test "$with_gnu_ld" = yes; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='${wl}' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ - grep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec_CXX= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - -else - GXX=no - with_gnu_ld=no - wlarc= -fi - -# PORTME: fill in a description of your system's C++ link characteristics -{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } -ld_shlibs_CXX=yes -case $host_os in - aix3*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aix[4-9]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - archive_cmds_CXX='' - hardcode_direct_CXX=yes - hardcode_libdir_separator_CXX=':' - link_all_deplibs_CXX=yes - - if test "$GXX" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct_CXX=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L_CXX=yes - hardcode_libdir_flag_spec_CXX='-L$libdir' - hardcode_libdir_separator_CXX= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols_CXX=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag_CXX='-berok' - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - 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_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" - - archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag_CXX="-z nodefs" - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - 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_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag_CXX=' ${wl}-bernotok' - allow_undefined_flag_CXX=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec_CXX='$convenience' - archive_cmds_need_lc_CXX=yes - # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag_CXX=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs_CXX=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec_CXX='-L$libdir' - allow_undefined_flag_CXX=unsupported - always_export_symbols_CXX=no - enable_shared_with_static_runtimes_CXX=yes - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs_CXX=no - fi - ;; - darwin* | rhapsody*) - archive_cmds_need_lc_CXX=no - hardcode_direct_CXX=no - hardcode_automatic_CXX=yes - hardcode_shlibpath_var_CXX=unsupported - whole_archive_flag_spec_CXX='' - link_all_deplibs_CXX=yes - allow_undefined_flag_CXX="$_lt_dar_allow_undefined" - if test "$GXX" = yes ; then - output_verbose_link_cmd='echo' - archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - if test "$lt_cv_apple_cc_single_mod" != "yes"; then - archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" - archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" - fi - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - ld_shlibs_CXX=no - ;; - esac - fi - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - freebsd[12]*) - # C++ shared libraries reported to be fairly broken before switch to ELF - ld_shlibs_CXX=no - ;; - freebsd-elf*) - archive_cmds_need_lc_CXX=no - ;; - freebsd* | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - ld_shlibs_CXX=yes - ;; - gnu*) - ;; - hpux9*) - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_CXX=: - export_dynamic_flag_spec_CXX='${wl}-E' - hardcode_direct_CXX=yes - hardcode_minus_L_CXX=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aCC*) - archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - case $host_cpu in - hppa*64*|ia64*) ;; - *) - export_dynamic_flag_spec_CXX='${wl}-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - hardcode_direct_CXX=no - hardcode_shlibpath_var_CXX=no - ;; - *) - hardcode_direct_CXX=yes - hardcode_minus_L_CXX=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case $host_cpu in - hppa*64*) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - interix[3-9]*) - hardcode_direct_CXX=no - hardcode_shlibpath_var_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' - fi - fi - link_all_deplibs_CXX=yes - ;; - esac - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - - hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc*) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - archive_cmds_need_lc_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - ;; - cxx*) - # Compaq C++ - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec_CXX='-rpath $libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - no_undefined_flag_CXX=' -zdefs' - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' - hardcode_libdir_flag_spec_CXX='-R$libdir' - whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - - # Not sure whether something based on - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 - # would be better. - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' - ;; - esac - ;; - esac - ;; - lynxos*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - m88k*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - hardcode_libdir_flag_spec_CXX='-R$libdir' - hardcode_direct_CXX=yes - hardcode_shlibpath_var_CXX=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - openbsd2*) - # C++ shared libraries are fairly broken - ld_shlibs_CXX=no - ;; - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct_CXX=yes - hardcode_shlibpath_var_CXX=no - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' - export_dynamic_flag_spec_CXX='${wl}-E' - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - fi - output_verbose_link_cmd='echo' - else - ld_shlibs_CXX=no - fi - ;; - osf3*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - hardcode_libdir_separator_CXX=: - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' - - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - cxx*) - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - hardcode_libdir_separator_CXX=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - cxx*) - allow_undefined_flag_CXX=' -expect_unresolved \*' - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ - $rm $lib.exp' - - hardcode_libdir_flag_spec_CXX='-rpath $libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - psos*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - archive_cmds_need_lc_CXX=yes - no_undefined_flag_CXX=' -zdefs' - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - hardcode_libdir_flag_spec_CXX='-R$libdir' - hardcode_shlibpath_var_CXX=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. - # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' - ;; - esac - link_all_deplibs_CXX=yes - - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - no_undefined_flag_CXX=' ${wl}-z ${wl}defs' - if $CC --version | grep -v '^2\.7' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - fi - - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - ;; - esac - fi - ;; - esac - ;; - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag_CXX='${wl}-z,text' - archive_cmds_need_lc_CXX=no - hardcode_shlibpath_var_CXX=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - # So that behaviour is only enabled if SCOABSPATH is set to a - # non-empty value in the environment. Most likely only useful for - # creating official distributions of packages. - # This is a hack until libtool officially supports absolute path - # names for shared libraries. - no_undefined_flag_CXX='${wl}-z,text' - allow_undefined_flag_CXX='${wl}-z,nodefs' - archive_cmds_need_lc_CXX=no - hardcode_shlibpath_var_CXX=no - hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - hardcode_libdir_separator_CXX=':' - link_all_deplibs_CXX=yes - export_dynamic_flag_spec_CXX='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - vxworks*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 -$as_echo "$ld_shlibs_CXX" >&6; } -test "$ld_shlibs_CXX" = no && can_build_shared=no - -GCC_CXX="$GXX" -LD_CXX="$LD" - -cat > conftest.$ac_ext <&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Parse the compiler output and extract the necessary - # objects, libraries and library flags. - - # Sentinel used to keep track of whether or not we are before - # the conftest object file. - pre_test_object_deps_done=no - - # The `*' in the case matches for architectures that use `case' in - # $output_verbose_cmd can trigger glob expansion during the loop - # eval without this substitution. - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` - - for p in `eval $output_verbose_link_cmd`; do - case $p in - - -L* | -R* | -l*) - # Some compilers place space between "-{L,R}" and the path. - # Remove the space. - if test $p = "-L" \ - || test $p = "-R"; then - prev=$p - continue - else - prev= - fi - - if test "$pre_test_object_deps_done" = no; then - case $p in - -L* | -R*) - # Internal compiler library paths should come after those - # provided the user. The postdeps already come after the - # user supplied libs so there is no need to process them. - if test -z "$compiler_lib_search_path_CXX"; then - compiler_lib_search_path_CXX="${prev}${p}" - else - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" - fi - ;; - # The "-l" case would never come before the object being - # linked, so don't bother handling this case. - esac - else - if test -z "$postdeps_CXX"; then - postdeps_CXX="${prev}${p}" - else - postdeps_CXX="${postdeps_CXX} ${prev}${p}" - fi - fi - ;; - - *.$objext) - # This assumes that the test object file only shows up - # once in the compiler output. - if test "$p" = "conftest.$objext"; then - pre_test_object_deps_done=yes - continue - fi - - if test "$pre_test_object_deps_done" = no; then - if test -z "$predep_objects_CXX"; then - predep_objects_CXX="$p" - else - predep_objects_CXX="$predep_objects_CXX $p" - fi - else - if test -z "$postdep_objects_CXX"; then - postdep_objects_CXX="$p" - else - postdep_objects_CXX="$postdep_objects_CXX $p" - fi - fi - ;; - - *) ;; # Ignore the rest. - - esac - done - - # Clean up. - rm -f a.out a.exe -else - echo "libtool.m4: error: problem compiling CXX test program" -fi - -$rm -f confest.$objext - -compiler_lib_search_dirs_CXX= -if test -n "$compiler_lib_search_path_CXX"; then - compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` -fi - -# PORTME: override above test on systems where it is broken -case $host_os in -interix[3-9]*) - # Interix 3.5 installs completely hosed .la files for C++, so rather than - # hack all around it, let's just trust "g++" to DTRT. - predep_objects_CXX= - postdep_objects_CXX= - postdeps_CXX= - ;; - -linux*) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - # - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - if test "$solaris_use_stlport4" != yes; then - postdeps_CXX='-library=Cstd -library=Crun' - fi - ;; - esac - ;; - -solaris*) - case $cc_basename in - CC*) - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - # Adding this requires a known-good setup of shared libraries for - # Sun compiler versions before 5.6, else PIC objects from an old - # archive will be linked into the output, leading to subtle bugs. - if test "$solaris_use_stlport4" != yes; then - postdeps_CXX='-library=Cstd -library=Crun' - fi - ;; - esac - ;; -esac - -case " $postdeps_CXX " in -*" -lc "*) archive_cmds_need_lc_CXX=no ;; -esac - -lt_prog_compiler_wl_CXX= -lt_prog_compiler_pic_CXX= -lt_prog_compiler_static_CXX= - -{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } - - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_CXX='-Bstatic' - fi - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | os2* | pw32*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic_CXX='-DDLL_EXPORT' - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic_CXX='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - lt_prog_compiler_pic_CXX= - ;; - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic_CXX=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' - ;; - esac - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' - ;; - esac - else - case $host_os in - aix[4-9]*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_CXX='-Bstatic' - else - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - lt_prog_compiler_pic_CXX='-qnocommon' - lt_prog_compiler_wl_CXX='-Wl,' - ;; - esac - ;; - dgux*) - case $cc_basename in - ec++*) - lt_prog_compiler_pic_CXX='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - lt_prog_compiler_pic_CXX='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' - if test "$host_cpu" != ia64; then - lt_prog_compiler_pic_CXX='+Z' - fi - ;; - aCC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic_CXX='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # KAI C++ Compiler - lt_prog_compiler_wl_CXX='--backend -Wl,' - lt_prog_compiler_pic_CXX='-fPIC' - ;; - icpc* | ecpc*) - # Intel C++ - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-static' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler. - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-fpic' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX='-non_shared' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - lt_prog_compiler_wl_CXX='-Qoption ld ' - ;; - esac - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - lt_prog_compiler_pic_CXX='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd*) - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - lt_prog_compiler_wl_CXX='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - lt_prog_compiler_pic_CXX='-pic' - ;; - cxx*) - # Digital/Compaq C++ - lt_prog_compiler_wl_CXX='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - lt_prog_compiler_wl_CXX='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - lt_prog_compiler_pic_CXX='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - lt_prog_compiler_pic_CXX='-pic' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - lcc*) - # Lucid - lt_prog_compiler_pic_CXX='-pic' - ;; - *) - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - lt_prog_compiler_pic_CXX='-KPIC' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - esac - ;; - vxworks*) - ;; - *) - lt_prog_compiler_can_build_shared_CXX=no - ;; - esac +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OTOOL="otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi +done + done +IFS=$as_save_IFS -{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 -$as_echo "$lt_prog_compiler_pic_CXX" >&6; } +fi +fi +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL +if test -n "$ac_ct_OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 +$as_echo "$ac_ct_OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic_CXX"; then + if test "x$ac_ct_OTOOL" = x; then + OTOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL=$ac_ct_OTOOL + fi +else + OTOOL="$ac_cv_prog_OTOOL" +fi -{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } -if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_prog_compiler_pic_works_CXX=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -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:13173: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:13177: \$? = $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. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works_CXX=yes - fi - fi - $rm conftest* + if test -n "$OTOOL64"; then + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } - -if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then - case $lt_prog_compiler_pic_CXX in - "" | " "*) ;; - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; - esac +fi +OTOOL64=$ac_cv_prog_OTOOL64 +if test -n "$OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 +$as_echo "$OTOOL64" >&6; } else - lt_prog_compiler_pic_CXX= - lt_prog_compiler_can_build_shared_CXX=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -fi -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic_CXX= - ;; - *) - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" - ;; -esac -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" -{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then +fi +if test -z "$ac_cv_prog_OTOOL64"; then + ac_ct_OTOOL64=$OTOOL64 + # Extract the first word of "otool64", so it can be a program name with args. +set dummy otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_prog_compiler_static_works_CXX=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works_CXX=yes - fi - else - lt_cv_prog_compiler_static_works_CXX=yes - fi - fi - $rm -r conftest* - LDFLAGS="$save_LDFLAGS" + if test -n "$ac_ct_OTOOL64"; then + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OTOOL64="otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } +fi +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 +if test -n "$ac_ct_OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 +$as_echo "$ac_ct_OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then - : + if test "x$ac_ct_OTOOL64" = x; then + OTOOL64=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL64=$ac_ct_OTOOL64 + fi else - lt_prog_compiler_static_CXX= + OTOOL64="$ac_cv_prog_OTOOL64" fi -{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o_CXX=no - $rm -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -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:13277: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:13281: \$? = $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 - # So say no if there are warnings - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_CXX=yes - fi - fi - chmod u+w . 2>&5 - $rm conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out - cd .. - rmdir conftest - $rm conftest* + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 +$as_echo_n "checking for -single_module linker flag... " >&6; } +if ${lt_cv_apple_cc_single_mod+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&5 + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } +if ${lt_cv_ld_exported_symbols_list+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int +main () +{ -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } - if test "$hard_links" = no; then - { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_ld_exported_symbols_list=yes else - need_locks=no + lt_cv_ld_exported_symbols_list=no fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" -{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 +$as_echo_n "checking for -force_load linker flag... " >&6; } +if ${lt_cv_ld_force_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 + echo "$AR cru libconftest.a conftest.o" >&5 + $AR cru libconftest.a conftest.o 2>&5 + echo "$RANLIB libconftest.a" >&5 + $RANLIB libconftest.a 2>&5 + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&5 + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in - aix[4-9]*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 +$as_echo "$lt_cv_ld_force_load" >&6; } + case $host_os in + rhapsody* | darwin1.[012]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[91]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[012]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' else - export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + _lt_dsymutil= fi ;; - pw32*) - export_symbols_cmds_CXX="$ltdll_cmds" - ;; - cygwin* | mingw*) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' - ;; - *) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; esac - exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 -$as_echo "$ld_shlibs_CXX" >&6; } -test "$ld_shlibs_CXX" = no && can_build_shared=no - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc_CXX" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc_CXX=yes +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds_CXX in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $rm conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl_CXX - pic_flag=$lt_prog_compiler_pic_CXX - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX - allow_undefined_flag_CXX= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - archive_cmds_need_lc_CXX=no - else - archive_cmds_need_lc_CXX=yes - fi - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 -$as_echo "$archive_cmds_need_lc_CXX" >&6; } - ;; - esac - fi - ;; -esac + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi -need_lib_prefix=unknown -hardcode_into_libs=no + done + ac_cv_prog_CPP=$CPP -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext -aix[4-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu -bsdi[45]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; -cygwin* | mingw* | pw32*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - shlibpath_overrides_runpath=yes +int +main () +{ - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; +else + ac_cv_header_stdc=no +fi +rm -f conftest* -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; +fi -freebsd1*) - dynamic_linker=no - ;; +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[123]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; +else + ac_cv_header_stdc=no +fi +rm -f conftest* -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; +fi -interix[3-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" - fi +$as_echo "#define STDC_HEADERS 1" >>confdefs.h - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; +fi -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; +fi -nto-qnx*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; +done -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; +for ac_header in dlfcn.h +do : + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default +" +if test "x$ac_cv_header_dlfcn_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DLFCN_H 1 +_ACEOF -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; +fi -rdos*) - dynamic_linker=no - ;; +done -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; + +func_stripname_cnf () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; esac - ;; +} # func_stripname_cnf -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - shlibpath_overrides_runpath=no - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - shlibpath_overrides_runpath=yes - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; -*) - dynamic_linker=no - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" -fi +# Set options -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" -fi -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi + enable_dlopen=no -{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action_CXX= -if test -n "$hardcode_libdir_flag_spec_CXX" || \ - test -n "$runpath_var_CXX" || \ - test "X$hardcode_automatic_CXX" = "Xyes" ; then - # We can hardcode non-existant directories. - if test "$hardcode_direct_CXX" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && - test "$hardcode_minus_L_CXX" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action_CXX=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action_CXX=immediate - fi + enable_win32_dll=no + + + # Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action_CXX=unsupported + enable_shared=yes fi -{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 -$as_echo "$hardcode_action_CXX" >&6; } -if test "$hardcode_action_CXX" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi -# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - compiler_CXX \ - CC_CXX \ - LD_CXX \ - lt_prog_compiler_wl_CXX \ - lt_prog_compiler_pic_CXX \ - lt_prog_compiler_static_CXX \ - lt_prog_compiler_no_builtin_flag_CXX \ - export_dynamic_flag_spec_CXX \ - thread_safe_flag_spec_CXX \ - whole_archive_flag_spec_CXX \ - enable_shared_with_static_runtimes_CXX \ - old_archive_cmds_CXX \ - old_archive_from_new_cmds_CXX \ - predep_objects_CXX \ - postdep_objects_CXX \ - predeps_CXX \ - postdeps_CXX \ - compiler_lib_search_path_CXX \ - compiler_lib_search_dirs_CXX \ - archive_cmds_CXX \ - archive_expsym_cmds_CXX \ - postinstall_cmds_CXX \ - postuninstall_cmds_CXX \ - old_archive_from_expsyms_cmds_CXX \ - allow_undefined_flag_CXX \ - no_undefined_flag_CXX \ - export_symbols_cmds_CXX \ - hardcode_libdir_flag_spec_CXX \ - hardcode_libdir_flag_spec_ld_CXX \ - hardcode_libdir_separator_CXX \ - hardcode_automatic_CXX \ - module_cmds_CXX \ - module_expsym_cmds_CXX \ - lt_cv_prog_compiler_c_o_CXX \ - fix_srcfile_path_CXX \ - exclude_expsyms_CXX \ - include_expsyms_CXX; do - - case $var in - old_archive_cmds_CXX | \ - old_archive_from_new_cmds_CXX | \ - archive_cmds_CXX | \ - archive_expsym_cmds_CXX | \ - module_cmds_CXX | \ - module_expsym_cmds_CXX | \ - old_archive_from_expsyms_cmds_CXX | \ - export_symbols_cmds_CXX | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done - case $lt_echo in - *'\$0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` - ;; - esac -cfgfile="$ofile" - cat <<__EOF__ >> "$cfgfile" -# ### BEGIN LIBTOOL TAG CONFIG: $tagname -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared -# Whether or not to build static libraries. -build_old_libs=$enable_static -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc_CXX +# Check whether --with-pic was given. +if test "${with_pic+set}" = set; then : + withval=$with_pic; pic_mode="$withval" +else + pic_mode=default +fi -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install +test -z "$pic_mode" && pic_mode=default -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os -# An echo program that does not interpret backslashes. -echo=$lt_echo -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS -# A C compiler. -LTCC=$lt_LTCC -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS -# A language-specific compiler. -CC=$lt_compiler_CXX + # Check whether --enable-fast-install was given. +if test "${enable_fast_install+set}" = set; then : + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_fast_install=yes +fi -# Is the compiler the GNU C compiler? -with_gcc=$GCC_CXX -# An ERE matcher. -EGREP=$lt_EGREP -# The linker used to build libraries. -LD=$lt_LD_CXX -# Whether we need hard or soft links. -LN_S=$lt_LN_S -# A BSD-compatible nm program. -NM=$lt_NM -# A symbol stripping program -STRIP=$lt_STRIP -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" -# Used on cygwin: assembler. -AS="$AS" -# The name of the directory that contains temporary libtool files. -objdir=$objdir +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ltmain" -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_CXX -# Object file suffix (normally "o"). -objext="$ac_objext" -# Old archive suffix (normally "a"). -libext="$libext" -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' -# Executable file suffix (normally ""). -exeext="$exeext" -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_CXX -pic_mode=$pic_mode -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX -# Must we lock files when doing compilation? -need_locks=$lt_need_locks -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix -# Do we need a version for libraries? -need_version=$need_version -# Whether dlopen is supported. -dlopen_support=$enable_dlopen -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static_CXX -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX -# Library versioning type. -version_type=$version_type -# Format of library name prefix. -libname_spec=$lt_libname_spec -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds_CXX -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX +test -z "$LN_S" && LN_S="ln -s" -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds_CXX -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_module_cmds_CXX -module_expsym_cmds=$lt_module_expsym_cmds_CXX -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_predep_objects_CXX -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_postdep_objects_CXX -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_predeps_CXX -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_postdeps_CXX -# The directories searched by this compiler when creating a shared -# library -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag_CXX -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag_CXX -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +$as_echo_n "checking for objdir... " >&6; } +if ${lt_cv_objdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +$as_echo "$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address -# This is the shared library runtime path variable. -runpath_var=$runpath_var -# This is the shared library path variable. -shlibpath_var=$shlibpath_var +cat >>confdefs.h <<_ACEOF +#define LT_OBJDIR "$lt_cv_objdir/" +_ACEOF -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action_CXX -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX +# Global variables: +ofile=libtool +can_build_shared=yes -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct_CXX +with_gnu_ld="$lt_cv_prog_gnu_ld" -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L_CXX +old_CC="$CC" +old_CFLAGS="$CFLAGS" -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$hardcode_automatic_CXX +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs_CXX +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols_CXX -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds_CXX -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms_CXX +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 +$as_echo_n "checking for file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms_CXX +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org -# ### END LIBTOOL TAG CONFIG: $tagname +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi -__EOF__ +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" + else + MAGIC_CMD=: fi fi + fi + ;; +esac + +# Use C for the default configuration in the libtool script +lt_save_CC="$CC" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -CC=$lt_save_CC -LDCXX=$LD -LD=$lt_save_LD -GCC=$lt_save_GCC -with_gnu_ldcxx=$with_gnu_ld -with_gnu_ld=$lt_save_with_gnu_ld -lt_cv_path_LDCXX=$lt_cv_path_LD -lt_cv_path_LD=$lt_save_path_LD -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld - - else - tagname="" - fi - ;; - - F77) - if test -n "$F77" && test "X$F77" != "Xno"; then -ac_ext=f -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_f77_compiler_gnu - - -archive_cmds_need_lc_F77=no -allow_undefined_flag_F77= -always_export_symbols_F77=no -archive_expsym_cmds_F77= -export_dynamic_flag_spec_F77= -hardcode_direct_F77=no -hardcode_libdir_flag_spec_F77= -hardcode_libdir_flag_spec_ld_F77= -hardcode_libdir_separator_F77= -hardcode_minus_L_F77=no -hardcode_automatic_F77=no -module_cmds_F77= -module_expsym_cmds_F77= -link_all_deplibs_F77=unknown -old_archive_cmds_F77=$old_archive_cmds -no_undefined_flag_F77= -whole_archive_flag_spec_F77= -enable_shared_with_static_runtimes_F77=no - -# Source file extension for f77 test sources. -ac_ext=f +# Source file extension for C test sources. +ac_ext=c -# Object file extension for compiled f77 test sources. +# Object file extension for compiled C test sources. objext=o -objext_F77=$objext +objext=$objext # Code to be used in simple compile tests -lt_simple_compile_test_code="\ - subroutine t - return - end -" +lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests -lt_simple_link_test_code="\ - program t - end -" +lt_simple_link_test_code='int main(){return(0);}' + + + + + -# ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} @@ -14528,118 +8443,156 @@ # Allow CC to be a program name with arguments. compiler=$CC +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* +$RM conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` -$rm -r conftest* +$RM -r conftest* -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${F77-"f77"} -compiler=$CC -compiler_F77=$CC -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; +if test -n "$compiler"; then + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + case $cc_basename in + nvcc*) + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; + *) + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -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:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $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. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $RM conftest* -{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -$as_echo_n "checking if libtool supports shared libraries... " >&6; } -{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 -$as_echo "$can_build_shared" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } -{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -$as_echo_n "checking whether to build shared libraries... " >&6; } -test "$can_build_shared" = "no" && enable_shared=no +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case $host_os in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; -aix[4-9]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 -$as_echo "$enable_shared" >&6; } +fi -{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -$as_echo_n "checking whether to build static libraries... " >&6; } -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5 -$as_echo "$enable_static" >&6; } -GCC_F77="$G77" -LD_F77="$LD" -lt_prog_compiler_wl_F77= -lt_prog_compiler_pic_F77= -lt_prog_compiler_static_F77= -{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + + lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + if test "$GCC" = yes; then - lt_prog_compiler_wl_F77='-Wl,' - lt_prog_compiler_static_F77='-static' + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor - lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + lt_prog_compiler_pic='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; - mingw* | cygwin* | pw32* | os2*) + mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries - lt_prog_compiler_pic_F77='-DDLL_EXPORT' + lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic_F77='-fno-common' + lt_prog_compiler_pic='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac ;; interix[3-9]*) @@ -14650,64 +8603,54 @@ msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. - lt_prog_compiler_can_build_shared_F77=no + lt_prog_compiler_can_build_shared=no enable_shared=no ;; + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + sysv4*MP*) if test -d /usr/nec; then - lt_prog_compiler_pic_F77=-Kconform_pic + lt_prog_compiler_pic=-Kconform_pic fi ;; - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic_F77='-fPIC' - ;; - esac + *) + lt_prog_compiler_pic='-fPIC' ;; + esac - *) - lt_prog_compiler_pic_F77='-fPIC' + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + lt_prog_compiler_wl='-Xlinker ' + lt_prog_compiler_pic='-Xcompiler -fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) - lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor - lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_static='-Bstatic' else - lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - lt_prog_compiler_pic_F77='-qnocommon' - lt_prog_compiler_wl_F77='-Wl,' - ;; - esac - ;; - mingw* | cygwin* | pw32* | os2*) + mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). - lt_prog_compiler_pic_F77='-DDLL_EXPORT' + lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) - lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in @@ -14715,141 +8658,190 @@ # +Z the default ;; *) - lt_prog_compiler_pic_F77='+Z' + lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? - lt_prog_compiler_static_F77='${wl}-a ${wl}archive' + lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) - lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. - lt_prog_compiler_static_F77='-non_shared' - ;; - - newsos6) - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_static='-non_shared' ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in - icc* | ecc*) - lt_prog_compiler_wl_F77='-Wl,' - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-static' + # old Intel for x86_64 which still supported -KPIC. + ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' ;; - pgcc* | pgf77* | pgf90* | pgf95*) + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='--shared' + lt_prog_compiler_static='--static' + ;; + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) - lt_prog_compiler_wl_F77='-Wl,' - lt_prog_compiler_pic_F77='-fpic' - lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' ;; ccc*) - lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. - lt_prog_compiler_static_F77='-non_shared' + lt_prog_compiler_static='-non_shared' ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-qpic' + lt_prog_compiler_static='-qstaticlink' + ;; *) - case `$CC -V 2>&1 | sed 5q` in + case `$CC -V 2>&1 | sed 5q` in + *Sun\ F* | *Sun*Fortran*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; *Sun\ C*) # Sun C 5.9 - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-Bstatic' - lt_prog_compiler_wl_F77='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-Bstatic' - lt_prog_compiler_wl_F77='' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' ;; esac ;; esac ;; + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + osf3* | osf4* | osf5*) - lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. - lt_prog_compiler_static_F77='-non_shared' + lt_prog_compiler_static='-non_shared' ;; rdos*) - lt_prog_compiler_static_F77='-non_shared' + lt_prog_compiler_static='-non_shared' ;; solaris*) - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' case $cc_basename in - f77* | f90* | f95*) - lt_prog_compiler_wl_F77='-Qoption ld ';; + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + lt_prog_compiler_wl='-Qoption ld ';; *) - lt_prog_compiler_wl_F77='-Wl,';; + lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) - lt_prog_compiler_wl_F77='-Qoption ld ' - lt_prog_compiler_pic_F77='-PIC' - lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) - lt_prog_compiler_wl_F77='-Wl,' - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then - lt_prog_compiler_pic_F77='-Kconform_pic' - lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - lt_prog_compiler_wl_F77='-Wl,' - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' ;; unicos*) - lt_prog_compiler_wl_F77='-Wl,' - lt_prog_compiler_can_build_shared_F77=no + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no ;; uts4*) - lt_prog_compiler_pic_F77='-pic' - lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' ;; *) - lt_prog_compiler_can_build_shared_F77=no + lt_prog_compiler_can_build_shared=no ;; esac fi -{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 -$as_echo "$lt_prog_compiler_pic_F77" >&6; } +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +$as_echo "$lt_cv_prog_compiler_pic" >&6; } +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # -if test -n "$lt_prog_compiler_pic_F77"; then - -{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; } -if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then +if test -n "$lt_prog_compiler_pic"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_prog_compiler_pic_works_F77=no - ac_outfile=conftest.$ac_objext + lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic_F77" + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins @@ -14859,57 +8851,58 @@ -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:14862: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:14866: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $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. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works_F77=yes + lt_cv_prog_compiler_pic_works=yes fi fi - $rm conftest* + $RM conftest* fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } -if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then - case $lt_prog_compiler_pic_F77 in +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in "" | " "*) ;; - *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else - lt_prog_compiler_pic_F77= - lt_prog_compiler_can_build_shared_F77=no + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no fi fi -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic_F77= - ;; - *) - lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" - ;; -esac + + + + + + + + + + # # Check to make sure the static flag actually works. # -wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" -{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then +if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_prog_compiler_static_works_F77=no + lt_cv_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext @@ -14919,36 +8912,96 @@ if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works_F77=yes + lt_cv_prog_compiler_static_works=yes fi else - lt_cv_prog_compiler_static_works_F77=yes + lt_cv_prog_compiler_static_works=yes fi fi - $rm -r conftest* + $RM -r conftest* LDFLAGS="$save_LDFLAGS" fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5 -$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; } -if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then +if test x"$lt_cv_prog_compiler_static_works" = xyes; then : else - lt_prog_compiler_static_F77= + lt_prog_compiler_static= +fi + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -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:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $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 + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + -{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then +if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_prog_compiler_c_o_F77=no - $rm -r conftest 2>/dev/null + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out @@ -14963,51 +9016,53 @@ -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:14966: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14970: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $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 # So say no if there are warnings - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_F77=yes + lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 - $rm conftest* + $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out cd .. - rmdir conftest - $rm conftest* + $RM -r conftest + $RM conftest* fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes - $rm conftest* + $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test "$hard_links" = no; then - { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi @@ -15015,39 +9070,47 @@ need_locks=no fi -{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= - allow_undefined_flag_F77= - enable_shared_with_static_runtimes_F77=no - archive_cmds_F77= - archive_expsym_cmds_F77= - old_archive_From_new_cmds_F77= - old_archive_from_expsyms_cmds_F77= - export_dynamic_flag_spec_F77= - whole_archive_flag_spec_F77= - thread_safe_flag_spec_F77= - hardcode_libdir_flag_spec_F77= - hardcode_libdir_flag_spec_ld_F77= - hardcode_libdir_separator_F77= - hardcode_direct_F77=no - hardcode_minus_L_F77=no - hardcode_shlibpath_var_F77=unsupported - link_all_deplibs_F77=unknown - hardcode_automatic_F77=no - module_cmds_F77= - module_expsym_cmds_F77= - always_export_symbols_F77=no - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + allow_undefined_flag= + always_export_symbols=no + archive_cmds= + archive_expsym_cmds= + compiler_needs_object=no + enable_shared_with_static_runtimes=no + export_dynamic_flag_spec= + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + hardcode_automatic=no + hardcode_direct=no + hardcode_direct_absolute=no + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + inherit_rpath=no + link_all_deplibs=unknown + module_cmds= + module_expsym_cmds= + old_archive_from_new_cmds= + old_archive_from_expsyms_cmds= + thread_safe_flag_spec= + whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list - include_expsyms_F77= + include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. - exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot @@ -15055,19 +9118,9 @@ # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= - # Just being paranoid about ensuring that cc_basename is set. - for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in - cygwin* | mingw* | pw32*) + cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. @@ -15082,10 +9135,39 @@ openbsd*) with_gnu_ld=no ;; + linux* | k*bsd*-gnu | gnu*) + link_all_deplibs=no + ;; esac - ld_shlibs_F77=yes + ld_shlibs=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; + *\ \(GNU\ Binutils\)\ [3-9]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' @@ -15093,16 +9175,17 @@ # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec_F77='${wl}--export-dynamic' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec_F77= + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= fi supports_anon_versioning=no - case `$LD -v 2>/dev/null` in + case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... @@ -15115,58 +9198,62 @@ aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then - ld_shlibs_F77=no - cat <&2 + ld_shlibs=no + cat <<_LT_EOF 1>&2 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. -EOF +_LT_EOF fi ;; amigaos*) - archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_minus_L_F77=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can't use - # them. - ld_shlibs_F77=no + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac ;; beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag_F77=unsupported + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME - archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else - ld_shlibs_F77=no + ld_shlibs=no fi ;; - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. - hardcode_libdir_flag_spec_F77='-L$libdir' - allow_undefined_flag_F77=unsupported - always_export_symbols_F77=no - enable_shared_with_static_runtimes_F77=yes - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + hardcode_libdir_flag_spec='-L$libdir' + export_dynamic_flag_spec='${wl}--export-all-symbols' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; @@ -15174,79 +9261,119 @@ fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else - ld_shlibs_F77=no + ld_shlibs=no fi ;; + haiku*) + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + link_all_deplibs=yes + ;; + interix[3-9]*) - hardcode_direct_F77=no - hardcode_shlibpath_var_F77=no - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' - export_dynamic_flag_spec_F77='${wl}-E' + hardcode_direct=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; - gnu* | linux* | k*bsd*-gnu) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_addflag= + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test "$host_os" = linux-dietlibc; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test "$tmp_diet" = no + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + pgcc*) # Portland Group C compiler + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + whole_archive_flag_spec= + tmp_sharedflag='--shared' ;; + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes + ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; - *) - tmp_sharedflag='-shared' ;; esac - archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - if test $supports_anon_versioning = yes; then - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld='-rpath $libdir' + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac else - ld_shlibs_F77=no + ld_shlibs=no fi ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then - ld_shlibs_F77=no - cat <&2 + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool @@ -15255,19 +9382,19 @@ *** your PATH or compiler configuration so that the native linker is *** used, and then restart. -EOF - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else - ld_shlibs_F77=no + ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) - ld_shlibs_F77=no + ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not @@ -15280,54 +9407,58 @@ _LT_EOF ;; *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else - ld_shlibs_F77=no + ld_shlibs=no fi ;; esac ;; sunos4*) - archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= - hardcode_direct_F77=yes - hardcode_shlibpath_var_F77=no + hardcode_direct=yes + hardcode_shlibpath_var=no ;; *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else - ld_shlibs_F77=no + ld_shlibs=no fi ;; esac - if test "$ld_shlibs_F77" = no; then + if test "$ld_shlibs" = no; then runpath_var= - hardcode_libdir_flag_spec_F77= - export_dynamic_flag_spec_F77= - whole_archive_flag_spec_F77= + hardcode_libdir_flag_spec= + export_dynamic_flag_spec= + whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) - allow_undefined_flag_F77=unsupported - always_export_symbols_F77=yes - archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. - hardcode_minus_L_F77=yes + hardcode_minus_L=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. - hardcode_direct_F77=unsupported + hardcode_direct=unsupported fi ;; @@ -15341,10 +9472,12 @@ else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else - export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no @@ -15353,10 +9486,10 @@ # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi done ;; esac @@ -15371,30 +9504,32 @@ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - archive_cmds_F77='' - hardcode_direct_F77=yes - hardcode_libdir_separator_F77=':' - link_all_deplibs_F77=yes + archive_cmds='' + hardcode_direct=yes + hardcode_direct_absolute=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + file_list_spec='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null then - # We have reworked collect2 - : + # We have reworked collect2 + : else - # We have old collect2 - hardcode_direct_F77=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L_F77=yes - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_libdir_separator_F77= + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= fi ;; esac @@ -15402,11 +9537,12 @@ if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi + link_all_deplibs=no else # not using gcc if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then @@ -15417,229 +9553,253 @@ fi fi + export_dynamic_flag_spec='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols_F77=yes + always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. - allow_undefined_flag_F77='-berok' - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF - program main + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ - end + ; + 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_f77_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then +if ac_fn_c_try_link "$LINENO"; then : -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi fi -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + aix_libpath=$lt_cv_aix_libpath_ +fi - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag_F77="-z nodefs" - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF - program main + # Determine the default libpath from the value encoded in an + # empty executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ - end + ; + 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_f77_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then +if ac_fn_c_try_link "$LINENO"; then : -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi fi -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + aix_libpath=$lt_cv_aix_libpath_ +fi - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. - no_undefined_flag_F77=' ${wl}-bernotok' - allow_undefined_flag_F77=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec_F77='$convenience' - archive_cmds_need_lc_F77=yes + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec='$convenience' + fi + archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) - archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_minus_L_F77=yes - # see comment about different semantics on the GNU ld section - ld_shlibs_F77=no + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac ;; bsdi[45]*) - export_dynamic_flag_spec_F77=-rdynamic + export_dynamic_flag_spec=-rdynamic ;; - cygwin* | mingw* | pw32*) + cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. - hardcode_libdir_flag_spec_F77=' ' - allow_undefined_flag_F77=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_From_new_cmds_F77='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path_F77='`cygpath -w "$srcfile"`' - enable_shared_with_static_runtimes_F77=yes + case $cc_basename in + cl*) + # Native MSVC + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + always_export_symbols=yes + file_list_spec='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true' + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + old_postinstall_cmds='chmod 644 $oldlib' + postlink_cmds='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_from_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' + enable_shared_with_static_runtimes=yes + ;; + esac ;; darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[012]) - allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[012]) - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - archive_cmds_need_lc_F77=no - hardcode_direct_F77=no - hardcode_automatic_F77=yes - hardcode_shlibpath_var_F77=unsupported - whole_archive_flag_spec_F77='' - link_all_deplibs_F77=yes - if test "$GCC" = yes ; then - output_verbose_link_cmd='echo' - archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - ld_shlibs_F77=no - ;; - esac - fi + + + archive_cmds_need_lc=no + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + if test "$lt_cv_ld_force_load" = "yes"; then + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + else + whole_archive_flag_spec='' + fi + link_all_deplibs=yes + allow_undefined_flag="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=func_echo_all + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + + else + ld_shlibs=no + fi + ;; dgux*) - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_shlibpath_var_F77=no + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no ;; freebsd1*) - ld_shlibs_F77=no + ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor @@ -15647,106 +9807,145 @@ # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec_F77='-R$libdir' - hardcode_direct_F77=yes - hardcode_shlibpath_var_F77=no + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_F77=yes - hardcode_minus_L_F77=yes - hardcode_shlibpath_var_F77=no + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) - archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec_F77='-R$libdir' - hardcode_direct_F77=yes - hardcode_shlibpath_var_F77=no + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then - archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else - archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_F77=: - hardcode_direct_F77=yes + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. - hardcode_minus_L_F77=yes - export_dynamic_flag_spec_F77='${wl}-E' + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' ;; hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_F77=: - - hardcode_direct_F77=yes - export_dynamic_flag_spec_F77='${wl}-E' - + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. - hardcode_minus_L_F77=yes + hardcode_minus_L=yes fi ;; hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then + if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 +$as_echo_n "checking if $CC understands -b... " >&6; } +if ${lt_cv_prog_compiler__b+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler__b=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -b" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler__b=yes + fi + else + lt_cv_prog_compiler__b=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 +$as_echo "$lt_cv_prog_compiler__b" >&6; } + +if test x"$lt_cv_prog_compiler__b" = xyes; then + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' +else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' +fi + ;; esac fi if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_F77=: + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) - hardcode_libdir_flag_spec_ld_F77='+b $libdir' - hardcode_direct_F77=no - hardcode_shlibpath_var_F77=no + hardcode_direct=no + hardcode_shlibpath_var=no ;; *) - hardcode_direct_F77=yes - export_dynamic_flag_spec_F77='${wl}-E' + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. - hardcode_minus_L_F77=yes + hardcode_minus_L=yes ;; esac fi @@ -15754,194 +9953,241 @@ irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } +if ${lt_cv_irix_exported_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int foo (void) { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_irix_exported_symbol=yes +else + lt_cv_irix_exported_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 +$as_echo "$lt_cv_irix_exported_symbol" >&6; } + if test "$lt_cv_irix_exported_symbol" = yes; then + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi else - archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_F77=: - link_all_deplibs_F77=yes + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + inherit_rpath=yes + link_all_deplibs=yes ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi - hardcode_libdir_flag_spec_F77='-R$libdir' - hardcode_direct_F77=yes - hardcode_shlibpath_var_F77=no + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no ;; newsos6) - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_F77=yes - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_F77=: - hardcode_shlibpath_var_F77=no + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then - hardcode_direct_F77=yes - hardcode_shlibpath_var_F77=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' - export_dynamic_flag_spec_F77='${wl}-E' + hardcode_direct=yes + hardcode_shlibpath_var=no + hardcode_direct_absolute=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec_F77='-R$libdir' + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' ;; *) - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac - fi + fi else - ld_shlibs_F77=no + ld_shlibs=no fi ;; os2*) - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_minus_L_F77=yes - allow_undefined_flag_F77=unsupported - archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else - allow_undefined_flag_F77=' -expect_unresolved \*' - archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' fi - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_F77=: + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else - allow_undefined_flag_F77=' -expect_unresolved \*' - archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec_F77='-rpath $libdir' + hardcode_libdir_flag_spec='-rpath $libdir' fi - hardcode_libdir_separator_F77=: + archive_cmds_need_lc='no' + hardcode_libdir_separator=: ;; solaris*) - no_undefined_flag_F77=' -z text' + no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else - wlarc='' - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='${wl}' + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac fi - hardcode_libdir_flag_spec_F77='-R$libdir' - hardcode_shlibpath_var_F77=no + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) + # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then - whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac - link_all_deplibs_F77=yes + link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. - archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else - archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_direct_F77=yes - hardcode_minus_L_F77=yes - hardcode_shlibpath_var_F77=no + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_F77=yes # is this really true??? + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds_F77='$CC -r -o $output$reload_objs' - hardcode_direct_F77=no + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no ;; motorola) - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var_F77=no + hardcode_shlibpath_var=no ;; sysv4.3*) - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var_F77=no - export_dynamic_flag_spec_F77='-Bexport' + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var_F77=no + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes - ld_shlibs_F77=yes + ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag_F77='${wl}-z,text' - archive_cmds_need_lc_F77=no - hardcode_shlibpath_var_F77=no + no_undefined_flag='${wl}-z,text' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then - archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else - archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; @@ -15952,51 +10198,75 @@ # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. - no_undefined_flag_F77='${wl}-z,text' - allow_undefined_flag_F77='${wl}-z,nodefs' - archive_cmds_need_lc_F77=no - hardcode_shlibpath_var_F77=no - hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - hardcode_libdir_separator_F77=':' - link_all_deplibs_F77=yes - export_dynamic_flag_spec_F77='${wl}-Bexport' + no_undefined_flag='${wl}-z,text' + allow_undefined_flag='${wl}-z,nodefs' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-R,$libdir' + hardcode_libdir_separator=':' + link_all_deplibs=yes + export_dynamic_flag_spec='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then - archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else - archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_shlibpath_var_F77=no + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no ;; *) - ld_shlibs_F77=no + ld_shlibs=no ;; esac + + if test x$host_vendor = xsni; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + export_dynamic_flag_spec='${wl}-Blargedynsym' + ;; + esac + fi fi -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 -$as_echo "$ld_shlibs_F77" >&6; } -test "$ld_shlibs_F77" = no && can_build_shared=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +$as_echo "$ld_shlibs" >&6; } +test "$ld_shlibs" = no && can_build_shared=no + +with_gnu_ld=$with_gnu_ld + + + + + + + + + + + + + + # # Do we need to explicitly link libc? # -case "x$archive_cmds_need_lc_F77" in +case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added - archive_cmds_need_lc_F77=yes + archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds_F77 in + case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; @@ -16004,54 +10274,281 @@ # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $rm conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext +if ${lt_cv_archive_cmds_need_lc+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl_F77 - pic_flag=$lt_prog_compiler_pic_F77 - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_F77 - allow_undefined_flag_F77= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - archive_cmds_need_lc_F77=no - else - archive_cmds_need_lc_F77=yes - fi - allow_undefined_flag_F77=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 -$as_echo "$archive_cmds_need_lc_F77" >&6; } + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + lt_cv_archive_cmds_need_lc=no + else + lt_cv_archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi ;; esac -{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } + +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[lt_foo]++; } + if (lt_freq[lt_foo] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([A-Za-z]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi library_names_spec= libname_spec='lib$name' soname_spec= @@ -16065,7 +10562,6 @@ version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" - need_lib_prefix=unknown hardcode_into_libs=no @@ -16102,7 +10598,7 @@ aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no @@ -16128,9 +10624,18 @@ ;; amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac ;; beos*) @@ -16153,61 +10658,112 @@ # libtool to hard-code these into programs ;; -cygwin* | mingw* | pw32*) +cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) + case $GCC,$cc_basename in + yes,*) + # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname' + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ - $rm \$dlpath' + $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; - mingw*) + mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' ;; *) + # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' ;; esac - dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; @@ -16217,12 +10773,13 @@ version_type=darwin need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; @@ -16290,6 +10847,20 @@ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; @@ -16315,18 +10886,18 @@ fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH @@ -16335,8 +10906,10 @@ soname_spec='${libname}${release}${shared_ext}$major' ;; esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 ;; interix[3-9]*) @@ -16394,7 +10967,7 @@ ;; # This must be Linux ELF. -linux* | k*bsd*-gnu) +linux* | k*bsd*-gnu | kopensolaris*-gnu) version_type=linux need_lib_prefix=no need_version=no @@ -16403,17 +10976,50 @@ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : + lt_cv_shlibpath_overrides_runpath=yes +fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -16425,11 +11031,23 @@ dynamic_linker='GNU/Linux ld.so' ;; +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + netbsd*) version_type=sunos need_lib_prefix=no need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' @@ -16450,14 +11068,16 @@ shlibpath_overrides_runpath=yes ;; -nto-qnx*) - version_type=linux +*nto* | *qnx*) + version_type=qnx need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' ;; openbsd*) @@ -16466,13 +11086,13 @@ need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no @@ -16544,7 +11164,6 @@ sni) shlibpath_overrides_runpath=no need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) @@ -16575,13 +11194,12 @@ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" @@ -16591,6 +11209,17 @@ sys_lib_dlsearch_path_spec='/usr/lib' ;; +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -16598,63 +11227,147 @@ shlibpath_var=LD_LIBRARY_PATH ;; -*) - dynamic_linker=no - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" -fi -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" -fi -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi -{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action_F77= -if test -n "$hardcode_libdir_flag_spec_F77" || \ - test -n "$runpath_var_F77" || \ - test "X$hardcode_automatic_F77" = "Xyes" ; then +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || + test -n "$runpath_var" || + test "X$hardcode_automatic" = "Xyes" ; then - # We can hardcode non-existant directories. - if test "$hardcode_direct_F77" != no && + # We can hardcode non-existent directories. + if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && - test "$hardcode_minus_L_F77" != no; then + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. - hardcode_action_F77=relink + hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action_F77=immediate + hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. - hardcode_action_F77=unsupported + hardcode_action=unsupported fi -{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 -$as_echo "$hardcode_action_F77" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +$as_echo "$hardcode_action" >&6; } -if test "$hardcode_action_F77" = relink; then +if test "$hardcode_action" = relink || + test "$inherit_rpath" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || @@ -16664,3584 +11377,3825 @@ fi -# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - compiler_F77 \ - CC_F77 \ - LD_F77 \ - lt_prog_compiler_wl_F77 \ - lt_prog_compiler_pic_F77 \ - lt_prog_compiler_static_F77 \ - lt_prog_compiler_no_builtin_flag_F77 \ - export_dynamic_flag_spec_F77 \ - thread_safe_flag_spec_F77 \ - whole_archive_flag_spec_F77 \ - enable_shared_with_static_runtimes_F77 \ - old_archive_cmds_F77 \ - old_archive_from_new_cmds_F77 \ - predep_objects_F77 \ - postdep_objects_F77 \ - predeps_F77 \ - postdeps_F77 \ - compiler_lib_search_path_F77 \ - compiler_lib_search_dirs_F77 \ - archive_cmds_F77 \ - archive_expsym_cmds_F77 \ - postinstall_cmds_F77 \ - postuninstall_cmds_F77 \ - old_archive_from_expsyms_cmds_F77 \ - allow_undefined_flag_F77 \ - no_undefined_flag_F77 \ - export_symbols_cmds_F77 \ - hardcode_libdir_flag_spec_F77 \ - hardcode_libdir_flag_spec_ld_F77 \ - hardcode_libdir_separator_F77 \ - hardcode_automatic_F77 \ - module_cmds_F77 \ - module_expsym_cmds_F77 \ - lt_cv_prog_compiler_c_o_F77 \ - fix_srcfile_path_F77 \ - exclude_expsyms_F77 \ - include_expsyms_F77; do - - case $var in - old_archive_cmds_F77 | \ - old_archive_from_new_cmds_F77 | \ - archive_cmds_F77 | \ - archive_expsym_cmds_F77 | \ - module_cmds_F77 | \ - module_expsym_cmds_F77 | \ - old_archive_from_expsyms_cmds_F77 | \ - export_symbols_cmds_F77 | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done - - case $lt_echo in - *'\$0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` - ;; - esac - -cfgfile="$ofile" - - cat <<__EOF__ >> "$cfgfile" -# ### BEGIN LIBTOOL TAG CONFIG: $tagname - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc_F77 - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A C compiler. -LTCC=$lt_LTCC - -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS -# A language-specific compiler. -CC=$lt_compiler_F77 -# Is the compiler the GNU C compiler? -with_gcc=$GCC_F77 -# An ERE matcher. -EGREP=$lt_EGREP -# The linker used to build libraries. -LD=$lt_LD_F77 + if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= -# Whether we need hard or soft links. -LN_S=$lt_LN_S + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; -# A BSD-compatible nm program. -NM=$lt_NM + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; -# A symbol stripping program -STRIP=$lt_STRIP + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" +/* 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 dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes -# Used on cygwin: assembler. -AS="$AS" +fi -# The name of the directory that contains temporary libtool files. -objdir=$objdir + ;; -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds + *) + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = xyes; then : + lt_cv_dlopen="shl_load" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if ${ac_cv_lib_dld_shl_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_F77 +/* 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 shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = xyes; then : + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" +else + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -# Object file suffix (normally "o"). -objext="$ac_objext" +/* 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 dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if ${ac_cv_lib_svld_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -# Old archive suffix (normally "a"). -libext="$libext" +/* 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 dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if ${ac_cv_lib_dld_dld_link+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' +/* 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 dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = xyes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" +fi -# Executable file suffix (normally ""). -exeext="$exeext" -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_F77 -pic_mode=$pic_mode +fi -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 +fi -# Must we lock files when doing compilation? -need_locks=$lt_need_locks -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix +fi -# Do we need a version for libraries? -need_version=$need_version -# Whether dlopen is supported. -dlopen_support=$enable_dlopen +fi -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static +fi -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static_F77 + ;; + esac -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" -# Library versioning type. -version_type=$version_type + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" -# Format of library name prefix. -libname_spec=$lt_libname_spec +#if HAVE_DLFCN_H +#include +#endif -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec +#include -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds_F77 -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds_F77 -archive_expsym_cmds=$lt_archive_expsym_cmds_F77 -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_module_cmds_F77 -module_expsym_cmds=$lt_module_expsym_cmds_F77 + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_predep_objects_F77 - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_postdep_objects_F77 - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_predeps_F77 - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_postdeps_F77 - -# The directories searched by this compiler when creating a shared -# library -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_F77 + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self_static+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method +#if HAVE_DLFCN_H +#include +#endif -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd +#include -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag_F77 +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag_F77 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address -# This is the shared library runtime path variable. -runpath_var=$runpath_var +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi -# This is the shared library path variable. -shlibpath_var=$shlibpath_var + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action_F77 + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct_F77 - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L_F77 - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$hardcode_automatic_F77 -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs_F77 -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols_F77 -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds_F77 -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms_F77 -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms_F77 -# ### END LIBTOOL TAG CONFIG: $tagname -__EOF__ +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" - fi +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -CC="$lt_save_CC" - else - tagname="" - fi - ;; - GCJ) - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then -# Source file extension for Java test sources. -ac_ext=java -# Object file extension for compiled Java test sources. -objext=o -objext_GCJ=$objext -# Code to be used in simple compile tests -lt_simple_compile_test_code="class foo {}" -# Code to be used in simple link tests -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }' -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} + # Report which library types will actually be built + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } + test "$can_build_shared" = "no" && enable_shared=no -# Allow CC to be a program name with arguments. -compiler=$CC + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[4-9]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm -r conftest* -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${GCJ-"gcj"} -compiler=$CC -compiler_GCJ=$CC -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 +$as_echo_n "checking how to run the C++ preprocessor... " >&6; } +if test -z "$CXXCPP"; then + if ${ac_cv_prog_CXXCPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : -# GCJ did not exist at the time GCC didn't implicitly link libc in. -archive_cmds_need_lc_GCJ=no +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext -old_archive_cmds_GCJ=$old_archive_cmds + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi -lt_prog_compiler_no_builtin_flag_GCJ= + done + ac_cv_prog_CXXCPP=$CXXCPP -if test "$GCC" = yes; then - lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' +fi + CXXCPP=$ac_cv_prog_CXXCPP +else + ac_cv_prog_CXXCPP=$CXXCPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 +$as_echo "$CXXCPP" >&6; } +ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then - $as_echo_n "(cached) " >&6 + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue else - lt_cv_prog_compiler_rtti_exceptions=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="-fno-rtti -fno-exceptions" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -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:17183: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:17187: \$? = $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. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_rtti_exceptions=yes - fi - fi - $rm conftest* + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then - lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + else - : + _lt_caught_CXX_error=yes fi -fi +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +compiler_needs_object_CXX=no +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_direct_absolute_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_flag_spec_ld_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_shlibpath_var_CXX=unsupported +hardcode_automatic_CXX=no +inherit_rpath_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +reload_flag_CXX=$reload_flag +reload_cmds_CXX=$reload_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# No sense in running all these tests if we already determined that +# the CXX compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_caught_CXX_error" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="int some_variable = 0;" -lt_prog_compiler_wl_GCJ= -lt_prog_compiler_pic_GCJ= -lt_prog_compiler_static_GCJ= + # Code to be used in simple link tests + lt_simple_link_test_code='int main(int, char *[]) { return(0); }' -{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } + # ltmain only uses $CC for tagged configurations so make sure $CC is set. - if test "$GCC" = yes; then - lt_prog_compiler_wl_GCJ='-Wl,' - lt_prog_compiler_static_GCJ='-static' - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_GCJ='-Bstatic' - fi - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - ;; +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic_GCJ='-fno-common' - ;; +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; +# Allow CC to be a program name with arguments. +compiler=$CC - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - lt_prog_compiler_can_build_shared_GCJ=no - enable_shared=no - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic_GCJ=-Kconform_pic - fi - ;; + # save warnings/boilerplate of simple test code + ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic_GCJ='-fPIC' - ;; - esac - ;; + ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* - *) - lt_prog_compiler_pic_GCJ='-fPIC' - ;; - esac + + # Allow CC to be a program name with arguments. + lt_save_CC=$CC + lt_save_CFLAGS=$CFLAGS + lt_save_LD=$LD + lt_save_GCC=$GCC + GCC=$GXX + lt_save_with_gnu_ld=$with_gnu_ld + lt_save_path_LD=$lt_cv_path_LD + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - lt_prog_compiler_wl_GCJ='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_GCJ='-Bstatic' - else - lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' - fi - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - lt_prog_compiler_pic_GCJ='-qnocommon' - lt_prog_compiler_wl_GCJ='-Wl,' - ;; - esac - ;; + $as_unset lt_cv_prog_gnu_ld + fi + if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX + else + $as_unset lt_cv_path_LD + fi + test -z "${LDCXX+set}" || LD=$LDCXX + CC=${CXX-"c++"} + CFLAGS=$CXXFLAGS + compiler=$CC + compiler_CXX=$CC + for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - ;; + if test -n "$compiler"; then + # We don't want -fno-exception when compiling C++ code, so set the + # no_builtin_flag separately + if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' + else + lt_prog_compiler_no_builtin_flag_CXX= + fi - hpux9* | hpux10* | hpux11*) - lt_prog_compiler_wl_GCJ='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default + if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${lt_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${lt_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld - newsos6) - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-Bstatic' - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - icc* | ecc*) - lt_prog_compiler_wl_GCJ='-Wl,' - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - lt_prog_compiler_wl_GCJ='-Wl,' - lt_prog_compiler_pic_GCJ='-fpic' - lt_prog_compiler_static_GCJ='-Bstatic' - ;; - ccc*) - lt_prog_compiler_wl_GCJ='-Wl,' - # All Alpha code is PIC. - lt_prog_compiler_static_GCJ='-non_shared' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-Bstatic' - lt_prog_compiler_wl_GCJ='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-Bstatic' - lt_prog_compiler_wl_GCJ='' - ;; - esac - ;; - esac - ;; - osf3* | osf4* | osf5*) - lt_prog_compiler_wl_GCJ='-Wl,' - # All OSF/1 code is PIC. - lt_prog_compiler_static_GCJ='-non_shared' - ;; - rdos*) - lt_prog_compiler_static_GCJ='-non_shared' - ;; - solaris*) - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - lt_prog_compiler_wl_GCJ='-Qoption ld ';; - *) - lt_prog_compiler_wl_GCJ='-Wl,';; - esac - ;; - sunos4*) - lt_prog_compiler_wl_GCJ='-Qoption ld ' - lt_prog_compiler_pic_GCJ='-PIC' - lt_prog_compiler_static_GCJ='-Bstatic' - ;; - sysv4 | sysv4.2uw2* | sysv4.3*) - lt_prog_compiler_wl_GCJ='-Wl,' - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-Bstatic' - ;; + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | + $GREP 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= - sysv4*MP*) - if test -d /usr/nec ;then - lt_prog_compiler_pic_GCJ='-Kconform_pic' - lt_prog_compiler_static_GCJ='-Bstatic' + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - lt_prog_compiler_wl_GCJ='-Wl,' - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-Bstatic' - ;; + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' - unicos*) - lt_prog_compiler_wl_GCJ='-Wl,' - lt_prog_compiler_can_build_shared_GCJ=no - ;; + else + GXX=no + with_gnu_ld=no + wlarc= + fi - uts4*) - lt_prog_compiler_pic_GCJ='-pic' - lt_prog_compiler_static_GCJ='-Bstatic' - ;; + # PORTME: fill in a description of your system's C++ link characteristics + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + ld_shlibs_CXX=yes + case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no - *) - lt_prog_compiler_can_build_shared_GCJ=no - ;; - esac - fi + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + ;; + esac -{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 -$as_echo "$lt_prog_compiler_pic_GCJ" >&6; } + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic_GCJ"; then + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_direct_absolute_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + file_list_spec_CXX='${wl}-f,' + + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi -{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; } -if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then + export_dynamic_flag_spec_CXX='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to + # export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty + # executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath__CXX+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_prog_compiler_pic_works_GCJ=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic_GCJ" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -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:17473: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:17477: \$? = $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. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works_GCJ=yes - fi - fi - $rm conftest* + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; } +int +main () +{ -if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then - case $lt_prog_compiler_pic_GCJ in - "" | " "*) ;; - *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; - esac -else - lt_prog_compiler_pic_GCJ= - lt_prog_compiler_can_build_shared_GCJ=no -fi + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi fi -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic_GCJ= - ;; - *) - lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" - ;; -esac - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" -{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_static_works_GCJ=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works_GCJ=yes - fi - else - lt_cv_prog_compiler_static_works_GCJ=yes - fi - fi - $rm -r conftest* - LDFLAGS="$save_LDFLAGS" +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX="/usr/lib:/lib" + fi fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5 -$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; } -if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then - : -else - lt_prog_compiler_static_GCJ= + aix_libpath=$lt_cv_aix_libpath__CXX fi + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" -{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then + archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath__CXX+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_prog_compiler_c_o_GCJ=no - $rm -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -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:17577: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:17581: \$? = $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 - # So say no if there are warnings - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_GCJ=yes - fi - fi - chmod u+w . 2>&5 - $rm conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out - cd .. - rmdir conftest - $rm conftest* +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; } +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX="/usr/lib:/lib" + fi +fi -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } - if test "$hard_links" = no; then - { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no + aix_libpath=$lt_cv_aix_libpath__CXX fi -{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX='$convenience' + fi + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds its shared + # libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; - runpath_var= - allow_undefined_flag_GCJ= - enable_shared_with_static_runtimes_GCJ=no - archive_cmds_GCJ= - archive_expsym_cmds_GCJ= - old_archive_From_new_cmds_GCJ= - old_archive_from_expsyms_cmds_GCJ= - export_dynamic_flag_spec_GCJ= - whole_archive_flag_spec_GCJ= - thread_safe_flag_spec_GCJ= - hardcode_libdir_flag_spec_GCJ= - hardcode_libdir_flag_spec_ld_GCJ= - hardcode_libdir_separator_GCJ= - hardcode_direct_GCJ=no - hardcode_minus_L_GCJ=no - hardcode_shlibpath_var_GCJ=unsupported - link_all_deplibs_GCJ=unknown - hardcode_automatic_GCJ=no - module_cmds_GCJ= - module_expsym_cmds_GCJ= - always_export_symbols_GCJ=no - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - include_expsyms_GCJ= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - # Exclude shared library initialization/finalization symbols. - extract_expsyms_cmds= - # Just being paranoid about ensuring that cc_basename is set. - for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_CXX=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_CXX=no + fi + ;; - case $host_os in - cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; - ld_shlibs_GCJ=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' + cygwin* | mingw* | pw32* | cegcc*) + case $GXX,$cc_basename in + ,cl* | no,cl*) + # Native MSVC + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_CXX=' ' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=yes + file_list_spec_CXX='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' + enable_shared_with_static_runtimes_CXX=yes + # Don't use ranlib + old_postinstall_cmds_CXX='chmod 644 $oldlib' + postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + func_to_tool_file "$lt_outputfile"~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # g++ + # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs_CXX=no + fi + ;; + esac + ;; + darwin* | rhapsody*) - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec_GCJ= + + archive_cmds_need_lc_CXX=no + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + if test "$lt_cv_ld_force_load" = "yes"; then + whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + else + whole_archive_flag_spec_CXX='' + fi + link_all_deplibs_CXX=yes + allow_undefined_flag_CXX="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=func_echo_all + archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + if test "$lt_cv_apple_cc_single_mod" != "yes"; then + archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" fi - supports_anon_versioning=no - case `$LD -v 2>/dev/null` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - # See if GNU ld supports shared libraries. - case $host_os in - aix[3-9]*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - ld_shlibs_GCJ=no - cat <&2 + else + ld_shlibs_CXX=no + fi -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. + ;; -EOF - fi - ;; + dgux*) + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx*) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; - amigaos*) - archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_minus_L_GCJ=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can't use - # them. - ld_shlibs_GCJ=no - ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before + # switch to ELF + ld_shlibs_CXX=no + ;; - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag_GCJ=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs_GCJ=no - fi - ;; + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec_GCJ='-L$libdir' - allow_undefined_flag_GCJ=unsupported - always_export_symbols_GCJ=no - enable_shared_with_static_runtimes_GCJ=yes - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs_GCJ=no - fi - ;; + gnu*) + ;; - interix[3-9]*) - hardcode_direct_GCJ=no - hardcode_shlibpath_var_GCJ=no - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' - export_dynamic_flag_spec_GCJ='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; + haiku*) + archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + link_all_deplibs_CXX=yes + ;; - gnu* | linux* | k*bsd*-gnu) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_addflag= - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - *) - tmp_sharedflag='-shared' ;; - esac - archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC*) + archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; - if test $supports_anon_versioning = yes; then - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - else - ld_shlibs_GCJ=no - fi - ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + *) + hardcode_direct_CXX=yes + hardcode_direct_absolute_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_cpu in + hppa*64*) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; - solaris*) - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then - ld_shlibs_GCJ=no - cat <&2 + interix[3-9]*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + inherit_rpath_CXX=yes + ;; -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc* | ecpc* ) + # Intel C++ + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + archive_cmds_need_lc_CXX=no + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + case `$CC -V` in + *pgCC\ [1-5].* | *pgcpp\ [1-5].*) + prelink_cmds_CXX='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' + old_archive_cmds_CXX='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ + $RANLIB $oldlib' + archive_cmds_CXX='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + archive_expsym_cmds_CXX='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + *) # Version 6 and above use weak symbols + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + esac -EOF - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs_GCJ=no - fi - ;; + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) - ld_shlibs_GCJ=no - cat <<_LT_EOF 1>&2 + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' + ;; + xl* | mpixl* | bgxl*) + # IBM XL 8.0 on PPC, with GNU ld + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' + hardcode_libdir_flag_spec_CXX='-R$libdir' + whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object_CXX=yes + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + esac + ;; + esac + ;; -_LT_EOF + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no ;; - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' - else - ld_shlibs_GCJ=no - fi + + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no ;; - esac - ;; - sunos4*) - archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct_GCJ=yes - hardcode_shlibpath_var_GCJ=no - ;; + mvs*) + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs_GCJ=no - fi - ;; - esac + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; - if test "$ld_shlibs_GCJ" = no; then - runpath_var= - hardcode_libdir_flag_spec_GCJ= - export_dynamic_flag_spec_GCJ= - whole_archive_flag_spec_GCJ= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag_GCJ=unsupported - always_export_symbols_GCJ=yes - archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L_GCJ=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct_GCJ=unsupported - fi - ;; + *nto* | *qnx*) + ld_shlibs_CXX=yes + ;; - aix[4-9]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + openbsd2*) + # C++ shared libraries are fairly broken + ld_shlibs_CXX=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + hardcode_direct_absolute_CXX=yes + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + export_dynamic_flag_spec_CXX='${wl}-E' + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd=func_echo_all else - export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + ld_shlibs_CXX=no fi - aix_use_runtimelinking=no + ;; - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + case $host in + osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; + *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; + esac + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx*) + case $host in + osf3*) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + ;; + *) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ + $RM $lib.exp' + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + ;; + esac - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi + hardcode_libdir_separator_CXX=: - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + case $host in + osf3*) + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + *) + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + esac + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; - archive_cmds_GCJ='' - hardcode_direct_GCJ=yes - hardcode_libdir_separator_GCJ=':' - link_all_deplibs_GCJ=yes + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct_GCJ=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L_GCJ=yes - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_libdir_separator_GCJ= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc*) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols_GCJ=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag_GCJ='-berok' - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + archive_cmds_need_lc_CXX=yes + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' + ;; + esac + link_all_deplibs_CXX=yes -int -main () -{ + output_verbose_link_cmd='func_echo_all' - ; - 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 + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | $GREP -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + fi + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac + ;; -fi + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag_CXX='${wl}-z,text' + archive_cmds_need_lc_CXX=no + hardcode_shlibpath_var_CXX=no + runpath_var='LD_RUN_PATH' -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + case $cc_basename in + CC*) + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag_GCJ="-z nodefs" - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag_CXX='${wl}-z,text' + allow_undefined_flag_CXX='${wl}-z,nodefs' + archive_cmds_need_lc_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + export_dynamic_flag_spec_CXX='${wl}-Bexport' + runpath_var='LD_RUN_PATH' -int -main () -{ + case $cc_basename in + CC*) + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ + '"$old_archive_cmds_CXX" + reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ + '"$reload_cmds_CXX" + ;; + *) + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; - ; - 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 + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac -fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 +$as_echo "$ld_shlibs_CXX" >&6; } + test "$ld_shlibs_CXX" = no && can_build_shared=no -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + GCC_CXX="$GXX" + LD_CXX="$LD" - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag_GCJ=' ${wl}-bernotok' - allow_undefined_flag_GCJ=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec_GCJ='$convenience' - archive_cmds_need_lc_GCJ=yes - # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + # Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= - amigaos*) - archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_minus_L_GCJ=yes - # see comment about different semantics on the GNU ld section - ld_shlibs_GCJ=no - ;; +cat > conftest.$ac_ext <<_LT_EOF +class Foo +{ +public: + Foo (void) { a = 0; } +private: + int a; +}; +_LT_EOF - bsdi[45]*) - export_dynamic_flag_spec_GCJ=-rdynamic - ;; - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec_GCJ=' ' - allow_undefined_flag_GCJ=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_From_new_cmds_GCJ='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' - enable_shared_with_static_runtimes_GCJ=yes - ;; +_lt_libdeps_save_CFLAGS=$CFLAGS +case "$CC $CFLAGS " in #( +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +esac - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[012]) - allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[012]) - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - archive_cmds_need_lc_GCJ=no - hardcode_direct_GCJ=no - hardcode_automatic_GCJ=yes - hardcode_shlibpath_var_GCJ=unsupported - whole_archive_flag_spec_GCJ='' - link_all_deplibs_GCJ=yes - if test "$GCC" = yes ; then - output_verbose_link_cmd='echo' - archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - ld_shlibs_GCJ=no - ;; - esac - fi - ;; +if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. - dgux*) - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_shlibpath_var_GCJ=no - ;; + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no - freebsd1*) - ld_shlibs_GCJ=no - ;; + for p in `eval "$output_verbose_link_cmd"`; do + case ${prev}${p} in - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec_GCJ='-R$libdir' - hardcode_direct_GCJ=yes - hardcode_shlibpath_var_GCJ=no - ;; + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" || + test $p = "-R"; then + prev=$p + continue + fi - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_GCJ=yes - hardcode_minus_L_GCJ=yes - hardcode_shlibpath_var_GCJ=no - ;; + # Expand the sysroot to ease extracting the directories later. + if test -z "$prev"; then + case $p in + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; + esac + fi + case $p in + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; + esac + if test "$pre_test_object_deps_done" = no; then + case ${prev} in + -L | -R) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + prev= + ;; - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec_GCJ='-R$libdir' - hardcode_direct_GCJ=yes - hardcode_shlibpath_var_GCJ=no - ;; + *.lto.$objext) ;; # Ignore GCC LTO objects + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi - hpux9*) - if test "$GCC" = yes; then - archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_GCJ=: - hardcode_direct_GCJ=yes + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L_GCJ=yes - export_dynamic_flag_spec_GCJ='${wl}-E' - ;; + *) ;; # Ignore the rest. - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_GCJ=: + esac + done - hardcode_direct_GCJ=yes - export_dynamic_flag_spec_GCJ='${wl}-E' + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L_GCJ=yes - fi - ;; +$RM -f confest.$objext +CFLAGS=$_lt_libdeps_save_CFLAGS - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_GCJ=: +# PORTME: override above test on systems where it is broken +case $host_os in +interix[3-9]*) + # Interix 3.5 installs completely hosed .la files for C++, so rather than + # hack all around it, let's just trust "g++" to DTRT. + predep_objects_CXX= + postdep_objects_CXX= + postdeps_CXX= + ;; - case $host_cpu in - hppa*64*|ia64*) - hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' - hardcode_direct_GCJ=no - hardcode_shlibpath_var_GCJ=no - ;; - *) - hardcode_direct_GCJ=yes - export_dynamic_flag_spec_GCJ='${wl}-E' +linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L_GCJ=yes - ;; - esac - fi + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes ;; + esac - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' - fi - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_GCJ=: - link_all_deplibs_GCJ=yes - ;; + if test "$solaris_use_stlport4" != yes; then + postdeps_CXX='-library=Cstd -library=Crun' + fi + ;; + esac + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec_GCJ='-R$libdir' - hardcode_direct_GCJ=yes - hardcode_shlibpath_var_GCJ=no +solaris*) + case $cc_basename in + CC* | sunCC*) + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes ;; + esac - newsos6) - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_GCJ=yes - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_GCJ=: - hardcode_shlibpath_var_GCJ=no - ;; + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. + if test "$solaris_use_stlport4" != yes; then + postdeps_CXX='-library=Cstd -library=Crun' + fi + ;; + esac + ;; +esac - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct_GCJ=yes - hardcode_shlibpath_var_GCJ=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' - export_dynamic_flag_spec_GCJ='${wl}-E' - else - case $host_os in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec_GCJ='-R$libdir' - ;; - *) - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' - ;; - esac - fi - else - ld_shlibs_GCJ=no - fi - ;; - os2*) - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_minus_L_GCJ=yes - allow_undefined_flag_GCJ=unsupported - archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + compiler_lib_search_dirs_CXX= +if test -n "${compiler_lib_search_path_CXX}"; then + compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` +fi + - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag_GCJ=' -expect_unresolved \*' - archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_GCJ=: - ;; - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag_GCJ=' -expect_unresolved \*' - archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' - # Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec_GCJ='-rpath $libdir' - fi - hardcode_libdir_separator_GCJ=: - ;; - solaris*) - no_undefined_flag_GCJ=' -z text' - if test "$GCC" = yes; then - wlarc='${wl}' - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' - else - wlarc='' - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - fi - hardcode_libdir_flag_spec_GCJ='-R$libdir' - hardcode_shlibpath_var_GCJ=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' - fi - ;; - esac - link_all_deplibs_GCJ=yes - ;; - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_direct_GCJ=yes - hardcode_minus_L_GCJ=yes - hardcode_shlibpath_var_GCJ=no - ;; - sysv4) - case $host_vendor in - sni) - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_GCJ=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds_GCJ='$CC -r -o $output$reload_objs' - hardcode_direct_GCJ=no - ;; - motorola) - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var_GCJ=no - ;; - sysv4.3*) - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var_GCJ=no - export_dynamic_flag_spec_GCJ='-Bexport' - ;; - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var_GCJ=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs_GCJ=yes - fi - ;; - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag_GCJ='${wl}-z,text' - archive_cmds_need_lc_GCJ=no - hardcode_shlibpath_var_GCJ=no - runpath_var='LD_RUN_PATH' - if test "$GCC" = yes; then - archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag_GCJ='${wl}-z,text' - allow_undefined_flag_GCJ='${wl}-z,nodefs' - archive_cmds_need_lc_GCJ=no - hardcode_shlibpath_var_GCJ=no - hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - hardcode_libdir_separator_GCJ=':' - link_all_deplibs_GCJ=yes - export_dynamic_flag_spec_GCJ='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - if test "$GCC" = yes; then - archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - uts4*) - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_shlibpath_var_GCJ=no - ;; - *) - ld_shlibs_GCJ=no - ;; - esac - fi -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 -$as_echo "$ld_shlibs_GCJ" >&6; } -test "$ld_shlibs_GCJ" = no && can_build_shared=no -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc_GCJ" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc_GCJ=yes - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds_GCJ in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $rm conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl_GCJ - pic_flag=$lt_prog_compiler_pic_GCJ - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ - allow_undefined_flag_GCJ= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - archive_cmds_need_lc_GCJ=no - else - archive_cmds_need_lc_GCJ=yes - fi - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 -$as_echo "$archive_cmds_need_lc_GCJ" >&6; } - ;; - esac - fi - ;; -esac -{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -need_lib_prefix=unknown -hardcode_into_libs=no -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; -aix[4-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; -bsdi[45]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; -cygwin* | mingw* | pw32*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - shlibpath_overrides_runpath=yes + + lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi ;; - mingw*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + lt_prog_compiler_pic_CXX='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static_CXX= + ;; + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic fi ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic_CXX='-fPIC -shared' + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' ;; esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` else case $host_os in - freebsd[123]*) objformat=aout ;; - *) objformat=elf ;; + aix[4-9]*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + dgux*) + case $cc_basename in + ec++*) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + ecpc* ) + # old Intel C++ for x86_64 which still supported -KPIC. + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + icpc* ) + # Intel C++, used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + lt_prog_compiler_static_CXX='-static' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-fpic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-qpic' + lt_prog_compiler_static_CXX='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd* | netbsdelf*-gnu) + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic_CXX='-fPIC -shared' + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx*) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc*) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; esac fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[3-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= ;; *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; +esac -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } +lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } +if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -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:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $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. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works_CXX=yes + fi + fi + $RM conftest* -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" - fi +if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; +fi -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; -nto-qnx*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_static_works_CXX=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works_CXX=yes + fi + else + lt_cv_prog_compiler_static_works_CXX=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } -rdos*) - dynamic_linker=no - ;; +if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then + : +else + lt_prog_compiler_static_CXX= +fi -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - shlibpath_overrides_runpath=no - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - shlibpath_overrides_runpath=yes - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -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:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $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 + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } -*) - dynamic_linker=no - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" -fi -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" -fi + lt_cv_prog_compiler_c_o_CXX=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -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:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $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 + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } -{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action_GCJ= -if test -n "$hardcode_libdir_flag_spec_GCJ" || \ - test -n "$runpath_var_GCJ" || \ - test "X$hardcode_automatic_GCJ" = "Xyes" ; then - # We can hardcode non-existant directories. - if test "$hardcode_direct_GCJ" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && - test "$hardcode_minus_L_GCJ" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action_GCJ=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action_GCJ=immediate + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn fi else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action_GCJ=unsupported + need_locks=no fi -{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 -$as_echo "$hardcode_action_GCJ" >&6; } -if test "$hardcode_action_GCJ" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi -# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - compiler_GCJ \ - CC_GCJ \ - LD_GCJ \ - lt_prog_compiler_wl_GCJ \ - lt_prog_compiler_pic_GCJ \ - lt_prog_compiler_static_GCJ \ - lt_prog_compiler_no_builtin_flag_GCJ \ - export_dynamic_flag_spec_GCJ \ - thread_safe_flag_spec_GCJ \ - whole_archive_flag_spec_GCJ \ - enable_shared_with_static_runtimes_GCJ \ - old_archive_cmds_GCJ \ - old_archive_from_new_cmds_GCJ \ - predep_objects_GCJ \ - postdep_objects_GCJ \ - predeps_GCJ \ - postdeps_GCJ \ - compiler_lib_search_path_GCJ \ - compiler_lib_search_dirs_GCJ \ - archive_cmds_GCJ \ - archive_expsym_cmds_GCJ \ - postinstall_cmds_GCJ \ - postuninstall_cmds_GCJ \ - old_archive_from_expsyms_cmds_GCJ \ - allow_undefined_flag_GCJ \ - no_undefined_flag_GCJ \ - export_symbols_cmds_GCJ \ - hardcode_libdir_flag_spec_GCJ \ - hardcode_libdir_flag_spec_ld_GCJ \ - hardcode_libdir_separator_GCJ \ - hardcode_automatic_GCJ \ - module_cmds_GCJ \ - module_expsym_cmds_GCJ \ - lt_cv_prog_compiler_c_o_GCJ \ - fix_srcfile_path_GCJ \ - exclude_expsyms_GCJ \ - include_expsyms_GCJ; do - - case $var in - old_archive_cmds_GCJ | \ - old_archive_from_new_cmds_GCJ | \ - archive_cmds_GCJ | \ - archive_expsym_cmds_GCJ | \ - module_cmds_GCJ | \ - module_expsym_cmds_GCJ | \ - old_archive_from_expsyms_cmds_GCJ | \ - export_symbols_cmds_GCJ | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + case $host_os in + aix[4-9]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global defined + # symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw* | cegcc*) + case $cc_basename in + cl*) ;; *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' ;; esac - done - - case $lt_echo in - *'\$0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + linux* | k*bsd*-gnu | gnu*) + link_all_deplibs_CXX=no + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac -cfgfile="$ofile" - - cat <<__EOF__ >> "$cfgfile" -# ### BEGIN LIBTOOL TAG CONFIG: $tagname - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc_GCJ - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 +$as_echo "$ld_shlibs_CXX" >&6; } +test "$ld_shlibs_CXX" = no && can_build_shared=no -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os +with_gnu_ld_CXX=$with_gnu_ld -# An echo program that does not interpret backslashes. -echo=$lt_echo -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS -# A C compiler. -LTCC=$lt_LTCC -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS -# A language-specific compiler. -CC=$lt_compiler_GCJ -# Is the compiler the GNU C compiler? -with_gcc=$GCC_GCJ +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes -# An ERE matcher. -EGREP=$lt_EGREP + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } +if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext -# The linker used to build libraries. -LD=$lt_LD_GCJ + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + pic_flag=$lt_prog_compiler_pic_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + lt_cv_archive_cmds_need_lc_CXX=no + else + lt_cv_archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* -# Whether we need hard or soft links. -LN_S=$lt_LN_S +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } + archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX + ;; + esac + fi + ;; +esac -# A BSD-compatible nm program. -NM=$lt_NM -# A symbol stripping program -STRIP=$lt_STRIP -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" -# Used on cygwin: assembler. -AS="$AS" -# The name of the directory that contains temporary libtool files. -objdir=$objdir -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_GCJ -# Object file suffix (normally "o"). -objext="$ac_objext" -# Old archive suffix (normally "a"). -libext="$libext" -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' -# Executable file suffix (normally ""). -exeext="$exeext" -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_GCJ -pic_mode=$pic_mode -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ -# Must we lock files when doing compilation? -need_locks=$lt_need_locks -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix -# Do we need a version for libraries? -need_version=$need_version -# Whether dlopen is supported. -dlopen_support=$enable_dlopen -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static_GCJ -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ -# Library versioning type. -version_type=$version_type -# Format of library name prefix. -libname_spec=$lt_libname_spec -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds_GCJ -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds_GCJ -archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_module_cmds_GCJ -module_expsym_cmds=$lt_module_expsym_cmds_GCJ -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_predep_objects_GCJ - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_postdep_objects_GCJ - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_predeps_GCJ - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_postdeps_GCJ - -# The directories searched by this compiler when creating a shared -# library -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag_GCJ -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag_GCJ -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address -# This is the shared library runtime path variable. -runpath_var=$runpath_var -# This is the shared library path variable. -shlibpath_var=$shlibpath_var -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action_GCJ -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct_GCJ - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L_GCJ - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$hardcode_automatic_GCJ -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs_GCJ -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols_GCJ -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds_GCJ -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms_GCJ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms_GCJ +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no -# ### END LIBTOOL TAG CONFIG: $tagname +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown -__EOF__ +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" +aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH fi -fi + ;; +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; -CC="$lt_save_CC" +bsdi[45]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; - else - tagname="" - fi - ;; +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no - RC) + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -# Source file extension for RC test sources. -ac_ext=rc + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; -# Object file extension for compiled RC test sources. -objext=o -objext_RC=$objext + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' -# Code to be used in simple compile tests -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac -# Code to be used in simple link tests -lt_simple_link_test_code="$lt_simple_compile_test_code" + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; -# ltmain only uses $CC for tagged configurations so make sure $CC is set. + *) + # Assume MSVC wrapper + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; -# Allow CC to be a program name with arguments. -compiler=$CC +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; +freebsd1*) + dynamic_linker=no + ;; -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[123]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm -r conftest* +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; +haiku*) + version_type=linux + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${RC-"windres"} -compiler=$CC -compiler_RC=$CC -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; -lt_cv_prog_compiler_c_o_RC=yes +interix[3-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; -# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - compiler_RC \ - CC_RC \ - LD_RC \ - lt_prog_compiler_wl_RC \ - lt_prog_compiler_pic_RC \ - lt_prog_compiler_static_RC \ - lt_prog_compiler_no_builtin_flag_RC \ - export_dynamic_flag_spec_RC \ - thread_safe_flag_spec_RC \ - whole_archive_flag_spec_RC \ - enable_shared_with_static_runtimes_RC \ - old_archive_cmds_RC \ - old_archive_from_new_cmds_RC \ - predep_objects_RC \ - postdep_objects_RC \ - predeps_RC \ - postdeps_RC \ - compiler_lib_search_path_RC \ - compiler_lib_search_dirs_RC \ - archive_cmds_RC \ - archive_expsym_cmds_RC \ - postinstall_cmds_RC \ - postuninstall_cmds_RC \ - old_archive_from_expsyms_cmds_RC \ - allow_undefined_flag_RC \ - no_undefined_flag_RC \ - export_symbols_cmds_RC \ - hardcode_libdir_flag_spec_RC \ - hardcode_libdir_flag_spec_ld_RC \ - hardcode_libdir_separator_RC \ - hardcode_automatic_RC \ - module_cmds_RC \ - module_expsym_cmds_RC \ - lt_cv_prog_compiler_c_o_RC \ - fix_srcfile_path_RC \ - exclude_expsyms_RC \ - include_expsyms_RC; do - - case $var in - old_archive_cmds_RC | \ - old_archive_from_new_cmds_RC | \ - archive_cmds_RC | \ - archive_expsym_cmds_RC | \ - module_cmds_RC | \ - module_expsym_cmds_RC | \ - old_archive_from_expsyms_cmds_RC | \ - export_symbols_cmds_RC | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; esac - done - - case $lt_echo in - *'\$0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; -cfgfile="$ofile" - - cat <<__EOF__ >> "$cfgfile" -# ### BEGIN LIBTOOL TAG CONFIG: $tagname - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc_RC - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A C compiler. -LTCC=$lt_LTCC - -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS - -# A language-specific compiler. -CC=$lt_compiler_RC - -# Is the compiler the GNU C compiler? -with_gcc=$GCC_RC - -# An ERE matcher. -EGREP=$lt_EGREP - -# The linker used to build libraries. -LD=$lt_LD_RC - -# Whether we need hard or soft links. -LN_S=$lt_LN_S - -# A BSD-compatible nm program. -NM=$lt_NM - -# A symbol stripping program -STRIP=$lt_STRIP - -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" +# This must be Linux ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" + # Some binutils ld are patched to set DT_RUNPATH + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -# Used on cygwin: assembler. -AS="$AS" +int +main () +{ -# The name of the directory that contains temporary libtool files. -objdir=$objdir + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : + lt_cv_shlibpath_overrides_runpath=yes +fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds +fi -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_RC + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath -# Object file suffix (normally "o"). -objext="$ac_objext" + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes -# Old archive suffix (normally "a"). -libext="$libext" + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; -# Executable file suffix (normally ""). -exeext="$exeext" +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_RC -pic_mode=$pic_mode +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; -# Must we lock files when doing compilation? -need_locks=$lt_need_locks +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; -# Do we need a version for libraries? -need_version=$need_version +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; -# Whether dlopen is supported. -dlopen_support=$enable_dlopen +rdos*) + dynamic_linker=no + ;; -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static_RC +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; -# Library versioning type. -version_type=$version_type +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no -# Format of library name prefix. -libname_spec=$lt_libname_spec +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds_RC -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds_RC -archive_expsym_cmds=$lt_archive_expsym_cmds_RC -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_module_cmds_RC -module_expsym_cmds=$lt_module_expsym_cmds_RC -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_predep_objects_RC - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_postdep_objects_RC - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_predeps_RC - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_postdeps_RC - -# The directories searched by this compiler when creating a shared -# library -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_RC -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag_RC -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag_RC -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address -# This is the shared library runtime path variable. -runpath_var=$runpath_var -# This is the shared library path variable. -shlibpath_var=$shlibpath_var -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action_RC -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct_RC - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L_RC - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var_RC - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$hardcode_automatic_RC -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs_RC -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols_RC -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds_RC -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms_RC -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms_RC -# ### END LIBTOOL TAG CONFIG: $tagname -__EOF__ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || + test -n "$runpath_var_CXX" || + test "X$hardcode_automatic_CXX" = "Xyes" ; then -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" + # We can hardcode non-existent directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 +$as_echo "$hardcode_action_CXX" >&6; } +if test "$hardcode_action_CXX" = relink || + test "$inherit_rpath_CXX" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -CC="$lt_save_CC" - - ;; - - *) - { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 -$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;} - { (exit 1); exit 1; }; } - ;; - esac - # Append the new tag name to the list of available tags. - if test -n "$tagname" ; then - available_tags="$available_tags $tagname" - fi - fi - done - IFS="$lt_save_ifs" - # Now substitute the updated list of available tags. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then - mv "${ofile}T" "$ofile" - chmod +x "$ofile" - else - rm -f "${ofile}T" - { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 -$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;} - { (exit 1); exit 1; }; } - fi -fi -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' + fi # test -n "$compiler" -# Prevent multiple expansion + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS + LDCXX=$LD + LD=$lt_save_LD + GCC=$lt_save_GCC + with_gnu_ld=$lt_save_with_gnu_ld + lt_cv_path_LDCXX=$lt_cv_path_LD + lt_cv_path_LD=$lt_save_path_LD + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +fi # test "$_lt_caught_CXX_error" != yes +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu @@ -20255,26 +15209,24 @@ + ac_config_commands="$ac_config_commands libtool" +# Only expand once: # Checks for required libraries, don't set global -lpthread, -lm, -ljpeg, ... here, set in Makefile. -{ $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } -if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then +if ${ac_cv_lib_pthread_pthread_create+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -20292,62 +15244,31 @@ 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 +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_pthread_pthread_create=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_pthread_pthread_create=no + ac_cv_lib_pthread_pthread_create=no fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } -if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then +if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : LIBS="$LIBS" else - { { $as_echo "$as_me:$LINENO: error: cannot find libpthread support" >&5 -$as_echo "$as_me: error: cannot find libpthread support" >&2;} - { (exit 7); exit 7; }; } + as_fn_error 7 "cannot find libpthread support" "$LINENO" 5 fi -{ $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 $as_echo_n "checking for pow in -lm... " >&6; } -if test "${ac_cv_lib_m_pow+set}" = set; then +if ${ac_cv_lib_m_pow+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -20365,62 +15286,31 @@ 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 +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_m_pow=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_m_pow=no + ac_cv_lib_m_pow=no fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 $as_echo "$ac_cv_lib_m_pow" >&6; } -if test "x$ac_cv_lib_m_pow" = x""yes; then +if test "x$ac_cv_lib_m_pow" = xyes; then : LIBS="$LIBS" else - { { $as_echo "$as_me:$LINENO: error: cannot find libm math support" >&5 -$as_echo "$as_me: error: cannot find libm math support" >&2;} - { (exit 10); exit 10; }; } + as_fn_error 10 "cannot find libm math support" "$LINENO" 5 fi -{ $as_echo "$as_me:$LINENO: checking for jpeg_set_defaults in -ljpeg" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -ljpeg" >&5 $as_echo_n "checking for jpeg_set_defaults in -ljpeg... " >&6; } -if test "${ac_cv_lib_jpeg_jpeg_set_defaults+set}" = set; then +if ${ac_cv_lib_jpeg_jpeg_set_defaults+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ljpeg $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -20433,1798 +15323,1829 @@ int main () { -return jpeg_set_defaults (); +return jpeg_set_defaults (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_jpeg_jpeg_set_defaults=yes +else + ac_cv_lib_jpeg_jpeg_set_defaults=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_set_defaults" >&5 +$as_echo "$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; } +if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = xyes; then : + LIBS="$LIBS" +else + as_fn_error 102 "\"cannot find libjpeg support\"" "$LINENO" 5 +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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 dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + LIBS="$LIBS" $as_echo "#define HAVE_LIBDL 1" >>confdefs.h + +else + as_fn_error 104 "\"cannot find libdl support\"" "$LINENO" 5 +fi + + +# Checks for required header files. +for ac_header in pthread.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" +if test "x$ac_cv_header_pthread_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_PTHREAD_H 1 +_ACEOF + +else + as_fn_error 7 "cannot find pthread-devel support" "$LINENO" 5 +fi + +done + +for ac_header in jpeglib.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default" +if test "x$ac_cv_header_jpeglib_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_JPEGLIB_H 1 +_ACEOF + +else + as_fn_error 103 "cannot find libjpeg-devel support" "$LINENO" 5 +fi + +done + + +# Checks for typedefs, structures, and compiler characteristics. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +$as_echo_n "checking whether byte ordering is bigendian... " >&6; } +if ${ac_cv_c_bigendian+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + # Check for potential -arch flags. It is not universal unless + # there are at least two -arch flags with different values. + ac_arch= + ac_prev= + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do + if test -n "$ac_prev"; then + case $ac_word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then + ac_arch=$ac_word + else + ac_cv_c_bigendian=universal + break + fi + ;; + esac + ac_prev= + elif test "x$ac_word" = "x-arch"; then + ac_prev=arch + fi + done +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main () +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ + && LITTLE_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main () +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main () +{ +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to _BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main () +{ +#ifndef _BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. + if test "$cross_compiling" = yes; then : + # Try to guess by grepping values from an object file. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; + short int ascii_ii[] = + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; + int use_ascii (int i) { + return ascii_mm[i] + ascii_ii[i]; + } + short int ebcdic_ii[] = + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; + short int ebcdic_mm[] = + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; + int use_ebcdic (int i) { + return ebcdic_mm[i] + ebcdic_ii[i]; + } + extern int foo; + +int +main () +{ +return use_ascii (foo) == use_ebcdic (foo); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + ac_cv_c_bigendian=yes + fi + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi + fi +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ + + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long int l; + char c[sizeof (long int)]; + } u; + u.l = 1; + return u.c[sizeof (long int) - 1] == 1; + ; 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_jpeg_jpeg_set_defaults=yes +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_bigendian=no else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_jpeg_jpeg_set_defaults=no + ac_cv_c_bigendian=yes 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 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_set_defaults" >&5 -$as_echo "$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; } -if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = x""yes; then - LIBS="$LIBS" -else - { { $as_echo "$as_me:$LINENO: error: \"cannot find libjpeg support\"" >&5 -$as_echo "$as_me: error: \"cannot find libjpeg support\"" >&2;} - { (exit 102); exit 102; }; } + + fi fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +$as_echo "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) + $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h +;; #( + no) + APDK_ENDIAN_FLAG="-DAPDK_LITTLE_ENDIAN" ;; #( + universal) -{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>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" + ;; #( + *) + as_fn_error $? "unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; + esac + + +# Autoconf-style header tests for APDK +cat >prnt/hpijs/auto-include.h < #endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} +#ifdef HAVE_STDINT_H +#include +#endif +#ifdef HAVE_MACHINE_TYPES_H +#include +#endif +EOFH +ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include \"prnt/hpijs/auto-include.h\" +" +if test "x$ac_cv_type_uint32_t" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UINT32_T 1 _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;; + +APDK_AUTO_INCLUDE_FLAG="-DAPDK_AUTO_INCLUDE" +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking \"for platform-dependencies\"" >&5 +$as_echo_n "checking \"for platform-dependencies\"... " >&6; } +darwin_build="no" +case "$host" in + *-darwin*) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"using Mac OS X platform.h\"" >&5 +$as_echo "\"using Mac OS X platform.h\"" >&6; } + cat >prnt/hpijs/platform.h < +#include +#include +#include +#include +#include +#include +EOF + darwin_build="yes" + ;; + + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"using Default platform.h\"" >&5 +$as_echo "\"using Default platform.h\"" >&6; } + cat >prnt/hpijs/platform.h < +#include +#include +#include +#include +EOF + ;; 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_dl_dlopen=yes + if test x$darwin_build = xyes; then + DARWIN_BUILD_TRUE= + DARWIN_BUILD_FALSE='#' else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dl_dlopen=no + DARWIN_BUILD_TRUE='#' + DARWIN_BUILD_FALSE= 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 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for documentation build" >&5 +$as_echo_n "checking for documentation build... " >&6; } +# Check whether --enable-doc_build was given. +if test "${enable_doc_build+set}" = set; then : + enableval=$enable_doc_build; doc_build=$enableval +else + doc_build=yes fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then - LIBS="$LIBS" cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBDL 1 -_ACEOF +if test "$doc_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$doc_build = xyes; then + DOC_BUILD_TRUE= + DOC_BUILD_FALSE='#' else - { { $as_echo "$as_me:$LINENO: error: \"cannot find libdl support\"" >&5 -$as_echo "$as_me: error: \"cannot find libdl support\"" >&2;} - { (exit 104); exit 104; }; } + DOC_BUILD_TRUE='#' + DOC_BUILD_FALSE= fi -# Checks for required header files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hpijs only build" >&5 +$as_echo_n "checking for hpijs only build... " >&6; } +# Check whether --enable-hpijs_only_build was given. +if test "${enable_hpijs_only_build+set}" = set; then : + enableval=$enable_hpijs_only_build; hpijs_only_build=$enableval +else + hpijs_only_build=no +fi + +if test "$hpijs_only_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + epm_full=\# + epm_lite=\# + epm_hpcups_only=\# + epm_print_only_exclude=\# + epm_hpijs_only= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + epm_hpijs_only=\# + $as_echo "#define HAVE_LIBHPIP 1" >>confdefs.h -for ac_header in pthread.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; } + if test x$hpijs_only_build = xyes; then + HPIJS_ONLY_BUILD_TRUE= + HPIJS_ONLY_BUILD_FALSE='#' 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 + HPIJS_ONLY_BUILD_TRUE='#' + HPIJS_ONLY_BUILD_FALSE= +fi + + +{ $as_echo "$as_me:${as_lineno-$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 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + lite_build=no +fi - ac_header_compiler=no +if test "$lite_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + epm_full=\# + epm_hpcups_only=\# + epm_print_only_exclude= + epm_lite= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$lite_build = xyes; then + LITE_BUILD_TRUE= + LITE_BUILD_FALSE='#' +else + LITE_BUILD_TRUE='#' + LITE_BUILD_FALSE= 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hpcups only build" >&5 +$as_echo_n "checking for hpcups only build... " >&6; } +# Check whether --enable-hpcups_only_build was given. +if test "${enable_hpcups_only_build+set}" = set; then : + enableval=$enable_hpcups_only_build; hpcups_only_build=$enableval else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + hpcups_only_build=no +fi - ac_header_preproc=no +if test "$hpcups_only_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + epm_full=\# + epm_lite=\# + epm_hpcups_only= + epm_print_only_exclude=\# +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$hpcups_only_build = xyes; then + HPCUPS_ONLY_BUILD_TRUE= + HPCUPS_ONLY_BUILD_FALSE='#' +else + HPCUPS_ONLY_BUILD_TRUE='#' + HPCUPS_ONLY_BUILD_FALSE= 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.12.2 ## -## --------------------- ## -_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 + if test x$hpcups_only_build = xno && test x$hpijs_only_build = xno; then + HPLIP_BUILD_TRUE= + HPLIP_BUILD_FALSE='#' else - eval "$as_ac_Header=\$ac_header_preproc" + HPLIP_BUILD_TRUE='#' + HPLIP_BUILD_FALSE= 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; } + +if test "$hpijs_only_build" = "no" && test "$hpcups_only_build" = "no"; then + $as_echo "#define HAVE_LIBHPIP 1" >>confdefs.h 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 +if test "$lite_build" = "no" && test "$hpcups_only_build" = "no" && test "$hpijs_only_build" = "no"; then + epm_full= + epm_lite=\# + epm_hpcups_only=\# + epm_print_only_exclude= +fi + if test x$hpcups_only_build = xno && test x$lite_build = xno && test x$hpijs_only_build = xno; then + FULL_BUILD_TRUE= + FULL_BUILD_FALSE='#' else - { { $as_echo "$as_me:$LINENO: error: cannot find pthread-devel support" >&5 -$as_echo "$as_me: error: cannot find pthread-devel support" >&2;} - { (exit 7); exit 7; }; } + FULL_BUILD_TRUE='#' + FULL_BUILD_FALSE= fi -done - -for ac_header in jpeglib.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 +{ $as_echo "$as_me:${as_lineno-$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 -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; } + +if test "$hpijs_install" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + epm_hpijs_install=yes 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 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$hpijs_install = xyes; then + HPIJS_INSTALL_TRUE= + HPIJS_INSTALL_FALSE='#' else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no + HPIJS_INSTALL_TRUE='#' + HPIJS_INSTALL_FALSE= 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 +{ $as_echo "$as_me:${as_lineno-$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 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + hpcups_install=yes +fi - ac_header_preproc=no +if test "$hpcups_install" = "yes" && test "$hpijs_only_build" = "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + epm_hpcups_install=yes +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$hpcups_install = xyes && test x$hpijs_only_build = xno; then + HPCUPS_INSTALL_TRUE= + HPCUPS_INSTALL_FALSE='#' +else + HPCUPS_INSTALL_TRUE='#' + HPCUPS_INSTALL_FALSE= 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.12.2 ## -## --------------------- ## -_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 +{ $as_echo "$as_me:${as_lineno-$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 - eval "$as_ac_Header=\$ac_header_preproc" + new_hpcups=no 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; } +if test "$new_hpcups" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&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 - + if test x$new_hpcups = xyes; then + NEW_HPCUPS_TRUE= + NEW_HPCUPS_FALSE='#' else - { { $as_echo "$as_me:$LINENO: error: cannot find libjpeg-devel support" >&5 -$as_echo "$as_me: error: cannot find libjpeg-devel support" >&2;} - { (exit 103); exit 103; }; } + NEW_HPCUPS_TRUE='#' + NEW_HPCUPS_FALSE= fi -done - - -# Checks for typedefs, structures, and compiler characteristics. - { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 -$as_echo_n "checking whether byte ordering is bigendian... " >&6; } -if test "${ac_cv_c_bigendian+set}" = set; then - $as_echo_n "(cached) " >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for network build" >&5 +$as_echo_n "checking for network build... " >&6; } +# Check whether --enable-network_build was given. +if test "${enable_network_build+set}" = set; then : + enableval=$enable_network_build; network_build=$enableval else - ac_cv_c_bigendian=unknown - # See if we're dealing with a universal compiler. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifndef __APPLE_CC__ - not a universal capable compiler - #endif - typedef int dummy; - -_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 + network_build=yes +fi - # Check for potential -arch flags. It is not universal unless - # there are some -arch flags. Note that *ppc* also matches - # ppc64. This check is also rather less than ideal. - case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( - *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; - esac +if test "$network_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$network_build = xyes; then + NETWORK_BUILD_TRUE= + NETWORK_BUILD_FALSE='#' +else + NETWORK_BUILD_TRUE='#' + NETWORK_BUILD_FALSE= +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel port build" >&5 +$as_echo_n "checking for parallel port build... " >&6; } +# Check whether --enable-pp_build was given. +if test "${enable_pp_build+set}" = set; then : + enableval=$enable_pp_build; pp_build=$enableval +else + pp_build=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test $ac_cv_c_bigendian = unknown; then - # See if sys/param.h defines the BYTE_ORDER macro. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #include - -int -main () -{ -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ - && LITTLE_ENDIAN) - bogus endian macros - #endif +if test "$pp_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes(**Support Deprecated)" >&5 +$as_echo "yes(**Support Deprecated)" >&6; } + $as_echo "#define HAVE_PPORT 1" >>confdefs.h - ; - return 0; -} -_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 - # It does; now see whether it defined to BIG_ENDIAN or not. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #include +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -int -main () -{ -#if BYTE_ORDER != BIG_ENDIAN - not big endian - #endif +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for scanner build" >&5 +$as_echo_n "checking for scanner build... " >&6; } +# Check whether --enable-scan_build was given. +if test "${enable_scan_build+set}" = set; then : + enableval=$enable_scan_build; scan_build=$enableval +else + scan_build=yes +fi - ; - return 0; -} -_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_cv_c_bigendian=yes +if test "$scan_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + epm_scan= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + epm_scan=\# +fi + if test x$scan_build = xyes; then + SCAN_BUILD_TRUE= + SCAN_BUILD_FALSE='#' else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_c_bigendian=no + SCAN_BUILD_TRUE='#' + SCAN_BUILD_FALSE= fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gui build" >&5 +$as_echo_n "checking for gui build... " >&6; } +# Check whether --enable-gui_build was given. +if test "${enable_gui_build+set}" = set; then : + enableval=$enable_gui_build; gui_build=$enableval +else + gui_build=yes +fi +if test "$gui_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$gui_build = xyes; then + GUI_BUILD_TRUE= + GUI_BUILD_FALSE='#' +else + GUI_BUILD_TRUE='#' + GUI_BUILD_FALSE= fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ -#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) - bogus endian macros - #endif +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fax build" >&5 +$as_echo_n "checking for fax build... " >&6; } +# Check whether --enable-fax_build was given. +if test "${enable_fax_build+set}" = set; then : + enableval=$enable_fax_build; fax_build=$enableval +else + fax_build=yes +fi - ; - return 0; -} -_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 - # It does; now see whether it defined to _BIG_ENDIAN or not. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include +if test "$fax_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$fax_build = xyes; then + FAX_BUILD_TRUE= + FAX_BUILD_FALSE='#' +else + FAX_BUILD_TRUE='#' + FAX_BUILD_FALSE= +fi -int -main () -{ -#ifndef _BIG_ENDIAN - not big endian - #endif - ; - return 0; -} -_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_cv_c_bigendian=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus build" >&5 +$as_echo_n "checking for dbus build... " >&6; } +# Check whether --enable-dbus_build was given. +if test "${enable_dbus_build+set}" = set; then : + enableval=$enable_dbus_build; dbus_build=$enableval else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_c_bigendian=no + dbus_build=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +if test "$dbus_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cups 1.1.x build" >&5 +$as_echo_n "checking for cups 1.1.x build... " >&6; } +# Check whether --enable-cups11_build was given. +if test "${enable_cups11_build+set}" = set; then : + enableval=$enable_cups11_build; cups11_build=$enableval +else + cups11_build=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # Compile a test program. - if test "$cross_compiling" = yes; then - # Try to guess by grepping values from an object file. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -short int ascii_mm[] = - { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; - short int ascii_ii[] = - { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; - int use_ascii (int i) { - return ascii_mm[i] + ascii_ii[i]; - } - short int ebcdic_ii[] = - { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; - short int ebcdic_mm[] = - { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; - int use_ebcdic (int i) { - return ebcdic_mm[i] + ebcdic_ii[i]; - } - extern int foo; +if test "$cups11_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + $as_echo "#define HAVE_CUPS11 1" >>confdefs.h -int -main () -{ -return use_ascii (foo) == use_ebcdic (foo); - ; - return 0; -} -_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 - if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then - ac_cv_c_bigendian=yes - fi - if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then - if test "$ac_cv_c_bigendian" = unknown; then - ac_cv_c_bigendian=no - else - # finding both strings is unlikely to happen, but who knows? - ac_cv_c_bigendian=unknown - fi - fi else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$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 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +if test "$udev_acl_rules" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - 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 -int -main () -{ + { $as_echo "$as_me:${as_lineno-$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 - /* Are we little or big endian? From Harbison&Steele. */ - union - { - long int l; - char c[sizeof (long int)]; - } u; - u.l = 1; - return u.c[sizeof (long int) - 1] == 1; - ; - return 0; -} -_ACEOF -rm -f 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>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (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_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_c_bigendian=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev sysfs enable rules" >&5 +$as_echo_n "checking for udev sysfs enable rules... " >&6; } +# Check whether --enable-udev_sysfs_rules was given. +if test "${enable_udev_sysfs_rules+set}" = set; then : + enableval=$enable_udev_sysfs_rules; udev_sysfs_rules=$enableval else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + udev_sysfs_rules=no +fi -( exit $ac_status ) -ac_cv_c_bigendian=yes +if test "$udev_sysfs_rules" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext + if test x$udev_sysfs_rules = xyes; then + UDEV_SYSFS_RULES_TRUE= + UDEV_SYSFS_RULES_FALSE='#' +else + UDEV_SYSFS_RULES_TRUE='#' + UDEV_SYSFS_RULES_FALSE= fi - fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shadow build" >&5 +$as_echo_n "checking for shadow build... " >&6; } +# Check whether --enable-shadow_build was given. +if test "${enable_shadow_build+set}" = set; then : + enableval=$enable_shadow_build; shadow_build=$enableval +else + shadow_build=no fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 -$as_echo "$ac_cv_c_bigendian" >&6; } - case $ac_cv_c_bigendian in #( - yes) - cat >>confdefs.h <<\_ACEOF -#define WORDS_BIGENDIAN 1 -_ACEOF -;; #( - no) - APDK_ENDIAN_FLAG="-DAPDK_LITTLE_ENDIAN" ;; #( - universal) - -cat >>confdefs.h <<\_ACEOF -#define AC_APPLE_UNIVERSAL_BUILD 1 -_ACEOF - ;; #( - *) - { { $as_echo "$as_me:$LINENO: error: unknown endianness - presetting ac_cv_c_bigendian=no (or yes) will help" >&5 -$as_echo "$as_me: error: unknown endianness - presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} - { (exit 1); exit 1; }; } ;; - esac +if test "$shadow_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$shadow_build = xyes; then + SHADOW_BUILD_TRUE= + SHADOW_BUILD_FALSE='#' +else + SHADOW_BUILD_TRUE='#' + SHADOW_BUILD_FALSE= +fi -# Autoconf-style header tests for APDK -cat >prnt/hpijs/auto-include.h < -#endif -#ifdef HAVE_STDINT_H -#include -#endif -#ifdef HAVE_MACHINE_TYPES_H -#include -#endif -EOFH -{ $as_echo "$as_me:$LINENO: checking for uint32_t" >&5 -$as_echo_n "checking for uint32_t... " >&6; } -if test "${ac_cv_type_uint32_t+set}" = set; then - $as_echo_n "(cached) " >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb-0.1 build" >&5 +$as_echo_n "checking for libusb-0.1 build... " >&6; } +# Check whether --enable-libusb01_build was given. +if test "${enable_libusb01_build+set}" = set; then : + enableval=$enable_libusb01_build; libusb01_build=$enableval else - ac_cv_type_uint32_t=no -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include "prnt/hpijs/auto-include.h" + libusb01_build=no +fi -int -main () -{ -if (sizeof (uint32_t)) - return 0; - ; - return 0; -} -_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 - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include "prnt/hpijs/auto-include.h" +if test "$libusb01_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + $as_echo "#define HAVE_LIBUSB01 1" >>confdefs.h -int -main () -{ -if (sizeof ((uint32_t))) - return 0; - ; - return 0; -} -_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 - : else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_type_uint32_t=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test x$libusb01_build = xyes; then + LIBUSB01_BUILD_TRUE= + LIBUSB01_BUILD_FALSE='#' +else + LIBUSB01_BUILD_TRUE='#' + LIBUSB01_BUILD_FALSE= fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +# Check whether --with-cupsbackenddir was given. +if test "${with_cupsbackenddir+set}" = set; then : + withval=$with_cupsbackenddir; cupsbackenddir=$withval else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + cupsbackenddir="/usr/lib/cups/backend" +fi + +# Check whether --with-cupsfilterdir was given. +if test "${with_cupsfilterdir+set}" = set; then : + withval=$with_cupsfilterdir; cupsfilterdir=$withval +else + cupsfilterdir="/usr/lib/cups/filter" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +# Check whether --with-icondir was given. +if test "${with_icondir+set}" = set; then : + withval=$with_icondir; icondir=$withval +else + icondir="/usr/share/applications" fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 -$as_echo "$ac_cv_type_uint32_t" >&6; } -if test "x$ac_cv_type_uint32_t" = x""yes; then -cat >>confdefs.h <<_ACEOF -#define HAVE_UINT32_T 1 -_ACEOF -APDK_AUTO_INCLUDE_FLAG="-DAPDK_AUTO_INCLUDE" + +# Check whether --with-systraydir was given. +if test "${with_systraydir+set}" = set; then : + withval=$with_systraydir; systraydir=$withval +else + systraydir="/etc/xdg/autostart" fi -{ $as_echo "$as_me:$LINENO: checking \"for platform-dependencies\"" >&5 -$as_echo_n "checking \"for platform-dependencies\"... " >&6; } -darwin_build="no" -case "$host" in - *-darwin*) - { $as_echo "$as_me:$LINENO: result: \"using Mac OS X platform.h\"" >&5 -$as_echo "\"using Mac OS X platform.h\"" >&6; } - cat >prnt/hpijs/platform.h < -#include -#include -#include -#include -#include -#include -EOF - darwin_build="yes" - ;; - *) - { $as_echo "$as_me:$LINENO: result: \"using Default platform.h\"" >&5 -$as_echo "\"using Default platform.h\"" >&6; } - cat >prnt/hpijs/platform.h < -#include -#include -#include -#include -EOF - ;; -esac - if test x$darwin_build = xyes; then - DARWIN_BUILD_TRUE= - DARWIN_BUILD_FALSE='#' +# Check whether --with-hpppddir was given. +if test "${with_hpppddir+set}" = set; then : + withval=$with_hpppddir; hpppddir=$withval else - DARWIN_BUILD_TRUE='#' - DARWIN_BUILD_FALSE= + hpppddir="$datadir/ppd/HP" fi -{ $as_echo "$as_me:$LINENO: checking for documentation build" >&5 -$as_echo_n "checking for documentation build... " >&6; } -# Check whether --enable-doc_build was given. -if test "${enable_doc_build+set}" = set; then - enableval=$enable_doc_build; doc_build=$enableval +if test -f "/usr/share/cups/mime/mime.types"; then + abs_mimedir="/usr/share/cups/mime/" else - doc_build=yes + abs_mimedir="/etc/cups/" fi -if test "$doc_build" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } +# Check whether --with-mimedir was given. +if test "${with_mimedir+set}" = set; then : + withval=$with_mimedir; mimedir=$withval else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } + mimedir="$abs_mimedir" fi - if test x$doc_build = xyes; then - DOC_BUILD_TRUE= - DOC_BUILD_FALSE='#' + + + +# Check whether --with-docdir was given. +if test "${with_docdir+set}" = set; then : + withval=$with_docdir; hpdocdir=$withval else - DOC_BUILD_TRUE='#' - DOC_BUILD_FALSE= + hpdocdir="$datadir/doc/hplip-$VERSION" fi -{ $as_echo "$as_me:$LINENO: checking for hpijs only build" >&5 -$as_echo_n "checking for hpijs only build... " >&6; } -# Check whether --enable-hpijs_only_build was given. -if test "${enable_hpijs_only_build+set}" = set; then - enableval=$enable_hpijs_only_build; hpijs_only_build=$enableval +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for foomatic ppd install" >&5 +$as_echo_n "checking for foomatic ppd install... " >&6; } +# Check whether --enable-foomatic_ppd_install was given. +if test "${enable_foomatic_ppd_install+set}" = set; then : + enableval=$enable_foomatic_ppd_install; foomatic_ppd_install=$enableval else - hpijs_only_build=no + foomatic_ppd_install=no fi -if test "$hpijs_only_build" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 +if test $foomatic_ppd_install = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } - epm_full=\# - epm_lite=\# - epm_hpcups_only=\# - epm_print_only_exclude=\# - epm_hpijs_only= + epm_foomatic_ppd_install=yes else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } - epm_hpijs_only=\# - cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBHPIP 1 -_ACEOF - fi - if test x$hpijs_only_build = xyes; then - HPIJS_ONLY_BUILD_TRUE= - HPIJS_ONLY_BUILD_FALSE='#' + if test x$foomatic_ppd_install = xyes; then + FOOMATIC_PPD_INSTALL_TRUE= + FOOMATIC_PPD_INSTALL_FALSE='#' else - HPIJS_ONLY_BUILD_TRUE='#' - HPIJS_ONLY_BUILD_FALSE= + FOOMATIC_PPD_INSTALL_TRUE='#' + FOOMATIC_PPD_INSTALL_FALSE= 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 + +# Check whether --with-drvdir was given. +if test "${with_drvdir+set}" = set; then : + withval=$with_drvdir; drvdir=$withval else - lite_build=no + drvdir="$datadir/cups/drv/hp" fi -if test "$lite_build" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for foomatic drv install" >&5 +$as_echo_n "checking for foomatic drv install... " >&6; } +# Check whether --enable-foomatic_drv_install was given. +if test "${enable_foomatic_drv_install+set}" = set; then : + enableval=$enable_foomatic_drv_install; foomatic_drv_install=$enableval +else + foomatic_drv_install=no +fi + +if test $foomatic_drv_install = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } - epm_full=\# - epm_hpcups_only=\# - epm_print_only_exclude= - epm_lite= + epm_foomatic_drv_install=yes else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - if test x$lite_build = xyes; then - LITE_BUILD_TRUE= - LITE_BUILD_FALSE='#' + if test x$foomatic_drv_install = xyes; then + FOOMATIC_DRV_INSTALL_TRUE= + FOOMATIC_DRV_INSTALL_FALSE='#' else - LITE_BUILD_TRUE='#' - LITE_BUILD_FALSE= + FOOMATIC_DRV_INSTALL_TRUE='#' + FOOMATIC_DRV_INSTALL_FALSE= fi -{ $as_echo "$as_me:$LINENO: checking for hpcups only build" >&5 -$as_echo_n "checking for hpcups only build... " >&6; } -# Check whether --enable-hpcups_only_build was given. -if test "${enable_hpcups_only_build+set}" = set; then - enableval=$enable_hpcups_only_build; hpcups_only_build=$enableval +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cups drv install" >&5 +$as_echo_n "checking for cups drv install... " >&6; } +# Check whether --enable-cups_drv_install was given. +if test "${enable_cups_drv_install+set}" = set; then : + enableval=$enable_cups_drv_install; cups_drv_install=$enableval else - hpcups_only_build=no + cups_drv_install=yes fi -if test "$hpcups_only_build" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 +if test $cups_drv_install = yes && test $hpijs_only_build = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } - epm_full=\# - epm_lite=\# - epm_hpcups_only= - epm_print_only_exclude=\# + epm_cups_drv_install=yes else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - if test x$hpcups_only_build = xyes; then - HPCUPS_ONLY_BUILD_TRUE= - HPCUPS_ONLY_BUILD_FALSE='#' + if test x$cups_drv_install = xyes && test x$hpijs_only_build = xno; then + CUPS_DRV_INSTALL_TRUE= + CUPS_DRV_INSTALL_FALSE='#' else - HPCUPS_ONLY_BUILD_TRUE='#' - HPCUPS_ONLY_BUILD_FALSE= + CUPS_DRV_INSTALL_TRUE='#' + CUPS_DRV_INSTALL_FALSE= fi - if test x$hpcups_only_build = xno && test x$hpijs_only_build = xno; then - HPLIP_BUILD_TRUE= - HPLIP_BUILD_FALSE='#' +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cups ppd install" >&5 +$as_echo_n "checking for cups ppd install... " >&6; } +# Check whether --enable-cups_ppd_install was given. +if test "${enable_cups_ppd_install+set}" = set; then : + enableval=$enable_cups_ppd_install; cups_ppd_install=$enableval else - HPLIP_BUILD_TRUE='#' - HPLIP_BUILD_FALSE= -fi - -if test "$hpijs_only_build" = "no" && test "$hpcups_only_build" = "no"; then - cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBHPIP 1 -_ACEOF - + cups_ppd_install=no fi -if test "$lite_build" = "no" && test "$hpcups_only_build" = "no" && test "$hpijs_only_build" = "no"; then - epm_full= - epm_lite=\# - epm_hpcups_only=\# - epm_print_only_exclude= +if test $cups_ppd_install = yes && test $hpijs_only_build = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + epm_cups_ppd_install=yes +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi - if test x$hpcups_only_build = xno && test x$lite_build = xno && test x$hpijs_only_build = xno; then - FULL_BUILD_TRUE= - FULL_BUILD_FALSE='#' + if test x$cups_ppd_install = xyes && test x$hpijs_only_build = xno; then + CUPS_PPD_INSTALL_TRUE= + CUPS_PPD_INSTALL_FALSE='#' else - FULL_BUILD_TRUE='#' - FULL_BUILD_FALSE= + CUPS_PPD_INSTALL_TRUE='#' + CUPS_PPD_INSTALL_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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for foomatic-rip-hplip install" >&5 +$as_echo_n "checking for foomatic-rip-hplip install... " >&6; } +# Check whether --enable-foomatic_rip_hplip_install was given. +if test "${enable_foomatic_rip_hplip_install+set}" = set; then : + enableval=$enable_foomatic_rip_hplip_install; foomatic_rip_hplip_install=$enableval else - hpijs_install=no + foomatic_rip_hplip_install=no fi -if test "$hpijs_install" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 +if test "$foomatic_rip_hplip_install" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } - epm_hpijs_install=yes + foomatic_filter="foomatic-rip-hplip" + epm_foomatic_rip_hplip_install=yes else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } + foomatic_filter="foomatic-rip" fi - if test x$hpijs_install = xyes; then - HPIJS_INSTALL_TRUE= - HPIJS_INSTALL_FALSE='#' + if test x$foomatic_rip_hplip_install = xyes; then + RIP_INSTALL_TRUE= + RIP_INSTALL_FALSE='#' else - HPIJS_INSTALL_TRUE='#' - HPIJS_INSTALL_FALSE= + RIP_INSTALL_TRUE='#' + RIP_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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt4" >&5 +$as_echo_n "checking for qt4... " >&6; } +# Check whether --enable-qt4 was given. +if test "${enable_qt4+set}" = set; then : + enableval=$enable_qt4; qt4=$enableval else - hpcups_install=yes + qt4=yes fi -if test "$hpcups_install" = "yes" && test "$hpijs_only_build" = "no"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 +if test "$qt4" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } - epm_hpcups_install=yes else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - if test x$hpcups_install = xyes && test x$hpijs_only_build = xno; then - HPCUPS_INSTALL_TRUE= - HPCUPS_INSTALL_FALSE='#' + if test x$qt4 = xyes; then + QT4_INSTALL_TRUE= + QT4_INSTALL_FALSE='#' else - HPCUPS_INSTALL_TRUE='#' - HPCUPS_INSTALL_FALSE= + QT4_INSTALL_TRUE='#' + QT4_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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt3" >&5 +$as_echo_n "checking for qt3... " >&6; } +# Check whether --enable-qt3 was given. +if test "${enable_qt3+set}" = set; then : + enableval=$enable_qt3; qt3=$enableval else - new_hpcups=no + qt3=no fi -if test "$new_hpcups" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 +if test "$qt3" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - if test x$new_hpcups = xyes; then - NEW_HPCUPS_TRUE= - NEW_HPCUPS_FALSE='#' + if test x$qt3 = xyes; then + QT3_INSTALL_TRUE= + QT3_INSTALL_FALSE='#' else - NEW_HPCUPS_TRUE='#' - NEW_HPCUPS_FALSE= + QT3_INSTALL_TRUE='#' + QT3_INSTALL_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. -if test "${enable_network_build+set}" = set; then - enableval=$enable_network_build; network_build=$enableval +if test "$gui_build" = "no"; then + qt3=no + qt4=no +fi + +epm_qt3=\# +epm_qt4=\# +if test "$hpcups_only_build" = "no" && test "$hpijs_only_build" = "no"; then +if test "$qt3" = "yes" && test "$qt4" = "no"; then + ui_toolkit=qt3 + epm_qt3= +elif test "$qt4" = "yes"; then + ui_toolkit=qt4 + epm_qt4= else - network_build=yes + ui_toolkit=no +fi fi -if test "$network_build" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for policykit" >&5 +$as_echo_n "checking for policykit... " >&6; } +# Check whether --enable-policykit was given. +if test "${enable_policykit+set}" = set; then : + enableval=$enable_policykit; policykit=$enableval +else + policykit=no +fi + +if test "$policykit" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - if test x$network_build = xyes; then - NETWORK_BUILD_TRUE= - NETWORK_BUILD_FALSE='#' + if test x$policykit = xyes; then + POLICYKIT_INSTALL_TRUE= + POLICYKIT_INSTALL_FALSE='#' else - NETWORK_BUILD_TRUE='#' - NETWORK_BUILD_FALSE= + POLICYKIT_INSTALL_TRUE='#' + POLICYKIT_INSTALL_FALSE= fi -{ $as_echo "$as_me:$LINENO: checking for parallel port build" >&5 -$as_echo_n "checking for parallel port build... " >&6; } -# Check whether --enable-pp_build was given. -if test "${enable_pp_build+set}" = set; then - enableval=$enable_pp_build; pp_build=$enableval +# Determine where the PolicyKit policy file goes +if test "$policykit" = "yes"; then + if test -d /usr/share/polkit-1; then + policykit_dir=/usr/share/polkit-1/actions + elif test -d /usr/share/PolicyKit; then + policykit_dir=/usr/share/PolicyKit/policy + else + policykit_dir=/usr/share/PolicyKit/policy + fi else - pp_build=no + policykit_dir= fi -if test "$pp_build" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - cat >>confdefs.h <<\_ACEOF -#define HAVE_PPORT 1 -_ACEOF - +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for host machine platform" >&5 +$as_echo_n "checking for host machine platform... " >&6; } +machine=`uname -m` +if test "$machine" = "x86_32" || test "$machine" = "i686"; then + platform="x86_32" +elif test "$machine" = "x86_64"; then + platform="x86_64" +elif test "$machine" = "ppc"; then + platform="ppc" else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } + platform="unsupport" fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform" >&5 +$as_echo "$platform" >&6; } -{ $as_echo "$as_me:$LINENO: checking for scanner build" >&5 -$as_echo_n "checking for scanner build... " >&6; } -# Check whether --enable-scan_build was given. -if test "${enable_scan_build+set}" = set; then - enableval=$enable_scan_build; scan_build=$enableval +# Check conditional packages. + +if test "$hpijs_only_build" = "no" && test "$network_build" = "yes" && test "$hpcups_only_build" = "no"; then +# 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:${as_lineno-$LINENO}: checking for CRYPTO_free in -lcrypto" >&5 +$as_echo_n "checking for CRYPTO_free in -lcrypto... " >&6; } +if ${ac_cv_lib_crypto_CRYPTO_free+:} false; then : + $as_echo_n "(cached) " >&6 else - scan_build=yes -fi + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcrypto $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -if test "$scan_build" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - epm_scan= +/* 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 CRYPTO_free (); +int +main () +{ +return CRYPTO_free (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_crypto_CRYPTO_free=yes else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - epm_scan=\# + ac_cv_lib_crypto_CRYPTO_free=no fi - if test x$scan_build = xyes; then - SCAN_BUILD_TRUE= - SCAN_BUILD_FALSE='#' +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$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" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBCRYPTO 1 +_ACEOF + + LIBS="-lcrypto $LIBS" + else - SCAN_BUILD_TRUE='#' - SCAN_BUILD_FALSE= + as_fn_error 4 "cannot find net-snmp support (or --disable-network-build)" "$LINENO" 5 fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snmp_timeout in -lnetsnmp" >&5 +$as_echo_n "checking for snmp_timeout in -lnetsnmp... " >&6; } +if ${ac_cv_lib_netsnmp_snmp_timeout+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnetsnmp $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -{ $as_echo "$as_me:$LINENO: checking for gui build" >&5 -$as_echo_n "checking for gui build... " >&6; } -# Check whether --enable-gui_build was given. -if test "${enable_gui_build+set}" = set; then - enableval=$enable_gui_build; gui_build=$enableval +/* 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 +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_netsnmp_snmp_timeout=yes else - gui_build=yes + ac_cv_lib_netsnmp_snmp_timeout=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$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" = xyes; then : + LIBS="$old_LIBS" $as_echo "#define HAVE_LIBNETSNMP 1" >>confdefs.h + SNMPLIB="netsnmp" +else + check_ucd=yes fi -if test "$gui_build" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } +if test "$check_ucd" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snmp_timeout in -lsnmp" >&5 +$as_echo_n "checking for snmp_timeout in -lsnmp... " >&6; } +if ${ac_cv_lib_snmp_snmp_timeout+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsnmp $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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 +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_snmp_snmp_timeout=yes else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } + ac_cv_lib_snmp_snmp_timeout=no fi - if test x$gui_build = xyes; then - GUI_BUILD_TRUE= - GUI_BUILD_FALSE='#' +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$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" = xyes; then : + LIBS="$old_LIBS" $as_echo "#define HAVE_LIBNETSNMP 1" >>confdefs.h + $as_echo "#define HAVE_UCDSNMP 1" >>confdefs.h + SNMPLIB="snmp" else - GUI_BUILD_TRUE='#' - GUI_BUILD_FALSE= + as_fn_error 4 "cannot find net/ucd-snmp support (or --disable-network-build)" "$LINENO" 5 fi + for ac_header in ucd-snmp/ucd-snmp-config.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ucd-snmp/ucd-snmp-config.h" "ac_cv_header_ucd_snmp_ucd_snmp_config_h" "$ac_includes_default" +if test "x$ac_cv_header_ucd_snmp_ucd_snmp_config_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_UCD_SNMP_UCD_SNMP_CONFIG_H 1 +_ACEOF -{ $as_echo "$as_me:$LINENO: checking for fax build" >&5 -$as_echo_n "checking for fax build... " >&6; } -# Check whether --enable-fax_build was given. -if test "${enable_fax_build+set}" = set; then - enableval=$enable_fax_build; fax_build=$enableval else - fax_build=yes + as_fn_error 5 "cannot find ucd-snmp-devel support (or --disable-network-build)" "$LINENO" 5 fi -if test "$fax_build" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } +done + else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - if test x$fax_build = xyes; then - FAX_BUILD_TRUE= - FAX_BUILD_FALSE='#' + for ac_header in net-snmp/net-snmp-config.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "net-snmp/net-snmp-config.h" "ac_cv_header_net_snmp_net_snmp_config_h" "$ac_includes_default" +if test "x$ac_cv_header_net_snmp_net_snmp_config_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_NET_SNMP_NET_SNMP_CONFIG_H 1 +_ACEOF + else - FAX_BUILD_TRUE='#' - FAX_BUILD_FALSE= + as_fn_error 5 "cannot find net-snmp-devel support (or --disable-network-build)" "$LINENO" 5 fi +done -{ $as_echo "$as_me:$LINENO: checking for dbus build" >&5 -$as_echo_n "checking for dbus build... " >&6; } -# Check whether --enable-dbus_build was given. -if test "${enable_dbus_build+set}" = set; then - enableval=$enable_dbus_build; dbus_build=$enableval -else - dbus_build=yes fi - -if test "$dbus_build" = "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 -{ $as_echo "$as_me:$LINENO: checking for cups 1.1.x build" >&5 -$as_echo_n "checking for cups 1.1.x build... " >&6; } -# Check whether --enable-cups11_build was given. -if test "${enable_cups11_build+set}" = set; then - enableval=$enable_cups11_build; cups11_build=$enableval +if test "$hpijs_only_build" = "no" && test "$pp_build" = "yes" && test "$hpcups_only_build" = "no"; then + for ac_header in linux/ppdev.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "linux/ppdev.h" "ac_cv_header_linux_ppdev_h" "$ac_includes_default" +if test "x$ac_cv_header_linux_ppdev_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LINUX_PPDEV_H 1 +_ACEOF + else - cups11_build=no + as_fn_error 8 "cannot find ppdev-devel support (or --disable-pp-build)" "$LINENO" 5 fi -if test "$cups11_build" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - cat >>confdefs.h <<\_ACEOF -#define HAVE_CUPS11 1 -_ACEOF +done -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$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 +if test "$hpijs_only_build" = "no" && test "$hpcups_only_build" = "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cupsDoFileRequest in -lcups" >&5 +$as_echo_n "checking for cupsDoFileRequest in -lcups... " >&6; } +if ${ac_cv_lib_cups_cupsDoFileRequest+:} false; then : + $as_echo_n "(cached) " >&6 else - udev_acl_rules=no -fi + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcups $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -if test "$udev_acl_rules" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } +/* 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 cupsDoFileRequest (); +int +main () +{ +return cupsDoFileRequest (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_cups_cupsDoFileRequest=yes else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } + ac_cv_lib_cups_cupsDoFileRequest=no fi - if test x$udev_acl_rules = xyes; then - UDEV_ACL_RULES_TRUE= - UDEV_ACL_RULES_FALSE='#' +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cups_cupsDoFileRequest" >&5 +$as_echo "$ac_cv_lib_cups_cupsDoFileRequest" >&6; } +if test "x$ac_cv_lib_cups_cupsDoFileRequest" = xyes; then : + LIBS="$LIBS" else - UDEV_ACL_RULES_TRUE='#' - UDEV_ACL_RULES_FALSE= + as_fn_error 9 "cannot find libcups support" "$LINENO" 5 fi + for ac_header in cups/cups.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default" +if test "x$ac_cv_header_cups_cups_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_CUPS_CUPS_H 1 +_ACEOF -{ $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. -if test "${enable_shadow_build+set}" = set; then - enableval=$enable_shadow_build; shadow_build=$enableval else - shadow_build=no + as_fn_error 3 "cannot find cups-devel support" "$LINENO" 5 fi -if test "$shadow_build" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } +done + + if test "$libusb01_build" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usb_init in -lusb" >&5 +$as_echo_n "checking for usb_init in -lusb... " >&6; } +if ${ac_cv_lib_usb_usb_init+:} false; then : + $as_echo_n "(cached) " >&6 else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } + ac_check_lib_save_LIBS=$LIBS +LIBS="-lusb $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* 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 usb_init (); +int +main () +{ +return usb_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_usb_usb_init=yes +else + ac_cv_lib_usb_usb_init=no fi - if test x$shadow_build = xyes; then - SHADOW_BUILD_TRUE= - SHADOW_BUILD_FALSE='#' +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_usb_init" >&5 +$as_echo "$ac_cv_lib_usb_usb_init" >&6; } +if test "x$ac_cv_lib_usb_usb_init" = xyes; then : + LIBS="$LIBS" else - SHADOW_BUILD_TRUE='#' - SHADOW_BUILD_FALSE= + as_fn_error 2 "cannot find libusb support" "$LINENO" 5 fi + for ac_header in usb.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "usb.h" "ac_cv_header_usb_h" "$ac_includes_default" +if test "x$ac_cv_header_usb_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_USB_H 1 +_ACEOF - -# Check whether --with-cupsbackenddir was given. -if test "${with_cupsbackenddir+set}" = set; then - withval=$with_cupsbackenddir; cupsbackenddir=$withval else - cupsbackenddir="/usr/lib/cups/backend" + as_fn_error 11 "cannot find libusb-devel support" "$LINENO" 5 fi +done + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_init in -lusb-1.0" >&5 +$as_echo_n "checking for libusb_init in -lusb-1.0... " >&6; } +if ${ac_cv_lib_usb_1_0_libusb_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lusb-1.0 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -# Check whether --with-cupsfilterdir was given. -if test "${with_cupsfilterdir+set}" = set; then - withval=$with_cupsfilterdir; cupsfilterdir=$withval +/* 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 libusb_init (); +int +main () +{ +return libusb_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_usb_1_0_libusb_init=yes else - cupsfilterdir="/usr/lib/cups/filter" + ac_cv_lib_usb_1_0_libusb_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_init" >&5 +$as_echo "$ac_cv_lib_usb_1_0_libusb_init" >&6; } +if test "x$ac_cv_lib_usb_1_0_libusb_init" = xyes; then : + LIBS="$LIBS" +else + as_fn_error 2 "cannot find libusb 1.0 support" "$LINENO" 5 fi + for ac_header in libusb-1.0/libusb.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "libusb-1.0/libusb.h" "ac_cv_header_libusb_1_0_libusb_h" "$ac_includes_default" +if test "x$ac_cv_header_libusb_1_0_libusb_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBUSB_1_0_LIBUSB_H 1 +_ACEOF - -# Check whether --with-icondir was given. -if test "${with_icondir+set}" = set; then - withval=$with_icondir; icondir=$withval else - icondir="/usr/share/applications" + as_fn_error 11 "cannot find libusb-1.0-devel support" "$LINENO" 5 fi +done - -# Check whether --with-systraydir was given. -if test "${with_systraydir+set}" = set; then - withval=$with_systraydir; systraydir=$withval -else - systraydir="/etc/xdg/autostart" + fi fi +if test "$hpijs_only_build" = "no" && test "$lite_build" = "no" && test "$hpcups_only_build" = "no"; then + -# Check whether --with-hpppddir was given. -if test "${with_hpppddir+set}" = set; then - withval=$with_hpppddir; hpppddir=$withval + + + if test -n "$PYTHON"; then + # If the user set $PYTHON, use it and don't search something else. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.2" >&5 +$as_echo_n "checking whether $PYTHON version >= 2.2... " >&6; } + prog="import sys +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +# map returns an iterator in Python 3.0 and a list in 2.x +minver = list(map(int, '2.2'.split('.'))) + [0, 0, 0] +minverhex = 0 +# xrange is not present in Python 3.0 and range returns an iterator +for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] +sys.exit(sys.hexversion < minverhex)" + if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 + ($PYTHON -c "$prog") >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - hpppddir="$datadir/ppd/HP" + as_fn_error $? "too old" "$LINENO" 5 fi + am_display_PYTHON=$PYTHON + else + # Otherwise, try each interpreter until we find one that satisfies + # VERSION. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.2" >&5 +$as_echo_n "checking for a Python interpreter with version >= 2.2... " >&6; } +if ${am_cv_pathless_PYTHON+:} false; then : + $as_echo_n "(cached) " >&6 +else + for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do + test "$am_cv_pathless_PYTHON" = none && break + prog="import sys +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +# map returns an iterator in Python 3.0 and a list in 2.x +minver = list(map(int, '2.2'.split('.'))) + [0, 0, 0] +minverhex = 0 +# xrange is not present in Python 3.0 and range returns an iterator +for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] +sys.exit(sys.hexversion < minverhex)" + if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 + ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then : + break +fi + done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 +$as_echo "$am_cv_pathless_PYTHON" >&6; } + # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. + if test "$am_cv_pathless_PYTHON" = none; then + PYTHON=: + else + # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. +set dummy $am_cv_pathless_PYTHON; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PYTHON+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PYTHON in + [\\/]* | ?:[\\/]*) + ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS -if test -f "/usr/share/cups/mime/mime.types"; then - abs_mimedir="/usr/share/cups/mime/" -else - abs_mimedir="/etc/cups/" + ;; +esac fi - -# Check whether --with-mimedir was given. -if test "${with_mimedir+set}" = set; then - withval=$with_mimedir; mimedir=$withval +PYTHON=$ac_cv_path_PYTHON +if test -n "$PYTHON"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 +$as_echo "$PYTHON" >&6; } else - mimedir="$abs_mimedir" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi + fi + am_display_PYTHON=$am_cv_pathless_PYTHON + fi -# Check whether --with-docdir was given. -if test "${with_docdir+set}" = set; then - withval=$with_docdir; hpdocdir=$withval -else - hpdocdir="$datadir/doc/hplip-$VERSION" -fi + if test "$PYTHON" = :; then + as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 + else -{ $as_echo "$as_me:$LINENO: checking for foomatic ppd install" >&5 -$as_echo_n "checking for foomatic ppd install... " >&6; } -# Check whether --enable-foomatic_ppd_install was given. -if test "${enable_foomatic_ppd_install+set}" = set; then - enableval=$enable_foomatic_ppd_install; foomatic_ppd_install=$enableval -else - foomatic_ppd_install=no -fi -if test $foomatic_ppd_install = yes; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - epm_foomatic_ppd_install=yes -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - if test x$foomatic_ppd_install = xyes; then - FOOMATIC_PPD_INSTALL_TRUE= - FOOMATIC_PPD_INSTALL_FALSE='#' + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 +$as_echo_n "checking for $am_display_PYTHON version... " >&6; } +if ${am_cv_python_version+:} false; then : + $as_echo_n "(cached) " >&6 else - FOOMATIC_PPD_INSTALL_TRUE='#' - FOOMATIC_PPD_INSTALL_FALSE= + am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 +$as_echo "$am_cv_python_version" >&6; } + PYTHON_VERSION=$am_cv_python_version -# Check whether --with-drvdir was given. -if test "${with_drvdir+set}" = set; then - withval=$with_drvdir; drvdir=$withval -else - drvdir="$datadir/cups/drv/hp" -fi - - -{ $as_echo "$as_me:$LINENO: checking for foomatic drv install" >&5 -$as_echo_n "checking for foomatic drv install... " >&6; } -# Check whether --enable-foomatic_drv_install was given. -if test "${enable_foomatic_drv_install+set}" = set; then - enableval=$enable_foomatic_drv_install; foomatic_drv_install=$enableval -else - foomatic_drv_install=no -fi + PYTHON_PREFIX='${prefix}' -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; } -fi - if test x$foomatic_drv_install = xyes; then - FOOMATIC_DRV_INSTALL_TRUE= - FOOMATIC_DRV_INSTALL_FALSE='#' -else - FOOMATIC_DRV_INSTALL_TRUE='#' - FOOMATIC_DRV_INSTALL_FALSE= -fi + PYTHON_EXEC_PREFIX='${exec_prefix}' -{ $as_echo "$as_me:$LINENO: checking for cups drv install" >&5 -$as_echo_n "checking for cups drv install... " >&6; } -# Check whether --enable-cups_drv_install was given. -if test "${enable_cups_drv_install+set}" = set; then - enableval=$enable_cups_drv_install; cups_drv_install=$enableval -else - cups_drv_install=yes -fi -if test $cups_drv_install = yes && test $hpijs_only_build = no; 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; } -fi - if test x$cups_drv_install = xyes && test x$hpijs_only_build = xno; then - CUPS_DRV_INSTALL_TRUE= - CUPS_DRV_INSTALL_FALSE='#' + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 +$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } +if ${am_cv_python_platform+:} false; then : + $as_echo_n "(cached) " >&6 else - CUPS_DRV_INSTALL_TRUE='#' - CUPS_DRV_INSTALL_FALSE= + am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 +$as_echo "$am_cv_python_platform" >&6; } + PYTHON_PLATFORM=$am_cv_python_platform -{ $as_echo "$as_me:$LINENO: checking for cups ppd install" >&5 -$as_echo_n "checking for cups ppd install... " >&6; } -# Check whether --enable-cups_ppd_install was given. -if test "${enable_cups_ppd_install+set}" = set; then - enableval=$enable_cups_ppd_install; cups_ppd_install=$enableval -else - cups_ppd_install=no -fi - -if test $cups_ppd_install = yes && test $hpijs_only_build = no; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - epm_cups_ppd_install=yes -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - if test x$cups_ppd_install = xyes && test x$hpijs_only_build = xno; then - CUPS_PPD_INSTALL_TRUE= - CUPS_PPD_INSTALL_FALSE='#' -else - CUPS_PPD_INSTALL_TRUE='#' - CUPS_PPD_INSTALL_FALSE= -fi -{ $as_echo "$as_me:$LINENO: checking for foomatic-rip-hplip install" >&5 -$as_echo_n "checking for foomatic-rip-hplip install... " >&6; } -# Check whether --enable-foomatic_rip_hplip_install was given. -if test "${enable_foomatic_rip_hplip_install+set}" = set; then - enableval=$enable_foomatic_rip_hplip_install; foomatic_rip_hplip_install=$enableval + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 +$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } +if ${am_cv_python_pythondir+:} false; then : + $as_echo_n "(cached) " >&6 else - foomatic_rip_hplip_install=no -fi + if test "x$prefix" = xNONE + then + am_py_prefix=$ac_default_prefix + else + am_py_prefix=$prefix + fi + am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null || + echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` + case $am_cv_python_pythondir in + $am_py_prefix*) + am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` + am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` + ;; + *) + case $am_py_prefix in + /usr|/System*) ;; + *) + am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; + esac -if test "$foomatic_rip_hplip_install" = "yes"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - foomatic_filter="foomatic-rip-hplip" - epm_foomatic_rip_hplip_install=yes -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - foomatic_filter="foomatic-rip" fi - if test x$foomatic_rip_hplip_install = xyes; then - RIP_INSTALL_TRUE= - RIP_INSTALL_FALSE='#' -else - RIP_INSTALL_TRUE='#' - RIP_INSTALL_FALSE= -fi - +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 +$as_echo "$am_cv_python_pythondir" >&6; } + pythondir=$am_cv_python_pythondir -{ $as_echo "$as_me:$LINENO: checking for qt4" >&5 -$as_echo_n "checking for qt4... " >&6; } -# Check whether --enable-qt4 was given. -if test "${enable_qt4+set}" = set; then - enableval=$enable_qt4; qt4=$enableval -else - qt4=yes -fi -if test "$qt4" = "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$qt4 = xyes; then - QT4_INSTALL_TRUE= - QT4_INSTALL_FALSE='#' -else - QT4_INSTALL_TRUE='#' - QT4_INSTALL_FALSE= -fi + pkgpythondir=\${pythondir}/$PACKAGE -{ $as_echo "$as_me:$LINENO: checking for qt3" >&5 -$as_echo_n "checking for qt3... " >&6; } -# Check whether --enable-qt3 was given. -if test "${enable_qt3+set}" = set; then - enableval=$enable_qt3; qt3=$enableval -else - qt3=no -fi -if test "$qt3" = "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$qt3 = xyes; then - QT3_INSTALL_TRUE= - QT3_INSTALL_FALSE='#' + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 +$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } +if ${am_cv_python_pyexecdir+:} false; then : + $as_echo_n "(cached) " >&6 else - QT3_INSTALL_TRUE='#' - QT3_INSTALL_FALSE= -fi - + if test "x$exec_prefix" = xNONE + then + am_py_exec_prefix=$am_py_prefix + else + am_py_exec_prefix=$exec_prefix + fi + am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null || + echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` + case $am_cv_python_pyexecdir in + $am_py_exec_prefix*) + am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` + am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` + ;; + *) + case $am_py_exec_prefix in + /usr|/System*) ;; + *) + am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; + esac -if test "$gui_build" = "no"; then - qt3=no - qt4=no fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 +$as_echo "$am_cv_python_pyexecdir" >&6; } + pyexecdir=$am_cv_python_pyexecdir -epm_qt3=\# -epm_qt4=\# -if test "$hpcups_only_build" = "no" && test "$hpijs_only_build" = "no"; then -if test "$qt3" = "yes" && test "$qt4" = "no"; then - ui_toolkit=qt3 - epm_qt3= -elif test "$qt4" = "yes"; then - ui_toolkit=qt4 - epm_qt4= -else - ui_toolkit=no -fi -fi -{ $as_echo "$as_me:$LINENO: checking for policykit" >&5 -$as_echo_n "checking for policykit... " >&6; } -# Check whether --enable-policykit was given. -if test "${enable_policykit+set}" = set; then - enableval=$enable_policykit; policykit=$enableval -else - policykit=no -fi -if test "$policykit" = "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$policykit = xyes; then - POLICYKIT_INSTALL_TRUE= - POLICYKIT_INSTALL_FALSE='#' -else - POLICYKIT_INSTALL_TRUE='#' - POLICYKIT_INSTALL_FALSE= -fi + pkgpyexecdir=\${pyexecdir}/$PACKAGE -# Determine where the PolicyKit policy file goes -if test "$policykit" = "yes"; then - if test -d /usr/share/polkit-1; then - policykit_dir=/usr/share/polkit-1/actions - elif test -d /usr/share/PolicyKit; then - policykit_dir=/usr/share/PolicyKit/policy - else - policykit_dir=/usr/share/PolicyKit/policy - fi -else - policykit_dir= -fi -{ $as_echo "$as_me:$LINENO: checking for host machine platform" >&5 -$as_echo_n "checking for host machine platform... " >&6; } -machine=`uname -m` -if test "$machine" = "x86_32" || test "$machine" = "i686"; then - platform="x86_32" -elif test "$machine" = "x86_64"; then - platform="x86_64" -elif test "$machine" = "ppc"; then - platform="ppc" + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for path to Python.h" >&5 +$as_echo_n "checking for path to Python.h... " >&6; } + PYTHONINCLUDEDIR=`$PYTHON -c "from distutils.sysconfig import get_python_inc; print get_python_inc();"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"using $PYTHONINCLUDEDIR\"" >&5 +$as_echo "\"using $PYTHONINCLUDEDIR\"" >&6; } + + for ac_header in python$PYTHON_VERSION/Python.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + else - platform="unsupport" + as_fn_error 6 "cannot find python-devel support" "$LINENO" 5 fi -{ $as_echo "$as_me:$LINENO: result: $platform" >&5 -$as_echo "$platform" >&6; } - -# Check conditional packages. -if test "$hpijs_only_build" = "no" && test "$network_build" = "yes"; then -# 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)]) +done - old_LIBS="$LIBS" +fi -{ $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 +if test "$hpijs_only_build" = "no" && test "$scan_build" = "yes" && test "$hpcups_only_build" = "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sane_open in -lsane" >&5 +$as_echo_n "checking for sane_open in -lsane... " >&6; } +if ${ac_cv_lib_sane_sane_open+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lcrypto $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +LIBS="-lsane $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -22233,151 +17154,237 @@ #ifdef __cplusplus extern "C" #endif -char CRYPTO_free (); +char sane_open (); int main () { -return CRYPTO_free (); +return sane_open (); ; 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_crypto_CRYPTO_free=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_sane_sane_open=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_crypto_CRYPTO_free=no + ac_cv_lib_sane_sane_open=no fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS 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 - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBCRYPTO 1 -_ACEOF +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_open" >&5 +$as_echo "$ac_cv_lib_sane_sane_open" >&6; } +if test "x$ac_cv_lib_sane_sane_open" = xyes; then : + LIBS="$LIBS" +else + as_fn_error 12 "cannot find sane-backends-devel support (or --disable-scan-build)" "$LINENO" 5 +fi - LIBS="-lcrypto $LIBS" +fi + +# 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 "$hpcups_only_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)]) + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&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;} - { (exit 4); exit 4; }; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi - { $as_echo "$as_me:$LINENO: checking for snmp_timeout in -lnetsnmp" >&5 -$as_echo_n "checking for snmp_timeout in -lnetsnmp... " >&6; } -if test "${ac_cv_lib_netsnmp_snmp_timeout+set}" = set; then + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnetsnmp $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS -/* 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_netsnmp_snmp_timeout=yes +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi - ac_cv_lib_netsnmp_snmp_timeout=no +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi 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 +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5 +$as_echo_n "checking for DBUS... " >&6; } + +if test -n "$DBUS_CFLAGS"; then + pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes 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="$old_LIBS" cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBNETSNMP 1 -_ACEOF - SNMPLIB="netsnmp" + else + pkg_failed=untried +fi +if test -n "$DBUS_LIBS"; then + pkg_cv_DBUS_LIBS="$DBUS_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 1.0.0" 2>&1` + else + DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 1.0.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$DBUS_PKG_ERRORS" >&5 + + as_fn_error 14 "cannot find dbus-devel support: $DBUS_PKG_ERRORS" "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + as_fn_error 14 "cannot find dbus-devel support: $DBUS_PKG_ERRORS" "$LINENO" 5 else - check_ucd=yes -fi + DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS + DBUS_LIBS=$pkg_cv_DBUS_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } -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 +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_open in -ldbus-1" >&5 +$as_echo_n "checking for dbus_connection_open in -ldbus-1... " >&6; } +if ${ac_cv_lib_dbus_1_dbus_connection_open+:} false; then : $as_echo_n "(cached) " >&6 else 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 +LIBS="-ldbus-1 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -22386,3312 +17393,2749 @@ #ifdef __cplusplus extern "C" #endif -char snmp_timeout (); +char dbus_connection_open (); int main () { -return snmp_timeout (); +return dbus_connection_open (); ; 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 +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dbus_1_dbus_connection_open=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_snmp_snmp_timeout=no + ac_cv_lib_dbus_1_dbus_connection_open=no fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + 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" +{ $as_echo "$as_me:${as_lineno-$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" = xyes; then : + LIBS="$LIBS" $as_echo "#define HAVE_DBUS 1" >>confdefs.h + 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; }; } + as_fn_error 13 "cannot find libdbus support" "$LINENO" 5 fi +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 +if test "$hpijs_only_build" = "no" && test "$lite_build" = "no" && test "$hpcups_only_build" = "no" && test "$fax_build" = "yes" && test "$dbus_build" = "no"; then + as_fn_error 15 "fax requires dbus support" "$LINENO" 5 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> + +# AC_DEFINE_DIR([DATADIR], [datadir]) +# Copyright © 2006 Stepan Kasal +# Copyright © 2006 Andreas Schwab +# Copyright © 2006 Guido U. Draheim +# Copyright © 2006 Alexandre Oliva +# Copying and distribution of this file, with or without modification, are permitted in any medium without +# royalty provided the copyright notice and this notice are preserved. + + + + prefix_NONE= + exec_prefix_NONE= + test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix + test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix + eval ac_define_dir="\"$datadir\"" + eval ac_define_dir="\"$ac_define_dir\"" + abs_datadir="$ac_define_dir" + test "$prefix_NONE" && prefix=NONE + test "$exec_prefix_NONE" && exec_prefix=NONE + + + prefix_NONE= + exec_prefix_NONE= + test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix + test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix + eval ac_define_dir="\"$sbindir\"" + eval ac_define_dir="\"$ac_define_dir\"" + abs_sbindir="$ac_define_dir" + test "$prefix_NONE" && prefix=NONE + test "$exec_prefix_NONE" && exec_prefix=NONE + + + prefix_NONE= + exec_prefix_NONE= + test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix + test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix + eval ac_define_dir="\"$hpppddir\"" + eval ac_define_dir="\"$ac_define_dir\"" + abs_hpppddir="$ac_define_dir" + test "$prefix_NONE" && prefix=NONE + test "$exec_prefix_NONE" && exec_prefix=NONE + + + prefix_NONE= + exec_prefix_NONE= + test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix + test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix + eval ac_define_dir="\"$hpdocdir\"" + eval ac_define_dir="\"$ac_define_dir\"" + abs_docdir="$ac_define_dir" + test "$prefix_NONE" && prefix=NONE + test "$exec_prefix_NONE" && exec_prefix=NONE + +abs_ppddir=${abs_hpppddir%/*} + + prefix_NONE= + exec_prefix_NONE= + test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix + test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix + eval ac_define_dir="\"$drvdir\"" + eval ac_define_dir="\"$ac_define_dir\"" + abs_drvdir="$ac_define_dir" + test "$prefix_NONE" && prefix=NONE + test "$exec_prefix_NONE" && exec_prefix=NONE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +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 +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + _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 +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi fi +rm -f confcache -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; } +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' -# 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 +# Transform confdefs.h into DEFS. +# Protect against shell expansion while executing Makefile rules. +# Protect against Makefile macro expansion. +# +# If the first sed substitution is executed (which looks for macros that +# take arguments), then branch to the quote section. Otherwise, +# look for a macro that doesn't take arguments. +ac_script=' +:mline +/\\$/{ + N + s,\\\n,, + b mline +} +t clear +:clear +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g +t quote +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g +t quote +b any +:quote +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g +s/\[/\\&/g +s/\]/\\&/g +s/\$/$$/g +H +:any +${ + g + s/^\n// + s/\n/ /g + p +} +' +DEFS=`sed -n "$ac_script" confdefs.h` - 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; } +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs -# 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.12.2 ## -## --------------------- ## -_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; } +LTLIBOBJS=$ac_ltlibobjs -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 + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' 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; }; } + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= 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` -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 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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.12.2 ## -## --------------------- ## -_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" +if test -z "${DARWIN_BUILD_TRUE}" && test -z "${DARWIN_BUILD_FALSE}"; then + as_fn_error $? "conditional \"DARWIN_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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; } - +if test -z "${DOC_BUILD_TRUE}" && test -z "${DOC_BUILD_FALSE}"; then + as_fn_error $? "conditional \"DOC_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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 net-snmp-devel support (or --disable-network-build)" >&5 -$as_echo "$as_me: error: cannot find net-snmp-devel support (or --disable-network-build)" >&2;} - { (exit 5); exit 5; }; } +if test -z "${HPIJS_ONLY_BUILD_TRUE}" && test -z "${HPIJS_ONLY_BUILD_FALSE}"; then + as_fn_error $? "conditional \"HPIJS_ONLY_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi - -done - +if test -z "${LITE_BUILD_TRUE}" && test -z "${LITE_BUILD_FALSE}"; then + as_fn_error $? "conditional \"LITE_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${HPCUPS_ONLY_BUILD_TRUE}" && test -z "${HPCUPS_ONLY_BUILD_FALSE}"; then + as_fn_error $? "conditional \"HPCUPS_ONLY_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi - -if test "$hpijs_only_build" = "no" && test "$pp_build" = "yes"; then - -for ac_header in linux/ppdev.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 +if test -z "${HPLIP_BUILD_TRUE}" && test -z "${HPLIP_BUILD_FALSE}"; then + as_fn_error $? "conditional \"HPLIP_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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 +if test -z "${FULL_BUILD_TRUE}" && test -z "${FULL_BUILD_FALSE}"; then + as_fn_error $? "conditional \"FULL_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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 +if test -z "${HPIJS_INSTALL_TRUE}" && test -z "${HPIJS_INSTALL_FALSE}"; then + as_fn_error $? "conditional \"HPIJS_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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.12.2 ## -## --------------------- ## -_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" +if test -z "${HPCUPS_INSTALL_TRUE}" && test -z "${HPCUPS_INSTALL_FALSE}"; then + as_fn_error $? "conditional \"HPCUPS_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${NEW_HPCUPS_TRUE}" && test -z "${NEW_HPCUPS_FALSE}"; then + as_fn_error $? "conditional \"NEW_HPCUPS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${NETWORK_BUILD_TRUE}" && test -z "${NETWORK_BUILD_FALSE}"; then + as_fn_error $? "conditional \"NETWORK_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${SCAN_BUILD_TRUE}" && test -z "${SCAN_BUILD_FALSE}"; then + as_fn_error $? "conditional \"SCAN_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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; } - +if test -z "${GUI_BUILD_TRUE}" && test -z "${GUI_BUILD_FALSE}"; then + as_fn_error $? "conditional \"GUI_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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 ppdev-devel support (or --disable-pp-build)" >&5 -$as_echo "$as_me: error: cannot find ppdev-devel support (or --disable-pp-build)" >&2;} - { (exit 8); exit 8; }; } +if test -z "${FAX_BUILD_TRUE}" && test -z "${FAX_BUILD_FALSE}"; then + as_fn_error $? "conditional \"FAX_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi - -done - +if test -z "${UDEV_ACL_RULES_TRUE}" && test -z "${UDEV_ACL_RULES_FALSE}"; then + as_fn_error $? "conditional \"UDEV_ACL_RULES\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi - -if test "$hpijs_only_build" = "no"; then - { $as_echo "$as_me:$LINENO: checking for cupsDoFileRequest in -lcups" >&5 -$as_echo_n "checking for cupsDoFileRequest in -lcups... " >&6; } -if test "${ac_cv_lib_cups_cupsDoFileRequest+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lcups $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 cupsDoFileRequest (); -int -main () -{ -return cupsDoFileRequest (); - ; - 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_cups_cupsDoFileRequest=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_cups_cupsDoFileRequest=no +if test -z "${UDEV_SYSFS_RULES_TRUE}" && test -z "${UDEV_SYSFS_RULES_FALSE}"; then + as_fn_error $? "conditional \"UDEV_SYSFS_RULES\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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 +if test -z "${SHADOW_BUILD_TRUE}" && test -z "${SHADOW_BUILD_FALSE}"; then + as_fn_error $? "conditional \"SHADOW_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cups_cupsDoFileRequest" >&5 -$as_echo "$ac_cv_lib_cups_cupsDoFileRequest" >&6; } -if test "x$ac_cv_lib_cups_cupsDoFileRequest" = x""yes; then - LIBS="$LIBS" -else - { { $as_echo "$as_me:$LINENO: error: cannot find libcups support" >&5 -$as_echo "$as_me: error: cannot find libcups support" >&2;} - { (exit 9); exit 9; }; } +if test -z "${LIBUSB01_BUILD_TRUE}" && test -z "${LIBUSB01_BUILD_FALSE}"; then + as_fn_error $? "conditional \"LIBUSB01_BUILD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi - - -for ac_header in cups/cups.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 +if test -z "${FOOMATIC_PPD_INSTALL_TRUE}" && test -z "${FOOMATIC_PPD_INSTALL_FALSE}"; then + as_fn_error $? "conditional \"FOOMATIC_PPD_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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 +if test -z "${FOOMATIC_DRV_INSTALL_TRUE}" && test -z "${FOOMATIC_DRV_INSTALL_FALSE}"; then + as_fn_error $? "conditional \"FOOMATIC_DRV_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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 +if test -z "${CUPS_DRV_INSTALL_TRUE}" && test -z "${CUPS_DRV_INSTALL_FALSE}"; then + as_fn_error $? "conditional \"CUPS_DRV_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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.12.2 ## -## --------------------- ## -_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" +if test -z "${CUPS_PPD_INSTALL_TRUE}" && test -z "${CUPS_PPD_INSTALL_FALSE}"; then + as_fn_error $? "conditional \"CUPS_PPD_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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; } - +if test -z "${RIP_INSTALL_TRUE}" && test -z "${RIP_INSTALL_FALSE}"; then + as_fn_error $? "conditional \"RIP_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 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 cups-devel support" >&5 -$as_echo "$as_me: error: cannot find cups-devel support" >&2;} - { (exit 3); exit 3; }; } +if test -z "${QT4_INSTALL_TRUE}" && test -z "${QT4_INSTALL_FALSE}"; then + as_fn_error $? "conditional \"QT4_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${QT3_INSTALL_TRUE}" && test -z "${QT3_INSTALL_FALSE}"; then + as_fn_error $? "conditional \"QT3_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${POLICYKIT_INSTALL_TRUE}" && test -z "${POLICYKIT_INSTALL_FALSE}"; then + as_fn_error $? "conditional \"POLICYKIT_INSTALL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -done - - { $as_echo "$as_me:$LINENO: checking for usb_init in -lusb" >&5 -$as_echo_n "checking for usb_init in -lusb... " >&6; } -if test "${ac_cv_lib_usb_usb_init+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lusb $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. -/* 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 usb_init (); -int -main () -{ -return usb_init (); - ; - 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_usb_usb_init=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +debug=false +ac_cs_recheck=false +ac_cs_silent=false - ac_cv_lib_usb_usb_init=no -fi +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## -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_usb_usb_init" >&5 -$as_echo "$ac_cv_lib_usb_usb_init" >&6; } -if test "x$ac_cv_lib_usb_usb_init" = x""yes; then - LIBS="$LIBS" +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST else - { { $as_echo "$as_me:$LINENO: error: cannot find libusb support" >&5 -$as_echo "$as_me: error: cannot find libusb support" >&2;} - { (exit 2); exit 2; }; } + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac fi -for ac_header in usb.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 +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi - ac_header_compiler=no +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } 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 +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS -# 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.12.2 ## -## --------------------- ## -_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; } - +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 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 libusb-devel support" >&5 -$as_echo "$as_me: error: cannot find libusb-devel support" >&2;} - { (exit 11); exit 11; }; } +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 fi +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done +PS1='$ ' +PS2='> ' +PS4='+ ' -fi +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE -if test "$hpijs_only_build" = "no" && test "$lite_build" = "no" && test "$hpcups_only_build" = "no"; then +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status - if test -n "$PYTHON"; then - # If the user set $PYTHON, use it and don't search something else. - { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2" >&5 -$as_echo_n "checking whether $PYTHON version >= 2.2... " >&6; } - prog="import sys -# split strings by '.' and convert to numeric. Append some zeros -# because we need at least 4 digits for the hex conversion. -# map returns an iterator in Python 3.0 and a list in 2.x -minver = list(map(int, '2.2'.split('.'))) + [0, 0, 0] -minverhex = 0 -# xrange is not present in Python 3.0 and range returns an iterator -for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] -sys.exit(sys.hexversion < minverhex)" - if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 - ($PYTHON -c "$prog") >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' else - { { $as_echo "$as_me:$LINENO: error: too old" >&5 -$as_echo "$as_me: error: too old" >&2;} - { (exit 1); exit 1; }; } -fi + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append - am_display_PYTHON=$PYTHON - else - # Otherwise, try each interpreter until we find one that satisfies - # VERSION. - { $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2" >&5 -$as_echo_n "checking for a Python interpreter with version >= 2.2... " >&6; } -if test "${am_cv_pathless_PYTHON+set}" = set; then - $as_echo_n "(cached) " >&6 +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith - for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do - test "$am_cv_pathless_PYTHON" = none && break - prog="import sys -# split strings by '.' and convert to numeric. Append some zeros -# because we need at least 4 digits for the hex conversion. -# map returns an iterator in Python 3.0 and a list in 2.x -minver = list(map(int, '2.2'.split('.'))) + [0, 0, 0] -minverhex = 0 -# xrange is not present in Python 3.0 and range returns an iterator -for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] -sys.exit(sys.hexversion < minverhex)" - if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 - ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - break + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false fi - done +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false fi -{ $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5 -$as_echo "$am_cv_pathless_PYTHON" >&6; } - # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. - if test "$am_cv_pathless_PYTHON" = none; then - PYTHON=: - else - # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. -set dummy $am_cv_pathless_PYTHON; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PYTHON+set}" = set; then - $as_echo_n "(cached) " >&6 + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname else - case $PYTHON in - [\\/]* | ?:[\\/]*) - ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS + as_dirname=false +fi - ;; +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null fi -PYTHON=$ac_cv_path_PYTHON -if test -n "$PYTHON"; then - { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 -$as_echo "$PYTHON" >&6; } +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } + as_ln_s='cp -p' fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null - fi - am_display_PYTHON=$am_cv_pathless_PYTHON - fi - +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ - if test "$PYTHON" = :; then - { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5 -$as_echo "$as_me: error: no suitable Python interpreter found" >&2;} - { (exit 1); exit 1; }; } - else + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" - { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 -$as_echo_n "checking for $am_display_PYTHON version... " >&6; } -if test "${am_cv_python_version+set}" = set; then - $as_echo_n "(cached) " >&6 +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' else - am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` + test -d ./-p && rmdir ./-p + as_mkdir_p=false fi -{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 -$as_echo "$am_cv_python_version" >&6; } - PYTHON_VERSION=$am_cv_python_version - - - - PYTHON_PREFIX='${prefix}' - PYTHON_EXEC_PREFIX='${exec_prefix}' - - - - { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 -$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } -if test "${am_cv_python_platform+set}" = set; then - $as_echo_n "(cached) " >&6 +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' else - am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' fi -{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 -$as_echo "$am_cv_python_platform" >&6; } - PYTHON_PLATFORM=$am_cv_python_platform - +as_executable_p=$as_test_x +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 -$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } -if test "${am_cv_python_pythondir+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "x$prefix" = xNONE - then - am_py_prefix=$ac_default_prefix - else - am_py_prefix=$prefix - fi - am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null || - echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` - case $am_cv_python_pythondir in - $am_py_prefix*) - am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` - am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` - ;; - esac -fi -{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 -$as_echo "$am_cv_python_pythondir" >&6; } - pythondir=$am_cv_python_pythondir +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# 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.13.4, which was +generated by GNU Autoconf 2.68. Invocation command line was + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ - pkgpythondir=\${pythondir}/$PACKAGE +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" +_ACEOF - { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 -$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } -if test "${am_cv_python_pyexecdir+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "x$exec_prefix" = xNONE - then - am_py_exec_prefix=$am_py_prefix - else - am_py_exec_prefix=$exec_prefix - fi - am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null || - echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` - case $am_cv_python_pyexecdir in - $am_py_exec_prefix*) - am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` - am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` - ;; - esac +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac -fi -{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 -$as_echo "$am_cv_python_pyexecdir" >&6; } - pyexecdir=$am_cv_python_pyexecdir +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_commands="$ac_config_commands" - pkgpyexecdir=\${pyexecdir}/$PACKAGE +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. +Usage: $0 [OPTION]... [TAG]... - fi + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE +Configuration files: +$config_files - { $as_echo "$as_me:$LINENO: checking for path to Python.h" >&5 -$as_echo_n "checking for path to Python.h... " >&6; } - PYTHONINCLUDEDIR=`$PYTHON -c "from distutils.sysconfig import get_python_inc; print get_python_inc();"` - { $as_echo "$as_me:$LINENO: result: \"using $PYTHONINCLUDEDIR\"" >&5 -$as_echo "\"using $PYTHONINCLUDEDIR\"" >&6; } +Configuration commands: +$config_commands +Report bugs to <3.13.4>." -for ac_header in python$PYTHON_VERSION/Python.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> +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +HP Linux Imaging and Printing config.status 3.13.4 +configured by $0, generated by GNU Autoconf 2.68, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2010 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk _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 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac -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; } + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h | --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; -# 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 + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; - ac_header_preproc=no -fi + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } + esac + shift +done -# 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.12.2 ## -## --------------------- ## -_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" +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" 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; } +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" 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 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 -else - { { $as_echo "$as_me:$LINENO: error: cannot find python-devel support" >&5 -$as_echo "$as_me: error: cannot find python-devel support" >&2;} - { (exit 6); exit 6; }; } -fi +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" -done -fi +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -if test "$hpijs_only_build" = "no" && test "$scan_build" = "yes" && test "$hpcups_only_build" = "no"; then - { $as_echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5 -$as_echo_n "checking for sane_open in -lsane... " >&6; } -if test "${ac_cv_lib_sane_sane_open+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsane $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' +predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' +postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' +predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' +postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' +LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' +reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' +reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' +compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' +GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' +archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' +module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' +with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' +no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' +inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' +link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' +always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' +exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' +include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' +prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' +postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' +file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' +predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' +postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' +predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' +postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' + +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' -/* 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 sane_open (); -int -main () +# A function that is used when there is no print builtin or printf. +func_fallback_echo () { -return sane_open (); - ; - 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_sane_sane_open=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in SHELL \ +ECHO \ +SED \ +GREP \ +EGREP \ +FGREP \ +LD \ +NM \ +LN_S \ +lt_SP2NL \ +lt_NL2SP \ +reload_flag \ +OBJDUMP \ +deplibs_check_method \ +file_magic_cmd \ +file_magic_glob \ +want_nocaseglob \ +DLLTOOL \ +sharedlib_from_linklib_cmd \ +AR \ +AR_FLAGS \ +archiver_list_spec \ +STRIP \ +RANLIB \ +CC \ +CFLAGS \ +compiler \ +lt_cv_sys_global_symbol_pipe \ +lt_cv_sys_global_symbol_to_cdecl \ +lt_cv_sys_global_symbol_to_c_name_address \ +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ +nm_file_list_spec \ +lt_prog_compiler_no_builtin_flag \ +lt_prog_compiler_pic \ +lt_prog_compiler_wl \ +lt_prog_compiler_static \ +lt_cv_prog_compiler_c_o \ +need_locks \ +MANIFEST_TOOL \ +DSYMUTIL \ +NMEDIT \ +LIPO \ +OTOOL \ +OTOOL64 \ +shrext_cmds \ +export_dynamic_flag_spec \ +whole_archive_flag_spec \ +compiler_needs_object \ +with_gnu_ld \ +allow_undefined_flag \ +no_undefined_flag \ +hardcode_libdir_flag_spec \ +hardcode_libdir_flag_spec_ld \ +hardcode_libdir_separator \ +exclude_expsyms \ +include_expsyms \ +file_list_spec \ +variables_saved_for_relink \ +libname_spec \ +library_names_spec \ +soname_spec \ +install_override_mode \ +finish_eval \ +old_striplib \ +striplib \ +compiler_lib_search_dirs \ +predep_objects \ +postdep_objects \ +predeps \ +postdeps \ +compiler_lib_search_path \ +LD_CXX \ +reload_flag_CXX \ +compiler_CXX \ +lt_prog_compiler_no_builtin_flag_CXX \ +lt_prog_compiler_pic_CXX \ +lt_prog_compiler_wl_CXX \ +lt_prog_compiler_static_CXX \ +lt_cv_prog_compiler_c_o_CXX \ +export_dynamic_flag_spec_CXX \ +whole_archive_flag_spec_CXX \ +compiler_needs_object_CXX \ +with_gnu_ld_CXX \ +allow_undefined_flag_CXX \ +no_undefined_flag_CXX \ +hardcode_libdir_flag_spec_CXX \ +hardcode_libdir_flag_spec_ld_CXX \ +hardcode_libdir_separator_CXX \ +exclude_expsyms_CXX \ +include_expsyms_CXX \ +file_list_spec_CXX \ +compiler_lib_search_dirs_CXX \ +predep_objects_CXX \ +postdep_objects_CXX \ +predeps_CXX \ +postdeps_CXX \ +compiler_lib_search_path_CXX; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done - ac_cv_lib_sane_sane_open=no -fi +# Double-quote double-evaled strings. +for var in reload_cmds \ +old_postinstall_cmds \ +old_postuninstall_cmds \ +old_archive_cmds \ +extract_expsyms_cmds \ +old_archive_from_new_cmds \ +old_archive_from_expsyms_cmds \ +archive_cmds \ +archive_expsym_cmds \ +module_cmds \ +module_expsym_cmds \ +export_symbols_cmds \ +prelink_cmds \ +postlink_cmds \ +postinstall_cmds \ +postuninstall_cmds \ +finish_cmds \ +sys_lib_search_path_spec \ +sys_lib_dlsearch_path_spec \ +reload_cmds_CXX \ +old_archive_cmds_CXX \ +old_archive_from_new_cmds_CXX \ +old_archive_from_expsyms_cmds_CXX \ +archive_cmds_CXX \ +archive_expsym_cmds_CXX \ +module_cmds_CXX \ +module_expsym_cmds_CXX \ +export_symbols_cmds_CXX \ +prelink_cmds_CXX \ +postlink_cmds_CXX; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done -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_sane_sane_open" >&5 -$as_echo "$ac_cv_lib_sane_sane_open" >&6; } -if test "x$ac_cv_lib_sane_sane_open" = x""yes; then - LIBS="$LIBS" -else - { { $as_echo "$as_me:$LINENO: error: cannot find sane-backends-devel support (or --disable-scan-build)" >&5 -$as_echo "$as_me: error: cannot find sane-backends-devel support (or --disable-scan-build)" >&2;} - { (exit 12); exit 12; }; } -fi +ac_aux_dir='$ac_aux_dir' +xsi_shell='$xsi_shell' +lt_shell_append='$lt_shell_append' +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST fi -# 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 "$hpcups_only_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)]) + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile' -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi -fi -if test -z "$ac_cv_path_PKG_CONFIG"; then - ac_pt_PKG_CONFIG=$PKG_CONFIG - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $ac_pt_PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS + case $ac_config_target in + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "hplip.conf") CONFIG_FILES="$CONFIG_FILES hplip.conf" ;; + "hplip.desktop") CONFIG_FILES="$CONFIG_FILES hplip.desktop" ;; + "hplip-systray.desktop") CONFIG_FILES="$CONFIG_FILES hplip-systray.desktop" ;; + "prnt/drv/hpijs.drv") CONFIG_FILES="$CONFIG_FILES prnt/drv/hpijs.drv" ;; + "prnt/drv/hpcups.drv") CONFIG_FILES="$CONFIG_FILES prnt/drv/hpcups.drv" ;; + "hplip.list") CONFIG_FILES="$CONFIG_FILES hplip.list" ;; + "data/policykit/com.hp.hplip.service") CONFIG_FILES="$CONFIG_FILES data/policykit/com.hp.hplip.service" ;; - ;; -esac -fi -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG -if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done - if test "x$ac_pt_PKG_CONFIG" = x; then - PKG_CONFIG="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - PKG_CONFIG=$ac_pt_PKG_CONFIG - fi -else - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -fi +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=0.9.0 - { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; 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; } - PKG_CONFIG="" - fi -fi +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. -pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for DBUS" >&5 -$as_echo_n "checking for DBUS... " >&6; } +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp -if test -n "$DBUS_CFLAGS"; then - pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0.0") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0.0" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$DBUS_LIBS"; then - pkg_cv_DBUS_LIBS="$DBUS_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0.0") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0.0" 2>/dev/null` -else - pkg_failed=yes +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' fi - else - pkg_failed=untried +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr fi +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF -if test $pkg_failed = yes; then +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.0.0" 2>&1` - else - DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 1.0.0" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$DBUS_PKG_ERRORS" >&5 + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:$LINENO: error: cannot find dbus-devel support: $DBUS_PKG_ERRORS" >&5 -$as_echo "$as_me: error: cannot find dbus-devel support: $DBUS_PKG_ERRORS" >&2;} - { (exit 14); exit 14; }; } -elif test $pkg_failed = untried; then - { { $as_echo "$as_me:$LINENO: error: cannot find dbus-devel support: $DBUS_PKG_ERRORS" >&5 -$as_echo "$as_me: error: cannot find dbus-devel support: $DBUS_PKG_ERRORS" >&2;} - { (exit 14); exit 14; }; } -else - DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS - DBUS_LIBS=$pkg_cv_DBUS_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - : -fi - { $as_echo "$as_me:$LINENO: checking for dbus_connection_open in -ldbus-1" >&5 -$as_echo_n "checking for dbus_connection_open in -ldbus-1... " >&6; } -if test "${ac_cv_lib_dbus_1_dbus_connection_open+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldbus-1 $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" -/* 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 dbus_connection_open (); -int -main () +} { -return dbus_connection_open (); - ; - return 0; + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line } + +_ACAWK _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_dbus_1_dbus_connection_open=yes +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF - ac_cv_lib_dbus_1_dbus_connection_open=no +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' 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_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" cat >>confdefs.h <<\_ACEOF -#define HAVE_DBUS 1 -_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" -else - { { $as_echo "$as_me:$LINENO: error: cannot find libdbus support" >&5 -$as_echo "$as_me: error: cannot find libdbus support" >&2;} - { (exit 13); exit 13; }; } -fi -fi +eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift -if test "$hpijs_only_build" = "no" && test "$lite_build" = "no" && test "$hpcups_only_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; }; } -fi + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done -# AC_DEFINE_DIR([DATADIR], [datadir]) -# Copyright © 2006 Stepan Kasal -# Copyright © 2006 Andreas Schwab -# Copyright © 2006 Guido U. Draheim -# Copyright © 2006 Alexandre Oliva -# Copying and distribution of this file, with or without modification, are permitted in any medium without -# royalty provided the copyright notice and this notice are preserved. + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. - prefix_NONE= - exec_prefix_NONE= - test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix - test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix - eval ac_define_dir="\"$datadir\"" - eval ac_define_dir="\"$ac_define_dir\"" - abs_datadir="$ac_define_dir" - test "$prefix_NONE" && prefix=NONE - test "$exec_prefix_NONE" && exec_prefix=NONE +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - prefix_NONE= - exec_prefix_NONE= - test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix - test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix - eval ac_define_dir="\"$sbindir\"" - eval ac_define_dir="\"$ac_define_dir\"" - abs_sbindir="$ac_define_dir" - test "$prefix_NONE" && prefix=NONE - test "$exec_prefix_NONE" && exec_prefix=NONE + case $ac_mode in + :F) + # + # CONFIG_FILE + # - prefix_NONE= - exec_prefix_NONE= - test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix - test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix - eval ac_define_dir="\"$hpppddir\"" - eval ac_define_dir="\"$ac_define_dir\"" - abs_hpppddir="$ac_define_dir" - test "$prefix_NONE" && prefix=NONE - test "$exec_prefix_NONE" && exec_prefix=NONE + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF - prefix_NONE= - exec_prefix_NONE= - test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix - test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix - eval ac_define_dir="\"$hpdocdir\"" - eval ac_define_dir="\"$ac_define_dir\"" - abs_docdir="$ac_define_dir" - test "$prefix_NONE" && prefix=NONE - test "$exec_prefix_NONE" && exec_prefix=NONE +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 -abs_ppddir=${abs_hpppddir%/*} +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} - prefix_NONE= - exec_prefix_NONE= - test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix - test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix - eval ac_define_dir="\"$drvdir\"" - eval ac_define_dir="\"$ac_define_dir\"" - abs_drvdir="$ac_define_dir" - test "$prefix_NONE" && prefix=NONE - test "$exec_prefix_NONE" && exec_prefix=NONE + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + "libtool":C) + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# The names of the tagged configurations supported by this script. +available_tags="CXX " +# ### BEGIN LIBTOOL CONFIG +# Whether or not to build static libraries. +build_old_libs=$enable_static +# Which release of libtool.m4 was used? +macro_version=$macro_version +macro_revision=$macro_revision +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared +# What type of objects to build. +pic_mode=$pic_mode +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL +# An echo program that protects backslashes. +ECHO=$lt_ECHO +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os +# A sed program that does not truncate output. +SED=$lt_SED +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="\$SED -e 1s/^X//" +# A grep program that handles long lines. +GREP=$lt_GREP +# An ERE matcher. +EGREP=$lt_EGREP +# A literal string matcher. +FGREP=$lt_FGREP +# A BSD- or MS-compatible name lister. +NM=$lt_NM +# Whether we need soft or hard links. +LN_S=$lt_LN_S +# What is the maximum length of a command? +max_cmd_len=$max_cmd_len +# Object file suffix (normally "o"). +objext=$ac_objext +# Executable file suffix (normally ""). +exeext=$exeext +# whether the shell understands "unset". +lt_unset=$lt_unset +# turn spaces into newlines. +SP2NL=$lt_lt_SP2NL +# turn newlines into spaces. +NL2SP=$lt_lt_NL2SP +# convert \$build file names to \$host format. +to_host_file_cmd=$lt_cv_to_host_file_cmd +# convert \$build files to toolchain format. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +# An object symbol dumper. +OBJDUMP=$lt_OBJDUMP +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method +# Command to use when deplibs_check_method = "file_magic". +file_magic_cmd=$lt_file_magic_cmd +# How to find potential files when deplibs_check_method = "file_magic". +file_magic_glob=$lt_file_magic_glob +# Find potential files using nocaseglob when deplibs_check_method = "file_magic". +want_nocaseglob=$lt_want_nocaseglob +# DLL creation program. +DLLTOOL=$lt_DLLTOOL +# Command to associate shared and link libraries. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd +# The archiver. +AR=$lt_AR +# Flags to create an archive. +AR_FLAGS=$lt_AR_FLAGS +# How to feed a file listing to the archiver. +archiver_list_spec=$lt_archiver_list_spec +# A symbol stripping program. +STRIP=$lt_STRIP +# Commands used to install an old-style archive. +RANLIB=$lt_RANLIB +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds +# Whether to use a lock for old archive extraction. +lock_old_archive_extraction=$lock_old_archive_extraction +# A C compiler. +LTCC=$lt_CC +# LTCC compiler flags. +LTCFLAGS=$lt_CFLAGS +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe +# Transform the output of nm in a proper C declaration. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl +# Transform the output of nm in a C name address pair. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address +# Transform the output of nm in a C name address pair when lib prefix is needed. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix +# Specify filename containing input files for \$NM. +nm_file_list_spec=$lt_nm_file_list_spec +# The root where to search for dependent libraries,and in which our libraries should be installed. +lt_sysroot=$lt_sysroot +# The name of the directory that contains temporary libtool files. +objdir=$objdir +# Used to examine libraries when file_magic_cmd begins with "file". +MAGIC_CMD=$MAGIC_CMD +# Must we lock files when doing compilation? +need_locks=$lt_need_locks +# Manifest tool. +MANIFEST_TOOL=$lt_MANIFEST_TOOL +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. +DSYMUTIL=$lt_DSYMUTIL +# Tool to change global to local symbols on Mac OS X. +NMEDIT=$lt_NMEDIT +# Tool to manipulate fat objects and archives on Mac OS X. +LIPO=$lt_LIPO -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" +# ldd/readelf like tool for Mach-O binaries on Mac OS X. +OTOOL=$lt_OTOOL -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +OTOOL64=$lt_OTOOL64 -_ACEOF +# Old archive suffix (normally "a"). +libext=$libext -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done +# Shared library suffix (normally ".so"). +shrext_cmds=$lt_shrext_cmds - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else - { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' +# Variables whose values should be saved in libtool wrapper scripts and +# restored at link time. +variables_saved_for_relink=$lt_variables_saved_for_relink -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -# -# If the first sed substitution is executed (which looks for macros that -# take arguments), then branch to the quote section. Otherwise, -# look for a macro that doesn't take arguments. -ac_script=' -:mline -/\\$/{ - N - s,\\\n,, - b mline -} -t clear -:clear -s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g -t quote -s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g -t quote -b any -:quote -s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g -s/\[/\\&/g -s/\]/\\&/g -s/\$/$$/g -H -:any -${ - g - s/^\n// - s/\n/ /g - p -} -' -DEFS=`sed -n "$ac_script" confdefs.h` +# Do we need the "lib" prefix for modules? +need_lib_prefix=$need_lib_prefix +# Do we need a version for libraries? +need_version=$need_version -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIBOBJS=$ac_libobjs +# Library versioning type. +version_type=$version_type -LTLIBOBJS=$ac_ltlibobjs +# Shared library runtime path variable. +runpath_var=$runpath_var +# Shared library path variable. +shlibpath_var=$shlibpath_var - if test -n "$EXEEXT"; then - am__EXEEXT_TRUE= - am__EXEEXT_FALSE='#' -else - am__EXEEXT_TRUE='#' - am__EXEEXT_FALSE= -fi +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi +# Format of library name prefix. +libname_spec=$lt_libname_spec -if test -z "${DARWIN_BUILD_TRUE}" && test -z "${DARWIN_BUILD_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"DARWIN_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"DARWIN_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${DOC_BUILD_TRUE}" && test -z "${DOC_BUILD_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"DOC_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"DOC_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${HPIJS_ONLY_BUILD_TRUE}" && test -z "${HPIJS_ONLY_BUILD_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"HPIJS_ONLY_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"HPIJS_ONLY_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${LITE_BUILD_TRUE}" && test -z "${LITE_BUILD_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"LITE_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"LITE_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${HPCUPS_ONLY_BUILD_TRUE}" && test -z "${HPCUPS_ONLY_BUILD_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"HPCUPS_ONLY_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"HPCUPS_ONLY_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${HPLIP_BUILD_TRUE}" && test -z "${HPLIP_BUILD_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"HPLIP_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$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 -$as_echo "$as_me: error: conditional \"NETWORK_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${SCAN_BUILD_TRUE}" && test -z "${SCAN_BUILD_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"SCAN_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"SCAN_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${GUI_BUILD_TRUE}" && test -z "${GUI_BUILD_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"GUI_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${FAX_BUILD_TRUE}" && test -z "${FAX_BUILD_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"FAX_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$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 -$as_echo "$as_me: error: conditional \"SHADOW_BUILD\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${FOOMATIC_PPD_INSTALL_TRUE}" && test -z "${FOOMATIC_PPD_INSTALL_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"FOOMATIC_PPD_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"FOOMATIC_PPD_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${FOOMATIC_DRV_INSTALL_TRUE}" && test -z "${FOOMATIC_DRV_INSTALL_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"FOOMATIC_DRV_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"FOOMATIC_DRV_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${CUPS_DRV_INSTALL_TRUE}" && test -z "${CUPS_DRV_INSTALL_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"CUPS_DRV_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"CUPS_DRV_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${CUPS_PPD_INSTALL_TRUE}" && test -z "${CUPS_PPD_INSTALL_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"CUPS_PPD_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"CUPS_PPD_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${RIP_INSTALL_TRUE}" && test -z "${RIP_INSTALL_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"RIP_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"RIP_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${QT4_INSTALL_TRUE}" && test -z "${QT4_INSTALL_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"QT4_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"QT4_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${QT3_INSTALL_TRUE}" && test -z "${QT3_INSTALL_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"QT3_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"QT3_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${POLICYKIT_INSTALL_TRUE}" && test -z "${POLICYKIT_INSTALL_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"POLICYKIT_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"POLICYKIT_INSTALL\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME +library_names_spec=$lt_library_names_spec -: ${CONFIG_STATUS=./config.status} -ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec -debug=false -ac_cs_recheck=false -ac_cs_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF +# Permission mode override for installation of shared libraries. +install_override_mode=$lt_install_override_mode -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## +# Command to use after installation of a shared archive. +postinstall_cmds=$lt_postinstall_cmds -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac +# Command to use after uninstallation of a shared archive. +postuninstall_cmds=$lt_postuninstall_cmds -fi +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds +# As "finish_cmds", except a single script fragment to be evaled but +# not shown. +finish_eval=$lt_finish_eval +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs +# Compile-time system search path for libraries. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits +# Run-time system search path for libraries. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi +# Whether dlopen is supported. +dlopen_support=$enable_dlopen -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS +# The linker used to build libraries. +LD=$lt_LD - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE +# A language specific compiler. +CC=$lt_compiler -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi +# Is the compiler the GNU compiler? +with_gcc=$GCC -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl -# CDPATH. -$as_unset CDPATH +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec +# If ld is used when linking, flag to hardcode \$libdir into a binary +# during linking. This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld -exec 6>&1 +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator -# Save the log message, to keep $[0] and so on meaningful, and to -# 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.12.2, which was -generated by GNU Autoconf 2.63. Invocation command line was +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L -_ACEOF +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_commands="$ac_config_commands" +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols -_ACEOF +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms -Usage: $0 [OPTION]... [FILE]... +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds -Configuration files: -$config_files +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds -Configuration commands: -$config_commands +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec -Report bugs to ." +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_version="\\ -HP Linux Imaging and Printing config.status 3.12.2 -configured by $0, generated by GNU Autoconf 2.63, - with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" +# The directories searched by this compiler when creating a shared library. +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs -Copyright (C) 2008 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." +# Dependencies to place before and after the objects being linked to +# create a shared library. +predep_objects=$lt_predep_objects +postdep_objects=$lt_postdep_objects +predeps=$lt_predeps +postdeps=$lt_postdeps -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -MKDIR_P='$MKDIR_P' -AWK='$AWK' -test -n "\$AWK" || AWK=awk -_ACEOF +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF ;; esac - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" - ac_need_defaults=false;; - --he | --h | --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) { $as_echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } ;; - *) ac_config_targets="$ac_config_targets $1" - ac_need_defaults=false ;; +ltmain="$ac_aux_dir/ltmain.sh" - esac - shift -done -ac_configure_extra_args= + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" + if test x"$xsi_shell" = xyes; then + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ +func_dirname ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_basename ()$/,/^} # func_basename /c\ +func_basename ()\ +{\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ +func_dirname_and_basename ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ +func_stripname ()\ +{\ +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ +\ # positional parameters, so assign one to ordinary parameter first.\ +\ func_stripname_result=${3}\ +\ func_stripname_result=${func_stripname_result#"${1}"}\ +\ func_stripname_result=${func_stripname_result%"${2}"}\ +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ +func_split_long_opt ()\ +{\ +\ func_split_long_opt_name=${1%%=*}\ +\ func_split_long_opt_arg=${1#*=}\ +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ +func_split_short_opt ()\ +{\ +\ func_split_short_opt_arg=${1#??}\ +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ +func_lo2o ()\ +{\ +\ case ${1} in\ +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ +\ *) func_lo2o_result=${1} ;;\ +\ esac\ +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_xform ()$/,/^} # func_xform /c\ +func_xform ()\ +{\ + func_xform_result=${1%.*}.lo\ +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_arith ()$/,/^} # func_arith /c\ +func_arith ()\ +{\ + func_arith_result=$(( $* ))\ +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_len ()$/,/^} # func_len /c\ +func_len ()\ +{\ + func_len_result=${#1}\ +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + +fi + +if test x"$lt_shell_append" = xyes; then + sed -e '/^func_append ()$/,/^} # func_append /c\ +func_append ()\ +{\ + eval "${1}+=\\${2}"\ +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ +func_append_quoted ()\ +{\ +\ func_quote_for_eval "${2}"\ +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} fi -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# -# INIT-COMMANDS -# -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" -_ACEOF + cat <<_LT_EOF >> "$ofile" -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# ### BEGIN LIBTOOL TAG CONFIG: CXX -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "hplip.conf") CONFIG_FILES="$CONFIG_FILES hplip.conf" ;; - "hplip.desktop") CONFIG_FILES="$CONFIG_FILES hplip.desktop" ;; - "hplip-systray.desktop") CONFIG_FILES="$CONFIG_FILES hplip-systray.desktop" ;; - "prnt/drv/hpijs.drv") CONFIG_FILES="$CONFIG_FILES prnt/drv/hpijs.drv" ;; - "prnt/drv/hpcups.drv") CONFIG_FILES="$CONFIG_FILES prnt/drv/hpcups.drv" ;; - "hplip.list") CONFIG_FILES="$CONFIG_FILES hplip.list" ;; - "data/policykit/com.hp.hplip.service") CONFIG_FILES="$CONFIG_FILES data/policykit/com.hp.hplip.service" ;; +# The linker used to build libraries. +LD=$lt_LD_CXX - *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; - esac -done +# How to create reloadable object files. +reload_flag=$lt_reload_flag_CXX +reload_cmds=$lt_reload_cmds_CXX +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds_CXX -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi +# A language specific compiler. +CC=$lt_compiler_CXX -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. +# Is the compiler the GNU compiler? +with_gcc=$GCC_CXX -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || -{ - $as_echo "$as_me: cannot create a temporary directory in ." >&2 - { (exit 1); exit 1; } -} +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX -ac_cr=' ' -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\\r' -else - ac_cs_awk_cr=$ac_cr -fi +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX -echo 'BEGIN {' >"$tmp/subs1.awk" && -_ACEOF +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object_CXX +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } -ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\).*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\).*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' >$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld_CXX - print line -} +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 -$as_echo "$as_me: error: could not setup config files machinery" >&2;} - { (exit 1); exit 1; }; } -_ACEOF +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" +# If ld is used when linking, flag to hardcode \$libdir into a binary +# during linking. This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX -eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 -$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} - { (exit 1); exit 1; }; };; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct_CXX - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 -$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} - { (exit 1); exit 1; }; };; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - ac_file_inputs="$ac_file_inputs '$ac_f'" - done +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute_CXX - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } ;; - esac - ;; - esac +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir="$ac_dir" - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } - ac_builddir=. +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic_CXX -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath_CXX -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX - case $ac_mode in - :F) - # - # CONFIG_FILE - # +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - [\\/$]* | ?:[\\/]* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -_ACEOF +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p -' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds_CXX -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds_CXX -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec_CXX - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; - esac \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - ;; +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX +# The directories searched by this compiler when creating a shared library. +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX - :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac +# Dependencies to place before and after the objects being linked to +# create a shared library. +predep_objects=$lt_predep_objects_CXX +postdep_objects=$lt_postdep_objects_CXX +predeps=$lt_predeps_CXX +postdeps=$lt_postdeps_CXX +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# ### END LIBTOOL TAG CONFIG: CXX +_LT_EOF - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir=$dirpart/$fdir - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} ;; esac done # for ac_tag -{ (exit 0); exit 0; } +as_fn_exit 0 _ACEOF -chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || - { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. @@ -25712,10 +20156,10 @@ exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } + $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi diff -Nru hplip-3.12.2/configure.in hplip-3.13.4/configure.in --- hplip-3.12.2/configure.in 2012-02-01 11:56:29.000000000 +0000 +++ hplip-3.13.4/configure.in 2013-04-08 09:58:57.000000000 +0000 @@ -26,7 +26,7 @@ # 104 = no libdl #AC_PREREQ(2.59) -AC_INIT([HP Linux Imaging and Printing], [3.12.2], [3.12.2], [hplip]) +AC_INIT([HP Linux Imaging and Printing], [3.13.4], [3.13.4], [hplip]) #AM_INIT_AUTOMAKE([1.9 foreign]) AM_INIT_AUTOMAKE AC_DISABLE_STATIC @@ -214,10 +214,10 @@ AC_MSG_CHECKING([for parallel port build]) AC_ARG_ENABLE(pp_build, - [ --enable-pp-build enable parallel port build (default=no)], + [ --enable-pp-build (**Deprecated) enable parallel port build (default=no) ], pp_build=$enableval, pp_build=no) if test "$pp_build" = "yes"; then - AC_MSG_RESULT(yes) + AC_MSG_RESULT(yes(**Support Deprecated)) AC_DEFINE(HAVE_PPORT) else AC_MSG_RESULT(no) @@ -290,6 +290,17 @@ fi AM_CONDITIONAL(UDEV_ACL_RULES, test x$udev_acl_rules = xyes) +AC_MSG_CHECKING([for udev sysfs enable rules]) +AC_ARG_ENABLE(udev_sysfs_rules, + [ --enable-udev_sysfs_rules Use SYSFS attribute instead of ATTR/ATTRS attribute in udev rules(default=no)], + udev_sysfs_rules=$enableval, udev_sysfs_rules=no) +if test "$udev_sysfs_rules" = "yes"; then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi +AM_CONDITIONAL(UDEV_SYSFS_RULES, test x$udev_sysfs_rules = xyes) + AC_MSG_CHECKING([for shadow build]) AC_ARG_ENABLE(shadow_build, [ --enable-shadow-build enable shadow build (default=no)], @@ -301,6 +312,18 @@ fi AM_CONDITIONAL(SHADOW_BUILD, test x$shadow_build = xyes) +AC_MSG_CHECKING([for libusb-0.1 build]) +AC_ARG_ENABLE(libusb01_build, + [ --enable-libusb01_build Use libusb-0.1 instead of libusb-1.0 (default=no. i.e. libusb-1.0)], + libusb01_build=$enableval, libusb01_build=no) +if test "$libusb01_build" = "yes"; then + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_LIBUSB01) +else + AC_MSG_RESULT(no) +fi +AM_CONDITIONAL(LIBUSB01_BUILD, test x$libusb01_build = xyes) + AC_ARG_WITH(cupsbackenddir, AC_HELP_STRING([--with-cupsbackenddir=DIR], [set cups backend install directory [default=/usr/lib/cups/backend]]), cupsbackenddir=$withval, cupsbackenddir="/usr/lib/cups/backend") @@ -472,7 +495,7 @@ # Check conditional packages. -if test "$hpijs_only_build" = "no" && test "$network_build" = "yes"; then +if test "$hpijs_only_build" = "no" && test "$network_build" = "yes" && test "$hpcups_only_build" = "no"; then # 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)]) @@ -489,15 +512,20 @@ fi fi -if test "$hpijs_only_build" = "no" && test "$pp_build" = "yes"; then +if test "$hpijs_only_build" = "no" && test "$pp_build" = "yes" && test "$hpcups_only_build" = "no"; then AC_CHECK_HEADERS(linux/ppdev.h, ,[AC_MSG_ERROR([cannot find ppdev-devel support (or --disable-pp-build)], 8)]) fi -if test "$hpijs_only_build" = "no"; then +if test "$hpijs_only_build" = "no" && test "$hpcups_only_build" = "no"; then AC_CHECK_LIB([cups], [cupsDoFileRequest], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libcups support], 9)]) AC_CHECK_HEADERS(cups/cups.h, ,[AC_MSG_ERROR([cannot find cups-devel support], 3)]) - AC_CHECK_LIB([usb], [usb_init], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libusb support], 2)]) - AC_CHECK_HEADERS(usb.h, ,[AC_MSG_ERROR([cannot find libusb-devel support], 11)]) + if test "$libusb01_build" = "yes"; then + AC_CHECK_LIB([usb], [usb_init], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libusb support], 2)]) + AC_CHECK_HEADERS(usb.h, ,[AC_MSG_ERROR([cannot find libusb-devel support], 11)]) + else + AC_CHECK_LIB([usb-1.0], [libusb_init], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libusb 1.0 support], 2)]) + AC_CHECK_HEADERS(libusb-1.0/libusb.h, ,[AC_MSG_ERROR([cannot find libusb-1.0-devel support], 11)]) + fi fi if test "$hpijs_only_build" = "no" && test "$lite_build" = "no" && test "$hpcups_only_build" = "no"; then @@ -586,6 +614,7 @@ AC_SUBST(hpcups_install) AC_SUBST(doc_build) AC_SUBST(shadow_build) +AC_SUBST(libusb01_build) AC_SUBST(APDK_ENDIAN_FLAG) AC_SUBST(APDK_AUTO_INCLUDE_FLAG) AC_SUBST(ui_toolkit) @@ -615,6 +644,7 @@ AC_SUBST(SNMPLIB) AC_SUBST(prefix) AC_SUBST(udev_acl_rules) +AC_SUBST(udev_sysfs_rules) 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) AC_OUTPUT diff -Nru hplip-3.12.2/copier/copier.py hplip-3.13.4/copier/copier.py --- hplip-3.12.2/copier/copier.py 2012-02-01 11:52:49.000000000 +0000 +++ hplip-3.13.4/copier/copier.py 2013-04-08 09:56:35.000000000 +0000 @@ -60,12 +60,12 @@ def copy(self, num_copies=1, contrast=0, reduction=100, quality=pml.COPIER_QUALITY_NORMAL, fit_to_page=pml.COPIER_FIT_TO_PAGE_ENABLED, - scan_style=SCAN_STYLE_FLATBED, + scan_src=SCAN_SRC_FLATBED, update_queue=None, event_queue=None): if not self.isCopyActive(): self.copy_thread = PMLCopyThread(self, num_copies, contrast, reduction, quality, - fit_to_page, scan_style, update_queue, event_queue) + fit_to_page, scan_src, update_queue, event_queue) self.copy_thread.start() return True else: @@ -87,7 +87,7 @@ class PMLCopyThread(threading.Thread): def __init__(self, dev, num_copies, contrast, reduction, quality, - fit_to_page, scan_style, + fit_to_page, scan_src, update_queue=None, event_queue=None): threading.Thread.__init__(self) @@ -97,7 +97,7 @@ self.reduction = reduction self.quality = quality self.fit_to_page = fit_to_page - self.scan_style = scan_style + self.scan_src = scan_src self.event_queue = event_queue self.update_queue = update_queue self.prev_update = '' @@ -223,7 +223,7 @@ self.dev.setPML(pml.OID_COPIER_JOB_QUALITY, self.quality) # fit_to_page - if self.scan_style == SCAN_STYLE_FLATBED: + if self.scan_src == SCAN_SRC_FLATBED: self.dev.setPML(pml.OID_COPIER_JOB_FIT_TO_PAGE, self.fit_to_page) else: # AiO diff -Nru hplip-3.12.2/cups_drv.inc hplip-3.13.4/cups_drv.inc --- hplip-3.12.2/cups_drv.inc 2012-02-01 11:56:47.000000000 +0000 +++ hplip-3.13.4/cups_drv.inc 2013-04-08 09:59:28.000000000 +0000 @@ -29,13 +29,13 @@ ppd/hpcups/hp-color_laserjet_2500_series.ppd.gz \ ppd/hpcups/hp-color_laserjet_2600n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3000-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_3500n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3500.ppd.gz \ - ppd/hpcups/hp-color_laserjet_3550n.ppd.gz \ + ppd/hpcups/hp-color_laserjet_3500n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3550.ppd.gz \ + ppd/hpcups/hp-color_laserjet_3550n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3600.ppd.gz \ - ppd/hpcups/hp-color_laserjet_3700n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3700-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_3700n.ppd.gz \ ppd/hpcups/hp-color_laserjet_3800-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_4500-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_4550-pcl3.ppd.gz \ @@ -45,20 +45,20 @@ ppd/hpcups/hp-color_laserjet_4650-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_4700-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_4730mfp-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_5.ppd.gz \ ppd/hpcups/hp-color_laserjet_5500-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_5550-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_5m-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_5.ppd.gz \ ppd/hpcups/hp-color_laserjet_8500-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_8550-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_9500_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_9500-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_9500_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm1312_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm1312nfi_mfp-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_cm2320fxi_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm2320_mfp-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_cm2320nf_mfp-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_cm2320fxi_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm2320n_mfp-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_cm2320nf_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm3530_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm4540_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cm4730_mfp-pcl3.ppd.gz \ @@ -70,18 +70,18 @@ ppd/hpcups/hp-color_laserjet_cp1514n-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp1515n-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp1518ni-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_cp2025-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp2025dn-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp2025n-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_cp2025-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp2025x-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp3505-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp3525-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp4005-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp4020_series-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp4520_series-pcl3.ppd.gz \ + ppd/hpcups/hp-color_laserjet_cp5225-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp5225dn-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp5225n-pcl3.ppd.gz \ - ppd/hpcups/hp-color_laserjet_cp5225-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp5520_series-pcl3.ppd.gz \ ppd/hpcups/hp-color_laserjet_cp6015-pcl3.ppd.gz \ ppd/hpcups/hp-cp1160.ppd.gz \ @@ -93,14 +93,17 @@ ppd/hpcups/hp-deskjet_1200c.ppd.gz \ ppd/hpcups/hp-deskjet_1220c.ppd.gz \ ppd/hpcups/hp-deskjet_1280.ppd.gz \ + ppd/hpcups/hp-deskjet_1600c.ppd.gz \ ppd/hpcups/hp-deskjet_1600cm.ppd.gz \ ppd/hpcups/hp-deskjet_1600cn.ppd.gz \ - ppd/hpcups/hp-deskjet_1600c.ppd.gz \ ppd/hpcups/hp-deskjet_2000_j210_series.ppd.gz \ + ppd/hpcups/hp-deskjet_2020_series.ppd.gz \ ppd/hpcups/hp-deskjet_2050_j510_series.ppd.gz \ + ppd/hpcups/hp-deskjet_2510_series.ppd.gz \ + ppd/hpcups/hp-deskjet_2520_series.ppd.gz \ ppd/hpcups/hp-deskjet_3000_j310_series.ppd.gz \ - ppd/hpcups/hp-deskjet_3050a_j611_series.ppd.gz \ ppd/hpcups/hp-deskjet_3050_j610_series.ppd.gz \ + ppd/hpcups/hp-deskjet_3050a_j611_series.ppd.gz \ ppd/hpcups/hp-deskjet_3070_b611_series.ppd.gz \ ppd/hpcups/hp-deskjet_3320.ppd.gz \ ppd/hpcups/hp-deskjet_3325.ppd.gz \ @@ -108,6 +111,8 @@ ppd/hpcups/hp-deskjet_3425.ppd.gz \ ppd/hpcups/hp-deskjet_3450.ppd.gz \ ppd/hpcups/hp-deskjet_3500.ppd.gz \ + ppd/hpcups/hp-deskjet_3510_series.ppd.gz \ + ppd/hpcups/hp-deskjet_3520_series.ppd.gz \ ppd/hpcups/hp-deskjet_3550.ppd.gz \ ppd/hpcups/hp-deskjet_3600.ppd.gz \ ppd/hpcups/hp-deskjet_3650.ppd.gz \ @@ -123,18 +128,21 @@ ppd/hpcups/hp-deskjet_3910.ppd.gz \ ppd/hpcups/hp-deskjet_3920.ppd.gz \ ppd/hpcups/hp-deskjet_3940.ppd.gz \ - ppd/hpcups/hp-deskjet_400l.ppd.gz \ ppd/hpcups/hp-deskjet_400.ppd.gz \ + ppd/hpcups/hp-deskjet_400l.ppd.gz \ ppd/hpcups/hp-deskjet_460.ppd.gz \ - ppd/hpcups/hp-deskjet_500c.ppd.gz \ + ppd/hpcups/hp-deskjet_4610_series.ppd.gz \ + ppd/hpcups/hp-deskjet_4620_series.ppd.gz \ ppd/hpcups/hp-deskjet_500.ppd.gz \ + ppd/hpcups/hp-deskjet_500c.ppd.gz \ ppd/hpcups/hp-deskjet_505j.ppd.gz \ - ppd/hpcups/hp-deskjet_5100.ppd.gz \ ppd/hpcups/hp-deskjet_510.ppd.gz \ + ppd/hpcups/hp-deskjet_5100.ppd.gz \ ppd/hpcups/hp-deskjet_520.ppd.gz \ - ppd/hpcups/hp-deskjet_5400_series.ppd.gz \ ppd/hpcups/hp-deskjet_540.ppd.gz \ + ppd/hpcups/hp-deskjet_5400_series.ppd.gz \ ppd/hpcups/hp-deskjet_550c.ppd.gz \ + ppd/hpcups/hp-deskjet_5520_series.ppd.gz \ ppd/hpcups/hp-deskjet_5550.ppd.gz \ ppd/hpcups/hp-deskjet_5551.ppd.gz \ ppd/hpcups/hp-deskjet_5552.ppd.gz \ @@ -146,8 +154,8 @@ ppd/hpcups/hp-deskjet_5850.ppd.gz \ ppd/hpcups/hp-deskjet_5900_series.ppd.gz \ ppd/hpcups/hp-deskjet_600.ppd.gz \ - ppd/hpcups/hp-deskjet_610cl.ppd.gz \ ppd/hpcups/hp-deskjet_610c.ppd.gz \ + ppd/hpcups/hp-deskjet_610cl.ppd.gz \ ppd/hpcups/hp-deskjet_6120.ppd.gz \ ppd/hpcups/hp-deskjet_6122.ppd.gz \ ppd/hpcups/hp-deskjet_6127.ppd.gz \ @@ -157,22 +165,23 @@ ppd/hpcups/hp-deskjet_640c.ppd.gz \ ppd/hpcups/hp-deskjet_648c.ppd.gz \ ppd/hpcups/hp-deskjet_6500.ppd.gz \ + ppd/hpcups/hp-deskjet_6520_series.ppd.gz \ ppd/hpcups/hp-deskjet_656c.ppd.gz \ - ppd/hpcups/hp-deskjet_6600.ppd.gz \ ppd/hpcups/hp-deskjet_660.ppd.gz \ - ppd/hpcups/hp-deskjet_670c.ppd.gz \ + ppd/hpcups/hp-deskjet_6600.ppd.gz \ ppd/hpcups/hp-deskjet_670.ppd.gz \ + ppd/hpcups/hp-deskjet_670c.ppd.gz \ ppd/hpcups/hp-deskjet_670tv.ppd.gz \ ppd/hpcups/hp-deskjet_672c.ppd.gz \ - ppd/hpcups/hp-deskjet_6800.ppd.gz \ ppd/hpcups/hp-deskjet_680.ppd.gz \ + ppd/hpcups/hp-deskjet_6800.ppd.gz \ ppd/hpcups/hp-deskjet_682.ppd.gz \ - ppd/hpcups/hp-deskjet_690c.ppd.gz \ ppd/hpcups/hp-deskjet_690.ppd.gz \ + ppd/hpcups/hp-deskjet_690c.ppd.gz \ ppd/hpcups/hp-deskjet_692.ppd.gz \ ppd/hpcups/hp-deskjet_693.ppd.gz \ - ppd/hpcups/hp-deskjet_6940_series.ppd.gz \ ppd/hpcups/hp-deskjet_694.ppd.gz \ + ppd/hpcups/hp-deskjet_6940_series.ppd.gz \ ppd/hpcups/hp-deskjet_695.ppd.gz \ ppd/hpcups/hp-deskjet_697.ppd.gz \ ppd/hpcups/hp-deskjet_6980_series.ppd.gz \ @@ -250,6 +259,7 @@ ppd/hpcups/hp-dj450.ppd.gz \ ppd/hpcups/hp-envy_100_d410_series.ppd.gz \ ppd/hpcups/hp-envy_110_series.ppd.gz \ + ppd/hpcups/hp-envy_120_series.ppd.gz \ ppd/hpcups/hp-laserjet_1000.ppd.gz \ ppd/hpcups/hp-laserjet_1005_series.ppd.gz \ ppd/hpcups/hp-laserjet_1010.ppd.gz \ @@ -257,29 +267,29 @@ ppd/hpcups/hp-laserjet_1015.ppd.gz \ ppd/hpcups/hp-laserjet_1018.ppd.gz \ ppd/hpcups/hp-laserjet_1020.ppd.gz \ + ppd/hpcups/hp-laserjet_1022-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1022-zjs.ppd.gz \ ppd/hpcups/hp-laserjet_1022n-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1022n-zjs.ppd.gz \ ppd/hpcups/hp-laserjet_1022nw-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_1022nw-zjs.ppd.gz \ - ppd/hpcups/hp-laserjet_1022n-zjs.ppd.gz \ - ppd/hpcups/hp-laserjet_1022-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_1022-zjs.ppd.gz \ - ppd/hpcups/hp-laserjet_1100a.ppd.gz \ ppd/hpcups/hp-laserjet_1100.ppd.gz \ + ppd/hpcups/hp-laserjet_1100a.ppd.gz \ ppd/hpcups/hp-laserjet_1100xi.ppd.gz \ ppd/hpcups/hp-laserjet_1150.ppd.gz \ ppd/hpcups/hp-laserjet_1160.ppd.gz \ ppd/hpcups/hp-laserjet_1160_series.ppd.gz \ - ppd/hpcups/hp-laserjet_1200n.ppd.gz \ ppd/hpcups/hp-laserjet_1200-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1200n.ppd.gz \ ppd/hpcups/hp-laserjet_1220-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_1220se.ppd.gz \ - ppd/hpcups/hp-laserjet_1300n-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_1300-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1300n-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_1300xi-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_1320n.ppd.gz \ - ppd/hpcups/hp-laserjet_1320nw.ppd.gz \ ppd/hpcups/hp-laserjet_1320.ppd.gz \ ppd/hpcups/hp-laserjet_1320_series-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_1320n.ppd.gz \ + ppd/hpcups/hp-laserjet_1320nw.ppd.gz \ ppd/hpcups/hp-laserjet_1320tn.ppd.gz \ ppd/hpcups/hp-laserjet_2100.ppd.gz \ ppd/hpcups/hp-laserjet_2100_series-pcl3.ppd.gz \ @@ -298,8 +308,8 @@ ppd/hpcups/hp-laserjet_3055.ppd.gz \ ppd/hpcups/hp-laserjet_3100.ppd.gz \ ppd/hpcups/hp-laserjet_3150.ppd.gz \ - ppd/hpcups/hp-laserjet_3200m-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_3200.ppd.gz \ + ppd/hpcups/hp-laserjet_3200m-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_3200se.ppd.gz \ ppd/hpcups/hp-laserjet_3300_3310_3320-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_3330.ppd.gz \ @@ -317,23 +327,23 @@ ppd/hpcups/hp-laserjet_4300-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4345_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4350-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_4_plus-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4l.ppd.gz \ ppd/hpcups/hp-laserjet_4ml.ppd.gz \ ppd/hpcups/hp-laserjet_4mp-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_4_plus-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4si-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_4v-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5000.ppd.gz \ ppd/hpcups/hp-laserjet_5000_series-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5100_series-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_5200-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5200l-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5200lx.ppd.gz \ - ppd/hpcups/hp-laserjet_5200-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5l.ppd.gz \ ppd/hpcups/hp-laserjet_5mp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5p.ppd.gz \ - ppd/hpcups/hp-laserjet_5si_mopier-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_5si-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_5si_mopier-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_6l.ppd.gz \ ppd/hpcups/hp-laserjet_6mp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_6p.ppd.gz \ @@ -345,10 +355,10 @@ ppd/hpcups/hp-laserjet_8150_series-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9000_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9000_series-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_9040_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9040-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_9050_mfp-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_9040_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9050-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_9050_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9055mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_9065mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_cm1411fn-pcl3.ppd.gz \ @@ -359,19 +369,15 @@ ppd/hpcups/hp-laserjet_cm1416fnw-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_cm1417fnw-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_cm1418fnw-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1021.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1022.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1023.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1025nw.ppd.gz \ ppd/hpcups/hp-laserjet_cp1025.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1027nw.ppd.gz \ - ppd/hpcups/hp-laserjet_cp1028nw.ppd.gz \ + ppd/hpcups/hp-laserjet_cp1025nw.ppd.gz \ + ppd/hpcups/hp-laserjet_cp_1025.ppd.gz \ + ppd/hpcups/hp-laserjet_cp_1025nw.ppd.gz \ ppd/hpcups/hp-laserjet_m1005.ppd.gz \ ppd/hpcups/hp-laserjet_m1120_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_m1120n_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_m1319f_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_m1522nf_mfp-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_m1536dnf_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_m1537dnf_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_m1538dnf_mfp-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_m1539dnf_mfp-pcl3.ppd.gz \ @@ -391,61 +397,81 @@ ppd/hpcups/hp-laserjet_p1007.ppd.gz \ ppd/hpcups/hp-laserjet_p1008.ppd.gz \ ppd/hpcups/hp-laserjet_p1009.ppd.gz \ + ppd/hpcups/hp-laserjet_p1505.ppd.gz \ ppd/hpcups/hp-laserjet_p1505n-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p1505n-zxs.ppd.gz \ - ppd/hpcups/hp-laserjet_p1505.ppd.gz \ - ppd/hpcups/hp-laserjet_p2014n-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_p2014n-zxs.ppd.gz \ ppd/hpcups/hp-laserjet_p2014-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2014-zxs.ppd.gz \ - ppd/hpcups/hp-laserjet_p2015dn_series.ppd.gz \ + ppd/hpcups/hp-laserjet_p2014n-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2014n-zxs.ppd.gz \ + ppd/hpcups/hp-laserjet_p2015_series-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2015d_series.ppd.gz \ + ppd/hpcups/hp-laserjet_p2015dn_series.ppd.gz \ ppd/hpcups/hp-laserjet_p2015n_series.ppd.gz \ - ppd/hpcups/hp-laserjet_p2015_series-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2015x_series.ppd.gz \ - ppd/hpcups/hp-laserjet_p2035n-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_p2035n-zjs.ppd.gz \ ppd/hpcups/hp-laserjet_p2035-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2035-zjs.ppd.gz \ - ppd/hpcups/hp-laserjet_p2055dn-pcl3.ppd.gz \ - ppd/hpcups/hp-laserjet_p2055d-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2035n-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2035n-zjs.ppd.gz \ ppd/hpcups/hp-laserjet_p2055-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2055d-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p2055dn-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p2055x-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p3004-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p3005-pcl3.ppd.gz \ ppd/hpcups/hp-laserjet_p3010_series-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_p4014.ppd.gz \ ppd/hpcups/hp-laserjet_p4014dn.ppd.gz \ ppd/hpcups/hp-laserjet_p4014n.ppd.gz \ - ppd/hpcups/hp-laserjet_p4014.ppd.gz \ + ppd/hpcups/hp-laserjet_p4015.ppd.gz \ ppd/hpcups/hp-laserjet_p4015dn.ppd.gz \ ppd/hpcups/hp-laserjet_p4015n.ppd.gz \ - ppd/hpcups/hp-laserjet_p4015.ppd.gz \ ppd/hpcups/hp-laserjet_p4015tn.ppd.gz \ ppd/hpcups/hp-laserjet_p4015x.ppd.gz \ - ppd/hpcups/hp-laserjet_p4515n.ppd.gz \ ppd/hpcups/hp-laserjet_p4515.ppd.gz \ + ppd/hpcups/hp-laserjet_p4515n.ppd.gz \ ppd/hpcups/hp-laserjet_p4515tn.ppd.gz \ - ppd/hpcups/hp-laserjet_p4515xm.ppd.gz \ ppd/hpcups/hp-laserjet_p4515x.ppd.gz \ + ppd/hpcups/hp-laserjet_p4515xm.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1132_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1136_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1137_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1138_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1139_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1212nf_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1213nf_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1214nfh_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1216nfh_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1217nfw_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1218nfg_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1218nfs_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_m1219nf_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1219nfg_mfp.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_m1219nfs_mfp.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1102.ppd.gz \ - ppd/hpcups/hp-laserjet_professional_p1102s.ppd.gz \ - ppd/hpcups/hp-laserjet_professional_p_1102w.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1102w.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1106.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1106w.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1107.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1107w.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1108.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1108w.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1109.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1109w.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1566.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1567.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1568.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1569.ppd.gz \ ppd/hpcups/hp-laserjet_professional_p1606dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1607dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1608dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1609dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p_1102w.ppd.gz \ ppd/hpcups/hp-mopier_240-pcl3.ppd.gz \ ppd/hpcups/hp-mopier_320-pcl3.ppd.gz \ + ppd/hpcups/hp-officejet.ppd.gz \ ppd/hpcups/hp-officejet_100_mobile_l411.ppd.gz \ + ppd/hpcups/hp-officejet_150_mobile_l511.ppd.gz \ ppd/hpcups/hp-officejet_4000_k210.ppd.gz \ ppd/hpcups/hp-officejet_4100_series.ppd.gz \ ppd/hpcups/hp-officejet_4105.ppd.gz \ @@ -458,6 +484,8 @@ ppd/hpcups/hp-officejet_4500_g510g-m.ppd.gz \ ppd/hpcups/hp-officejet_4500_g510n-z.ppd.gz \ ppd/hpcups/hp-officejet_4500_k710.ppd.gz \ + ppd/hpcups/hp-officejet_4610_series.ppd.gz \ + ppd/hpcups/hp-officejet_4620_series.ppd.gz \ ppd/hpcups/hp-officejet_5100_series.ppd.gz \ ppd/hpcups/hp-officejet_5105.ppd.gz \ ppd/hpcups/hp-officejet_5110.ppd.gz \ @@ -466,6 +494,7 @@ ppd/hpcups/hp-officejet_5600_series.ppd.gz \ ppd/hpcups/hp-officejet_6000_e609a.ppd.gz \ ppd/hpcups/hp-officejet_6000_e609n.ppd.gz \ + ppd/hpcups/hp-officejet_6100.ppd.gz \ ppd/hpcups/hp-officejet_6100_series.ppd.gz \ ppd/hpcups/hp-officejet_6150_series.ppd.gz \ ppd/hpcups/hp-officejet_6200_series.ppd.gz \ @@ -474,9 +503,12 @@ ppd/hpcups/hp-officejet_6500_e709n.ppd.gz \ ppd/hpcups/hp-officejet_6500_e710a-f.ppd.gz \ ppd/hpcups/hp-officejet_6500_e710n-z.ppd.gz \ + ppd/hpcups/hp-officejet_6600.ppd.gz \ + ppd/hpcups/hp-officejet_6700.ppd.gz \ ppd/hpcups/hp-officejet_7000_e809a.ppd.gz \ ppd/hpcups/hp-officejet_7000_e809a_series.ppd.gz \ ppd/hpcups/hp-officejet_7100_series.ppd.gz \ + ppd/hpcups/hp-officejet_7110_series.ppd.gz \ ppd/hpcups/hp-officejet_7200_series.ppd.gz \ ppd/hpcups/hp-officejet_7300_series.ppd.gz \ ppd/hpcups/hp-officejet_7400_series.ppd.gz \ @@ -503,7 +535,6 @@ ppd/hpcups/hp-officejet_k80.ppd.gz \ ppd/hpcups/hp-officejet_k80xi.ppd.gz \ ppd/hpcups/hp-officejet_lx.ppd.gz \ - ppd/hpcups/hp-officejet.ppd.gz \ ppd/hpcups/hp-officejet_pro_1150c.ppd.gz \ ppd/hpcups/hp-officejet_pro_1170c_series.ppd.gz \ ppd/hpcups/hp-officejet_pro_8000_a809.ppd.gz \ @@ -535,7 +566,6 @@ ppd/hpcups/hp-officejet_series_320.ppd.gz \ ppd/hpcups/hp-officejet_series_330.ppd.gz \ ppd/hpcups/hp-officejet_series_350.ppd.gz \ - ppd/hpcups/hp-officejet_series_500.ppd.gz \ ppd/hpcups/hp-officejet_series_520.ppd.gz \ ppd/hpcups/hp-officejet_series_570.ppd.gz \ ppd/hpcups/hp-officejet_series_580.ppd.gz \ @@ -573,15 +603,18 @@ ppd/hpcups/hp-photosmart_380_series.ppd.gz \ ppd/hpcups/hp-photosmart_420_series.ppd.gz \ ppd/hpcups/hp-photosmart_470_series.ppd.gz \ - ppd/hpcups/hp-photosmart_5510d_series.ppd.gz \ ppd/hpcups/hp-photosmart_5510_series.ppd.gz \ + ppd/hpcups/hp-photosmart_5510d_series.ppd.gz \ + ppd/hpcups/hp-photosmart_5520_series.ppd.gz \ ppd/hpcups/hp-photosmart_6510_series.ppd.gz \ + ppd/hpcups/hp-photosmart_6520_series.ppd.gz \ ppd/hpcups/hp-photosmart_7150.ppd.gz \ ppd/hpcups/hp-photosmart_7200_series.ppd.gz \ ppd/hpcups/hp-photosmart_7345.ppd.gz \ ppd/hpcups/hp-photosmart_7350.ppd.gz \ ppd/hpcups/hp-photosmart_7400_series.ppd.gz \ ppd/hpcups/hp-photosmart_7510_series.ppd.gz \ + ppd/hpcups/hp-photosmart_7520_series.ppd.gz \ ppd/hpcups/hp-photosmart_7550.ppd.gz \ ppd/hpcups/hp-photosmart_7600_series.ppd.gz \ ppd/hpcups/hp-photosmart_7700_series.ppd.gz \ @@ -647,10 +680,10 @@ ppd/hpcups/hp-photosmart_p1100.ppd.gz \ ppd/hpcups/hp-photosmart_plus_b209a-m.ppd.gz \ ppd/hpcups/hp-photosmart_plus_b210_series.ppd.gz \ + ppd/hpcups/hp-photosmart_prem-web_c309n-s.ppd.gz \ ppd/hpcups/hp-photosmart_prem_c310_series.ppd.gz \ ppd/hpcups/hp-photosmart_prem_c410_series.ppd.gz \ ppd/hpcups/hp-photosmart_premium_c309g-m.ppd.gz \ - ppd/hpcups/hp-photosmart_prem-web_c309n-s.ppd.gz \ ppd/hpcups/hp-photosmart_pro_b8300_series.ppd.gz \ ppd/hpcups/hp-photosmart_pro_b8800_series.ppd.gz \ ppd/hpcups/hp-photosmart_wireless_b109n-z.ppd.gz \ diff -Nru hplip-3.12.2/dat2drv.py hplip-3.13.4/dat2drv.py --- hplip-3.12.2/dat2drv.py 2012-02-01 11:53:57.000000000 +0000 +++ hplip-3.13.4/dat2drv.py 2013-04-08 09:58:45.000000000 +0000 @@ -529,12 +529,19 @@ drv_in_file_f.write('%sModelName "%s"\n' % (indent2, orig_model_name)) if len(models_dict[p]['tech-class']) > 1: - drv_in_file_f.write('%sAttribute "NickName" "" "%s %s, $Version' % - (indent2, orig_model_name, models.TECH_CLASS_PDLS[tech_class])) + if basename == "hpcups": + drv_in_file_f.write('%sAttribute "NickName" "" "%s %s, %s $Version' % + (indent2, orig_model_name, models.TECH_CLASS_PDLS[tech_class],basename)) + else: + drv_in_file_f.write('%sAttribute "NickName" "" "%s %s, $Version' % + (indent2, orig_model_name, models.TECH_CLASS_PDLS[tech_class])) else: - drv_in_file_f.write('%sAttribute "NickName" "" "%s, $Version' % - (indent2, orig_model_name)) - + if basename == "hpcups": + drv_in_file_f.write('%sAttribute "NickName" "" "%s, %s $Version' % + (indent2, orig_model_name, basename)) + else: + drv_in_file_f.write('%sAttribute "NickName" "" "%s, $Version' % + (indent2, orig_model_name)) if models_dict[p]['plugin'] in (1, 2): if (models_dict[p]['plugin-reason'] & 15 ) in (1, 2, 3, 4, 5, 6, 8, 9, 10, 12): drv_in_file_f.write(', requires proprietary plugin') Binary files /tmp/2DB1N8j2RE/hplip-3.12.2/data/images/16x16/troubleshoot.png and /tmp/tZO407AF4z/hplip-3.13.4/data/images/16x16/troubleshoot.png differ Binary files /tmp/2DB1N8j2RE/hplip-3.12.2/data/images/32x32/troubleshoot.png and /tmp/tZO407AF4z/hplip-3.13.4/data/images/32x32/troubleshoot.png differ diff -Nru hplip-3.12.2/data/models/models.dat hplip-3.13.4/data/models/models.dat --- hplip-3.12.2/data/models/models.dat 2012-02-01 11:53:03.000000000 +0000 +++ hplip-3.13.4/data/models/models.dat 2013-04-08 09:56:38.000000000 +0000 @@ -20,7 +20,7 @@ # This file automatically generated by the HPLIP model editor (model_editor.py). # Please do NOT hand edit this file. # -# Last written on Wed, 01 Feb 2012 16:39:47 by goutam. +# Last written on Wed, 03 Apr 2013 14:50:16 by amar. # Model editor version 10.2 (Qt4). @@ -47,7 +47,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -87,7 +87,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -127,7 +127,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -166,7 +166,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -211,7 +211,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -253,7 +253,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -294,7 +294,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -333,7 +333,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -375,7 +375,7 @@ r0-agent1-kind=3 r0-agent1-sku=26(51626A) r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -437,7 +437,7 @@ r0-agent6-kind=1 r0-agent6-sku=14 (C4923A) r0-agent6-type=6 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -479,7 +479,7 @@ r0-agent1-kind=3 r0-agent1-sku=26(51626A) r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -527,7 +527,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D or C1823T) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -566,7 +566,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -608,7 +608,7 @@ r0-agent1-kind=4 r0-agent1-sku=92274A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -650,7 +650,7 @@ r0-agent1-kind=4 r0-agent1-sku=92298A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -693,7 +693,7 @@ r0-agent1-kind=4 r0-agent1-sku=92298A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -738,7 +738,7 @@ r0-agent1-kind=4 r0-agent1-sku=92274A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -780,7 +780,7 @@ r0-agent1-kind=4 r0-agent1-sku=92291A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -823,7 +823,7 @@ r0-agent1-kind=4 r0-agent1-sku=92291A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -868,7 +868,7 @@ r0-agent1-kind=4 r0-agent1-sku=C3909A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -912,7 +912,7 @@ r0-agent1-kind=4 r0-agent1-sku=C3906A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -955,7 +955,7 @@ r0-agent1-kind=4 r0-agent1-sku=C3909A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -997,7 +997,7 @@ r0-agent1-kind=4 r0-agent1-sku=C3903A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -1051,7 +1051,7 @@ r0-agent5-kind=5 r0-agent5-sku=67 r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -1105,7 +1105,7 @@ r0-agent5-kind=5 r0-agent5-sku=67 r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -1147,7 +1147,7 @@ r0-agent1-kind=4 r0-agent1-sku=C3903A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -1193,7 +1193,7 @@ r0-agent1-kind=4 r0-agent1-sku=C3906A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -1235,7 +1235,7 @@ r0-agent1-kind=4 r0-agent1-sku=C3903A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -1279,7 +1279,7 @@ r0-agent1-kind=4 r0-agent1-sku=C3903A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -1378,7 +1378,7 @@ r8-agent4-kind=2 r8-agent4-sku=862/862XL r8-agent4-type=6 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -1392,7 +1392,7 @@ tech-type=2 usb-pid=9711 usb-vid=3f0 -wifi-config=1 +wifi-config=0 [hp_designjet_10ps] align-type=0 @@ -1417,7 +1417,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -1456,7 +1456,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -1501,7 +1501,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=2 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -1542,7 +1542,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -1587,7 +1587,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=2 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -1632,7 +1632,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -1678,7 +1678,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=2 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -1723,7 +1723,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -1768,7 +1768,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -1813,7 +1813,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=2 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -1852,7 +1852,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -1897,7 +1897,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -1942,7 +1942,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -1987,7 +1987,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN/C6578DN) r0-agent2-type=2 -scan-style=2 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -2032,7 +2032,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN/C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -2077,7 +2077,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D or C1823T) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -2122,7 +2122,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -2161,7 +2161,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -2206,7 +2206,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN/C6578DN) r0-agent2-type=2 -scan-style=2 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -2251,7 +2251,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN/C6578DN) r0-agent2-type=2 -scan-style=2 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -2296,7 +2296,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -2341,7 +2341,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -2386,7 +2386,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -2431,7 +2431,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -2472,7 +2472,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -2517,7 +2517,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN/C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -2568,7 +2568,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE312A r0-agent4-type=6 -scan-style=3 +scan-src=3 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -2582,7 +2582,7 @@ tech-type=4 usb-pid=62a usb-vid=3f0 -wifi-config=-1 +wifi-config=3 [officejet_100_mobile_l411] align-type=10 @@ -2670,7 +2670,7 @@ r8-agent4-kind=3 r8-agent4-sku=100 r8-agent4-type=19 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=2 status-dynamic-counters=1 @@ -2710,7 +2710,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -2785,7 +2785,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=0 +scan-src=1 scan-type=7 status-battery-check=0 status-dynamic-counters=1 @@ -2836,7 +2836,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE312A r0-agent4-type=6 -scan-style=3 +scan-src=3 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -2850,7 +2850,7 @@ tech-type=4 usb-pid=62a usb-vid=3f0 -wifi-config=-1 +wifi-config=3 [hp_laserjet_100_colormfp_m175q] align-type=0 @@ -2887,7 +2887,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE312A r0-agent4-type=6 -scan-style=3 +scan-src=3 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -2901,7 +2901,7 @@ tech-type=4 usb-pid=62a usb-vid=3f0 -wifi-config=-1 +wifi-config=3 [hp_laserjet_100_colormfp_m175p] align-type=0 @@ -2938,7 +2938,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE312A r0-agent4-type=6 -scan-style=3 +scan-src=3 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -2952,7 +2952,7 @@ tech-type=4 usb-pid=62a usb-vid=3f0 -wifi-config=-1 +wifi-config=3 [hp_laserjet_100_colormfp_m175e] align-type=0 @@ -2989,7 +2989,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE312A r0-agent4-type=6 -scan-style=3 +scan-src=3 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -3040,7 +3040,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE312A r0-agent4-type=6 -scan-style=3 +scan-src=3 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -3091,7 +3091,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE312A r0-agent4-type=6 -scan-style=3 +scan-src=3 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -3142,7 +3142,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE312A r0-agent4-type=6 -scan-style=3 +scan-src=3 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -3184,7 +3184,7 @@ r0-agent1-kind=3 r0-agent1-sku=57 (C6657AN) r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -3286,7 +3286,7 @@ r8-agent4-kind=2 r8-agent4-sku=862/862XL r8-agent4-type=6 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -3356,7 +3356,7 @@ r8-agent2-kind=3 r8-agent2-sku=703 r8-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=3 @@ -3457,7 +3457,7 @@ r8-agent4-kind=2 r8-agent4-sku=862/862XL r8-agent4-type=6 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -3559,7 +3559,7 @@ r8-agent4-kind=2 r8-agent4-sku=862/862XL r8-agent4-type=6 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -3601,7 +3601,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -3632,6 +3632,8 @@ job-storage=0 linefeed-cal-type=0 model1=HP Envy 110 e-All-in-One +model2=HP Envy 111 e-All-in-One +model3=HP Envy 114 e-All-in-One monitor-type=0 panel-check-type=1 pcard-type=0 @@ -3640,43 +3642,43 @@ power-settings=0 pq-diag-type=0 r-type=1 -r0-agent1-kind=2 +r0-agent1-kind=3 r0-agent1-sku=60/60XL/60b r0-agent1-type=1 -r0-agent2-kind=2 +r0-agent2-kind=3 r0-agent2-sku=60/60XL r0-agent2-type=2 -r10-agent1-kind=2 -r10-agent1-sku=818/818XL/818b -r10-agent1-type=1 -r10-agent2-kind=3 -r10-agent2-sku=818/818XL -r10-agent2-type=2 -r18-agent2-kind=3 -r18-agent2-sku=93/95 -r18-agent2-type=2 -r18-agent3-kind=3 -r18-agent3-sku=99 -r18-agent3-type=3 -r2-agent1-kind=2 -r2-agent1-sku=60/60XL/60b +r1-agent1-kind=3 +r1-agent1-sku=60/60XL/60b +r1-agent1-type=1 +r1-agent2-kind=3 +r1-agent2-sku=60/60XL +r1-agent2-type=2 +r2-agent1-kind=3 +r2-agent1-sku=300/300XL/300b r2-agent1-type=1 -r2-agent2-kind=2 -r2-agent2-sku=60/60XL +r2-agent2-kind=3 +r2-agent2-sku=300/300XL r2-agent2-type=2 +r3-agent1-kind=3 +r3-agent1-sku=121/121XL/121b +r3-agent1-type=1 +r3-agent2-kind=3 +r3-agent2-sku=121/121XL +r3-agent2-type=2 r4-agent1-kind=2 -r4-agent1-sku=300/300XL/300b +r4-agent1-sku=818/818XL/818b r4-agent1-type=1 -r4-agent2-kind=2 -r4-agent2-sku=300/300XL +r4-agent2-kind=3 +r4-agent2-sku=818/818XL r4-agent2-type=2 -r8-agent1-kind=2 -r8-agent1-sku=121/121XL/121b -r8-agent1-type=1 -r8-agent2-kind=2 -r8-agent2-sku=121/121XL -r8-agent2-type=2 -scan-style=1 +r5-agent2-kind=3 +r5-agent2-sku=93/95 +r5-agent2-type=2 +r5-agent3-kind=3 +r5-agent3-sku=99 +r5-agent3-type=3 +scan-src=1 scan-type=7 status-battery-check=0 status-dynamic-counters=1 @@ -3690,10 +3692,10 @@ tech-type=2 usb-pid=a711 usb-vid=3f0 -wifi-config=0 +wifi-config=3 [photosmart_d110_series] -align-type=13 +align-type=1 clean-type=1 color-cal-type=0 copy-type=0 @@ -3751,7 +3753,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -3765,7 +3767,7 @@ tech-type=2 usb-pid=8d11 usb-vid=3f0 -wifi-config=0 +wifi-config=1 [photosmart_b110_series] align-type=1 @@ -3850,7 +3852,7 @@ r8-agent4-kind=2 r8-agent4-sku=862/862XL r8-agent4-type=6 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -3866,6 +3868,82 @@ usb-vid=3f0 wifi-config=1 +[envy_120_series] +align-type=15 +clean-type=3 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP Envy 120 e-All-in-One +model2=HP Envy 121 e-All-in-One +monitor-type=0 +panel-check-type=1 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=3 +r0-agent1-sku=60/60XL/60b +r0-agent1-type=1 +r0-agent2-kind=3 +r0-agent2-sku=60/60XL +r0-agent2-type=2 +r1-agent1-kind=3 +r1-agent1-sku=60/60XL/60b +r1-agent1-type=1 +r1-agent2-kind=3 +r1-agent2-sku=60/60XL +r1-agent2-type=2 +r2-agent1-kind=3 +r2-agent1-sku=300/300XL/300b +r2-agent1-type=1 +r2-agent2-kind=3 +r2-agent2-sku=300/300XL +r2-agent2-type=2 +r3-agent1-kind=3 +r3-agent1-sku=121/121XL/121b +r3-agent1-type=1 +r3-agent2-kind=3 +r3-agent2-sku=121/121XL +r3-agent2-type=2 +r4-agent1-kind=2 +r4-agent1-sku=818/818XL/818b +r4-agent1-type=1 +r4-agent2-kind=3 +r4-agent2-sku=818/818XL +r4-agent2-type=2 +r5-agent2-kind=3 +r5-agent2-sku=93/95 +r5-agent2-type=2 +r5-agent3-kind=3 +r5-agent3-sku=99 +r5-agent3-type=3 +scan-src=1 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=1 +status-type=2 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.10 +tech-class=Mimas +tech-subclass=NoCDDVD +tech-type=2 +usb-pid=bb11 +usb-vid=3f0 +wifi-config=3 + [hp_designjet_120] align-type=0 clean-type=0 @@ -3890,7 +3968,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -3934,7 +4012,7 @@ r0-agent1-kind=3 r0-agent1-sku=57 (C6657AN) r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -3976,7 +4054,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -4025,7 +4103,7 @@ r0-agent2-kind=3 r0-agent2-sku=59 (C9359A) r0-agent2-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -4041,6 +4119,160 @@ usb-vid=3f0 wifi-config=0 +[officejet_150_mobile_l511] +align-type=10 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=dj450.png +io-mfp-mode=3 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP OfficeJet 150 Mobile All-in-One +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=1 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=3 +r0-agent1-sku=94/98 +r0-agent1-type=1 +r0-agent2-kind=3 +r0-agent2-sku=95/97 +r0-agent2-type=2 +r0-agent3-kind=3 +r0-agent3-sku=99 +r0-agent3-type=3 +r0-agent4-kind=3 +r0-agent4-sku=100 +r0-agent4-type=19 +r0-agent5-kind=9 +r0-agent5-sku=C8222A/C8263A +r0-agent5-type=62 +r1-agent1-kind=3 +r1-agent1-sku=94/98 +r1-agent1-type=1 +r1-agent2-kind=3 +r1-agent2-sku=95/97 +r1-agent2-type=2 +r1-agent3-kind=3 +r1-agent3-sku=99 +r1-agent3-type=3 +r1-agent4-kind=3 +r1-agent4-sku=100 +r1-agent4-type=19 +r2-agent1-kind=3 +r2-agent1-sku=338/337 +r2-agent1-type=1 +r2-agent2-kind=3 +r2-agent2-sku=343/344 +r2-agent2-type=2 +r2-agent3-kind=3 +r2-agent3-sku=348 +r2-agent3-type=3 +r2-agent4-kind=3 +r2-agent4-sku=100 +r2-agent4-type=19 +r4-agent1-kind=3 +r4-agent1-sku=131/129 +r4-agent1-type=1 +r4-agent2-kind=3 +r4-agent2-sku=135/134 +r4-agent2-type=2 +r4-agent3-kind=3 +r4-agent3-sku=138 +r4-agent3-type=3 +r4-agent4-kind=3 +r4-agent4-sku=100 +r4-agent4-type=19 +r8-agent1-kind=3 +r8-agent1-sku=852/851 +r8-agent1-type=1 +r8-agent2-kind=3 +r8-agent2-sku=855/857 +r8-agent2-type=2 +r8-agent3-kind=3 +r8-agent3-sku=858 +r8-agent3-type=3 +r8-agent4-kind=3 +r8-agent4-sku=100 +r8-agent4-type=19 +scan-src=2 +scan-type=1 +status-battery-check=2 +status-dynamic-counters=1 +status-type=1 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.10 +tech-class=StingrayOJ +tech-subclass=Normal +tech-type=2 +usb-pid=4912 +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_200_colormfp_m276nw] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=7 +fw-download=False +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Pro 200 color MFP M276nw +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_200_colormfp_m276 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF210A/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=122a +usb-vid=3f0 +wifi-config=3 + [hp_laserjet_200_colormfp_m275s] align-type=0 clean-type=0 @@ -4062,6 +4294,7 @@ plugin=1 plugin-reason=64 power-settings=0 +ppd-name=laserjet_200_colormfp_m275 pq-diag-type=0 r-type=0 r0-agent1-kind=4 @@ -4076,7 +4309,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE322A r0-agent4-type=6 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -4090,7 +4323,7 @@ tech-type=4 usb-pid=c2a usb-vid=3f0 -wifi-config=0 +wifi-config=3 [hp_laserjet_200_colormfp_m275u] align-type=0 @@ -4113,6 +4346,7 @@ plugin=1 plugin-reason=64 power-settings=0 +ppd-name=laserjet_200_colormfp_m275 pq-diag-type=0 r-type=0 r0-agent1-kind=4 @@ -4127,7 +4361,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE322A r0-agent4-type=6 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -4141,7 +4375,7 @@ tech-type=4 usb-pid=c2a usb-vid=3f0 -wifi-config=0 +wifi-config=3 [hp_laserjet_200_colormfp_m275t] align-type=0 @@ -4164,6 +4398,7 @@ plugin=1 plugin-reason=64 power-settings=0 +ppd-name=laserjet_200_colormfp_m275 pq-diag-type=0 r-type=0 r0-agent1-kind=4 @@ -4178,7 +4413,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE322A r0-agent4-type=6 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -4192,7 +4427,7 @@ tech-type=4 usb-pid=c2a usb-vid=3f0 -wifi-config=0 +wifi-config=3 [hp_deskjet_200] align-type=0 @@ -4218,7 +4453,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -4234,42 +4469,42 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_200_colormfp_m275nw] +[hp_laserjet_200_colormfp_m276e] align-type=0 clean-type=0 color-cal-type=0 copy-type=0 embedded-server-type=0 -fax-type=0 +fax-type=7 fw-download=False -icon=HP_LaserJet_4000.png +icon=hp_color_laserjet_cm1312_mfp.png io-mfp-mode=1 io-mode=1 -io-support=14 +io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet 200 Color MFP M275nw monitor-type=0 panel-check-type=0 pcard-type=0 plugin=1 plugin-reason=64 power-settings=0 +ppd-name=laserjet_200_colormfp_m276 pq-diag-type=0 r-type=0 r0-agent1-kind=4 -r0-agent1-sku=CE320A +r0-agent1-sku=CF210A/CF210X r0-agent1-type=1 r0-agent2-kind=4 -r0-agent2-sku=CE321A +r0-agent2-sku=CF211A r0-agent2-type=4 r0-agent3-kind=4 -r0-agent3-sku=CE323A +r0-agent3-sku=CF213A r0-agent3-type=5 r0-agent4-kind=4 -r0-agent4-sku=CE322A +r0-agent4-sku=CF212A r0-agent4-type=6 -scan-style=1 +scan-src=3 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -4277,219 +4512,1396 @@ support-released=True support-subtype=219b2b support-type=2 -support-ver=3.11.12 +support-ver=3.12.9 tech-class=Postscript tech-subclass=Normal tech-type=4 -usb-pid=c2a +usb-pid=122a usb-vid=3f0 wifi-config=0 -[hp_designjet_200] +[hp_laserjet_200_colormfp_m276g] align-type=0 clean-type=0 color-cal-type=0 copy-type=0 embedded-server-type=0 -fax-type=0 +fax-type=7 fw-download=False -icon=default_designjet.png -io-mfp-mode=0 -io-mode=0 -io-support=0 +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP C3180A Designjet 200 Printer -model2=HP C3181A Designjet 200 Printer monitor-type=0 panel-check-type=0 pcard-type=0 -plugin=0 -plugin-reason=0 +plugin=1 +plugin-reason=64 power-settings=0 +ppd-name=laserjet_200_colormfp_m276 pq-diag-type=0 r-type=0 -scan-style=0 -scan-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF210A/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=3 +scan-type=5 status-battery-check=0 status-dynamic-counters=0 -status-type=0 +status-type=10 support-released=True -support-subtype=2a52 -support-type=0 -support-ver=0.0.0 -tech-class=Undefined +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript tech-subclass=Normal -tech-type=2 -usb-pid=0 +tech-type=4 +usb-pid=122a usb-vid=3f0 wifi-config=0 -[photosmart_plus_b209a-m] -align-type=1 -clean-type=1 +[hp_laserjet_200_colormfp_m276b] +align-type=0 +clean-type=0 color-cal-type=0 copy-type=0 -embedded-server-type=1 -fax-type=0 +embedded-server-type=0 +fax-type=7 fw-download=False -icon=Photosmart_C5100.png -io-mfp-mode=3 +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 io-mode=1 -io-support=10 +io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP Photosmart Plus All-in-One Printer - B209a -model2=HP Photosmart Plus All-in-One Printer - B209b -model3=HP Photosmart Plus All-in-One Printer - B209c monitor-type=0 -panel-check-type=1 -pcard-type=2 -plugin=0 -plugin-reason=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 power-settings=0 +ppd-name=laserjet_200_colormfp_m276 pq-diag-type=0 -r-type=1 -r0-agent1-kind=2 -r0-agent1-sku=564/564XL +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF210A/CF210X r0-agent1-type=1 -r0-agent2-kind=2 -r0-agent2-sku=564/564XL +r0-agent2-kind=4 +r0-agent2-sku=CF211A r0-agent2-type=4 -r0-agent3-kind=2 -r0-agent3-sku=564/564XL +r0-agent3-kind=4 +r0-agent3-sku=CF213A r0-agent3-type=5 -r0-agent4-kind=2 -r0-agent4-sku=564/564XL +r0-agent4-kind=4 +r0-agent4-sku=CF212A r0-agent4-type=6 -r1-agent1-kind=2 -r1-agent1-sku=564/564XL -r1-agent1-type=1 -r1-agent2-kind=2 -r1-agent2-sku=564/564XL -r1-agent2-type=4 -r1-agent3-kind=2 -r1-agent3-sku=564/564XL -r1-agent3-type=5 -r1-agent4-kind=2 -r1-agent4-sku=564/564XL -r1-agent4-type=6 -r2-agent1-kind=2 -r2-agent1-sku=364/364XL -r2-agent1-type=1 -r2-agent2-kind=2 -r2-agent2-sku=364/364XL -r2-agent2-type=4 -r2-agent3-kind=2 -r2-agent3-sku=364/364XL -r2-agent3-type=5 -r2-agent4-kind=2 -r2-agent4-sku=364/364XL -r2-agent4-type=6 -r4-agent1-kind=2 -r4-agent1-sku=178/178XL -r4-agent1-type=1 -r4-agent2-kind=2 -r4-agent2-sku=178/178XL -r4-agent2-type=4 -r4-agent3-kind=2 -r4-agent3-sku=178/178XL -r4-agent3-type=5 -r4-agent4-kind=2 -r4-agent4-sku=178/178XL -r4-agent4-type=6 -r8-agent1-kind=2 -r8-agent1-sku=862/862XL -r8-agent1-type=1 -r8-agent2-kind=2 -r8-agent2-sku=862/862XL -r8-agent2-type=4 -r8-agent3-kind=2 -r8-agent3-sku=862/862XL -r8-agent3-type=5 -r8-agent4-kind=2 -r8-agent4-sku=862/862XL -r8-agent4-type=6 -scan-style=1 -scan-type=1 +scan-src=3 +scan-type=5 status-battery-check=0 -status-dynamic-counters=2 -status-type=2 +status-dynamic-counters=0 +status-type=10 support-released=True support-subtype=219b2b support-type=2 -support-ver=3.9.8 -tech-class=Stabler +support-ver=3.12.9 +tech-class=Postscript tech-subclass=Normal -tech-type=2 -usb-pid=7e11 +tech-type=4 +usb-pid=122a usb-vid=3f0 -wifi-config=1 +wifi-config=0 -[deskjet_ink_advant_k209a-z] -align-type=1 -clean-type=1 +[hp_laserjet_200_colormfp_m276n] +align-type=0 +clean-type=0 color-cal-type=0 copy-type=0 embedded-server-type=0 -fax-type=0 +fax-type=7 fw-download=False -icon=hp_deskjet_f4200.png -io-mfp-mode=3 +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 io-mode=1 -io-support=2 +io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP Deskjet Ink Advantage K209a All-in-One Printer +model1=HP LaserJet Pro 200 color MFP M276n monitor-type=0 -panel-check-type=1 +panel-check-type=0 pcard-type=0 -plugin=0 -plugin-reason=0 +plugin=1 +plugin-reason=64 power-settings=0 +ppd-name=laserjet_200_colormfp_m276 pq-diag-type=0 -r-type=1 -r0-agent1-kind=3 -r0-agent1-sku=703 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF210A/CF210X r0-agent1-type=1 -r0-agent2-kind=3 -r0-agent2-sku=703 -r0-agent2-type=2 -r10-agent1-kind=3 -r10-agent1-sku=703 -r10-agent1-type=1 -r10-agent2-kind=3 -r10-agent2-sku=703 -r10-agent2-type=2 -r18-agent2-kind=3 -r18-agent2-sku=93/95 -r18-agent2-type=2 -r18-agent3-kind=3 -r18-agent3-sku=99 -r18-agent3-type=3 -r2-agent1-kind=3 -r2-agent1-sku=703 -r2-agent1-type=1 -r2-agent2-kind=3 -r2-agent2-sku=703 -r2-agent2-type=2 -r4-agent1-kind=3 -r4-agent1-sku=703 -r4-agent1-type=1 -r4-agent2-kind=3 -r4-agent2-sku=703 -r4-agent2-type=2 -r8-agent1-kind=3 -r8-agent1-sku=703 -r8-agent1-type=1 -r8-agent2-kind=3 -r8-agent2-sku=703 -r8-agent2-type=2 -scan-style=1 -scan-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=3 +scan-type=5 status-battery-check=0 -status-dynamic-counters=1 -status-type=2 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=122a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_200_colormfp_m276j] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=7 +fw-download=False +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_200_colormfp_m276 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF210A/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=122a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_200_colormfp_m276k] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=7 +fw-download=False +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_200_colormfp_m276 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF210A/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=122a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_200_colormfp_m276u] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=7 +fw-download=False +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_200_colormfp_m276 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF210A/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=122a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_200_colormfp_m276v] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=7 +fw-download=False +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_200_colormfp_m276 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF210A/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=122a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_200_colormfp_m276p] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=7 +fw-download=False +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_200_colormfp_m276 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF210A/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=122a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_200_colormfp_m276q] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=7 +fw-download=False +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_200_colormfp_m276 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF210A/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=122a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_200_colormfp_m276r] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=7 +fw-download=False +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_200_colormfp_m276 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF210A/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=122a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_200_colormfp_m275nw] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_4000.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet 200 Color MFP M275nw +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_200_colormfp_m275 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CE320A +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CE321A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CE323A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CE322A +r0-agent4-type=6 +scan-src=1 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.11.12 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=c2a +usb-vid=3f0 +wifi-config=3 + +[hp_designjet_200] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=default_designjet.png +io-mfp-mode=0 +io-mode=0 +io-support=0 +job-storage=0 +linefeed-cal-type=0 +model1=HP C3180A Designjet 200 Printer +model2=HP C3181A Designjet 200 Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=0 +support-released=True +support-subtype=2a52 +support-type=0 +support-ver=0.0.0 +tech-class=Undefined +tech-subclass=Normal +tech-type=2 +usb-pid=0 +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_200_color_m251nw] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_LaserJet_2550.png +io-mfp-mode=3 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Pro M251nw Color Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_200_color_m251 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF2104/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=132a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_200_color_m251q] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_LaserJet_2550.png +io-mfp-mode=3 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_200_color_m251 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF2104/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=132a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_200_color_m251p] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_LaserJet_2550.png +io-mfp-mode=3 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_200_color_m251 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF2104/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=132a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_200_color_m251r] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_LaserJet_2550.png +io-mfp-mode=3 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_200_color_m251 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF2104/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=132a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_200_color_m251u] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_LaserJet_2550.png +io-mfp-mode=3 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_200_color_m251 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF2104/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=132a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_200_color_m251v] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_LaserJet_2550.png +io-mfp-mode=3 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_200_color_m251 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF2104/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=132a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_200_color_m251b] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_LaserJet_2550.png +io-mfp-mode=3 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_200_color_m251 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF2104/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=132a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_200_color_m251e] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_LaserJet_2550.png +io-mfp-mode=3 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_200_color_m251 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF2104/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=132a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_200_color_m251g] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_LaserJet_2550.png +io-mfp-mode=3 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_200_color_m251 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF2104/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=132a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_200_color_m251k] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_LaserJet_2550.png +io-mfp-mode=3 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_200_color_m251 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF2104/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=132a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_200_color_m251j] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_LaserJet_2550.png +io-mfp-mode=3 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_200_color_m251 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF2104/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=132a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_200_color_m251n] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_LaserJet_2550.png +io-mfp-mode=3 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Pro M251n Color Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_200_color_m251 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF2104/CF210X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CF211A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CF213A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CF212A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=132a +usb-vid=3f0 +wifi-config=0 + +[photosmart_plus_b209a-m] +align-type=1 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=Photosmart_C5100.png +io-mfp-mode=3 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP Photosmart Plus All-in-One Printer - B209a +model2=HP Photosmart Plus All-in-One Printer - B209b +model3=HP Photosmart Plus All-in-One Printer - B209c +monitor-type=0 +panel-check-type=1 +pcard-type=2 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=2 +r0-agent1-sku=564/564XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=564/564XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=564/564XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=564/564XL +r0-agent4-type=6 +r1-agent1-kind=2 +r1-agent1-sku=564/564XL +r1-agent1-type=1 +r1-agent2-kind=2 +r1-agent2-sku=564/564XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=564/564XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=564/564XL +r1-agent4-type=6 +r2-agent1-kind=2 +r2-agent1-sku=364/364XL +r2-agent1-type=1 +r2-agent2-kind=2 +r2-agent2-sku=364/364XL +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=364/364XL +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=364/364XL +r2-agent4-type=6 +r4-agent1-kind=2 +r4-agent1-sku=178/178XL +r4-agent1-type=1 +r4-agent2-kind=2 +r4-agent2-sku=178/178XL +r4-agent2-type=4 +r4-agent3-kind=2 +r4-agent3-sku=178/178XL +r4-agent3-type=5 +r4-agent4-kind=2 +r4-agent4-sku=178/178XL +r4-agent4-type=6 +r8-agent1-kind=2 +r8-agent1-sku=862/862XL +r8-agent1-type=1 +r8-agent2-kind=2 +r8-agent2-sku=862/862XL +r8-agent2-type=4 +r8-agent3-kind=2 +r8-agent3-sku=862/862XL +r8-agent3-type=5 +r8-agent4-kind=2 +r8-agent4-sku=862/862XL +r8-agent4-type=6 +scan-src=1 +scan-type=1 +status-battery-check=0 +status-dynamic-counters=2 +status-type=2 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.9.8 +tech-class=Stabler +tech-subclass=Normal +tech-type=2 +usb-pid=7e11 +usb-vid=3f0 +wifi-config=1 + +[deskjet_ink_advant_k209a-z] +align-type=1 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_deskjet_f4200.png +io-mfp-mode=3 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP Deskjet Ink Advantage K209a All-in-One Printer +monitor-type=0 +panel-check-type=1 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=3 +r0-agent1-sku=703 +r0-agent1-type=1 +r0-agent2-kind=3 +r0-agent2-sku=703 +r0-agent2-type=2 +r10-agent1-kind=3 +r10-agent1-sku=703 +r10-agent1-type=1 +r10-agent2-kind=3 +r10-agent2-sku=703 +r10-agent2-type=2 +r18-agent2-kind=3 +r18-agent2-sku=93/95 +r18-agent2-type=2 +r18-agent3-kind=3 +r18-agent3-sku=99 +r18-agent3-type=3 +r2-agent1-kind=3 +r2-agent1-sku=703 +r2-agent1-type=1 +r2-agent2-kind=3 +r2-agent2-sku=703 +r2-agent2-type=2 +r4-agent1-kind=3 +r4-agent1-sku=703 +r4-agent1-type=1 +r4-agent2-kind=3 +r4-agent2-sku=703 +r4-agent2-type=2 +r8-agent1-kind=3 +r8-agent1-sku=703 +r8-agent1-type=1 +r8-agent2-kind=3 +r8-agent2-sku=703 +r8-agent2-type=2 +scan-src=1 +scan-type=1 +status-battery-check=0 +status-dynamic-counters=1 +status-type=2 support-released=True support-subtype=219b2b support-type=2 @@ -4584,7 +5996,7 @@ r8-agent4-kind=2 r8-agent4-sku=862/862XL r8-agent4-type=6 -scan-style=0 +scan-src=1 scan-type=7 status-battery-check=0 status-dynamic-counters=2 @@ -4596,7 +6008,7 @@ tech-class=Stabler tech-subclass=Normal tech-type=2 -usb-pid=e11 +usb-pid=8e11 usb-vid=3f0 wifi-config=1 @@ -4623,7 +6035,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -4662,7 +6074,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -4701,7 +6113,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -4745,7 +6157,7 @@ r0-agent1-kind=3 r0-agent1-sku=57 (C6657AN) r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -4787,7 +6199,7 @@ r0-agent1-kind=4 r0-agent1-sku=43 (C8543X) r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -4835,7 +6247,7 @@ r0-agent2-kind=3 r0-agent2-sku=59 (C9359A) r0-agent2-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -4875,7 +6287,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -4914,7 +6326,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -4953,7 +6365,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -4969,6 +6381,95 @@ usb-vid=3f0 wifi-config=0 +[hp_officejet_pro_251dw_printer] +align-type=15 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=officejet_k550.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet Pro 251dw Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=officejet_pro_251dw_printer +pq-diag-type=0 +r-type=0 +r0-agent2-kind=2 +r0-agent2-sku=C4909A +r0-agent2-type=6 +r0-agent3-kind=2 +r0-agent3-sku=C4908A +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=C4907A +r0-agent4-type=4 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.4 +tech-class=Postscript +tech-subclass=Normal +tech-type=2 +usb-pid=6112 +usb-vid=3f0 +wifi-config=3 + +[hp_officejet_pro_276dw_mfp] +align-type=15 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=6 +fw-download=False +icon=officejet_k550.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet Pro 276dw Multifunction Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=officejet_pro_276dw_mfp +pq-diag-type=0 +r-type=0 +scan-src=3 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=11 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.4 +tech-class=Postscript +tech-subclass=Normal +tech-type=2 +usb-pid=6212 +usb-vid=3f0 +wifi-config=3 + [deskjet_f300_series] align-type=6 clean-type=1 @@ -5032,7 +6533,7 @@ r7-agent3-kind=3 r7-agent3-sku=58 r7-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=3 @@ -5084,7 +6585,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE412A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -5126,7 +6627,7 @@ r0-agent1-kind=3 r0-agent1-sku=26 (51626A) r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -5178,7 +6679,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE412A r0-agent4-type=6 -scan-style=3 +scan-src=3 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -5226,7 +6727,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -5340,7 +6841,7 @@ r8-agent5-kind=2 r8-agent5-sku=862/862XL r8-agent5-type=19 -scan-style=1 +scan-src=1 scan-type=6 status-battery-check=0 status-dynamic-counters=2 @@ -5467,7 +6968,7 @@ r8-agent5-kind=2 r8-agent5-sku=178/178XL r8-agent5-type=19 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -5594,7 +7095,7 @@ r8-agent5-kind=2 r8-agent5-sku=178/178XL r8-agent5-type=19 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -5639,7 +7140,7 @@ r0-agent1-kind=3 r0-agent1-sku=110 r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -5681,7 +7182,7 @@ r0-agent1-kind=3 r0-agent1-sku=26 (51626A) r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -5795,8 +7296,8 @@ r8-agent5-kind=2 r8-agent5-sku=862/862XL r8-agent5-type=19 -scan-style=0 -scan-type=10 +scan-src=1 +scan-type=1 status-battery-check=0 status-dynamic-counters=2 status-type=2 @@ -5837,7 +7338,7 @@ r0-agent1-kind=3 r0-agent1-sku=26 (51626A) r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -5879,7 +7380,7 @@ r0-agent1-kind=4 r0-agent1-sku=43 (C8543X) r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -5919,7 +7420,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -6007,7 +7508,7 @@ r7-agent2-kind=3 r7-agent2-sku=100 (C9368AN) r7-agent2-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -6050,7 +7551,7 @@ r0-agent1-kind=3 r0-agent1-sku=110 r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -6066,6 +7567,45 @@ usb-vid=3f0 wifi-config=0 +[hp_designjet_330] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=default_designjet.png +io-mfp-mode=0 +io-mode=0 +io-support=0 +job-storage=0 +linefeed-cal-type=0 +model1=HP Designjet 330 Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=0 +support-released=True +support-subtype=2eb8 +support-type=0 +support-ver=0.0.0 +tech-class=Undefined +tech-subclass=Normal +tech-type=2 +usb-pid=0 +usb-vid=3f0 +wifi-config=0 + [photosmart_330_series] align-type=1 clean-type=1 @@ -6139,7 +7679,7 @@ r7-agent2-kind=3 r7-agent2-sku=100 (C9368AN) r7-agent2-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -6155,45 +7695,6 @@ usb-vid=3f0 wifi-config=0 -[hp_designjet_330] -align-type=0 -clean-type=0 -color-cal-type=0 -copy-type=0 -embedded-server-type=0 -fax-type=0 -fw-download=False -icon=default_designjet.png -io-mfp-mode=0 -io-mode=0 -io-support=0 -job-storage=0 -linefeed-cal-type=0 -model1=HP Designjet 330 Printer -monitor-type=0 -panel-check-type=0 -pcard-type=0 -plugin=0 -plugin-reason=0 -power-settings=0 -pq-diag-type=0 -r-type=0 -scan-style=0 -scan-type=0 -status-battery-check=0 -status-dynamic-counters=0 -status-type=0 -support-released=True -support-subtype=2eb8 -support-type=0 -support-ver=0.0.0 -tech-class=Undefined -tech-subclass=Normal -tech-type=2 -usb-pid=0 -usb-vid=3f0 -wifi-config=0 - [officejet_series_330] align-type=0 clean-type=0 @@ -6220,7 +7721,7 @@ r0-agent1-kind=3 r0-agent1-sku=26 (51626A) r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -6262,7 +7763,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -6301,7 +7802,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -6343,7 +7844,7 @@ r0-agent1-kind=3 r0-agent1-sku=26 (51626A) r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -6395,7 +7896,7 @@ r0-agent4-kind=9 r0-agent4-sku=C8222A/C8263A r0-agent4-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=1 status-dynamic-counters=0 @@ -6434,7 +7935,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -6523,7 +8024,7 @@ r7-agent2-kind=3 r7-agent2-sku=100 (C9368AN) r7-agent2-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -6609,7 +8110,7 @@ r7-agent2-kind=3 r7-agent2-sku=100 (C9368AN) r7-agent2-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -6655,7 +8156,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -6671,7 +8172,7 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_400_color_m451dn] +[hp_laserjet_400_m401dne] align-type=0 clean-type=0 color-cal-type=0 @@ -6679,76 +8180,291 @@ embedded-server-type=0 fax-type=0 fw-download=False -icon=hp_color_laserjet_cp2025.png +icon=HP_LaserJet_1012.png +io-mfp-mode=1 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet 400 M401dne +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_400_m401dne +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF280A/CF280X +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.2 +tech-class=Postscript +tech-subclass=Normal +tech-type=3 +usb-pid=152a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_400_colormfp_m475dw] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=7 +fw-download=False +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet 400 Color MFP M475dw +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=lj_300_400_color_mfp_m375_m475 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CE410A +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CE411A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CE413A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CE412A +r0-agent4-type=6 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.2 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=82a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_400_m401dw] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_1012.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP Laserjet 400 M401dw +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_400_m401 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF285A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=Postscript +tech-subclass=Normal +tech-type=3 +usb-pid=152a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_400_m401dn] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_1012.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet 400 M401dn +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_400_m401 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF278A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=Postscript +tech-subclass=Normal +tech-type=3 +usb-pid=152a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_400_mfp_m425dw] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=7 +fw-download=False +icon=hp_laserjet_m2727_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet 400 MFP M425dw +monitor-type=1 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_400_mfp_m425 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF280X +r0-agent1-type=1 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=Postscript +tech-subclass=Normal +tech-type=3 +usb-pid=142a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_400_mfp_m425dn] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=7 +fw-download=False +icon=hp_laserjet_m2727_mfp.png io-mfp-mode=1 io-mode=1 io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet 400 Color M451dn -monitor-type=0 +model1=HP Laserjet 400 MFP M425dn +monitor-type=1 panel-check-type=0 pcard-type=0 -plugin=0 -plugin-reason=0 +plugin=1 +plugin-reason=64 power-settings=0 -ppd-name=lj_300_400_color_m351_m451 +ppd-name=laserjet_400_mfp_m425 pq-diag-type=0 r-type=0 r0-agent1-kind=4 -r0-agent1-sku=CE410A/CE410X +r0-agent1-sku=CF280X r0-agent1-type=1 -r0-agent2-kind=4 -r0-agent2-sku=CE411A -r0-agent2-type=4 -r0-agent3-kind=4 -r0-agent3-sku=CE413A -r0-agent3-type=5 -r0-agent4-kind=4 -r0-agent4-sku=CE412A -r0-agent4-type=6 -scan-style=0 -scan-type=0 +scan-src=3 +scan-type=5 status-battery-check=0 status-dynamic-counters=0 -status-type=3 +status-type=10 support-released=True support-subtype=219b2b support-type=2 -support-ver=3.12.2 +support-ver=3.12.6 tech-class=Postscript tech-subclass=Normal -tech-type=4 -usb-pid=f2a +tech-type=3 +usb-pid=142a usb-vid=3f0 wifi-config=0 -[hp_laserjet_400_colormfp_m475dw] +[hp_laserjet_400_color_m451dw] align-type=0 clean-type=0 color-cal-type=0 copy-type=0 embedded-server-type=0 -fax-type=7 +fax-type=0 fw-download=False -icon=hp_color_laserjet_cm1312_mfp.png +icon=hp_color_laserjet_cp2025.png io-mfp-mode=1 io-mode=1 io-support=14 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet 400 Color MFP M475dw +model1=HP LaserJet 400 Color M451dw monitor-type=0 panel-check-type=0 pcard-type=0 -plugin=1 -plugin-reason=64 +plugin=0 +plugin-reason=0 power-settings=0 -ppd-name=lj_300_400_color_mfp_m375_m475 +ppd-name=lj_300_400_color_m351_m451 pq-diag-type=0 r-type=0 r0-agent1-kind=4 -r0-agent1-sku=CE410A +r0-agent1-sku=CE410A/CE410X r0-agent1-type=1 r0-agent2-kind=4 r0-agent2-sku=CE411A @@ -6759,11 +8475,11 @@ r0-agent4-kind=4 r0-agent4-sku=CE412A r0-agent4-type=6 -scan-style=3 -scan-type=5 +scan-src=0 +scan-type=0 status-battery-check=0 status-dynamic-counters=0 -status-type=10 +status-type=3 support-released=True support-subtype=219b2b support-type=2 @@ -6771,11 +8487,11 @@ tech-class=Postscript tech-subclass=Normal tech-type=4 -usb-pid=82a +usb-pid=f2a usb-vid=3f0 wifi-config=3 -[hp_laserjet_400_color_m451dw] +[hp_laserjet_400_color_m451dn] align-type=0 clean-type=0 color-cal-type=0 @@ -6786,10 +8502,10 @@ icon=hp_color_laserjet_cp2025.png io-mfp-mode=1 io-mode=1 -io-support=14 +io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet 400 Color M451dw +model1=HP LaserJet 400 Color M451dn monitor-type=0 panel-check-type=0 pcard-type=0 @@ -6811,7 +8527,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE412A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -6825,7 +8541,7 @@ tech-type=4 usb-pid=f2a usb-vid=3f0 -wifi-config=3 +wifi-config=0 [hp_deskjet_400l] align-type=0 @@ -6856,7 +8572,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -6908,7 +8624,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE412A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -6924,6 +8640,135 @@ usb-vid=3f0 wifi-config=3 +[hp_laserjet_400_m401n] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_1012.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet 400 M401n +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_400_m401 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CZ195A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=Postscript +tech-subclass=Normal +tech-type=3 +usb-pid=152a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_400_m401a] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_1012.png +io-mfp-mode=1 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet 400 M401a +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_400_m401 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF270A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=Postscript +tech-subclass=Normal +tech-type=3 +usb-pid=152a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_400_m401d] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_1012.png +io-mfp-mode=1 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet 400 M401d +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_400_m401 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF274A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=Postscript +tech-subclass=Normal +tech-type=3 +usb-pid=152a +usb-vid=3f0 +wifi-config=0 + [hp_laserjet_400_colormfp_m475dn] align-type=0 clean-type=0 @@ -6960,7 +8805,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE412A r0-agent4-type=6 -scan-style=3 +scan-src=3 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -6978,7 +8823,7 @@ [photosmart_prem_c410_series] align-type=1 -clean-type=1 +clean-type=3 color-cal-type=0 copy-type=0 embedded-server-type=1 @@ -7074,7 +8919,7 @@ r8-agent5-kind=2 r8-agent5-sku=862/862XL r8-agent5-type=19 -scan-style=0 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -7166,7 +9011,7 @@ r7-agent2-kind=3 r7-agent2-sku=100 (C9368AN) r7-agent2-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -7212,7 +9057,7 @@ r0-agent1-kind=3 r0-agent1-sku=110 r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -7252,7 +9097,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -7296,7 +9141,7 @@ r0-agent1-kind=3 r0-agent1-sku=110 r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -7336,7 +9181,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -7389,7 +9234,7 @@ r0-agent4-kind=9 r0-agent4-sku=C8222A/C8263A r0-agent4-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=1 status-dynamic-counters=1 @@ -7405,6 +9250,111 @@ usb-vid=3f0 wifi-config=0 +[hp_officejet_pro_x451dw_printer] +align-type=-1 +clean-type=-1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=officejet_k550.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet Pro X451 Printer series +model2=HP Officejet Pro X451dw Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=officejet_pro_451_series +pq-diag-type=0 +r-type=0 +r0-agent1-kind=2 +r0-agent1-sku=HP971/HP971 XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=HP971/HP971 XL +r0-agent2-type=6 +r0-agent3-kind=2 +r0-agent3-sku=HP971/HP971 XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=HP971/HP971 XL +r0-agent4-type=4 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.2 +tech-class=Postscript +tech-subclass=Normal +tech-type=2 +usb-pid=aa11 +usb-vid=3f0 +wifi-config=3 + +[hp_officejet_pro_x451dn_printer] +align-type=-1 +clean-type=-1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=officejet_k550.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet Pro X451dn Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=officejet_pro_451_series +pq-diag-type=0 +r-type=0 +r0-agent1-kind=2 +r0-agent1-sku=HP971/HP971 XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=HP971/HP971 XL +r0-agent2-type=6 +r0-agent3-kind=2 +r0-agent3-sku=HP971/HP971 XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=HP971/HP971 XL +r0-agent4-type=4 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.2 +tech-class=Postscript +tech-subclass=Normal +tech-type=2 +usb-pid=a311 +usb-vid=3f0 +wifi-config=0 + [hp_designjet_455ca] align-type=0 clean-type=0 @@ -7429,7 +9379,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -7486,7 +9436,7 @@ r0-agent5-kind=3 r0-agent5-sku=100 r0-agent5-type=19 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=1 status-dynamic-counters=1 @@ -7573,7 +9523,7 @@ r7-agent2-kind=3 r7-agent2-sku=100 (C9368AN) r7-agent2-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -7690,7 +9640,7 @@ r8-agent5-kind=9 r8-agent5-sku= r8-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=2 status-dynamic-counters=1 @@ -7706,6 +9656,111 @@ usb-vid=3f0 wifi-config=1 +[hp_officejet_pro_x476dn_mfp] +align-type=-1 +clean-type=-1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=6 +fw-download=False +icon=officejet_k550.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet Pro X476 Multifunction Printer series +model2=HP Officejet Pro X476dn Multifunction Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=officejet_pro_476_576_series +pq-diag-type=0 +r-type=0 +r0-agent1-kind=2 +r0-agent1-sku=HP971/HP971 XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=HP971/HP971 XL +r0-agent2-type=6 +r0-agent3-kind=2 +r0-agent3-sku=HP971/HP971 XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=HP971/HP971 XL +r0-agent4-type=4 +scan-src=0 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.2 +tech-class=Postscript +tech-subclass=Normal +tech-type=2 +usb-pid=bf11 +usb-vid=3f0 +wifi-config=3 + +[hp_officejet_pro_x476dw_mfp] +align-type=-1 +clean-type=-1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=6 +fw-download=False +icon=officejet_k550.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet Pro X476dw Multifunction Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=officejet_pro_476_576_series +pq-diag-type=0 +r-type=0 +r0-agent1-kind=2 +r0-agent1-sku=HP971/HP971 XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=HP971/HP971 XL +r0-agent2-type=6 +r0-agent3-kind=2 +r0-agent3-sku=HP971/HP971 XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=HP971/HP971 XL +r0-agent4-type=4 +scan-src=0 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.2 +tech-class=Postscript +tech-subclass=Normal +tech-type=2 +usb-pid=c011 +usb-vid=3f0 +wifi-config=3 + [hp_designjet_488ca] align-type=0 clean-type=0 @@ -7729,7 +9784,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -7745,48 +9800,57 @@ usb-vid=3f0 wifi-config=0 -[officejet_series_500] +[hp_laserjet_500_mfp_m525] align-type=0 clean-type=0 color-cal-type=0 copy-type=0 -embedded-server-type=0 -fax-type=2 +embedded-server-type=1 +fax-type=0 fw-download=False -icon=officejet_500.png -io-mfp-mode=7 +icon=hp_color_laserjet_cp3525.png +io-mfp-mode=1 io-mode=1 -io-support=1 -job-storage=0 +io-support=6 +job-storage=1 linefeed-cal-type=0 -model1=HP Officejet 500 All-in-One Printer +model1=HP LaserJet Enterprise 500 MFP M525 Series +model2=HP LaserJet Enterprise 500 MFP M525f +model3=HP LaserJet Enterprise 500 MFP M525dn monitor-type=0 panel-check-type=0 pcard-type=0 plugin=0 plugin-reason=0 power-settings=0 +ppd-name=laserjet_500_mfp_m525 pq-diag-type=0 r-type=0 -r0-agent1-kind=3 -r0-agent1-sku=29 (51629A) +r0-agent1-kind=4 +r0-agent1-sku=CE400X r0-agent1-type=1 -r0-agent2-kind=3 -r0-agent2-sku=49 (51649A) -r0-agent2-type=2 -scan-style=2 -scan-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CE401A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CE403A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CE402A +r0-agent4-type=6 +scan-src=0 +scan-type=0 status-battery-check=0 status-dynamic-counters=0 -status-type=0 +status-type=3 support-released=True -support-subtype=324a +support-subtype=219b2b support-type=2 -support-ver=0.9.5 -tech-class=DJ6xx +support-ver=3.12.6 +tech-class=Postscript tech-subclass=Normal -tech-type=2 -usb-pid=0 +tech-type=4 +usb-pid=9e17 usb-vid=3f0 wifi-config=0 @@ -7819,7 +9883,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -7835,6 +9899,60 @@ usb-vid=3f0 wifi-config=0 +[hp_laserjet_500_color_mfp_m575] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=1 +linefeed-cal-type=0 +model1=HP LaserJet Enterprise 500 Color MFP M575 +model2=HP LaserJet Enterprise 500 Color MFP M575dn +model3=HP LaserJet Enterprise 500 Color MFP M575f +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_500_color_mfp_m575 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CE400A/CE400X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CE401A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CE403A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CE402A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=9f17 +usb-vid=3f0 +wifi-config=0 + [hp_designjet_500_plus] align-type=0 clean-type=0 @@ -7861,7 +9979,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -7907,67 +10025,171 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D or C1823T) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 -status-type=1 +status-type=1 +support-released=True +support-subtype=3489 +support-type=2 +support-ver=0.9.5 +tech-class=DJ8xx +tech-subclass=Normal +tech-type=2 +usb-pid=0 +usb-vid=3f0 +wifi-config=0 + +[deskjet_500] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=DESKJET_630C.png +io-mfp-mode=6 +io-mode=0 +io-support=1 +job-storage=0 +linefeed-cal-type=0 +model1=HP Deskjet 500 Printer +model2=HP Deskjet 500j Printer +model3=HP Deskjet 500q Printer +model4=HP Deskjet 500k Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=3 +r0-agent1-sku=20 (C6614DN) +r0-agent1-type=1 +r0-agent2-kind=3 +r0-agent2-sku=49 (51649A) +r0-agent2-type=2 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=0 +support-released=True +support-subtype=2bc1 +support-type=2 +support-ver=0.9.5 +tech-class=DJ540 +tech-subclass=GrayscaleOnly +tech-type=1 +usb-pid=0 +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_500_colormfp_m570dw] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=7 +fw-download=False +icon=HP_Color_LaserJet_2840.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Pro 500 color MFP M570dw +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_500_color_mfp_m570 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CE400A/CE400X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CE401A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CE403A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CE402A +r0-agent4-type=6 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 support-released=True -support-subtype=3489 +support-subtype=219b2b support-type=2 -support-ver=0.9.5 -tech-class=DJ8xx +support-ver=3.12.11 +tech-class=Postscript tech-subclass=Normal -tech-type=2 -usb-pid=0 +tech-type=4 +usb-pid=252a usb-vid=3f0 -wifi-config=0 +wifi-config=3 -[deskjet_500] +[hp_laserjet_500_colormfp_m570dn] align-type=0 clean-type=0 color-cal-type=0 copy-type=0 embedded-server-type=0 -fax-type=0 +fax-type=7 fw-download=False -icon=DESKJET_630C.png -io-mfp-mode=6 -io-mode=0 -io-support=1 +icon=HP_Color_LaserJet_2840.png +io-mfp-mode=1 +io-mode=1 +io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP Deskjet 500 Printer -model2=HP Deskjet 500j Printer -model3=HP Deskjet 500q Printer -model4=HP Deskjet 500k Printer +model1=HP LaserJet Pro 500 color MFP M570dn monitor-type=0 panel-check-type=0 pcard-type=0 -plugin=0 -plugin-reason=0 +plugin=1 +plugin-reason=64 power-settings=0 +ppd-name=laserjet_500_color_mfp_m570 pq-diag-type=0 r-type=0 -r0-agent1-kind=3 -r0-agent1-sku=20 (C6614DN) +r0-agent1-kind=4 +r0-agent1-sku=CE400A/CE400X r0-agent1-type=1 -r0-agent2-kind=3 -r0-agent2-sku=49 (51649A) -r0-agent2-type=2 -scan-style=0 -scan-type=0 +r0-agent2-kind=4 +r0-agent2-sku=CE401A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CE403A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CE402A +r0-agent4-type=6 +scan-src=3 +scan-type=5 status-battery-check=0 status-dynamic-counters=0 -status-type=0 +status-type=10 support-released=True -support-subtype=2bc1 +support-subtype=219b2b support-type=2 -support-ver=0.9.5 -tech-class=DJ540 -tech-subclass=GrayscaleOnly -tech-type=1 -usb-pid=0 +support-ver=3.12.11 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=252a usb-vid=3f0 wifi-config=0 @@ -8006,7 +10228,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE402A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -8050,7 +10272,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -8095,7 +10317,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -8140,7 +10362,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -8182,7 +10404,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -8226,7 +10448,7 @@ r0-agent1-kind=3 r0-agent1-sku=110 r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -8301,7 +10523,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -8415,7 +10637,7 @@ r8-agent5-kind=2 r8-agent5-sku=862/862XL r8-agent5-type=19 -scan-style=0 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -8460,7 +10682,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -8506,7 +10728,7 @@ r0-agent1-kind=3 r0-agent1-sku=110 r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -8551,7 +10773,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=2 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -8567,6 +10789,135 @@ usb-vid=3f0 wifi-config=0 +[hp_laserjet_pro_mfp_m521dn] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=7 +fw-download=False +icon=default_printer.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Pro M521dn Multifunction Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_mfp_m521 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=3 +r0-agent1-sku=CE255A/CE255X +r0-agent1-type=1 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.4 +tech-class=Postscript +tech-subclass=Normal +tech-type=3 +usb-pid=272a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_pro_mfp_m521dw] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=7 +fw-download=False +icon=default_printer.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Pro M521dw Multifunction Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=64 +power-settings=0 +ppd-name=laserjet_mfp_m521 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=3 +r0-agent1-sku=CE255A/CE255X +r0-agent1-type=1 +scan-src=3 +scan-type=5 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.4 +tech-class=Postscript +tech-subclass=Normal +tech-type=3 +usb-pid=272a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_flow_mfp_m525] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=hp_color_laserjet_cp3525.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=1 +linefeed-cal-type=0 +model1=HP LaserJet Enterprise flow MFP M525 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_flow_mfp_m525 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CE255A/CE55X +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.11 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=9e17 +usb-vid=3f0 +wifi-config=0 + [photosmart_a530_series] align-type=1 clean-type=-1 @@ -8595,7 +10946,7 @@ r0-agent1-kind=3 r0-agent1-sku=110 r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -8640,7 +10991,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -8679,7 +11030,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -8739,7 +11090,7 @@ r0-agent6-kind=2 r0-agent6-sku=HP 88 (C9387/C9392) r0-agent6-type=5 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -8755,6 +11106,59 @@ usb-vid=3f0 wifi-config=0 +[hp_officejet_pro_x551dw_printer] +align-type=-1 +clean-type=-1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=officejet_k550.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet Pro X551 Printer series +model2=HP Officejet Pro X551dw Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=officejet_pro_551_series +pq-diag-type=0 +r-type=0 +r0-agent1-kind=2 +r0-agent1-sku=HP971/HP971 XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=HP971/HP971 XL +r0-agent2-type=6 +r0-agent3-kind=2 +r0-agent3-sku=HP971/HP971 XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=HP971/HP971 XL +r0-agent4-type=4 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.2 +tech-class=Postscript +tech-subclass=Normal +tech-type=2 +usb-pid=b211 +usb-vid=3f0 +wifi-config=3 + [officejet_series_570] align-type=0 clean-type=0 @@ -8784,7 +11188,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -8800,6 +11204,111 @@ usb-vid=3f0 wifi-config=0 +[hp_laserjet_color_flow_mfp_m575] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=1 +linefeed-cal-type=0 +model1=HP LaserJet Enterprise color flow MFP M575 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_color_flow_mfp_m575 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CE400A/CE400X +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CE401A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CE403A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CE402A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.11 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=9f17 +usb-vid=3f0 +wifi-config=0 + +[hp_officejet_pro_x576dw_mfp] +align-type=-1 +clean-type=-1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=6 +fw-download=False +icon=officejet_k550.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet Pro X576 Multifunction Printer series +model2=HP Officejet Pro X576dw Multifunction Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=officejet_pro_476_576_series +pq-diag-type=0 +r-type=0 +r0-agent1-kind=2 +r0-agent1-sku=HP971/HP971 XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=HP971/HP971 XL +r0-agent2-type=6 +r0-agent3-kind=2 +r0-agent3-sku=HP971/HP971 XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=HP971/HP971 XL +r0-agent4-type=4 +scan-src=3 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.2 +tech-class=Postscript +tech-subclass=Normal +tech-type=2 +usb-pid=c011 +usb-vid=3f0 +wifi-config=3 + [officejet_series_580] align-type=0 clean-type=0 @@ -8829,7 +11338,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -8874,7 +11383,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -8919,7 +11428,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -8958,7 +11467,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9005,7 +11514,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9049,7 +11558,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE390A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9094,7 +11603,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE390A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9139,7 +11648,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE390A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9185,7 +11694,7 @@ r0-agent1-kind=3 r0-agent1-sku=110 r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9230,7 +11739,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9275,7 +11784,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -9320,7 +11829,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9360,7 +11869,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9405,7 +11914,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9451,7 +11960,7 @@ r0-agent1-kind=3 r0-agent1-sku=110 r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9490,7 +11999,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9506,92 +12015,92 @@ usb-vid=3f0 wifi-config=0 -[photosmart_a630_series] -align-type=1 -clean-type=1 +[officejet_series_630] +align-type=0 +clean-type=0 color-cal-type=0 copy-type=0 embedded-server-type=0 -fax-type=0 +fax-type=2 fw-download=False -icon=Photosmart_a510.png -io-mfp-mode=3 +icon=officejet_500.png +io-mfp-mode=7 io-mode=1 -io-support=2 +io-support=1 job-storage=0 linefeed-cal-type=0 -model1=HP Photosmart A636 Compact Photo Printer -model2=HP Photosmart A637 Compact Photo Printer +model1=HP Officejet 630 All-in-One Printer +model2=HP Officejet 635 All-in-One Printer monitor-type=0 panel-check-type=0 -pcard-type=2 +pcard-type=0 plugin=0 plugin-reason=0 power-settings=0 pq-diag-type=0 r-type=0 r0-agent1-kind=3 -r0-agent1-sku=110 -r0-agent1-type=2 -scan-style=0 -scan-type=0 +r0-agent1-sku=29 (51629A) +r0-agent1-type=1 +r0-agent2-kind=3 +r0-agent2-sku=49 (51649A) +r0-agent2-type=2 +scan-src=2 +scan-type=1 status-battery-check=0 status-dynamic-counters=0 -status-type=2 +status-type=0 support-released=True -support-subtype=219b2b +support-subtype=3062 support-type=2 -support-ver=2.8.9 -tech-class=QuickConnect +support-ver=0.9.5 +tech-class=DJ6xx tech-subclass=Normal tech-type=2 -usb-pid=2c02 +usb-pid=0 usb-vid=3f0 wifi-config=0 -[officejet_series_630] -align-type=0 -clean-type=0 +[photosmart_a630_series] +align-type=1 +clean-type=1 color-cal-type=0 copy-type=0 embedded-server-type=0 -fax-type=2 +fax-type=0 fw-download=False -icon=officejet_500.png -io-mfp-mode=7 +icon=Photosmart_a510.png +io-mfp-mode=3 io-mode=1 -io-support=1 +io-support=2 job-storage=0 linefeed-cal-type=0 -model1=HP Officejet 630 All-in-One Printer -model2=HP Officejet 635 All-in-One Printer +model1=HP Photosmart A636 Compact Photo Printer +model2=HP Photosmart A637 Compact Photo Printer monitor-type=0 panel-check-type=0 -pcard-type=0 +pcard-type=2 plugin=0 plugin-reason=0 power-settings=0 pq-diag-type=0 r-type=0 r0-agent1-kind=3 -r0-agent1-sku=29 (51629A) -r0-agent1-type=1 -r0-agent2-kind=3 -r0-agent2-sku=49 (51649A) -r0-agent2-type=2 -scan-style=2 -scan-type=1 +r0-agent1-sku=110 +r0-agent1-type=2 +scan-src=0 +scan-type=0 status-battery-check=0 status-dynamic-counters=0 -status-type=0 +status-type=2 support-released=True -support-subtype=3062 +support-subtype=219b2b support-type=2 -support-ver=0.9.5 -tech-class=DJ6xx +support-ver=2.8.9 +tech-class=QuickConnect tech-subclass=Normal tech-type=2 -usb-pid=0 +usb-pid=2c02 usb-vid=3f0 wifi-config=0 @@ -9624,7 +12133,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9669,7 +12178,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9721,7 +12230,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9763,7 +12272,7 @@ r0-agent1-kind=3 r0-agent1-sku=110 r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9811,7 +12320,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9854,7 +12363,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9903,7 +12412,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9950,7 +12459,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -9996,7 +12505,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10041,7 +12550,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10086,7 +12595,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10131,7 +12640,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10176,7 +12685,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10221,7 +12730,7 @@ r0-agent2-kind=3 r0-agent2-sku=49 (51649A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10270,7 +12779,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10319,7 +12828,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10368,7 +12877,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10416,7 +12925,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10464,7 +12973,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10513,7 +13022,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10561,7 +13070,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10609,7 +13118,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=2 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -10625,6 +13134,124 @@ usb-vid=3f0 wifi-config=0 +[hp_laserjet_700_m712] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=hp_color_laserjet_cp6015.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=1 +linefeed-cal-type=0 +model1=HP LaserJet Enterprise 700 M712n +model2=HP LaserJet Enterprise 700 M712dn +model3=HP LaserJet Enterprise 700 M712xh +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_700_m712 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CF214A/CF214X +r0-agent1-type=1 +r0-agent2-kind=5 +r0-agent2-sku=CF254A +r0-agent2-type=62 +r0-agent3-kind=5 +r0-agent3-sku=CF249A +r0-agent3-type=62 +r0-agent4-kind=6 +r0-agent4-sku=CF239A +r0-agent4-type=62 +r0-agent5-kind=6 +r0-agent5-sku=CF243A +r0-agent5-type=62 +r0-agent6-kind=6 +r0-agent6-sku=CF242A +r0-agent6-type=62 +r0-agent7-kind=6 +r0-agent7-sku=CF245A +r0-agent7-type=62 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.11 +tech-class=Postscript +tech-subclass=Normal +tech-type=3 +usb-pid=a617 +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_700_color_mfp_m775] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_color_laserjet_cm1312_mfp.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=1 +linefeed-cal-type=0 +model1=HP LaserJet Enterprise 700 color MFP M775dn +model2=HP LaserJet Enterprise 700 color MFP M775f +model3=HP LaserJet Enterprise 700 color MFP M775z +model4=HP LaserJet Enterprise 700 color MFP M775z+ +monitor-type=0 +panel-check-type=1 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=laserjet_700_color_mfp_m775 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CE340A +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CE341A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CE342A +r0-agent3-type=6 +r0-agent4-kind=4 +r0-agent4-sku=CE343A +r0-agent4-type=5 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.11 +tech-class=Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=9a17 +usb-vid=3f0 +wifi-config=0 + [hp_designjet_700] align-type=0 clean-type=0 @@ -10649,7 +13276,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10665,21 +13292,21 @@ usb-vid=3f0 wifi-config=0 -[officejet_series_710] +[hp_deskjet_710c] align-type=0 -clean-type=0 +clean-type=1 color-cal-type=0 copy-type=0 embedded-server-type=0 -fax-type=2 +fax-type=0 fw-download=False -icon=officejet_500.png -io-mfp-mode=7 +icon=default_printer.png +io-mfp-mode=6 io-mode=1 -io-support=1 +io-support=0 job-storage=0 linefeed-cal-type=0 -model1=HP Officejet 710 All-in-One Printer +model1=HP Deskjet 710c Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -10688,46 +13315,37 @@ power-settings=0 pq-diag-type=0 r-type=0 -r0-agent1-kind=3 -r0-agent1-sku=29 (51629A) -r0-agent1-type=1 -r0-agent2-kind=3 -r0-agent2-sku=49 (51649A) -r0-agent2-type=2 -r0-agent3-kind=3 -r0-agent3-sku=16 (C1816A) -r0-agent3-type=3 -scan-style=2 -scan-type=1 +scan-src=0 +scan-type=0 status-battery-check=0 status-dynamic-counters=0 status-type=0 support-released=True -support-subtype=335d -support-type=2 -support-ver=0.9.5 -tech-class=DJ6xxPhoto +support-subtype=357e +support-type=0 +support-ver=0.0.0 +tech-class=Undefined tech-subclass=Normal tech-type=2 usb-pid=0 usb-vid=3f0 wifi-config=0 -[hp_deskjet_710c] +[officejet_series_710] align-type=0 -clean-type=1 +clean-type=0 color-cal-type=0 copy-type=0 embedded-server-type=0 -fax-type=0 +fax-type=2 fw-download=False -icon=default_printer.png -io-mfp-mode=6 +icon=officejet_500.png +io-mfp-mode=7 io-mode=1 -io-support=0 +io-support=1 job-storage=0 linefeed-cal-type=0 -model1=HP Deskjet 710c Printer +model1=HP Officejet 710 All-in-One Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -10736,16 +13354,25 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 -scan-type=0 +r0-agent1-kind=3 +r0-agent1-sku=29 (51629A) +r0-agent1-type=1 +r0-agent2-kind=3 +r0-agent2-sku=49 (51649A) +r0-agent2-type=2 +r0-agent3-kind=3 +r0-agent3-sku=16 (C1816A) +r0-agent3-type=3 +scan-src=3 +scan-type=1 status-battery-check=0 status-dynamic-counters=0 status-type=0 support-released=True -support-subtype=357e -support-type=0 -support-ver=0.0.0 -tech-class=Undefined +support-subtype=335d +support-type=2 +support-ver=0.9.5 +tech-class=DJ6xxPhoto tech-subclass=Normal tech-type=2 usb-pid=0 @@ -10780,7 +13407,7 @@ r0-agent1-kind=3 r0-agent1-sku=110 r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10819,7 +13446,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10858,7 +13485,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -10906,7 +13533,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=2 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -10951,7 +13578,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -10990,7 +13617,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11038,7 +13665,7 @@ r0-agent3-kind=3 r0-agent3-sku=16 (C1816A) r0-agent3-type=3 -scan-style=2 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -11107,7 +13734,7 @@ r8-agent2-kind=3 r8-agent2-sku=703 r8-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -11177,7 +13804,7 @@ r8-agent2-kind=3 r8-agent2-sku=703 r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -11219,7 +13846,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11264,7 +13891,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -11309,7 +13936,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -11354,7 +13981,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -11393,7 +14020,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11432,7 +14059,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11477,7 +14104,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -11522,7 +14149,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -11561,7 +14188,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -11601,7 +14228,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11640,7 +14267,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11682,7 +14309,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11727,7 +14354,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11772,7 +14399,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11811,7 +14438,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11856,7 +14483,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11901,7 +14528,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11940,7 +14567,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -11981,7 +14608,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12025,7 +14652,7 @@ r0-agent1-kind=3 r0-agent1-sku=110 r0-agent1-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12071,7 +14698,7 @@ r0-agent2-kind=3 r0-agent2-sku=17 (C6625AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12116,7 +14743,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12161,7 +14788,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12206,7 +14833,7 @@ r0-agent2-kind=3 r0-agent2-sku=17 (C6625AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12251,7 +14878,7 @@ r0-agent2-kind=3 r0-agent2-sku=17 (C6625AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12296,7 +14923,7 @@ r0-agent2-kind=3 r0-agent2-sku=17 (C6625AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12342,7 +14969,7 @@ r0-agent2-kind=3 r0-agent2-sku=17 (C6625AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12388,7 +15015,7 @@ r0-agent2-kind=3 r0-agent2-sku=17 (C6625AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12434,7 +15061,7 @@ r0-agent2-kind=3 r0-agent2-sku=17 (C6625AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12498,7 +15125,7 @@ r0-agent8-kind=2 r0-agent8-sku=11 (C4837AN) r0-agent8-type=5 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12545,7 +15172,7 @@ r0-agent2-kind=3 r0-agent2-sku=17 (C6625AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12593,7 +15220,7 @@ r0-agent2-kind=3 r0-agent2-sku=17 (C6625AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12638,7 +15265,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12683,7 +15310,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12729,7 +15356,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12776,7 +15403,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -12821,7 +15448,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -12893,7 +15520,7 @@ r816-agent2-kind=3 r816-agent2-sku= r816-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13010,7 +15637,7 @@ r816-agent2-kind=3 r816-agent2-sku= r816-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -13055,7 +15682,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13103,7 +15730,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13148,7 +15775,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -13194,7 +15821,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13239,7 +15866,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13284,7 +15911,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13329,7 +15956,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13374,7 +16001,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13422,7 +16049,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13467,7 +16094,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13512,7 +16139,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13557,7 +16184,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -13602,7 +16229,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -13647,7 +16274,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -13692,7 +16319,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13738,7 +16365,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13783,7 +16410,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13828,7 +16455,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13875,7 +16502,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13922,7 +16549,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -13969,7 +16596,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14015,7 +16642,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14063,7 +16690,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14109,7 +16736,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14155,7 +16782,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14218,7 +16845,7 @@ r0-agent8-kind=2 r0-agent8-sku=11 (C4838AN) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14265,7 +16892,7 @@ r0-agent2-kind=3 r0-agent2-sku=57 (C6657AN)/28 (C8728AN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -14304,7 +16931,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14321,7 +16948,7 @@ wifi-config=0 [deskjet_1000_j110_series] -align-type=16 +align-type=17 clean-type=1 color-cal-type=0 copy-type=0 @@ -14329,7 +16956,7 @@ fax-type=0 fw-download=False icon=hp_deskjet_f4200.png -io-mfp-mode=3 +io-mfp-mode=1 io-mode=1 io-support=2 job-storage=0 @@ -14379,11 +17006,11 @@ r8-agent2-kind=3 r8-agent2-sku=122/122XL r8-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 -status-type=2 +status-type=10 support-released=True support-subtype=219b2b support-type=2 @@ -14419,7 +17046,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14482,7 +17109,7 @@ r0-agent8-kind=2 r0-agent8-sku=11 (C4838AN) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14521,7 +17148,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14563,7 +17190,7 @@ r0-agent1-kind=4 r0-agent1-sku=35A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14605,7 +17232,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=4 status-battery-check=0 status-dynamic-counters=0 @@ -14647,7 +17274,7 @@ r0-agent1-kind=4 r0-agent1-sku=35A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14689,7 +17316,7 @@ r0-agent1-kind=4 r0-agent1-sku=35A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14731,7 +17358,7 @@ r0-agent1-kind=4 r0-agent1-sku=35A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14773,7 +17400,7 @@ r0-agent1-kind=4 r0-agent1-sku=35A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14815,7 +17442,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14857,7 +17484,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14899,7 +17526,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -14950,7 +17577,7 @@ r0-agent4-kind=4 r0-agent4-sku=Q6003A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=3 status-battery-check=0 status-dynamic-counters=0 @@ -15001,7 +17628,7 @@ r0-agent4-kind=4 r0-agent4-sku=Q6003A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=3 status-battery-check=0 status-dynamic-counters=0 @@ -15044,7 +17671,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15087,7 +17714,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15103,108 +17730,6 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_cp1021] -align-type=0 -clean-type=0 -color-cal-type=0 -copy-type=0 -embedded-server-type=1 -fax-type=0 -fw-download=False -icon=hp_color_laserjet_cp2025.png -io-mfp-mode=3 -io-mode=1 -io-support=6 -job-storage=0 -linefeed-cal-type=0 -model1=HP LaserJet CP1021 -monitor-type=0 -panel-check-type=0 -pcard-type=0 -plugin=1 -plugin-reason=1 -power-settings=0 -pq-diag-type=0 -r-type=0 -r0-agent1-kind=4 -r0-agent1-sku=CE310A -r0-agent1-type=1 -r0-agent2-kind=4 -r0-agent2-sku=CE311A -r0-agent2-type=4 -r0-agent3-kind=4 -r0-agent3-sku=CE313A -r0-agent3-type=5 -r0-agent4-kind=4 -r0-agent4-sku=CE312A -r0-agent4-type=6 -scan-style=0 -scan-type=0 -status-battery-check=0 -status-dynamic-counters=0 -status-type=10 -support-released=True -support-subtype=219b2b -support-type=2 -support-ver=3.11.1 -tech-class=LJZjsColor -tech-subclass=Advanced -tech-type=4 -usb-pid=112a -usb-vid=3f0 -wifi-config=0 - -[hp_laserjet_cp1022] -align-type=0 -clean-type=0 -color-cal-type=0 -copy-type=0 -embedded-server-type=1 -fax-type=0 -fw-download=False -icon=hp_color_laserjet_cp2025.png -io-mfp-mode=3 -io-mode=1 -io-support=6 -job-storage=0 -linefeed-cal-type=0 -model1=HP LaserJet CP1022 -monitor-type=0 -panel-check-type=0 -pcard-type=0 -plugin=1 -plugin-reason=1 -power-settings=0 -pq-diag-type=0 -r-type=0 -r0-agent1-kind=4 -r0-agent1-sku=CE310A -r0-agent1-type=1 -r0-agent2-kind=4 -r0-agent2-sku=CE311A -r0-agent2-type=4 -r0-agent3-kind=4 -r0-agent3-sku=CE313A -r0-agent3-type=5 -r0-agent4-kind=4 -r0-agent4-sku=CE312A -r0-agent4-type=6 -scan-style=0 -scan-type=0 -status-battery-check=0 -status-dynamic-counters=0 -status-type=10 -support-released=True -support-subtype=219b2b -support-type=2 -support-ver=3.11.1 -tech-class=LJZjsColor -tech-subclass=Advanced -tech-type=4 -usb-pid=112a -usb-vid=3f0 -wifi-config=0 - [hp_laserjet_1022nw] align-type=0 clean-type=0 @@ -15231,7 +17756,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15274,7 +17799,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15316,7 +17841,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15332,57 +17857,6 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_cp1023] -align-type=0 -clean-type=0 -color-cal-type=0 -copy-type=0 -embedded-server-type=1 -fax-type=0 -fw-download=False -icon=hp_color_laserjet_cp2025.png -io-mfp-mode=3 -io-mode=1 -io-support=6 -job-storage=0 -linefeed-cal-type=0 -model1=HP LaserJet CP1023 -monitor-type=0 -panel-check-type=0 -pcard-type=0 -plugin=1 -plugin-reason=1 -power-settings=0 -pq-diag-type=0 -r-type=0 -r0-agent1-kind=4 -r0-agent1-sku=CE310A -r0-agent1-type=1 -r0-agent2-kind=4 -r0-agent2-sku=CE311A -r0-agent2-type=4 -r0-agent3-kind=4 -r0-agent3-sku=CE313A -r0-agent3-type=5 -r0-agent4-kind=4 -r0-agent4-sku=CE312A -r0-agent4-type=6 -scan-style=0 -scan-type=0 -status-battery-check=0 -status-dynamic-counters=0 -status-type=10 -support-released=True -support-subtype=219b2b -support-type=2 -support-ver=3.11.1 -tech-class=LJZjsColor -tech-subclass=Advanced -tech-type=4 -usb-pid=112a -usb-vid=3f0 -wifi-config=0 - [hp_laserjet_cp1025nw] align-type=0 clean-type=0 @@ -15394,10 +17868,10 @@ icon=hp_color_laserjet_cp2025.png io-mfp-mode=3 io-mode=1 -io-support=6 +io-support=14 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet CP1025nw +model1=HP LaserJet Pro CP1025nw Color Printer Series monitor-type=0 panel-check-type=0 pcard-type=0 @@ -15418,7 +17892,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE312A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15432,7 +17906,7 @@ tech-type=4 usb-pid=b2a usb-vid=3f0 -wifi-config=0 +wifi-config=3 [hp_laserjet_cp1025] align-type=0 @@ -15445,10 +17919,10 @@ icon=hp_color_laserjet_cp2025.png io-mfp-mode=3 io-mode=1 -io-support=6 +io-support=2 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet CP1025 +model1=HP LaserJet Pro CP1025 Color Printer Series monitor-type=0 panel-check-type=0 pcard-type=0 @@ -15469,7 +17943,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE312A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15485,7 +17959,7 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_cp1027nw] +[hp_laserjet_cp_1025nw] align-type=0 clean-type=0 color-cal-type=0 @@ -15494,12 +17968,12 @@ fax-type=0 fw-download=False icon=hp_color_laserjet_cp2025.png -io-mfp-mode=3 +io-mfp-mode=1 io-mode=1 -io-support=6 +io-support=14 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet CP1027nw +model1=HP LaserJet Pro CP 1025nw Color Printer Series monitor-type=0 panel-check-type=0 pcard-type=0 @@ -15520,23 +17994,23 @@ r0-agent4-kind=4 r0-agent4-sku=CE312A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 -status-type=10 +status-type=8 support-released=True support-subtype=219b2b support-type=2 -support-ver=3.11.1 +support-ver=3.12.4 tech-class=LJZjsColor tech-subclass=Advanced tech-type=4 usb-pid=112a usb-vid=3f0 -wifi-config=0 +wifi-config=3 -[hp_laserjet_cp1028nw] +[hp_laserjet_cp_1025] align-type=0 clean-type=0 color-cal-type=0 @@ -15545,12 +18019,12 @@ fax-type=0 fw-download=False icon=hp_color_laserjet_cp2025.png -io-mfp-mode=3 +io-mfp-mode=1 io-mode=1 -io-support=6 +io-support=2 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet CP1028nw +model1=HP LaserJet Pro CP 1025 Color Printer Series monitor-type=0 panel-check-type=0 pcard-type=0 @@ -15571,7 +18045,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE312A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15579,7 +18053,7 @@ support-released=True support-subtype=219b2b support-type=2 -support-ver=3.11.1 +support-ver=3.12.4 tech-class=LJZjsColor tech-subclass=Advanced tech-type=4 @@ -15602,6 +18076,9 @@ job-storage=0 linefeed-cal-type=0 model1=HP Deskjet 1050 J410 All-in-One Printer +model2=HP Deskjet 1051 All-in-One Printer +model3=HP Deskjet 1055 All-in-One Printer -J410e +model4=HP Deskjet 1056 All-in-One Printer -J410a monitor-type=0 panel-check-type=1 pcard-type=0 @@ -15646,7 +18123,7 @@ r8-agent2-kind=3 r8-agent2-sku=122/122XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=7 status-battery-check=0 status-dynamic-counters=1 @@ -15686,7 +18163,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15726,7 +18203,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15769,7 +18246,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4092A r0-agent1-type=1 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -15808,7 +18285,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15824,6 +18301,48 @@ usb-vid=3f0 wifi-config=0 +[hp_laserjet_1100xi] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=hp_LaserJet_1200.png +io-mfp-mode=6 +io-mode=1 +io-support=1 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet 1100A xi All-in-One Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=C4092A +r0-agent1-type=1 +scan-src=2 +scan-type=1 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=31d0 +support-type=2 +support-ver=0.9.5 +tech-class=LJMono +tech-subclass=Normal +tech-type=3 +usb-pid=0 +usb-vid=3f0 +wifi-config=0 + [photosmart_p1100] align-type=1 clean-type=1 @@ -15854,7 +18373,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15893,7 +18412,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -15938,7 +18457,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16003,7 +18522,7 @@ r0-agent8-kind=2 r0-agent8-sku=11 (C4838AN) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16047,7 +18566,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4092A r0-agent1-type=1 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -16063,48 +18582,6 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_1100xi] -align-type=0 -clean-type=0 -color-cal-type=0 -copy-type=0 -embedded-server-type=0 -fax-type=0 -fw-download=False -icon=hp_LaserJet_1200.png -io-mfp-mode=6 -io-mode=1 -io-support=1 -job-storage=0 -linefeed-cal-type=0 -model1=HP LaserJet 1100A xi All-in-One Printer -monitor-type=0 -panel-check-type=0 -pcard-type=0 -plugin=0 -plugin-reason=0 -power-settings=0 -pq-diag-type=0 -r-type=0 -r0-agent1-kind=4 -r0-agent1-sku=C4092A -r0-agent1-type=1 -scan-style=2 -scan-type=1 -status-battery-check=0 -status-dynamic-counters=0 -status-type=3 -support-released=True -support-subtype=31d0 -support-type=2 -support-ver=0.9.5 -tech-class=LJMono -tech-subclass=Normal -tech-type=3 -usb-pid=0 -usb-vid=3f0 -wifi-config=0 - [hp_designjet_t1100ps] align-type=0 clean-type=0 @@ -16132,7 +18609,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16179,7 +18656,7 @@ r0-agent2-kind=3 r0-agent2-sku=57 (C6657AN)/28 (C8728AN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -16195,7 +18672,49 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_professional_p1102s] +[hp_laserjet_professional_p1102w] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_1012.png +io-mfp-mode=6 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Professional P1102w Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=1 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=85A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.10.4 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=32a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_professional_p1102] align-type=0 clean-type=0 color-cal-type=0 @@ -16209,7 +18728,8 @@ io-support=2 job-storage=0 linefeed-cal-type=0 -model1=HP Laserjet Professional P1102s Printer +model1=HP Laserjet Professional P1102 Printer +model2=HP Laserjet Professional P1102s Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -16219,9 +18739,9 @@ pq-diag-type=0 r-type=0 r0-agent1-kind=4 -r0-agent1-sku=35A +r0-agent1-sku=85A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16229,7 +18749,7 @@ support-released=True support-subtype=219b2b support-type=2 -support-ver=3.12.2 +support-ver=3.10.4 tech-class=LJZjsMono tech-subclass=NoAutoDuplex tech-type=3 @@ -16237,21 +18757,21 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_professional_p1102w] +[hp_laserjet_professional_p_1102w] align-type=0 clean-type=0 color-cal-type=0 copy-type=0 embedded-server-type=0 fax-type=0 -fw-download=True +fw-download=False icon=HP_LaserJet_1012.png io-mfp-mode=6 io-mode=1 io-support=10 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet Professional P1102w Printer +model1=HP LaserJet Professional P 1102w Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -16261,9 +18781,9 @@ pq-diag-type=0 r-type=0 r0-agent1-kind=4 -r0-agent1-sku=35A +r0-agent1-sku=85A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16271,29 +18791,113 @@ support-released=True support-subtype=219b2b support-type=2 -support-ver=3.10.4 +support-ver=3.12.6 tech-class=LJZjsMono tech-subclass=NoAutoDuplex tech-type=3 -usb-pid=32a +usb-pid=102a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_professional_p1106w] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_1012.png +io-mfp-mode=6 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP Laserjet Professional P1106w Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=1 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=85A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.4 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=102a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_professional_p1106] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_1012.png +io-mfp-mode=6 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP Laserjet Professional P1106 Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=1 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=85A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.2 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=2a usb-vid=3f0 wifi-config=0 -[hp_laserjet_professional_p1102] +[hp_laserjet_professional_p1107] align-type=0 clean-type=0 color-cal-type=0 copy-type=0 embedded-server-type=0 fax-type=0 -fw-download=True +fw-download=False icon=HP_LaserJet_1012.png io-mfp-mode=6 io-mode=1 io-support=2 job-storage=0 linefeed-cal-type=0 -model1=HP Laserjet Professional P1102 Printer +model1=HP LaserJet Professional P1107 Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -16303,9 +18907,9 @@ pq-diag-type=0 r-type=0 r0-agent1-kind=4 -r0-agent1-sku=35A +r0-agent1-sku=85A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16313,7 +18917,7 @@ support-released=True support-subtype=219b2b support-type=2 -support-ver=3.10.4 +support-ver=3.12.6 tech-class=LJZjsMono tech-subclass=NoAutoDuplex tech-type=3 @@ -16321,21 +18925,21 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_professional_p_1102w] +[hp_laserjet_professional_p1107w] align-type=0 clean-type=0 color-cal-type=0 copy-type=0 embedded-server-type=0 fax-type=0 -fw-download=True +fw-download=False icon=HP_LaserJet_1012.png io-mfp-mode=6 io-mode=1 io-support=10 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet Professional P 1102w Printer +model1=HP LaserJet Professional P1107w Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -16345,9 +18949,9 @@ pq-diag-type=0 r-type=0 r0-agent1-kind=4 -r0-agent1-sku=35A +r0-agent1-sku=85A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16355,15 +18959,57 @@ support-released=True support-subtype=219b2b support-type=2 -support-ver=3.10.4 +support-ver=3.12.6 tech-class=LJZjsMono tech-subclass=NoAutoDuplex tech-type=3 -usb-pid=32a +usb-pid=102a usb-vid=3f0 -wifi-config=0 +wifi-config=3 -[hp_laserjet_professional_p1106] +[hp_laserjet_professional_p1108w] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_1012.png +io-mfp-mode=6 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP Laserjet Professional P1108w Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=1 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=85A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.4 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=102a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_professional_p1108] align-type=0 clean-type=0 color-cal-type=0 @@ -16377,7 +19023,7 @@ io-support=2 job-storage=0 linefeed-cal-type=0 -model1=HP Laserjet Professional P1106 Printer +model1=HP Laserjet Professional P1108 Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -16387,9 +19033,9 @@ pq-diag-type=0 r-type=0 r0-agent1-kind=4 -r0-agent1-sku=35A +r0-agent1-sku=85A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16405,7 +19051,49 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_professional_p1108] +[hp_laserjet_professional_p1109w] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_1012.png +io-mfp-mode=6 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Professional P1109w Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=1 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=85A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=102a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_professional_p1109] align-type=0 clean-type=0 color-cal-type=0 @@ -16419,7 +19107,7 @@ io-support=2 job-storage=0 linefeed-cal-type=0 -model1=HP Laserjet Professional P1108 Printer +model1=HP LaserJet Professional P1109 Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -16429,9 +19117,9 @@ pq-diag-type=0 r-type=0 r0-agent1-kind=4 -r0-agent1-sku=88A +r0-agent1-sku=85A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16439,7 +19127,7 @@ support-released=True support-subtype=219b2b support-type=2 -support-ver=3.12.2 +support-ver=3.12.6 tech-class=LJZjsMono tech-subclass=NoAutoDuplex tech-type=3 @@ -16476,7 +19164,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16523,7 +19211,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16562,7 +19250,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16601,7 +19289,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16643,7 +19331,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=4 status-battery-check=0 status-dynamic-counters=0 @@ -16685,7 +19373,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=4 status-battery-check=0 status-dynamic-counters=0 @@ -16729,7 +19417,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16774,7 +19462,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16805,6 +19493,7 @@ job-storage=0 linefeed-cal-type=0 model1=HP LaserJet Professional M1132 Multifunction Printer +model2=HP LaserJet Professional M1132s Multifunction Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -16816,8 +19505,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-src=2 -scan-style=1 +scan-src=1 scan-type=8 status-battery-check=0 status-dynamic-counters=0 @@ -16859,8 +19547,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE285A r0-agent1-type=1 -scan-src=2 -scan-style=1 +scan-src=1 scan-type=8 status-battery-check=0 status-dynamic-counters=0 @@ -16876,6 +19563,132 @@ usb-vid=3f0 wifi-config=0 +[hp_laserjet_professional_m1137_mfp] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_m1005.png +io-mfp-mode=1 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Professional M1137 Multifunction Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=65 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=Q2612A +r0-agent1-type=1 +scan-src=1 +scan-type=8 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=42a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_professional_m1138_mfp] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_m1005.png +io-mfp-mode=1 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Professional M1138 Multifunction Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=65 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=Q2612A +r0-agent1-type=1 +scan-src=1 +scan-type=8 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=42a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_professional_m1139_mfp] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_m1005.png +io-mfp-mode=1 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Professional M1139 Multifunction Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=65 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=Q2612A +r0-agent1-type=1 +scan-src=1 +scan-type=8 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=42a +usb-vid=3f0 +wifi-config=0 + [hp_laserjet_1150] align-type=0 clean-type=0 @@ -16902,7 +19715,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2624A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -16948,7 +19761,7 @@ r0-agent2-kind=3 r0-agent2-sku=41 (51641A) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -17006,7 +19819,7 @@ r0-agent6-kind=1 r0-agent6-sku=14 (C4923A) r0-agent6-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -17049,7 +19862,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -17091,7 +19904,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -17141,7 +19954,7 @@ r0-agent2-kind=3 r0-agent2-sku=23 (C1823D or C1823T) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -17184,7 +19997,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -17251,7 +20064,7 @@ r0-agent8-kind=2 r0-agent8-sku=11 (C4838AN) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -17290,7 +20103,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -17332,7 +20145,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -17388,7 +20201,7 @@ r0-agent2-kind=3 r0-agent2-sku=57 (C6657AN)/28 (C8728AN) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -17439,7 +20252,7 @@ r0-agent4-kind=2 r0-agent4-sku=40 r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -17482,7 +20295,6 @@ r0-agent1-sku=CE285A r0-agent1-type=1 scan-src=3 -scan-style=1 scan-type=8 status-battery-check=0 status-dynamic-counters=0 @@ -17525,7 +20337,6 @@ r0-agent1-sku=CE285A r0-agent1-type=1 scan-src=3 -scan-style=1 scan-type=8 status-battery-check=0 status-dynamic-counters=0 @@ -17568,7 +20379,6 @@ r0-agent1-sku=CE285A r0-agent1-type=1 scan-src=3 -scan-style=1 scan-type=8 status-battery-check=0 status-dynamic-counters=0 @@ -17619,7 +20429,7 @@ r0-agent4-kind=4 r0-agent4-sku=CB542A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -17665,7 +20475,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -17708,7 +20518,6 @@ r0-agent1-sku=CE285A r0-agent1-type=1 scan-src=3 -scan-style=1 scan-type=8 status-battery-check=0 status-dynamic-counters=0 @@ -17759,7 +20568,7 @@ r0-agent4-kind=4 r0-agent4-sku=CB542A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -17802,7 +20611,6 @@ r0-agent1-sku=Q2612A r0-agent1-type=1 scan-src=3 -scan-style=1 scan-type=8 status-battery-check=0 status-dynamic-counters=0 @@ -17816,7 +20624,49 @@ tech-type=3 usb-pid=e2a usb-vid=3f0 -wifi-config=-1 +wifi-config=3 + +[hp_laserjet_professional_m1218nfg_mfp] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=5 +fw-download=False +icon=hp_laserjet_3050.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP Laserjet M1210 MFP Series +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=65 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=Q2612A +r0-agent1-type=1 +scan-src=3 +scan-type=8 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.10 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=262a +usb-vid=3f0 +wifi-config=3 [photosmart_1218] align-type=1 @@ -17848,7 +20698,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -17864,6 +20714,130 @@ usb-vid=3f0 wifi-config=0 +[hp_laserjet_professional_m1218nfs_mfp] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=5 +fw-download=False +icon=hp_laserjet_3050.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP HotSpot LaserJet Pro M1218nfs MFP +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=65 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=Q2612A +r0-agent1-type=1 +scan-src=3 +scan-type=8 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.10 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=262a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_professional_m1219nfg_mfp] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=5 +fw-download=False +icon=hp_laserjet_3050.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=65 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=Q2612A +r0-agent1-type=1 +scan-src=3 +scan-type=8 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.10 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=262a +usb-vid=3f0 +wifi-config=3 + +[hp_laserjet_professional_m1219nfs_mfp] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=5 +fw-download=False +icon=hp_laserjet_3050.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=65 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=Q2612A +r0-agent1-type=1 +scan-src=3 +scan-type=8 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.10 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=262a +usb-vid=3f0 +wifi-config=3 + [hp_laserjet_professional_m1219nf_mfp] align-type=0 clean-type=0 @@ -17891,7 +20865,6 @@ r0-agent1-sku=CE285A r0-agent1-type=1 scan-src=3 -scan-style=1 scan-type=8 status-battery-check=0 status-dynamic-counters=0 @@ -17933,7 +20906,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115A/C7115X r0-agent1-type=1 -scan-style=2 +scan-src=2 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -17975,7 +20948,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115A/C7115X r0-agent1-type=1 -scan-style=2 +scan-src=2 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -18023,7 +20996,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -18152,7 +21125,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -18191,7 +21164,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -18234,7 +21207,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2613A/Q2613X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -18308,7 +21281,7 @@ r8-agent2-kind=3 r8-agent2-sku=22 r8-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -18362,7 +21335,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658AN) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -18404,7 +21377,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2613A/Q2613X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -18446,7 +21419,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2613A/Q2613X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -18502,7 +21475,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658AN) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -18553,7 +21526,7 @@ r0-agent4-kind=4 r0-agent4-sku=CB543A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -18604,7 +21577,7 @@ r0-agent4-kind=4 r0-agent4-sku=CB543A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -18649,7 +21622,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -18691,7 +21664,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=1 +scan-src=2 scan-type=4 status-battery-check=0 status-dynamic-counters=0 @@ -18733,7 +21706,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A/Q5949X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -18775,7 +21748,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A/Q5949X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -18817,7 +21790,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A/Q5949X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -18860,7 +21833,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A/Q5949X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -18902,7 +21875,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A/Q5949X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -18955,7 +21928,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658AN) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -19067,7 +22040,7 @@ r816-agent2-kind=3 r816-agent2-sku= r816-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -19121,7 +22094,7 @@ r0-agent2-kind=3 r0-agent2-sku=22 (C9352A) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -19173,7 +22146,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -19225,7 +22198,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -19277,7 +22250,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -19293,7 +22266,7 @@ usb-vid=3f0 wifi-config=3 -[hp_laserjet_cm1415fnw] +[hp_laserjet_cm1415fn] align-type=0 clean-type=0 color-cal-type=0 @@ -19307,7 +22280,7 @@ io-support=14 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet Professional CM1415fnw +model1=HP LaserJet Professional CM1415fn monitor-type=0 panel-check-type=1 pcard-type=0 @@ -19329,7 +22302,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -19345,7 +22318,7 @@ usb-vid=3f0 wifi-config=3 -[hp_laserjet_cm1415fn] +[hp_laserjet_cm1415fnw] align-type=0 clean-type=0 color-cal-type=0 @@ -19359,7 +22332,7 @@ io-support=14 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet Professional CM1415fn +model1=HP LaserJet Professional CM1415fnw monitor-type=0 panel-check-type=1 pcard-type=0 @@ -19381,7 +22354,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -19433,7 +22406,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -19485,7 +22458,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -19537,7 +22510,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -19578,7 +22551,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -19689,7 +22662,7 @@ r816-agent2-kind=3 r816-agent2-sku= r816-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -19803,7 +22776,7 @@ r7-agent3-kind=3 r7-agent3-sku=858 (C9369ZN) r7-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -19845,7 +22818,7 @@ r0-agent1-kind=4 r0-agent1-sku=36A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -19887,7 +22860,7 @@ r0-agent1-kind=4 r0-agent1-sku=36A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20005,7 +22978,7 @@ r7-agent3-kind=3 r7-agent3-sku=858 (C9369ZN) r7-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -20056,7 +23029,7 @@ r0-agent4-kind=4 r0-agent4-sku=CB543A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20107,7 +23080,7 @@ r0-agent4-kind=4 r0-agent4-sku=CB543A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20158,7 +23131,7 @@ r0-agent4-kind=4 r0-agent4-sku=CB543A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20210,7 +23183,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20232,7 +23205,7 @@ color-cal-type=0 copy-type=0 embedded-server-type=1 -fax-type=0 +fax-type=4 fw-download=False icon=HP_LaserJet_m1522.png io-mfp-mode=1 @@ -20252,7 +23225,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7573 r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -20304,7 +23277,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20346,7 +23319,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7573 r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -20388,7 +23361,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7573 r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -20440,7 +23413,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20492,7 +23465,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20544,7 +23517,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20596,7 +23569,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20648,7 +23621,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20700,7 +23673,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE323A r0-agent4-type=5 -scan-style=1 +scan-src=1 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20743,7 +23716,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE278A r0-agent1-type=1 -scan-style=1 +scan-src=3 scan-type=5 status-battery-check=2 status-dynamic-counters=0 @@ -20752,7 +23725,7 @@ support-subtype=-4fc8 support-type=2 support-ver=3.11.1 -tech-class=LJMono,Postscript +tech-class=Postscript tech-subclass=Normal tech-type=3 usb-pid=12a @@ -20786,7 +23759,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE278A r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=2 status-dynamic-counters=0 @@ -20829,7 +23802,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE278A r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=2 status-dynamic-counters=0 @@ -20872,7 +23845,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE278A r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=2 status-dynamic-counters=0 @@ -20914,7 +23887,7 @@ r0-agent1-kind=4 r0-agent1-sku=36A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -20930,6 +23903,132 @@ usb-vid=3f0 wifi-config=0 +[hp_laserjet_professional_p1567] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=True +icon=HP_LaserJet_1012.png +io-mfp-mode=6 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Professional P1567 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=1 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=36A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=92a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_professional_p1568] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=True +icon=HP_LaserJet_1012.png +io-mfp-mode=6 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Professional P1568 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=1 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=36A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=92a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_professional_p1569] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=True +icon=HP_LaserJet_1012.png +io-mfp-mode=6 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Professional P1569 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=1 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=36A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=LJZjsMono +tech-subclass=NoAutoDuplex +tech-type=3 +usb-pid=92a +usb-vid=3f0 +wifi-config=0 + [deskjet_1600c] align-type=0 clean-type=0 @@ -20965,7 +24064,7 @@ r0-agent4-kind=2 r0-agent4-sku=40 r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21041,7 +24140,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=3 @@ -21160,7 +24259,7 @@ r7-agent3-kind=3 r7-agent3-sku=858 (C9369ZN) r7-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -21211,7 +24310,7 @@ r0-agent4-kind=2 r0-agent4-sku=40 r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21262,7 +24361,7 @@ r0-agent4-kind=2 r0-agent4-sku=40 r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21278,7 +24377,130 @@ usb-vid=3f0 wifi-config=0 -[hp_color_laserjet_1600] +[hp_color_laserjet_1600] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=default_laserjet.png +io-mfp-mode=6 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP Color LaserJet 1600 Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=1 +plugin-reason=1 +power-settings=0 +pq-diag-type=0 +r-type=0 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=0 +support-released=True +support-subtype=3c73 +support-type=2 +support-ver=3.9.2 +tech-class=LJZjsColor +tech-subclass=Normal +tech-type=4 +usb-pid=3a17 +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_professional_p1606dn] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_1012.png +io-mfp-mode=6 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Professional P1606dn Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=2 +plugin-reason=4 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CE278A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.10.4 +tech-class=LJZjsMono +tech-subclass=Duplex +tech-type=3 +usb-pid=a2a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_professional_p1607dn] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=HP_LaserJet_1012.png +io-mfp-mode=6 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP LaserJet Professional P1607dn Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=2 +plugin-reason=4 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=36A +r0-agent1-type=1 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=8 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=LJZjsMono +tech-subclass=Duplex +tech-type=3 +usb-pid=a2a +usb-vid=3f0 +wifi-config=0 + +[hp_laserjet_professional_p1608dn] align-type=0 clean-type=0 color-cal-type=0 @@ -21286,38 +24508,41 @@ embedded-server-type=0 fax-type=0 fw-download=False -icon=default_laserjet.png +icon=HP_LaserJet_1012.png io-mfp-mode=6 io-mode=1 io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP Color LaserJet 1600 Printer +model1=HP LaserJet Professional P1608dn Printer monitor-type=0 panel-check-type=0 pcard-type=0 -plugin=1 -plugin-reason=1 +plugin=2 +plugin-reason=4 power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +r0-agent1-kind=4 +r0-agent1-sku=36A +r0-agent1-type=1 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 -status-type=0 +status-type=8 support-released=True -support-subtype=3c73 +support-subtype=219b2b support-type=2 -support-ver=3.9.2 -tech-class=LJZjsColor -tech-subclass=Normal -tech-type=4 -usb-pid=3a17 +support-ver=3.12.6 +tech-class=LJZjsMono +tech-subclass=Duplex +tech-type=3 +usb-pid=a2a usb-vid=3f0 wifi-config=0 -[hp_laserjet_professional_p1606dn] +[hp_laserjet_professional_p1609dn] align-type=0 clean-type=0 color-cal-type=0 @@ -21331,7 +24556,7 @@ io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP LaserJet Professional P1606dn Printer +model1=HP LaserJet Professional P1609dn Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -21343,7 +24568,7 @@ r0-agent1-kind=4 r0-agent1-sku=36A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21351,7 +24576,7 @@ support-released=True support-subtype=219b2b support-type=2 -support-ver=3.10.4 +support-ver=3.12.6 tech-class=LJZjsMono tech-subclass=Duplex tech-type=3 @@ -21408,7 +24633,7 @@ r0-agent8-kind=1 r0-agent8-sku=11 (4813A) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21471,7 +24696,7 @@ r0-agent8-kind=1 r0-agent8-sku=11 (4813A) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21510,7 +24735,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21549,7 +24774,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21566,7 +24791,7 @@ wifi-config=0 [deskjet_2000_j210_series] -align-type=16 +align-type=17 clean-type=1 color-cal-type=0 copy-type=0 @@ -21574,7 +24799,7 @@ fax-type=0 fw-download=False icon=hp_deskjet_f4200.png -io-mfp-mode=3 +io-mfp-mode=1 io-mode=1 io-support=2 job-storage=0 @@ -21624,7 +24849,7 @@ r8-agent2-kind=3 r8-agent2-sku=122/122XL r8-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -21690,7 +24915,7 @@ r0-agent8-kind=1 r0-agent8-sku=10 (C4803A) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21707,7 +24932,7 @@ wifi-config=0 [deskjet_ink_adv_2010_k010] -align-type=16 +align-type=17 clean-type=1 color-cal-type=0 copy-type=0 @@ -21765,11 +24990,11 @@ r8-agent2-kind=3 r8-agent2-sku=122/122XL r8-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 -status-type=2 +status-type=10 support-released=True support-subtype=219b2b support-type=2 @@ -21807,7 +25032,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A/Q5949X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21849,7 +25074,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A/Q5949X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21892,7 +25117,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A/Q5949X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21935,7 +25160,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A/Q5949X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -21978,7 +25203,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A/Q5949X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22021,7 +25246,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A/Q5949X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22064,7 +25289,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5949A/Q5949X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22080,6 +25305,75 @@ usb-vid=3f0 wifi-config=0 +[deskjet_2020_series] +align-type=16 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP Deskjet Ink Advantage 2020HC Printer +monitor-type=0 +panel-check-type=1 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=3 +r0-agent1-sku=120/120XL/120b +r0-agent1-type=1 +r0-agent2-kind=3 +r0-agent2-sku=120/120XL +r0-agent2-type=2 +r1-agent1-kind=3 +r1-agent1-sku=120/120XL/120b +r1-agent1-type=1 +r1-agent2-kind=3 +r1-agent2-sku=120/120XL +r1-agent2-type=2 +r2-agent1-kind=3 +r2-agent1-sku=120/120XL/120b +r2-agent1-type=1 +r2-agent2-kind=3 +r2-agent2-sku=120/120XL +r2-agent2-type=2 +r4-agent1-kind=3 +r4-agent1-sku=120/120XL/120b +r4-agent1-type=1 +r4-agent2-kind=3 +r4-agent2-sku=120/120XL +r4-agent2-type=2 +r8-agent1-kind=3 +r8-agent1-sku=120/120XL/120b +r8-agent1-type=1 +r8-agent2-kind=3 +r8-agent2-sku=120/120XL +r8-agent2-type=2 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=1 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.10 +tech-class=PyramidPlus +tech-subclass=NoAutoDuplex +tech-type=2 +usb-pid=b911 +usb-vid=3f0 +wifi-config=0 + [hp_color_laserjet_cp2025dn] align-type=0 clean-type=0 @@ -22115,7 +25409,7 @@ r0-agent4-kind=4 r0-agent4-sku=CC532A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22166,7 +25460,7 @@ r0-agent4-kind=4 r0-agent4-sku=CC532A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22217,7 +25511,7 @@ r0-agent4-kind=4 r0-agent4-sku=CC532A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22268,7 +25562,7 @@ r0-agent4-kind=4 r0-agent4-sku=CC532A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22310,7 +25604,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE505A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22352,7 +25646,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE505A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22369,7 +25663,7 @@ wifi-config=0 [deskjet_2050_j510_series] -align-type=-1 +align-type=17 clean-type=1 color-cal-type=0 copy-type=0 @@ -22427,11 +25721,11 @@ r8-agent2-kind=3 r8-agent2-sku=122/122XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=7 status-battery-check=0 status-dynamic-counters=1 -status-type=2 +status-type=11 support-released=True support-subtype=219b2b support-type=2 @@ -22470,7 +25764,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE505A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22513,7 +25807,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE505A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22556,7 +25850,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE505A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22599,7 +25893,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE505A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22674,11 +25968,11 @@ r8-agent2-kind=3 r8-agent2-sku=122/122XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=7 status-battery-check=0 status-dynamic-counters=1 -status-type=2 +status-type=10 support-released=True support-subtype=219b2b support-type=2 @@ -22713,7 +26007,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22766,7 +26060,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -22807,7 +26101,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22853,7 +26147,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4096A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22895,7 +26189,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4096A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -22996,7 +26290,7 @@ r816-agent2-kind=3 r816-agent2-sku= r816-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -23044,7 +26338,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -23083,7 +26377,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -23136,7 +26430,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -23178,7 +26472,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4096A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -23243,7 +26537,7 @@ r0-agent8-kind=2 r0-agent8-sku=11 (C4838AN) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -23291,7 +26585,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -23338,7 +26632,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4096A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -23443,7 +26737,7 @@ r816-agent2-kind=3 r816-agent2-sku= r816-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -23482,7 +26776,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -23532,7 +26826,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -23595,7 +26889,7 @@ r0-agent8-kind=2 r0-agent8-sku=11 (C4838AN) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -23659,7 +26953,7 @@ r0-agent8-kind=2 r0-agent8-sku=11 (C4838AN) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -23698,7 +26992,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -23762,7 +27056,7 @@ r0-agent8-kind=2 r0-agent8-sku=11 (C4838AN) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -23811,7 +27105,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658AN) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -23850,7 +27144,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -23915,7 +27209,7 @@ r0-agent8-kind=1 r0-agent8-sku=11 (C4813A) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -23962,7 +27256,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2160A/Q2610D r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -24050,7 +27344,7 @@ r8-agent3-kind=3 r8-agent3-sku=58 r8-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -24092,7 +27386,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2160A/Q2610D r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -24143,7 +27437,7 @@ r0-agent4-kind=4 r0-agent4-sku=CC532A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -24159,7 +27453,7 @@ usb-vid=3f0 wifi-config=0 -[hp_color_laserjet_cm2320fxi_mfp] +[hp_color_laserjet_cm2320nf_mfp] align-type=0 clean-type=0 color-cal-type=0 @@ -24173,7 +27467,7 @@ io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP Color LaserJet CM2320fxi Multifunction Printer +model1=HP Color LaserJet CM2320nf Multifunction Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -24194,7 +27488,7 @@ r0-agent4-kind=4 r0-agent4-sku=CC532A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -24206,11 +27500,11 @@ tech-class=LJColor,Postscript tech-subclass=Normal,Advanced tech-type=4 -usb-pid=5b17 +usb-pid=5a17 usb-vid=3f0 wifi-config=0 -[hp_color_laserjet_cm2320n_mfp] +[hp_color_laserjet_cm2320fxi_mfp] align-type=0 clean-type=0 color-cal-type=0 @@ -24224,7 +27518,7 @@ io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP Color LaserJet CM2320n Multifunction Printer +model1=HP Color LaserJet CM2320fxi Multifunction Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -24245,7 +27539,7 @@ r0-agent4-kind=4 r0-agent4-sku=CC532A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -24257,11 +27551,11 @@ tech-class=LJColor,Postscript tech-subclass=Normal,Advanced tech-type=4 -usb-pid=5917 +usb-pid=5b17 usb-vid=3f0 wifi-config=0 -[hp_color_laserjet_cm2320nf_mfp] +[hp_color_laserjet_cm2320n_mfp] align-type=0 clean-type=0 color-cal-type=0 @@ -24275,7 +27569,7 @@ io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP Color LaserJet CM2320nf Multifunction Printer +model1=HP Color LaserJet CM2320n Multifunction Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -24296,7 +27590,7 @@ r0-agent4-kind=4 r0-agent4-sku=CC532A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -24308,7 +27602,7 @@ tech-class=LJColor,Postscript tech-subclass=Normal,Advanced tech-type=4 -usb-pid=5a17 +usb-pid=5917 usb-vid=3f0 wifi-config=0 @@ -24416,7 +27710,7 @@ r7-agent3-kind=3 r7-agent3-sku=858 (C9369ZN) r7-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -24469,7 +27763,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658AN) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -24555,7 +27849,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -24695,7 +27989,7 @@ r816-agent2-kind=3 r816-agent2-sku= r816-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -24737,7 +28031,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q6511A/Q6511X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -24782,7 +28076,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q6511A/Q6511X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -24828,7 +28122,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q6511A/Q6511X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -24895,7 +28189,7 @@ r0-agent8-kind=1 r0-agent8-sku=10 (C4803A) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -24934,7 +28228,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -24988,7 +28282,7 @@ r0-agent5-kind=5 r0-agent5-sku=04 (C9704A) r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -25027,7 +28321,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -25084,7 +28378,7 @@ r0-agent5-kind=5 r0-agent5-sku=04 (C9704A) r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -25158,7 +28452,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -25209,7 +28503,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658AN) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -25225,6 +28519,162 @@ usb-vid=3f0 wifi-config=0 +[deskjet_2510_series] +align-type=15 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP Deskjet Ink Advantage 2510 All-in-One +model2=HP Deskjet Ink Advantage 2515 All-in-One Printer +model3=HP Deskjet Ink Advantage 2516 All-in-One Printer +model4=HP Deskjet 2510 All-in-One Printer +model5=HP Deskjet 2511 All-in-One Printer +model6=HP Deskjet 2512 All-in-One Printer +model7=HP Deskjet 2514 All-in-One Printer +monitor-type=0 +panel-check-type=1 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=3 +r0-agent1-sku=61/61XL/61b +r0-agent1-type=1 +r0-agent2-kind=3 +r0-agent2-sku=61/61XL +r0-agent2-type=2 +r10-agent1-kind=3 +r10-agent1-sku=802/802XL/802b +r10-agent1-type=1 +r10-agent2-kind=3 +r10-agent2-sku=802/802XL +r10-agent2-type=2 +r18-agent2-kind=3 +r18-agent2-sku=93/95 +r18-agent2-type=2 +r18-agent3-kind=3 +r18-agent3-sku=99 +r18-agent3-type=3 +r2-agent1-kind=3 +r2-agent1-sku=61/61XL/61b +r2-agent1-type=1 +r2-agent2-kind=3 +r2-agent2-sku=61/61XL +r2-agent2-type=2 +r4-agent1-kind=3 +r4-agent1-sku=301/301XL/301b +r4-agent1-type=1 +r4-agent2-kind=3 +r4-agent2-sku=301/301XL +r4-agent2-type=2 +r8-agent1-kind=3 +r8-agent1-sku=122/122XL/122b +r8-agent1-type=1 +r8-agent2-kind=3 +r8-agent2-sku=122/122XL +r8-agent2-type=2 +scan-src=1 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=1 +status-type=10 +support-released=True +support-subtype=39f2 +support-type=2 +support-ver=3.12.6 +tech-class=PyramidPlus +tech-subclass=NoAutoDuplex +tech-type=2 +usb-pid=ac11 +usb-vid=3f0 +wifi-config=0 + +[deskjet_2520_series] +align-type=15 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP Deskjet Ink Advantage 2520HC All-in-One +monitor-type=0 +panel-check-type=1 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=3 +r0-agent1-sku=61/61XL/61b +r0-agent1-type=1 +r0-agent2-kind=3 +r0-agent2-sku=61/61XL +r0-agent2-type=2 +r10-agent1-kind=3 +r10-agent1-sku=802/802XL/802b +r10-agent1-type=1 +r10-agent2-kind=3 +r10-agent2-sku=802/802XL +r10-agent2-type=2 +r18-agent2-kind=3 +r18-agent2-sku=93/95 +r18-agent2-type=2 +r18-agent3-kind=3 +r18-agent3-sku=99 +r18-agent3-type=3 +r2-agent1-kind=3 +r2-agent1-sku=61/61XL/61b +r2-agent1-type=1 +r2-agent2-kind=3 +r2-agent2-sku=61/61XL +r2-agent2-type=2 +r4-agent1-kind=3 +r4-agent1-sku=301/301XL/301b +r4-agent1-type=1 +r4-agent2-kind=3 +r4-agent2-sku=301/301XL +r4-agent2-type=2 +r8-agent1-kind=3 +r8-agent1-sku=122/122XL/122b +r8-agent1-type=1 +r8-agent2-kind=3 +r8-agent2-sku=122/122XL +r8-agent2-type=2 +scan-src=1 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=1 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.10 +tech-class=PyramidPlus +tech-subclass=NoAutoDuplex +tech-type=2 +usb-pid=be11 +usb-vid=3f0 +wifi-config=0 + [hp_color_laserjet_2550] align-type=0 clean-type=0 @@ -25263,7 +28713,7 @@ r0-agent5-kind=7 r0-agent5-sku=64 (Q3964A) r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -25319,7 +28769,7 @@ r0-agent5-kind=7 r0-agent5-sku=64 (Q3964A) r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -25462,7 +28912,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -25478,45 +28928,6 @@ usb-vid=3f0 wifi-config=0 -[apollo_2600] -align-type=0 -clean-type=0 -color-cal-type=0 -copy-type=0 -embedded-server-type=0 -fax-type=0 -fw-download=False -icon=default_printer.png -io-mfp-mode=6 -io-mode=0 -io-support=1 -job-storage=0 -linefeed-cal-type=0 -model1=Apollo 2600 Printer -monitor-type=0 -panel-check-type=0 -pcard-type=0 -plugin=0 -plugin-reason=0 -power-settings=0 -pq-diag-type=0 -r-type=0 -scan-style=0 -scan-type=0 -status-battery-check=0 -status-dynamic-counters=0 -status-type=0 -support-released=True -support-subtype=0 -support-type=1 -support-ver=0.9.5 -tech-class=AP2560 -tech-subclass=Apollo2500 -tech-type=2 -usb-pid=0 -usb-vid=3f0 -wifi-config=0 - [hp_color_laserjet_2600n] align-type=0 clean-type=0 @@ -25540,7 +28951,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -25681,7 +29092,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -25697,6 +29108,45 @@ usb-vid=3f0 wifi-config=0 +[apollo_2600] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=default_printer.png +io-mfp-mode=6 +io-mode=0 +io-support=1 +job-storage=0 +linefeed-cal-type=0 +model1=Apollo 2600 Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=0 +support-released=True +support-subtype=0 +support-type=1 +support-ver=0.9.5 +tech-class=AP2560 +tech-subclass=Apollo2500 +tech-type=2 +usb-pid=0 +usb-vid=3f0 +wifi-config=0 + [deskjet_d2600_series] align-type=11 clean-type=2 @@ -25756,7 +29206,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=3 @@ -25820,7 +29270,7 @@ r0-agent8-kind=1 r0-agent8-sku=11 (C4813A) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -25836,7 +29286,7 @@ usb-vid=3f0 wifi-config=0 -[hp_color_laserjet_2605] +[hp_color_laserjet_2605dtn] align-type=0 clean-type=0 color-cal-type=0 @@ -25850,7 +29300,7 @@ io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP Color LaserJet 2605 Printer +model1=HP Color LaserJet 2605dtn Printer monitor-type=0 panel-check-type=1 pcard-type=0 @@ -25874,7 +29324,7 @@ r0-agent5-kind=7 r0-agent5-sku=64 (Q3964A) r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -25886,11 +29336,11 @@ tech-class=Postscript tech-subclass=Normal tech-type=4 -usb-pid=2f17 +usb-pid=3617 usb-vid=3f0 wifi-config=0 -[hp_color_laserjet_2605dn] +[hp_color_laserjet_2605] align-type=0 clean-type=0 color-cal-type=0 @@ -25904,8 +29354,7 @@ io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP Color LaserJet 2605dn Printer -model2=HP Color LaserJet 2605dn xi Printer +model1=HP Color LaserJet 2605 Printer monitor-type=0 panel-check-type=1 pcard-type=0 @@ -25929,23 +29378,23 @@ r0-agent5-kind=7 r0-agent5-sku=64 (Q3964A) r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 status-type=6 support-released=True -support-subtype=3cef +support-subtype=3c73 support-type=2 support-ver=0.9.11 tech-class=Postscript tech-subclass=Normal tech-type=4 -usb-pid=3117 +usb-pid=2f17 usb-vid=3f0 wifi-config=0 -[hp_color_laserjet_2605dtn] +[hp_color_laserjet_2605dn] align-type=0 clean-type=0 color-cal-type=0 @@ -25959,7 +29408,8 @@ io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP Color LaserJet 2605dtn Printer +model1=HP Color LaserJet 2605dn Printer +model2=HP Color LaserJet 2605dn xi Printer monitor-type=0 panel-check-type=1 pcard-type=0 @@ -25983,19 +29433,19 @@ r0-agent5-kind=7 r0-agent5-sku=64 (Q3964A) r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 status-type=6 support-released=True -support-subtype=3c73 +support-subtype=3cef support-type=2 support-ver=0.9.11 tech-class=Postscript tech-subclass=Normal tech-type=4 -usb-pid=3617 +usb-pid=3117 usb-vid=3f0 wifi-config=0 @@ -26022,7 +29472,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -26159,7 +29609,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -26213,7 +29663,7 @@ r0-agent5-kind=7 r0-agent5-sku=64 (Q3964A) r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -26267,7 +29717,7 @@ r0-agent5-kind=7 r0-agent5-sku=64 (Q3964A) r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -26310,7 +29760,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7573 r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -26353,7 +29803,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7573 r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -26396,7 +29846,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7573 r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=5 status-battery-check=0 status-dynamic-counters=0 @@ -26435,7 +29885,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -26489,7 +29939,7 @@ r0-agent5-kind=7 r0-agent5-sku=64 (Q3964A) r0-agent5-type=62 -scan-style=1 +scan-src=1 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -26554,7 +30004,7 @@ r0-agent8-kind=2 r0-agent8-sku=11 (C4838AN) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -26608,7 +30058,7 @@ r0-agent5-kind=7 r0-agent5-sku=64 (Q3964A) r0-agent5-type=62 -scan-style=1 +scan-src=1 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -26662,7 +30112,7 @@ r0-agent5-kind=7 r0-agent5-sku=64 (Q3964A) r0-agent5-type=62 -scan-style=1 +scan-src=1 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -26716,7 +30166,7 @@ r0-agent5-kind=7 r0-agent5-sku=64 (Q3964A) r0-agent5-type=62 -scan-style=1 +scan-src=1 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -26781,7 +30231,7 @@ r0-agent8-kind=1 r0-agent8-sku=12 (C5026A) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -26835,7 +30285,7 @@ r0-agent4-kind=4 r0-agent4-sku=Q7582A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -26860,9 +30310,9 @@ fax-type=0 fw-download=False icon=hp_deskjet_f4200.png -io-mfp-mode=3 +io-mfp-mode=1 io-mode=1 -io-support=2 +io-support=10 job-storage=0 linefeed-cal-type=0 model1=HP Deskjet 3000 j310 series @@ -26910,11 +30360,11 @@ r8-agent2-kind=3 r8-agent2-sku=122/122XL r8-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 -status-type=2 +status-type=10 support-released=True support-subtype=219b2b support-type=2 @@ -26949,7 +30399,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -26991,7 +30441,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -27038,7 +30488,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -27081,11 +30531,11 @@ r0-agent1-kind=4 r0-agent1-sku=CE255A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 -status-type=1 +status-type=3 support-released=True support-subtype=219b2b support-type=2 @@ -27123,7 +30573,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=2 +scan-src=2 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -27165,7 +30615,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -27208,7 +30658,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A/X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -27250,7 +30700,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -27299,7 +30749,7 @@ r0-agent3-kind=6 r0-agent3-sku=Q5779A r0-agent3-type=62 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -27316,7 +30766,7 @@ wifi-config=0 [deskjet_3050_j610_series] -align-type=16 +align-type=17 clean-type=1 color-cal-type=0 copy-type=0 @@ -27374,11 +30824,11 @@ r8-agent2-kind=3 r8-agent2-sku=122/122XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=7 status-battery-check=0 status-dynamic-counters=1 -status-type=2 +status-type=11 support-released=True support-subtype=39f2 support-type=2 @@ -27388,7 +30838,7 @@ tech-type=2 usb-pid=9311 usb-vid=3f0 -wifi-config=1 +wifi-config=3 [hp_laserjet_3050] align-type=0 @@ -27417,7 +30867,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115A/C7115X r0-agent1-type=1 -scan-style=2 +scan-src=2 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -27434,7 +30884,7 @@ wifi-config=0 [deskjet_3050a_j611_series] -align-type=0 +align-type=16 clean-type=1 color-cal-type=0 copy-type=0 @@ -27448,6 +30898,17 @@ job-storage=0 linefeed-cal-type=0 model1=HP Deskjet 3050A J611 series +model10=HP Deskjet 3054A e-All-in-One Printer J611c +model11=HP Deskjet 3054A e-All-in-One Printer J611d +model12=HP Deskjet 3054A e-All-in-One Printer J611j +model2=HP Deskjet 3055A e-All-in-One Printer J611n +model3=HP Deskjet 3057A e-All-in-One Printer J611n +model4=HP Deskjet 3059A e-All-in-One Printer J611n +model5=HP Deskjet 3056A e-All-in-One Printer +model6=HP Deskjet 3051A e-All-in-One Printer J611h +model7=HP Deskjet 3052A e-All-in-One Printer J611e +model8=HP Deskjet 3052A e-All-in-One Printer J611f +model9=HP Deskjet 3052A e-All-in-One Printer J611g monitor-type=0 panel-check-type=1 pcard-type=0 @@ -27492,11 +30953,11 @@ r8-agent2-kind=3 r8-agent2-sku=122/122XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=7 status-battery-check=0 status-dynamic-counters=1 -status-type=2 +status-type=10 support-released=True support-subtype=219b2b support-type=2 @@ -27506,7 +30967,7 @@ tech-type=2 usb-pid=a011 usb-vid=3f0 -wifi-config=-1 +wifi-config=3 [hp_laserjet_3052] align-type=0 @@ -27534,7 +30995,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q2612A r0-agent1-type=1 -scan-style=2 +scan-src=2 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -27576,7 +31037,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115A/C7115X r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -27601,8 +31062,8 @@ fax-type=0 fw-download=False icon=psc_2300_series.png -io-mfp-mode=3 -io-mode=3 +io-mfp-mode=1 +io-mode=1 io-support=10 job-storage=0 linefeed-cal-type=0 @@ -27663,7 +31124,7 @@ r3-agent4-kind=2 r3-agent4-sku=862/862XL r3-agent4-type=6 -scan-style=1 +scan-src=1 scan-type=7 status-battery-check=0 status-dynamic-counters=0 @@ -27677,7 +31138,7 @@ tech-type=2 usb-pid=a211 usb-vid=3f0 -wifi-config=0 +wifi-config=3 [hp_designjet_z3100] align-type=0 @@ -27706,7 +31167,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -27747,7 +31208,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=2 +scan-src=2 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -27853,7 +31314,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -28038,7 +31499,7 @@ r7-agent6-kind=2 r7-agent6-sku=801 (C8775Z) r7-agent6-type=8 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -28079,7 +31540,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=2 +scan-src=2 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -28121,7 +31582,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -28164,7 +31625,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4092A r0-agent1-type=1 -scan-style=2 +scan-src=2 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -28353,7 +31814,7 @@ r7-agent6-kind=2 r7-agent6-sku=801 (C8775Z) r7-agent6-type=8 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -28395,7 +31856,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4092A r0-agent1-type=1 -scan-style=2 +scan-src=2 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -28437,7 +31898,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4092A r0-agent1-type=1 -scan-style=2 +scan-src=2 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -28483,7 +31944,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115A/C7115X r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -28670,7 +32131,7 @@ r7-agent6-kind=2 r7-agent6-sku=801 (C8775Z) r7-agent6-type=8 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -28718,7 +32179,7 @@ r0-agent2-kind=3 r0-agent2-sku=28 (C8728A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -28763,7 +32224,7 @@ r0-agent2-kind=3 r0-agent2-sku=28 (C8728A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -28805,7 +32266,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115A/C7115X r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -28847,7 +32308,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115A/C7115X r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -28889,7 +32350,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115A/C7115X r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -28931,7 +32392,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115A/C7115X r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=2 status-battery-check=0 status-dynamic-counters=0 @@ -28977,7 +32438,7 @@ r0-agent2-kind=3 r0-agent2-sku=28 (C8728A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29022,7 +32483,7 @@ r0-agent2-kind=3 r0-agent2-sku=28 (C8728A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29067,7 +32528,7 @@ r0-agent2-kind=3 r0-agent2-sku=28 (C8728A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29106,7 +32567,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29160,7 +32621,7 @@ r0-agent5-kind=5 r0-agent5-sku=55 (Q3655A) r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29210,7 +32671,7 @@ r0-agent2-kind=3 r0-agent2-sku=28 (C8728A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29255,7 +32716,7 @@ r0-agent2-kind=3 r0-agent2-sku=22 r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -29311,7 +32772,7 @@ r0-agent5-kind=5 r0-agent5-sku=55 (Q3655A) r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29365,21 +32826,180 @@ r0-agent4-kind=4 r0-agent4-sku=CB402A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 -status-type=3 +status-type=3 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=2.7.6 +tech-class=LJColor,Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=7817 +usb-vid=3f0 +wifi-config=0 + +[deskjet_3510_series] +align-type=15 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP Deskjet Ink Advantage 3515 e-All-in-One +model2=HP Deskjet Ink Advantage 3516 e-All-in-One +model3=HP Deskjet 3510 e-All-in-One +model4=HP Deskjet 3511 e-All-in-One +model5=HP Deskjet 3512 e-All-in-One +monitor-type=0 +panel-check-type=1 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=3 +r0-agent1-sku=61/61XL/61b +r0-agent1-type=1 +r0-agent2-kind=3 +r0-agent2-sku=61/61XL +r0-agent2-type=2 +r10-agent1-kind=3 +r10-agent1-sku=802/802XL/802b +r10-agent1-type=1 +r10-agent2-kind=3 +r10-agent2-sku=802/802XL +r10-agent2-type=2 +r18-agent2-kind=3 +r18-agent2-sku=93/95 +r18-agent2-type=2 +r18-agent3-kind=3 +r18-agent3-sku=99 +r18-agent3-type=3 +r2-agent1-kind=3 +r2-agent1-sku=61/61XL/61b +r2-agent1-type=1 +r2-agent2-kind=3 +r2-agent2-sku=61/61XL +r2-agent2-type=2 +r4-agent1-kind=3 +r4-agent1-sku=301/301XL/301b +r4-agent1-type=1 +r4-agent2-kind=3 +r4-agent2-sku=301/301XL +r4-agent2-type=2 +r8-agent1-kind=3 +r8-agent1-sku=122/122XL/122b +r8-agent1-type=1 +r8-agent2-kind=3 +r8-agent2-sku=122/122XL +r8-agent2-type=2 +scan-src=1 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=1 +status-type=10 +support-released=True +support-subtype=39f2 +support-type=2 +support-ver=3.12.9 +tech-class=PyramidPlus +tech-subclass=NoAutoDuplex +tech-type=2 +usb-pid=ad11 +usb-vid=3f0 +wifi-config=3 + +[deskjet_3520_series] +align-type=15 +clean-type=3 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP Deskjet 3520 e-All-in-One Series +model2=HP Deskjet Ink Advantage 3525 e-All-in-One +model3=HP Deskjet 3521 e-All-in-One Printer +model4=HP Deskjet 3522 e-All-in-One Printer +model5=HP Deskjet 3524 e-All-in-One Printer +model6=HP Deskjet 3526 e-All-in-One Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=2 +r0-agent1-sku=564/564XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=564/564XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=564/564XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=564/564XL +r0-agent4-type=6 +r1-agent1-kind=2 +r1-agent1-sku=364/364XL +r1-agent1-type=1 +r1-agent2-kind=2 +r1-agent2-sku=364/364XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=364/364XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=364/364XL +r1-agent4-type=6 +r2-agent1-kind=2 +r2-agent1-sku=178/178XL +r2-agent1-type=1 +r2-agent2-kind=2 +r2-agent2-sku=178/178XL +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=178/178XL +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=178/178XL +r2-agent4-type=6 +scan-src=1 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=2 support-released=True support-subtype=219b2b support-type=2 -support-ver=2.7.6 -tech-class=LJColor,Postscript +support-ver=3.12.6 +tech-class=Copperhead12 tech-subclass=Normal -tech-type=4 -usb-pid=7817 +tech-type=2 +usb-pid=b011 usb-vid=3f0 -wifi-config=0 +wifi-config=3 [hp_color_laserjet_cp3525] align-type=0 @@ -29419,7 +33039,7 @@ r0-agent4-kind=4 r0-agent4-sku=CB402A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29471,7 +33091,7 @@ r0-agent4-kind=4 r0-agent4-sku=CC532A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29528,7 +33148,7 @@ r0-agent6-kind=8 r0-agent6-sku=58 (Q3658A) r0-agent6-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29576,7 +33196,7 @@ r0-agent2-kind=3 r0-agent2-sku=28 (C8728A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29633,7 +33253,7 @@ r0-agent6-kind=8 r0-agent6-sku=58 (Q3658A) r0-agent6-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29689,7 +33309,7 @@ r0-agent5-kind=5 r0-agent5-sku=Q5421A r0-agent5-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29739,7 +33359,7 @@ r0-agent2-kind=3 r0-agent2-sku=22 r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -29790,7 +33410,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29846,7 +33466,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29903,7 +33523,7 @@ r0-agent6-kind=8 r0-agent6-sku=58 (Q3658A) r0-agent6-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -29963,7 +33583,7 @@ r0-agent6-kind=8 r0-agent6-sku=58 (Q3658A) r0-agent6-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30014,7 +33634,7 @@ r0-agent2-kind=3 r0-agent2-sku=28 (C8728A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30030,45 +33650,6 @@ usb-vid=3f0 wifi-config=0 -[hp_designjet_3800cp] -align-type=0 -clean-type=0 -color-cal-type=0 -copy-type=0 -embedded-server-type=0 -fax-type=0 -fw-download=False -icon=default_designjet.png -io-mfp-mode=0 -io-mode=0 -io-support=0 -job-storage=0 -linefeed-cal-type=0 -model1=HP Designjet 3800cp Printer -monitor-type=0 -panel-check-type=0 -pcard-type=0 -plugin=0 -plugin-reason=0 -power-settings=0 -pq-diag-type=0 -r-type=0 -scan-style=0 -scan-type=0 -status-battery-check=0 -status-dynamic-counters=0 -status-type=0 -support-released=True -support-subtype=38cb -support-type=0 -support-ver=0.0.0 -tech-class=Undefined -tech-subclass=Normal -tech-type=2 -usb-pid=0 -usb-vid=3f0 -wifi-config=0 - [hp_color_laserjet_3800] align-type=0 clean-type=0 @@ -30107,7 +33688,7 @@ r0-agent4-kind=4 r0-agent4-sku=Q7582A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30123,6 +33704,45 @@ usb-vid=3f0 wifi-config=0 +[hp_designjet_3800cp] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=default_designjet.png +io-mfp-mode=0 +io-mode=0 +io-support=0 +job-storage=0 +linefeed-cal-type=0 +model1=HP Designjet 3800cp Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=0 +support-released=True +support-subtype=38cb +support-type=0 +support-ver=0.0.0 +tech-class=Undefined +tech-subclass=Normal +tech-type=2 +usb-pid=0 +usb-vid=3f0 +wifi-config=0 + [deskjet_3810] align-type=3 clean-type=1 @@ -30152,7 +33772,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30198,7 +33818,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30243,7 +33863,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30290,7 +33910,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30335,7 +33955,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30388,7 +34008,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30433,7 +34053,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30478,7 +34098,7 @@ r0-agent2-kind=3 r0-agent2-sku=22 (C9352A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30531,7 +34151,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30576,7 +34196,7 @@ r0-agent2-kind=3 r0-agent2-sku=22 (C9352A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30622,7 +34242,7 @@ r0-agent2-kind=3 r0-agent2-sku=22 (C9352A) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30661,7 +34281,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30707,7 +34327,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4127A/C4127X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30746,7 +34366,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30816,7 +34436,7 @@ r8-agent2-kind=3 r8-agent2-sku=703 r8-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=3 @@ -30855,7 +34475,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30908,7 +34528,7 @@ r0-agent4-kind=4 r0-agent4-sku=CB402A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30924,7 +34544,7 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_p4014n] +[hp_laserjet_p4014dn] align-type=0 clean-type=0 color-cal-type=0 @@ -30938,7 +34558,7 @@ io-support=6 job-storage=1 linefeed-cal-type=0 -model1=HP LaserJet P4014n Printer +model1=HP LaserJet P4014dn Printer monitor-type=0 panel-check-type=1 pcard-type=0 @@ -30951,7 +34571,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -30967,7 +34587,7 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_p4014dn] +[hp_laserjet_p4014] align-type=0 clean-type=0 color-cal-type=0 @@ -30981,7 +34601,7 @@ io-support=6 job-storage=1 linefeed-cal-type=0 -model1=HP LaserJet P4014dn Printer +model1=HP LaserJet P4014 Printer monitor-type=0 panel-check-type=1 pcard-type=0 @@ -30994,7 +34614,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -31010,7 +34630,7 @@ usb-vid=3f0 wifi-config=0 -[hp_laserjet_p4014] +[hp_laserjet_p4014n] align-type=0 clean-type=0 color-cal-type=0 @@ -31024,7 +34644,7 @@ io-support=6 job-storage=1 linefeed-cal-type=0 -model1=HP LaserJet P4014 Printer +model1=HP LaserJet P4014n Printer monitor-type=0 panel-check-type=1 pcard-type=0 @@ -31037,7 +34657,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -31080,7 +34700,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -31123,7 +34743,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -31166,7 +34786,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -31209,7 +34829,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -31252,7 +34872,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -31293,7 +34913,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -31332,7 +34952,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -31395,7 +35015,7 @@ r1-agent4-kind=4 r1-agent4-sku=CE263A r1-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -31441,7 +35061,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4127A/C4127X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -31484,7 +35104,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8061A/C8061X r0-agent1-type=1 -scan-style=1 +scan-src=1 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -31529,7 +35149,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8061A/C8061X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -31639,7 +35259,7 @@ r8-agent4-kind=3 r8-agent4-sku=100 r8-agent4-type=10 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -31729,7 +35349,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=3 @@ -31856,7 +35476,7 @@ r816-agent2-kind=3 r816-agent2-sku= r816-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -31904,7 +35524,7 @@ r0-agent2-kind=3 r0-agent2-sku=57 (C6657AN)/28 (C8728AN) r0-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -31949,7 +35569,7 @@ r0-agent2-kind=3 r0-agent2-sku=57 (C6657AN)/28 (C8728AN) r0-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -31994,7 +35614,7 @@ r0-agent2-kind=3 r0-agent2-sku=57 (C6657AN)/28 (C8728AN) r0-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -32036,7 +35656,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8061A/C8061X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -32086,7 +35706,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q1338A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -32180,7 +35800,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -32234,7 +35854,7 @@ r0-agent3-kind=3 r0-agent3-sku=56 (C6656AN) r0-agent3-type=1 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -32273,7 +35893,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -32380,7 +36000,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -32468,7 +36088,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=3 @@ -32547,7 +36167,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -32626,7 +36246,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -32672,7 +36292,7 @@ r0-agent2-kind=5 r0-agent2-sku=Q5421A/Q5422A r0-agent2-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -32721,7 +36341,7 @@ r0-agent2-kind=5 r0-agent2-sku=Q5421A/Q5422A r0-agent2-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -32773,7 +36393,7 @@ r0-agent3-kind=3 r0-agent3-sku=56 (C6656AN) r0-agent3-type=1 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -32844,7 +36464,7 @@ r7-agent2-kind=3 r7-agent2-sku=817 r7-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=3 @@ -32891,7 +36511,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q1339A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -32978,7 +36598,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=3 @@ -33076,7 +36696,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -33127,7 +36747,7 @@ r0-agent3-kind=6 r0-agent3-sku=Q5779A r0-agent3-type=62 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -33178,7 +36798,7 @@ r0-agent3-kind=6 r0-agent3-sku=Q5779A r0-agent3-type=62 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -33226,7 +36846,7 @@ r0-agent3-kind=6 r0-agent3-sku=Q5779A r0-agent3-type=62 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -33272,7 +36892,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q5942A/Q5942X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -33299,7 +36919,7 @@ icon=Photosmart_C4100.png io-mfp-mode=3 io-mode=1 -io-support=2 +io-support=10 job-storage=0 linefeed-cal-type=0 model1=HP Photosmart C4380 All-in-One Printer @@ -33369,7 +36989,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -33477,7 +37097,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -33552,7 +37172,7 @@ r8-agent2-kind=3 r8-agent2-sku=703 r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -33636,7 +37256,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -33706,7 +37326,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -33747,7 +37367,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -33822,7 +37442,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -33891,7 +37511,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -33953,7 +37573,7 @@ r0-agent7-kind=5 r0-agent7-sku=97 (C4197A) r0-agent7-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -33992,7 +37612,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -34069,7 +37689,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -34085,76 +37705,6 @@ usb-vid=3f0 wifi-config=0 -[officejet_4500_g510g-m] -align-type=13 -clean-type=1 -color-cal-type=0 -copy-type=0 -embedded-server-type=0 -fax-type=1 -fw-download=False -icon=officejet_j5500_series.png -io-mfp-mode=3 -io-mode=1 -io-support=6 -job-storage=0 -linefeed-cal-type=0 -model1=HP Officejet 4500 All-in-One Printer - G510g -model2=HP Officejet 4500 All-in-One Printer - G510h -monitor-type=0 -panel-check-type=0 -pcard-type=0 -plugin=0 -plugin-reason=0 -power-settings=0 -pq-diag-type=0 -r-type=1 -r0-agent1-kind=3 -r0-agent1-sku=901/901XL -r0-agent1-type=1 -r0-agent2-kind=3 -r0-agent2-sku=901 -r0-agent2-type=2 -r10-agent1-kind=3 -r10-agent1-sku=818/818XL/818b -r10-agent1-type=1 -r10-agent2-kind=3 -r10-agent2-sku=818/818XL -r10-agent2-type=2 -r2-agent1-kind=3 -r2-agent1-sku=60/60XL/60b -r2-agent1-type=1 -r2-agent2-kind=3 -r2-agent2-sku=60/60XL -r2-agent2-type=2 -r4-agent1-kind=3 -r4-agent1-sku=300/300XL/300b -r4-agent1-type=1 -r4-agent2-kind=3 -r4-agent2-sku=300/300XL -r4-agent2-type=2 -r8-agent1-kind=3 -r8-agent1-sku=121/121XL/121b -r8-agent1-type=1 -r8-agent2-kind=3 -r8-agent2-sku=121/121XL -r8-agent2-type=2 -scan-style=1 -scan-type=1 -status-battery-check=0 -status-dynamic-counters=1 -status-type=2 -support-released=True -support-subtype=219b2b -support-type=2 -support-ver=3.10.2 -tech-class=ViperPlusVIP -tech-subclass=Normal -tech-type=2 -usb-pid=4712 -usb-vid=3f0 -wifi-config=0 - [photosmart_c4500_series] align-type=13 clean-type=1 @@ -34166,7 +37716,7 @@ icon=Photosmart_C4100.png io-mfp-mode=3 io-mode=1 -io-support=2 +io-support=10 job-storage=0 linefeed-cal-type=0 model1=HP Photosmart C4540 All-in-One Printer @@ -34243,7 +37793,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -34259,6 +37809,76 @@ usb-vid=3f0 wifi-config=1 +[officejet_4500_g510g-m] +align-type=13 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=1 +fw-download=False +icon=officejet_j5500_series.png +io-mfp-mode=3 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet 4500 All-in-One Printer - G510g +model2=HP Officejet 4500 All-in-One Printer - G510h +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=3 +r0-agent1-sku=901/901XL +r0-agent1-type=1 +r0-agent2-kind=3 +r0-agent2-sku=901 +r0-agent2-type=2 +r10-agent1-kind=3 +r10-agent1-sku=818/818XL/818b +r10-agent1-type=1 +r10-agent2-kind=3 +r10-agent2-sku=818/818XL +r10-agent2-type=2 +r2-agent1-kind=3 +r2-agent1-sku=60/60XL/60b +r2-agent1-type=1 +r2-agent2-kind=3 +r2-agent2-sku=60/60XL +r2-agent2-type=2 +r4-agent1-kind=3 +r4-agent1-sku=300/300XL/300b +r4-agent1-type=1 +r4-agent2-kind=3 +r4-agent2-sku=300/300XL +r4-agent2-type=2 +r8-agent1-kind=3 +r8-agent1-sku=121/121XL/121b +r8-agent1-type=1 +r8-agent2-kind=3 +r8-agent2-sku=121/121XL +r8-agent2-type=2 +scan-src=1 +scan-type=1 +status-battery-check=0 +status-dynamic-counters=1 +status-type=2 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.10.2 +tech-class=ViperPlusVIP +tech-subclass=Normal +tech-type=2 +usb-pid=4712 +usb-vid=3f0 +wifi-config=0 + [hp_designjet_4500mfp] align-type=0 clean-type=0 @@ -34282,7 +37902,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -34299,7 +37919,7 @@ wifi-config=0 [officejet_4500_g510n-z] -align-type=13 +align-type=1 clean-type=1 color-cal-type=0 copy-type=0 @@ -34351,7 +37971,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -34394,7 +38014,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -34437,7 +38057,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -34480,7 +38100,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -34523,7 +38143,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -34566,7 +38186,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7551A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -34629,7 +38249,7 @@ r1-agent4-kind=4 r1-agent4-sku=CE263A r1-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -34668,7 +38288,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -34707,7 +38327,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -34748,7 +38368,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -34776,7 +38396,7 @@ io-mfp-mode=3 io-mode=1 io-support=6 -job-storage=0 +job-storage=1 linefeed-cal-type=0 model1=HP Color LaserJet CM4540 Multifunction Printer monitor-type=0 @@ -34799,7 +38419,7 @@ r0-agent4-kind=4 r0-agent4-sku=CF033A r0-agent4-type=5 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -34864,7 +38484,7 @@ r0-agent7-kind=5 r0-agent7-sku=97 (C4197A) r0-agent7-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -34906,7 +38526,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE390A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -34967,7 +38587,7 @@ r0-agent6-kind=8 r0-agent6-sku=24 (C9724A) r0-agent6-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -35051,7 +38671,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -35108,7 +38728,7 @@ r0-agent6-kind=8 r0-agent6-sku=24 (C9724A) r0-agent6-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -35165,21 +38785,324 @@ r0-agent6-kind=8 r0-agent6-sku=24 (C9724A) r0-agent6-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 -status-type=3 +status-type=3 +support-released=True +support-subtype=3b34 +support-type=2 +support-ver=0.9.5 +tech-class=LJColor,Postscript +tech-subclass=Normal +tech-type=4 +usb-pid=6c17 +usb-vid=3f0 +wifi-config=0 + +[officejet_4610_series] +align-type=17 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=6 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP OfficeJet 4610 All-in-One Printer Series +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=2 +r0-agent1-sku=564/564XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=564/564XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=564/564XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=564/564XL +r0-agent4-type=6 +r1-agent1-kind=2 +r1-agent1-sku=364/364XL +r1-agent1-type=1 +r1-agent2-kind=2 +r1-agent2-sku=364/364XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=364/364XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=364/364XL +r1-agent4-type=6 +r2-agent1-kind=2 +r2-agent1-sku=178/178XL +r2-agent1-type=1 +r2-agent2-kind=2 +r2-agent2-sku=178/178XL +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=178/178XL +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=178/178XL +r2-agent4-type=6 +scan-src=3 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=11 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=Copperhead +tech-subclass=Trim +tech-type=2 +usb-pid=5812 +usb-vid=3f0 +wifi-config=0 + +[deskjet_4610_series] +align-type=17 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=6 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP Deskjet Ink Advantage 4610 All-in-One Printer Series +model2=HP Deskjet Ink Advantage 4615 All-in-One Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=2 +r0-agent1-sku=655 +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=655 +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=655 +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=655 +r0-agent4-type=6 +r1-agent1-kind=2 +r1-agent1-sku=670/670XL +r1-agent1-type=1 +r1-agent2-kind=2 +r1-agent2-sku=670/670XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=670/670XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=670/670XL +r1-agent4-type=6 +r2-agent1-kind=2 +r2-agent1-sku=685 +r2-agent1-type=1 +r2-agent2-kind=2 +r2-agent2-sku=685 +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=685 +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=685 +r2-agent4-type=6 +scan-src=3 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=11 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=Copperhead +tech-subclass=Trim +tech-type=2 +usb-pid=6512 +usb-vid=3f0 +wifi-config=0 + +[deskjet_4620_series] +align-type=17 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=6 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP Deskjet Ink Advantage 4620 e-All-in-One Printer +model2=HP Deskjet Ink Advantage 4625 e-All-in-One Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=2 +r0-agent1-sku=655 +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=655 +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=655 +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=655 +r0-agent4-type=6 +r1-agent1-kind=2 +r1-agent1-sku=670/670XL +r1-agent1-type=1 +r1-agent2-kind=2 +r1-agent2-sku=670/670XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=670/670XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=670/670XL +r1-agent4-type=6 +r2-agent1-kind=2 +r2-agent1-sku=685 +r2-agent1-type=1 +r2-agent2-kind=2 +r2-agent2-sku=685 +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=685 +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=685 +r2-agent4-type=6 +scan-src=3 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=11 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.6 +tech-class=Copperhead +tech-subclass=Trim +tech-type=2 +usb-pid=6612 +usb-vid=3f0 +wifi-config=3 + +[officejet_4620_series] +align-type=17 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=6 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP OfficeJet 4620 e-All-in-One Printer +model2=HP OfficeJet 4622 e-All-in-One Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=2 +r0-agent1-sku=564/564XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=564/564XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=564/564XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=564/564XL +r0-agent4-type=6 +r1-agent1-kind=2 +r1-agent1-sku=364/364XL +r1-agent1-type=1 +r1-agent2-kind=2 +r1-agent2-sku=364/364XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=364/364XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=364/364XL +r1-agent4-type=6 +r2-agent1-kind=2 +r2-agent1-sku=178/178XL +r2-agent1-type=1 +r2-agent2-kind=2 +r2-agent2-sku=178/178XL +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=178/178XL +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=178/178XL +r2-agent4-type=6 +scan-src=3 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=11 support-released=True -support-subtype=3b34 +support-subtype=219b2b support-type=2 -support-ver=0.9.5 -tech-class=LJColor,Postscript -tech-subclass=Normal -tech-type=4 -usb-pid=6c17 +support-ver=3.12.6 +tech-class=Copperhead +tech-subclass=Trim +tech-type=2 +usb-pid=6412 usb-vid=3f0 -wifi-config=0 +wifi-config=3 [hp_color_laserjet_4650] align-type=0 @@ -35226,7 +39149,7 @@ r0-agent6-kind=8 r0-agent6-sku=24 (C9724A) r0-agent6-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -35296,7 +39219,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -35310,7 +39233,7 @@ tech-type=2 usb-pid=2b12 usb-vid=3f0 -wifi-config=1 +wifi-config=0 [officejet_j4680_series] align-type=13 @@ -35367,7 +39290,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -35394,7 +39317,7 @@ icon=Photosmart_C4100.png io-mfp-mode=3 io-mode=1 -io-support=2 +io-support=10 job-storage=0 linefeed-cal-type=0 model1=HP Photosmart C4740 All-in-One Printer @@ -35451,7 +39374,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -35515,7 +39438,7 @@ r0-agent7-kind=5 r0-agent7-sku=Q7502A/Q7503A r0-agent7-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -35569,7 +39492,7 @@ r0-agent4-kind=4 r0-agent4-sku=Q6462A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -35632,7 +39555,7 @@ r0-agent7-kind=5 r0-agent7-sku=Q7502A/Q7503A r0-agent7-type=62 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -35674,7 +39597,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -35716,7 +39639,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4129X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -35762,7 +39685,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4129X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -35804,7 +39727,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7570A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -35848,7 +39771,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7570A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -35890,7 +39813,7 @@ r0-agent1-kind=4 r0-agent1-sku=Q7570A r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -36028,7 +39951,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -36166,7 +40089,7 @@ r8-agent6-kind=2 r8-agent6-sku=801 r8-agent6-type=8 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -36212,7 +40135,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4129X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -36267,7 +40190,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -36371,7 +40294,7 @@ r8-agent4-kind=3 r8-agent4-sku=100 r8-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -36410,7 +40333,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -36459,7 +40382,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN / C6578AN) r0-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -36504,7 +40427,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -36549,7 +40472,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -36595,7 +40518,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578DN/C6578AN) r0-agent2-type=2 -scan-style=2 +scan-src=2 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -36688,7 +40611,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -36733,7 +40656,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115A/C7115X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -36775,7 +40698,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115A/C7115X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -36817,7 +40740,7 @@ r0-agent1-kind=4 r0-agent1-sku=C7115A/C7115X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -36833,6 +40756,46 @@ usb-vid=3f0 wifi-config=0 +[hp_designjet_z5200_postscript] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=default_designjet.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP Designjet Z5200 44-in PostScript Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +ppd-name=designjet_z5200_postscript +pq-diag-type=0 +r-type=0 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=0 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.4 +tech-class=Postscript +tech-subclass=Normal +tech-type=2 +usb-pid=d14 +usb-vid=3f0 +wifi-config=0 + [hp_color_laserjet_cp5225] align-type=0 clean-type=0 @@ -36868,7 +40831,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE742A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -36919,7 +40882,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE742A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -36970,7 +40933,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE742A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -37090,7 +41053,7 @@ r8-agent5-kind=2 r8-agent5-sku=808/808XL r8-agent5-type=19 -scan-style=0 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -37147,7 +41110,7 @@ r0-agent6-kind=2 r0-agent6-sku=18 (C4937A) r0-agent6-type=4 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -37234,7 +41197,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -37295,7 +41258,7 @@ r0-agent6-kind=2 r0-agent6-sku=88 (C9386) / 88L (C9391) r0-agent6-type=4 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -37311,122 +41274,6 @@ usb-vid=3f0 wifi-config=0 -[photosmart_d5400_series] -align-type=1 -clean-type=1 -color-cal-type=0 -copy-type=0 -embedded-server-type=1 -fax-type=0 -fw-download=False -icon=Photosmart_D6160.png -io-mfp-mode=3 -io-mode=1 -io-support=2 -job-storage=0 -linefeed-cal-type=0 -model1=HP Photosmart D5460 Printer -model2=HP Photosmart D5463 Printer -model3=HP Photosmart D5468 Printer -monitor-type=0 -panel-check-type=1 -pcard-type=2 -plugin=0 -plugin-reason=0 -power-settings=0 -pq-diag-type=0 -r-type=1 -r0-agent1-kind=2 -r0-agent1-sku=04/04XL -r0-agent1-type=1 -r0-agent2-kind=2 -r0-agent2-sku=04/04XL -r0-agent2-type=4 -r0-agent3-kind=2 -r0-agent3-sku=04/04XL -r0-agent3-type=5 -r0-agent4-kind=2 -r0-agent4-sku=04/04XL -r0-agent4-type=6 -r0-agent5-kind=2 -r0-agent5-sku=04/04XL -r0-agent5-type=19 -r1-agent1-kind=2 -r1-agent1-sku=04/04XL -r1-agent1-type=1 -r1-agent2-kind=2 -r1-agent2-sku=04/04XL -r1-agent2-type=4 -r1-agent3-kind=2 -r1-agent3-sku=04/04XL -r1-agent3-type=5 -r1-agent4-kind=2 -r1-agent4-sku=04/04XL -r1-agent4-type=6 -r1-agent5-kind=2 -r1-agent5-sku=04/04XL -r1-agent5-type=19 -r2-agent1-kind=2 -r2-agent1-sku=360/360XL -r2-agent1-type=1 -r2-agent2-kind=2 -r2-agent2-sku=360/360XL -r2-agent2-type=4 -r2-agent3-kind=2 -r2-agent3-sku=360/360XL -r2-agent3-type=5 -r2-agent4-kind=2 -r2-agent4-sku=360/360XL -r2-agent4-type=6 -r2-agent5-kind=2 -r2-agent5-sku=360/360XL -r2-agent5-type=19 -r4-agent1-kind=2 -r4-agent1-sku=155/155XL -r4-agent1-type=1 -r4-agent2-kind=2 -r4-agent2-sku=155/155XL -r4-agent2-type=4 -r4-agent3-kind=2 -r4-agent3-sku=155/155XL -r4-agent3-type=5 -r4-agent4-kind=2 -r4-agent4-sku=155/155XL -r4-agent4-type=6 -r4-agent5-kind=2 -r4-agent5-sku=155/155XL -r4-agent5-type=19 -r8-agent1-kind=2 -r8-agent1-sku=808/808XL -r8-agent1-type=1 -r8-agent2-kind=2 -r8-agent2-sku=808/808XL -r8-agent2-type=4 -r8-agent3-kind=2 -r8-agent3-sku=808/808XL -r8-agent3-type=5 -r8-agent4-kind=2 -r8-agent4-sku=808/808XL -r8-agent4-type=6 -r8-agent5-kind=2 -r8-agent5-sku=808/808XL -r8-agent5-type=16 -scan-style=0 -scan-type=0 -status-battery-check=0 -status-dynamic-counters=2 -status-type=2 -support-released=True -support-subtype=219b2b -support-type=2 -support-ver=2.8.6 -tech-class=DJGenericVIP -tech-subclass=Normal -tech-type=2 -usb-pid=6d11 -usb-vid=3f0 -wifi-config=0 - [deskjet_5400_series] align-type=10 clean-type=1 @@ -37550,7 +41397,7 @@ r7-agent3-kind=3 r7-agent3-sku=858 (C9369ZN) r7-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -37566,6 +41413,122 @@ usb-vid=3f0 wifi-config=0 +[photosmart_d5400_series] +align-type=1 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=Photosmart_D6160.png +io-mfp-mode=3 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP Photosmart D5460 Printer +model2=HP Photosmart D5463 Printer +model3=HP Photosmart D5468 Printer +monitor-type=0 +panel-check-type=1 +pcard-type=2 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=2 +r0-agent1-sku=04/04XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=04/04XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=04/04XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=04/04XL +r0-agent4-type=6 +r0-agent5-kind=2 +r0-agent5-sku=04/04XL +r0-agent5-type=19 +r1-agent1-kind=2 +r1-agent1-sku=04/04XL +r1-agent1-type=1 +r1-agent2-kind=2 +r1-agent2-sku=04/04XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=04/04XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=04/04XL +r1-agent4-type=6 +r1-agent5-kind=2 +r1-agent5-sku=04/04XL +r1-agent5-type=19 +r2-agent1-kind=2 +r2-agent1-sku=360/360XL +r2-agent1-type=1 +r2-agent2-kind=2 +r2-agent2-sku=360/360XL +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=360/360XL +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=360/360XL +r2-agent4-type=6 +r2-agent5-kind=2 +r2-agent5-sku=360/360XL +r2-agent5-type=19 +r4-agent1-kind=2 +r4-agent1-sku=155/155XL +r4-agent1-type=1 +r4-agent2-kind=2 +r4-agent2-sku=155/155XL +r4-agent2-type=4 +r4-agent3-kind=2 +r4-agent3-sku=155/155XL +r4-agent3-type=5 +r4-agent4-kind=2 +r4-agent4-sku=155/155XL +r4-agent4-type=6 +r4-agent5-kind=2 +r4-agent5-sku=155/155XL +r4-agent5-type=19 +r8-agent1-kind=2 +r8-agent1-sku=808/808XL +r8-agent1-type=1 +r8-agent2-kind=2 +r8-agent2-sku=808/808XL +r8-agent2-type=4 +r8-agent3-kind=2 +r8-agent3-sku=808/808XL +r8-agent3-type=5 +r8-agent4-kind=2 +r8-agent4-sku=808/808XL +r8-agent4-type=6 +r8-agent5-kind=2 +r8-agent5-sku=808/808XL +r8-agent5-type=16 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=2 +status-type=2 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=2.8.6 +tech-class=DJGenericVIP +tech-subclass=Normal +tech-type=2 +usb-pid=6d11 +usb-vid=3f0 +wifi-config=0 + [officejet_5500_series] align-type=6 clean-type=2 @@ -37600,7 +41563,7 @@ r0-agent2-kind=3 r0-agent2-sku=57 (C6657A) r0-agent2-type=2 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -37654,7 +41617,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -37715,7 +41678,7 @@ r0-agent6-kind=8 r0-agent6-sku=34 (C9734A) r0-agent6-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -37762,7 +41725,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -37840,7 +41803,7 @@ r8-agent2-kind=3 r8-agent2-sku=121/121XL r8-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -37927,7 +41890,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -37935,29 +41898,257 @@ support-released=True support-subtype=219b2b support-type=2 -support-ver=2.8.7 -tech-class=DJGenericVIP +support-ver=2.8.7 +tech-class=DJGenericVIP +tech-subclass=Normal +tech-type=2 +usb-pid=7211 +usb-vid=3f0 +wifi-config=0 + +[photosmart_5510_series] +align-type=0 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP Photosmart 5510 e-All-in-One +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=2 +r0-agent1-sku=564/564XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=564/564XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=564/564XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=564/564XL +r0-agent4-type=6 +r1-agent1-kind=2 +r1-agent1-sku=364/364XL +r1-agent1-type=1 +r1-agent2-kind=2 +r1-agent2-sku=364/364XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=364/364XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=364/364XL +r1-agent4-type=6 +r2-agent1-kind=2 +r2-agent1-sku=178/178XL +r2-agent1-type=1 +r2-agent2-kind=2 +r2-agent2-sku=178/178XL +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=178/178XL +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=178/178XL +r2-agent4-type=6 +r3-agent1-kind=2 +r3-agent1-sku=862/862XL +r3-agent1-type=1 +r3-agent2-kind=2 +r3-agent2-sku=862/862XL +r3-agent2-type=4 +r3-agent3-kind=2 +r3-agent3-sku=862/862XL +r3-agent3-type=5 +r3-agent4-kind=2 +r3-agent4-sku=862/862XL +r3-agent4-type=6 +scan-src=1 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=2 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.11.10 +tech-class=Copperhead +tech-subclass=Normal +tech-type=2 +usb-pid=a111 +usb-vid=3f0 +wifi-config=3 + +[photosmart_5510d_series] +align-type=15 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=3 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP Photosmart 5510d e-All-in-One +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=2 +r0-agent1-sku=564/564XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=564/564XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=564/564XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=564/564XL +r0-agent4-type=6 +r1-agent1-kind=2 +r1-agent1-sku=364/364XL +r1-agent1-type=1 +r1-agent2-kind=2 +r1-agent2-sku=364/364XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=364/364XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=364/364XL +r1-agent4-type=6 +r2-agent1-kind=2 +r2-agent1-sku=178/178XL +r2-agent1-type=1 +r2-agent2-kind=2 +r2-agent2-sku=178/178XL +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=178/178XL +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=178/178XL +r2-agent4-type=6 +r3-agent1-kind=2 +r3-agent1-sku=862/862XL +r3-agent1-type=1 +r3-agent2-kind=2 +r3-agent2-sku=862/862XL +r3-agent2-type=4 +r3-agent3-kind=2 +r3-agent3-sku=862/862XL +r3-agent3-type=5 +r3-agent4-kind=2 +r3-agent4-sku=862/862XL +r3-agent4-type=6 +scan-src=1 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=2 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.11.12 +tech-class=Copperhead +tech-subclass=AutoDuplex +tech-type=2 +usb-pid=b411 +usb-vid=3f0 +wifi-config=3 + +[hp_color_laserjet_cp5520_series] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=default_printer.png +io-mfp-mode=3 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP Color LaserJet CP5520 Series Printer +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=CE270A +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=CE271A +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=CE273A +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=CE272A +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.11.1 +tech-class=LJColor,Postscript tech-subclass=Normal -tech-type=2 -usb-pid=7211 +tech-type=4 +usb-pid=9b17 usb-vid=3f0 wifi-config=0 -[photosmart_5510d_series] -align-type=0 -clean-type=1 +[photosmart_5520_series] +align-type=15 +clean-type=3 color-cal-type=0 copy-type=0 embedded-server-type=1 fax-type=0 fw-download=False icon=psc_2300_series.png -io-mfp-mode=3 -io-mode=3 +io-mfp-mode=1 +io-mode=1 io-support=10 job-storage=0 linefeed-cal-type=0 -model1=HP Photosmart 5510d e-All-in-One +model1=HP Photosmart 5520 e-All-in-One +model2=HP Photosmart 5522 e-All-in-One Printer +model3=HP Photosmart 5524 e-All-in-One Printer +model4=HP Photosmart 5525 e-All-in-One Printer monitor-type=0 panel-check-type=0 pcard-type=0 @@ -38014,37 +42205,37 @@ r3-agent4-kind=2 r3-agent4-sku=862/862XL r3-agent4-type=6 -scan-style=1 +scan-src=1 scan-type=7 status-battery-check=0 status-dynamic-counters=0 -status-type=2 +status-type=10 support-released=True support-subtype=219b2b support-type=2 -support-ver=3.11.12 -tech-class=Copperhead -tech-subclass=AutoDuplex +support-ver=3.12.6 +tech-class=Copperhead12 +tech-subclass=Normal tech-type=2 -usb-pid=b411 +usb-pid=b111 usb-vid=3f0 -wifi-config=0 +wifi-config=3 -[photosmart_5510_series] -align-type=0 -clean-type=1 +[deskjet_5520_series] +align-type=15 +clean-type=3 color-cal-type=0 copy-type=0 embedded-server-type=1 fax-type=0 fw-download=False icon=psc_2300_series.png -io-mfp-mode=3 -io-mode=3 +io-mfp-mode=1 +io-mode=1 io-support=10 job-storage=0 linefeed-cal-type=0 -model1=HP Photosmart 5510 e-All-in-One +model1=HP Deskjet Ink Advantage 5525 e-All-in-One monitor-type=0 panel-check-type=0 pcard-type=0 @@ -38054,119 +42245,56 @@ pq-diag-type=0 r-type=1 r0-agent1-kind=2 -r0-agent1-sku=564/564XL +r0-agent1-sku=670/670XL r0-agent1-type=1 r0-agent2-kind=2 -r0-agent2-sku=564/564XL +r0-agent2-sku=670/670XL r0-agent2-type=4 r0-agent3-kind=2 -r0-agent3-sku=564/564XL +r0-agent3-sku=670/670XL r0-agent3-type=5 r0-agent4-kind=2 -r0-agent4-sku=564/564XL +r0-agent4-sku=670/670XL r0-agent4-type=6 r1-agent1-kind=2 -r1-agent1-sku=364/364XL +r1-agent1-sku=685 r1-agent1-type=1 r1-agent2-kind=2 -r1-agent2-sku=364/364XL +r1-agent2-sku=685 r1-agent2-type=4 r1-agent3-kind=2 -r1-agent3-sku=364/364XL +r1-agent3-sku=685 r1-agent3-type=5 r1-agent4-kind=2 -r1-agent4-sku=364/364XL +r1-agent4-sku=685 r1-agent4-type=6 r2-agent1-kind=2 -r2-agent1-sku=178/178XL +r2-agent1-sku=655 r2-agent1-type=1 r2-agent2-kind=2 -r2-agent2-sku=178/178XL +r2-agent2-sku=655 r2-agent2-type=4 r2-agent3-kind=2 -r2-agent3-sku=178/178XL +r2-agent3-sku=655 r2-agent3-type=5 r2-agent4-kind=2 -r2-agent4-sku=178/178XL +r2-agent4-sku=655 r2-agent4-type=6 -r3-agent1-kind=2 -r3-agent1-sku=862/862XL -r3-agent1-type=1 -r3-agent2-kind=2 -r3-agent2-sku=862/862XL -r3-agent2-type=4 -r3-agent3-kind=2 -r3-agent3-sku=862/862XL -r3-agent3-type=5 -r3-agent4-kind=2 -r3-agent4-sku=862/862XL -r3-agent4-type=6 -scan-style=1 +scan-src=1 scan-type=7 status-battery-check=0 status-dynamic-counters=0 -status-type=2 +status-type=10 support-released=True support-subtype=219b2b support-type=2 -support-ver=3.11.10 -tech-class=Copperhead +support-ver=3.12.6 +tech-class=Copperhead12 tech-subclass=Normal tech-type=2 -usb-pid=a111 -usb-vid=3f0 -wifi-config=0 - -[hp_color_laserjet_cp5520_series] -align-type=0 -clean-type=0 -color-cal-type=0 -copy-type=0 -embedded-server-type=1 -fax-type=0 -fw-download=False -icon=default_printer.png -io-mfp-mode=3 -io-mode=1 -io-support=6 -job-storage=0 -linefeed-cal-type=0 -model1=HP Color LaserJet CP5520 Series Printer -monitor-type=0 -panel-check-type=0 -pcard-type=0 -plugin=0 -plugin-reason=0 -power-settings=0 -pq-diag-type=0 -r-type=0 -r0-agent1-kind=4 -r0-agent1-sku=CE270A -r0-agent1-type=1 -r0-agent2-kind=4 -r0-agent2-sku=CE271A -r0-agent2-type=4 -r0-agent3-kind=4 -r0-agent3-sku=CE273A -r0-agent3-type=5 -r0-agent4-kind=4 -r0-agent4-sku=CE272A -r0-agent4-type=6 -scan-style=0 -scan-type=0 -status-battery-check=0 -status-dynamic-counters=0 -status-type=3 -support-released=True -support-subtype=219b2b -support-type=2 -support-ver=3.11.1 -tech-class=LJColor,Postscript -tech-subclass=Normal -tech-type=4 -usb-pid=9b17 +usb-pid=b611 usb-vid=3f0 -wifi-config=0 +wifi-config=3 [hp_color_laserjet_5550] align-type=0 @@ -38213,7 +42341,7 @@ r0-agent6-kind=8 r0-agent6-sku=34 (C9734A) r0-agent6-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -38263,7 +42391,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -38311,7 +42439,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -38359,7 +42487,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -38417,7 +42545,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -38465,7 +42593,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -38516,7 +42644,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -38564,7 +42692,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -38680,7 +42808,7 @@ r7-agent3-kind=3 r7-agent3-sku=858 (C9369ZN) r7-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -38775,7 +42903,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -38823,7 +42951,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -38872,7 +43000,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -39010,7 +43138,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -39124,7 +43252,7 @@ r8-agent5-kind=2 r8-agent5-sku=808/808XL r8-agent5-type=16 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=2 @@ -39238,7 +43366,7 @@ r8-agent5-kind=2 r8-agent5-sku=808/808XL r8-agent5-type=16 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=2 @@ -39293,7 +43421,7 @@ r0-agent4-kind=4 r0-agent4-sku=CB382A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -39345,7 +43473,7 @@ r0-agent4-kind=4 r0-agent4-sku=CB382A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -39373,7 +43501,7 @@ io-mfp-mode=3 io-mode=1 io-support=6 -job-storage=0 +job-storage=1 linefeed-cal-type=0 model1=HP Color LaserJet CM6040 Multifunction Printer model2=HP Color LaserJet CM6040f Multifunction Printer @@ -39398,7 +43526,7 @@ r0-agent4-kind=4 r0-agent4-sku=CB382A r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -39449,7 +43577,7 @@ r0-agent4-kind=4 r0-agent4-sku=CE302C r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -39465,45 +43593,6 @@ usb-vid=3f0 wifi-config=0 -[hp_designjet_z6100ps_60in_photo] -align-type=0 -clean-type=0 -color-cal-type=0 -copy-type=0 -embedded-server-type=1 -fax-type=0 -fw-download=False -icon=default_designjet.png -io-mfp-mode=1 -io-mode=1 -io-support=6 -job-storage=0 -linefeed-cal-type=0 -model1=HP Designjet z6100ps 60in photo -monitor-type=0 -panel-check-type=0 -pcard-type=0 -plugin=0 -plugin-reason=0 -power-settings=0 -pq-diag-type=0 -r-type=0 -scan-style=0 -scan-type=0 -status-battery-check=0 -status-dynamic-counters=0 -status-type=0 -support-released=True -support-subtype=219b2b -support-type=2 -support-ver=3.11.3 -tech-class=Postscript -tech-subclass=Normal -tech-type=2 -usb-pid=b14 -usb-vid=3f0 -wifi-config=0 - [photosmart_c6100_series] align-type=1 clean-type=1 @@ -39629,7 +43718,7 @@ r8-agent6-kind=2 r8-agent6-sku=801 r8-agent6-type=8 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -39645,6 +43734,132 @@ usb-vid=3f0 wifi-config=0 +[officejet_6100] +align-type=1 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=officejet_k550.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP OfficeJet 6100 ePrinter H611a +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=2 +r0-agent1-sku=932/932XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=933/933XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=933/933XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=933/933XL +r0-agent4-type=6 +r1-agent2-kind=2 +r1-agent2-sku=04/04XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=04/04XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=04/04XL +r1-agent4-type=6 +r1-agent5-kind=2 +r1-agent5-sku=04/04XL +r1-agent5-type=16 +r2-agent2-kind=2 +r2-agent2-sku=360/360XL +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=360/360XL +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=360/360XL +r2-agent4-type=6 +r2-agent5-kind=2 +r2-agent5-sku=360/360XL +r2-agent5-type=16 +r4-agent2-kind=2 +r4-agent2-sku=155/155XL +r4-agent2-type=4 +r4-agent3-kind=2 +r4-agent3-sku=155/155XL +r4-agent3-type=5 +r4-agent4-kind=2 +r4-agent4-sku=155/155XL +r4-agent4-type=6 +r4-agent5-kind=2 +r4-agent5-sku=155/155XL +r4-agent5-type=16 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=2 +status-type=2 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.4 +tech-class=Saipan +tech-subclass=Normal +tech-type=2 +usb-pid=5e12 +usb-vid=3f0 +wifi-config=3 + +[hp_designjet_z6100ps_60in_photo] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=default_designjet.png +io-mfp-mode=1 +io-mode=1 +io-support=6 +job-storage=0 +linefeed-cal-type=0 +model1=HP Designjet z6100ps 60in photo +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=0 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.11.3 +tech-class=Postscript +tech-subclass=Normal +tech-type=2 +usb-pid=b14 +usb-vid=3f0 +wifi-config=0 + [hp_designjet_z6100ps_42in_photo] align-type=0 clean-type=0 @@ -39668,7 +43883,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -39708,7 +43923,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -39839,7 +44054,7 @@ r8-agent6-kind=2 r8-agent6-sku=801 (C8775Z) r8-agent6-type=8 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=2 @@ -39890,7 +44105,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658AN) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -39935,7 +44150,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -39980,7 +44195,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -40025,7 +44240,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -40073,7 +44288,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658AN) r0-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -40192,7 +44407,7 @@ r7-agent3-kind=3 r7-agent3-sku=858 r7-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -40231,7 +44446,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -40270,7 +44485,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -40415,7 +44630,7 @@ r8-agent6-kind=2 r8-agent6-sku=801 r8-agent6-type=8 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -40535,7 +44750,7 @@ r8-agent5-kind=2 r8-agent5-sku=808/808XL r8-agent5-type=16 -scan-style=0 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -40668,7 +44883,7 @@ r8-agent4-kind=3 r8-agent4-sku=100 r8-agent4-type=10 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -40759,7 +44974,7 @@ r8-agent3-kind=3 r8-agent3-sku=138 r8-agent3-type=3 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -40874,7 +45089,7 @@ r8-agent5-kind=2 r8-agent5-sku=808/808XL r8-agent5-type=16 -scan-style=0 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -40891,7 +45106,7 @@ wifi-config=0 [officejet_6500_e710n-z] -align-type=1 +align-type=15 clean-type=3 color-cal-type=0 copy-type=0 @@ -40988,11 +45203,11 @@ r8-agent5-kind=2 r8-agent5-sku=808/808XL r8-agent5-type=16 -scan-style=0 +scan-src=0 scan-type=7 status-battery-check=0 status-dynamic-counters=2 -status-type=2 +status-type=10 support-released=True support-subtype=219b2b support-type=2 @@ -41006,7 +45221,7 @@ [officejet_6500_e710a-f] align-type=15 -clean-type=3 +clean-type=1 color-cal-type=0 copy-type=0 embedded-server-type=1 @@ -41102,11 +45317,11 @@ r8-agent5-kind=2 r8-agent5-sku=808/808XL r8-agent5-type=16 -scan-style=0 +scan-src=3 scan-type=7 status-battery-check=0 status-dynamic-counters=2 -status-type=2 +status-type=10 support-released=True support-subtype=219b2b support-type=2 @@ -41217,7 +45432,7 @@ r8-agent5-kind=2 r8-agent5-sku=808/808XL r8-agent5-type=16 -scan-style=0 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=2 @@ -41361,7 +45576,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -41378,7 +45593,7 @@ wifi-config=0 [photosmart_6510_series] -align-type=0 +align-type=15 clean-type=1 color-cal-type=0 copy-type=0 @@ -41386,8 +45601,8 @@ fax-type=0 fw-download=False icon=psc_2300_series.png -io-mfp-mode=3 -io-mode=3 +io-mfp-mode=1 +io-mode=1 io-support=10 job-storage=0 linefeed-cal-type=0 @@ -41448,11 +45663,11 @@ r3-agent4-kind=2 r3-agent4-sku=862/862XL r3-agent4-type=6 -scan-style=1 +scan-src=1 scan-type=7 status-battery-check=0 status-dynamic-counters=0 -status-type=2 +status-type=10 support-released=True support-subtype=219b2b support-type=2 @@ -41462,7 +45677,182 @@ tech-type=2 usb-pid=a511 usb-vid=3f0 -wifi-config=0 +wifi-config=3 + +[photosmart_6520_series] +align-type=15 +clean-type=4 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP Photsmart 6520 e All-in-One +model2=HP Photosmart 6525 e All-in-One +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=2 +r0-agent1-sku=564/564XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=564/564XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=564/564XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=564/564XL +r0-agent4-type=6 +r1-agent1-kind=2 +r1-agent1-sku=364/364XL +r1-agent1-type=1 +r1-agent2-kind=2 +r1-agent2-sku=364/364XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=364/364XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=364/364XL +r1-agent4-type=6 +r2-agent1-kind=2 +r2-agent1-sku=178/178XL +r2-agent1-type=1 +r2-agent2-kind=2 +r2-agent2-sku=178/178XL +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=178/178XL +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=178/178XL +r2-agent4-type=6 +r3-agent1-kind=2 +r3-agent1-sku=862/862XL +r3-agent1-type=1 +r3-agent2-kind=2 +r3-agent2-sku=862/862XL +r3-agent2-type=4 +r3-agent3-kind=2 +r3-agent3-sku=862/862XL +r3-agent3-type=5 +r3-agent4-kind=2 +r3-agent4-sku=862/862XL +r3-agent4-type=6 +scan-src=1 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Copperhead12 +tech-subclass=Advanced +tech-type=2 +usb-pid=af11 +usb-vid=3f0 +wifi-config=3 + +[deskjet_6520_series] +align-type=15 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=0 +fw-download=False +icon=psc_2300_series.png +io-mfp-mode=1 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP Deskjet Ink Advantage 6525 e-All-in-One +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=2 +r0-agent1-sku=564/564XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=564/564XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=564/564XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=564/564XL +r0-agent4-type=6 +r1-agent1-kind=2 +r1-agent1-sku=364/364XL +r1-agent1-type=1 +r1-agent2-kind=2 +r1-agent2-sku=364/364XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=364/364XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=364/364XL +r1-agent4-type=6 +r2-agent1-kind=2 +r2-agent1-sku=178/178XL +r2-agent1-type=1 +r2-agent2-kind=2 +r2-agent2-sku=178/178XL +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=178/178XL +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=178/178XL +r2-agent4-type=6 +r3-agent1-kind=2 +r3-agent1-sku=862/862XL +r3-agent1-type=1 +r3-agent2-kind=2 +r3-agent2-sku=862/862XL +r3-agent2-type=4 +r3-agent3-kind=2 +r3-agent3-sku=862/862XL +r3-agent3-type=5 +r3-agent4-kind=2 +r3-agent4-sku=862/862XL +r3-agent4-type=6 +scan-src=1 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Copperhead12 +tech-subclass=Advanced +tech-type=2 +usb-pid=ba11 +usb-vid=3f0 +wifi-config=3 [deskjet_6600] align-type=1 @@ -41587,21 +45977,123 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 -status-dynamic-counters=1 +status-dynamic-counters=1 +status-type=2 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=0.9.5 +tech-class=DJGenericVIP +tech-subclass=Normal +tech-type=2 +usb-pid=8504 +usb-vid=3f0 +wifi-config=0 + +[officejet_6600] +align-type=17 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=6 +fw-download=False +icon=officejet_5600.png +io-mfp-mode=1 +io-mode=1 +io-support=10 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet 6600 e-All-in-One Printer - H711a +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=2 +r0-agent1-sku=932/932XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=933/933XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=933/933XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=933/933XL +r0-agent4-type=6 +scan-src=3 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 +status-type=2 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.4 +tech-class=Saipan +tech-subclass=Normal +tech-type=2 +usb-pid=5d12 +usb-vid=3f0 +wifi-config=3 + +[officejet_6700] +align-type=17 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=6 +fw-download=False +icon=officejet_5600.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet 6700 Premium e-All-in-One Printer-H711n +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=2 +r0-agent1-sku=932/932XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=933/933XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=933/933XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=933/933XL +r0-agent4-type=6 +scan-src=3 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=0 status-type=2 support-released=True support-subtype=219b2b support-type=2 -support-ver=0.9.5 -tech-class=DJGenericVIP -tech-subclass=Normal +support-ver=3.12.4 +tech-class=Saipan +tech-subclass=AutoDuplex tech-type=2 -usb-pid=8504 +usb-pid=5c12 usb-vid=3f0 -wifi-config=0 +wifi-config=3 [deskjet_6800] align-type=1 @@ -41729,7 +46221,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -41866,7 +46358,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -42007,7 +46499,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -42121,7 +46613,7 @@ r8-agent5-kind=2 r8-agent5-sku=155/155XL r8-agent5-type=16 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -42235,7 +46727,7 @@ r8-agent5-kind=2 r8-agent5-sku=155/155XL r8-agent5-type=16 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -42299,7 +46791,7 @@ r0-agent6-kind=1 r0-agent6-sku=14 (C4923A) r0-agent6-type=6 -scan-style=1 +scan-src=3 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -42435,7 +46927,7 @@ r8-agent6-kind=2 r8-agent6-sku=801 r8-agent6-type=8 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -42474,7 +46966,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -42513,7 +47005,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -42650,7 +47142,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -42783,7 +47275,7 @@ r8-agent6-kind=2 r8-agent6-sku=801 (C8775Z) r8-agent6-type=8 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=2 @@ -42799,6 +47291,57 @@ usb-vid=3f0 wifi-config=0 +[officejet_7110_series] +align-type=15 +clean-type=4 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=officejet_k550.png +io-mfp-mode=3 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet 7110 Wide Format ePrinter +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=2 +r0-agent1-sku=932/932XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=933/933XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=933/933XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=933/933XL +r0-agent4-type=6 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=2 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.13.2 +tech-class=Saipan +tech-subclass=Advanced +tech-type=2 +usb-pid=6012 +usb-vid=3f0 +wifi-config=3 + [photosmart_7150] align-type=1 clean-type=1 @@ -42833,7 +47376,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -42881,7 +47424,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -43014,7 +47557,7 @@ r8-agent6-kind=2 r8-agent6-sku=801 (C8775Z) r8-agent6-type=8 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=2 @@ -43065,7 +47608,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -43206,7 +47749,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -43233,7 +47776,7 @@ icon=Photosmart_3300_series.png io-mfp-mode=3 io-mode=1 -io-support=6 +io-support=14 job-storage=0 linefeed-cal-type=0 model1=HP Photosmart C7250 All-in-One Printer @@ -43339,7 +47882,7 @@ r8-agent6-kind=2 r8-agent6-sku=801 r8-agent6-type=8 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -43353,7 +47896,7 @@ tech-type=2 usb-pid=6511 usb-vid=3f0 -wifi-config=0 +wifi-config=1 [photosmart_7200_series] align-type=7 @@ -43390,7 +47933,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -43429,7 +47972,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -43468,7 +48011,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -43605,7 +48148,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -43663,7 +48206,7 @@ r0-agent6-kind=2 r0-agent6-sku=88 (C9386) / 88L (C9391) r0-agent6-type=4 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -43796,7 +48339,7 @@ r8-agent6-kind=2 r8-agent6-sku=801 (C8775Z) r8-agent6-type=8 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=2 @@ -43844,7 +48387,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -43894,7 +48437,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -43942,7 +48485,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -44080,7 +48623,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -44132,7 +48675,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -44263,7 +48806,7 @@ r8-agent6-kind=2 r8-agent6-sku=801 (C8775Z) r8-agent6-type=8 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=2 @@ -44320,7 +48863,7 @@ r0-agent6-kind=2 r0-agent6-sku=88 (C9386) / 88L (C9391) r0-agent6-type=4 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -44359,7 +48902,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -44375,105 +48918,6 @@ usb-vid=3f0 wifi-config=0 -[officejet_7500_e910] -align-type=15 -clean-type=1 -color-cal-type=0 -copy-type=0 -embedded-server-type=0 -fax-type=6 -fw-download=False -icon=officejet_k550.png -io-mfp-mode=1 -io-mode=1 -io-support=14 -job-storage=0 -linefeed-cal-type=0 -model1=HP Officejet 7500 E910 -monitor-type=0 -panel-check-type=0 -pcard-type=0 -plugin=0 -plugin-reason=0 -power-settings=0 -pq-diag-type=0 -r-type=1 -r0-agent1-kind=2 -r0-agent1-sku=564/564XL -r0-agent1-type=1 -r0-agent2-kind=2 -r0-agent2-sku=564/564XL -r0-agent2-type=4 -r0-agent3-kind=2 -r0-agent3-sku=564/564XL -r0-agent3-type=5 -r0-agent4-kind=2 -r0-agent4-sku=564/564XL -r0-agent4-type=6 -r1-agent1-kind=2 -r1-agent1-sku=564/564XL -r1-agent1-type=1 -r1-agent2-kind=2 -r1-agent2-sku=564/564XL -r1-agent2-type=4 -r1-agent3-kind=2 -r1-agent3-sku=564/564XL -r1-agent3-type=5 -r1-agent4-kind=2 -r1-agent4-sku=564/564XL -r1-agent4-type=6 -r2-agent1-kind=2 -r2-agent1-sku=364/364XL -r2-agent1-type=1 -r2-agent2-kind=2 -r2-agent2-sku=364/364XL -r2-agent2-type=4 -r2-agent3-kind=2 -r2-agent3-sku=364/364XL -r2-agent3-type=5 -r2-agent4-kind=2 -r2-agent4-sku=364/364XL -r2-agent4-type=6 -r4-agent1-kind=2 -r4-agent1-sku=178/178XL -r4-agent1-type=1 -r4-agent2-kind=2 -r4-agent2-sku=178/178XL -r4-agent2-type=4 -r4-agent3-kind=2 -r4-agent3-sku=178/178XL -r4-agent3-type=5 -r4-agent4-kind=2 -r4-agent4-sku=178/178XL -r4-agent4-type=6 -r8-agent1-kind=2 -r8-agent1-sku=862/862XL -r8-agent1-type=1 -r8-agent2-kind=2 -r8-agent2-sku=862/862XL -r8-agent2-type=4 -r8-agent3-kind=2 -r8-agent3-sku=862/862XL -r8-agent3-type=5 -r8-agent4-kind=2 -r8-agent4-sku=862/862XL -r8-agent4-type=6 -scan-style=0 -scan-type=7 -status-battery-check=0 -status-dynamic-counters=1 -status-type=10 -support-released=True -support-subtype=39a5 -support-type=2 -support-ver=3.10.9 -tech-class=OJ7000 -tech-subclass=LargeFormatA3,SmallMargins -tech-type=2 -usb-pid=4812 -usb-vid=3f0 -wifi-config=3 - [officejet_pro_l7500] align-type=12 clean-type=1 @@ -44519,7 +48963,7 @@ r0-agent6-kind=2 r0-agent6-sku=88 (C9386) / 88L (C9391) r0-agent6-type=4 -scan-style=1 +scan-src=1 scan-type=6 status-battery-check=0 status-dynamic-counters=0 @@ -44535,6 +48979,57 @@ usb-vid=3f0 wifi-config=0 +[officejet_7500_e910] +align-type=15 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=0 +fax-type=6 +fw-download=False +icon=officejet_k550.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP Officejet 7500 E910 +monitor-type=0 +panel-check-type=0 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=2 +r0-agent1-sku=920/920XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=920 +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=920 +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=920 +r0-agent4-type=6 +scan-src=3 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=1 +status-type=10 +support-released=True +support-subtype=39a5 +support-type=2 +support-ver=3.10.9 +tech-class=OJ7000 +tech-subclass=LargeFormatA3,SmallMargins +tech-type=2 +usb-pid=4812 +usb-vid=3f0 +wifi-config=3 + [photosmart_d7500_series] align-type=1 clean-type=1 @@ -44633,7 +49128,7 @@ r8-agent5-kind=2 r8-agent5-sku=808/808XL r8-agent5-type=16 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=2 @@ -44747,7 +49242,7 @@ r8-agent5-kind=2 r8-agent5-sku=862/862XL r8-agent5-type=19 -scan-style=3 +scan-src=3 scan-type=7 status-battery-check=0 status-dynamic-counters=2 @@ -44763,6 +49258,121 @@ usb-vid=3f0 wifi-config=0 +[photosmart_7520_series] +align-type=15 +clean-type=1 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=6 +fw-download=False +icon=Photosmart_C6100.png +io-mfp-mode=1 +io-mode=1 +io-support=14 +job-storage=0 +linefeed-cal-type=0 +model1=HP Photosmart 7520 e-All-in-One +model2=HP Photosmart 7525 e-All-in-One +monitor-type=0 +panel-check-type=1 +pcard-type=2 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=1 +r0-agent1-kind=2 +r0-agent1-sku=564/564XL +r0-agent1-type=1 +r0-agent2-kind=2 +r0-agent2-sku=564/564XL +r0-agent2-type=4 +r0-agent3-kind=2 +r0-agent3-sku=564/564XL +r0-agent3-type=5 +r0-agent4-kind=2 +r0-agent4-sku=564/564XL +r0-agent4-type=6 +r0-agent5-kind=2 +r0-agent5-sku=564/564XL +r0-agent5-type=19 +r1-agent1-kind=2 +r1-agent1-sku=564/564XL +r1-agent1-type=1 +r1-agent2-kind=2 +r1-agent2-sku=564/564XL +r1-agent2-type=4 +r1-agent3-kind=2 +r1-agent3-sku=564/564XL +r1-agent3-type=5 +r1-agent4-kind=2 +r1-agent4-sku=564/564XL +r1-agent4-type=6 +r1-agent5-kind=2 +r1-agent5-sku=564/564XL +r1-agent5-type=19 +r2-agent1-kind=2 +r2-agent1-sku=364/364XL +r2-agent1-type=1 +r2-agent2-kind=2 +r2-agent2-sku=364/364XL +r2-agent2-type=4 +r2-agent3-kind=2 +r2-agent3-sku=364/364XL +r2-agent3-type=5 +r2-agent4-kind=2 +r2-agent4-sku=364/364XL +r2-agent4-type=6 +r2-agent5-kind=2 +r2-agent5-sku=364/364XL +r2-agent5-type=19 +r4-agent1-kind=2 +r4-agent1-sku=178/178XL +r4-agent1-type=1 +r4-agent2-kind=2 +r4-agent2-sku=178/178XL +r4-agent2-type=4 +r4-agent3-kind=2 +r4-agent3-sku=178/178XL +r4-agent3-type=5 +r4-agent4-kind=2 +r4-agent4-sku=178/178XL +r4-agent4-type=6 +r4-agent5-kind=2 +r4-agent5-sku=178/178XL +r4-agent5-type=19 +r8-agent1-kind=2 +r8-agent1-sku=862/862XL +r8-agent1-type=1 +r8-agent2-kind=2 +r8-agent2-sku=862/862XL +r8-agent2-type=4 +r8-agent3-kind=2 +r8-agent3-sku=862/862XL +r8-agent3-type=5 +r8-agent4-kind=2 +r8-agent4-sku=862/862XL +r8-agent4-type=6 +r8-agent5-kind=2 +r8-agent5-sku=862/862XL +r8-agent5-type=19 +scan-src=3 +scan-type=7 +status-battery-check=0 +status-dynamic-counters=2 +status-type=10 +support-released=True +support-subtype=219b2b +support-type=2 +support-ver=3.12.9 +tech-class=Python11 +tech-subclass=Advanced +tech-type=2 +usb-pid=bc11 +usb-vid=3f0 +wifi-config=3 + [hp_7550] align-type=0 clean-type=0 @@ -44787,7 +49397,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -44837,7 +49447,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -44877,7 +49487,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -44917,7 +49527,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -44956,7 +49566,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -45016,7 +49626,7 @@ r0-agent6-kind=2 r0-agent6-sku=88 (C9386) / 88L (C9391) r0-agent6-type=4 -scan-style=1 +scan-src=1 scan-type=6 status-battery-check=0 status-dynamic-counters=0 @@ -45068,7 +49678,7 @@ r0-agent4-kind=3 r0-agent4-sku=59 (C9359A) r0-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -45128,7 +49738,7 @@ r0-agent6-kind=2 r0-agent6-sku=88 (C9386) / 88L (C9391) r0-agent6-type=4 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -45186,7 +49796,7 @@ r0-agent4-kind=3 r0-agent4-sku=59 (C9359A) r0-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -45326,7 +49936,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -45380,7 +49990,7 @@ r0-agent4-kind=3 r0-agent4-sku=59 (C9359A) r0-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -45422,7 +50032,7 @@ r0-agent1-kind=4 r0-agent1-sku=C3909A/C3909X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -45473,7 +50083,7 @@ r0-agent4-kind=2 r0-agent4-sku=C4907A r0-agent4-type=4 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -45525,7 +50135,7 @@ r0-agent4-kind=2 r0-agent4-sku=940 r0-agent4-type=4 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -45539,7 +50149,7 @@ tech-type=2 usb-pid=3612 usb-vid=3f0 -wifi-config=0 +wifi-config=1 [hp_laserjet_8000] align-type=0 @@ -45569,7 +50179,7 @@ r0-agent1-kind=4 r0-agent1-sku=C3909A/C3909X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -45710,7 +50320,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -45749,7 +50359,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -45788,7 +50398,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -45830,7 +50440,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4128X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -45881,7 +50491,7 @@ r0-agent4-kind=2 r0-agent4-sku=951 r0-agent4-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -45895,7 +50505,7 @@ tech-type=2 usb-pid=5b12 usb-vid=3f0 -wifi-config=0 +wifi-config=3 [photosmart_c8100_series] align-type=1 @@ -46013,7 +50623,7 @@ r8-agent6-kind=2 r8-agent6-sku=801 r8-agent6-type=8 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=1 @@ -46152,7 +50762,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -46196,7 +50806,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4128X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -46241,7 +50851,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4128X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -46283,7 +50893,7 @@ r0-agent1-kind=4 r0-agent1-sku=C4128X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -46471,7 +51081,7 @@ r7-agent6-kind=2 r7-agent6-sku=801 (C8775Z) r7-agent6-type=8 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=2 @@ -46573,7 +51183,7 @@ r8-agent4-kind=3 r8-agent4-sku=100/102 r8-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -46713,7 +51323,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -46729,7 +51339,7 @@ usb-vid=3f0 wifi-config=0 -[officejet_pro_8500_a909g] +[officejet_pro_8500_a909a] align-type=1 clean-type=1 color-cal-type=0 @@ -46740,10 +51350,10 @@ icon=officejet_k550.png io-mfp-mode=3 io-mode=1 -io-support=14 +io-support=6 job-storage=0 linefeed-cal-type=0 -model1=HP Officejet Pro 8500 Wireless All-in-One Printer - A909g +model1=HP Officejet Pro 8500 All-in-One Printer - A909a monitor-type=0 panel-check-type=1 pcard-type=2 @@ -46764,7 +51374,7 @@ r0-agent4-kind=2 r0-agent4-sku=940 r0-agent4-type=4 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -46776,11 +51386,11 @@ tech-class=Corbett tech-subclass=Normal tech-type=2 -usb-pid=3912 +usb-pid=3812 usb-vid=3f0 wifi-config=0 -[officejet_pro_8500_a909a] +[officejet_pro_8500_a909n] align-type=1 clean-type=1 color-cal-type=0 @@ -46791,10 +51401,10 @@ icon=officejet_k550.png io-mfp-mode=3 io-mode=1 -io-support=6 +io-support=14 job-storage=0 linefeed-cal-type=0 -model1=HP Officejet Pro 8500 All-in-One Printer - A909a +model1=HP Officejet Pro 8500 Premier All-in-One Printer - A909n monitor-type=0 panel-check-type=1 pcard-type=2 @@ -46815,8 +51425,8 @@ r0-agent4-kind=2 r0-agent4-sku=940 r0-agent4-type=4 -scan-style=1 -scan-type=1 +scan-src=1 +scan-type=6 status-battery-check=0 status-dynamic-counters=0 status-type=2 @@ -46827,11 +51437,11 @@ tech-class=Corbett tech-subclass=Normal tech-type=2 -usb-pid=3812 +usb-pid=4012 usb-vid=3f0 -wifi-config=0 +wifi-config=3 -[officejet_pro_8500_a909n] +[officejet_pro_8500_a909g] align-type=1 clean-type=1 color-cal-type=0 @@ -46845,7 +51455,7 @@ io-support=14 job-storage=0 linefeed-cal-type=0 -model1=HP Officejet Pro 8500 Premier All-in-One Printer - A909n +model1=HP Officejet Pro 8500 Wireless All-in-One Printer - A909g monitor-type=0 panel-check-type=1 pcard-type=2 @@ -46866,8 +51476,8 @@ r0-agent4-kind=2 r0-agent4-sku=940 r0-agent4-type=4 -scan-style=1 -scan-type=6 +scan-src=1 +scan-type=1 status-battery-check=0 status-dynamic-counters=0 status-type=2 @@ -46878,71 +51488,9 @@ tech-class=Corbett tech-subclass=Normal tech-type=2 -usb-pid=4012 -usb-vid=3f0 -wifi-config=0 - -[hp_color_laserjet_8500] -align-type=0 -clean-type=0 -color-cal-type=0 -copy-type=0 -embedded-server-type=1 -fax-type=0 -fw-download=False -icon=HP_Color_LaserJet_8550.png -io-mfp-mode=6 -io-mode=1 -io-support=2 -job-storage=0 -linefeed-cal-type=0 -model1=HP Color LaserJet 8500 Printer -model2=HP Color LaserJet 8500n Printer -model3=HP Color LaserJet 8500dn Printer -monitor-type=0 -panel-check-type=1 -pcard-type=0 -plugin=0 -plugin-reason=0 -power-settings=0 -pq-diag-type=0 -r-type=0 -r0-agent1-kind=4 -r0-agent1-sku=49 (C4149A) -r0-agent1-type=1 -r0-agent2-kind=4 -r0-agent2-sku=50 (C4150A) -r0-agent2-type=4 -r0-agent3-kind=4 -r0-agent3-sku=51 (C4151A) -r0-agent3-type=5 -r0-agent4-kind=4 -r0-agent4-sku=52 (C4152A) -r0-agent4-type=6 -r0-agent5-kind=7 -r0-agent5-sku=53 (C4153A) -r0-agent5-type=62 -r0-agent6-kind=8 -r0-agent6-sku=54 (C4154A) -r0-agent6-type=62 -r0-agent7-kind=5 -r0-agent7-sku=55 (C4155A) -r0-agent7-type=62 -scan-style=0 -scan-type=0 -status-battery-check=0 -status-dynamic-counters=0 -status-type=3 -support-released=True -support-subtype=32e3 -support-type=2 -support-ver=0.9.5 -tech-class=LJColor,Postscript -tech-subclass=LargeFormatA3 -tech-type=4 -usb-pid=0 +usb-pid=3912 usb-vid=3f0 -wifi-config=0 +wifi-config=3 [photosmart_b8500_series] align-type=1 @@ -47044,7 +51592,7 @@ r8-agent5-kind=2 r8-agent5-sku=178/178XL r8-agent5-type=16 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -47061,7 +51609,7 @@ wifi-config=0 [officejet_pro_8500_a910] -align-type=1 +align-type=15 clean-type=1 color-cal-type=0 copy-type=0 @@ -47097,11 +51645,11 @@ r0-agent4-kind=2 r0-agent4-sku=940 r0-agent4-type=4 -scan-style=0 +scan-src=3 scan-type=7 status-battery-check=0 status-dynamic-counters=0 -status-type=2 +status-type=10 support-released=True support-subtype=219b2b support-type=2 @@ -47111,7 +51659,69 @@ tech-type=2 usb-pid=5312 usb-vid=3f0 -wifi-config=1 +wifi-config=3 + +[hp_color_laserjet_8500] +align-type=0 +clean-type=0 +color-cal-type=0 +copy-type=0 +embedded-server-type=1 +fax-type=0 +fw-download=False +icon=HP_Color_LaserJet_8550.png +io-mfp-mode=6 +io-mode=1 +io-support=2 +job-storage=0 +linefeed-cal-type=0 +model1=HP Color LaserJet 8500 Printer +model2=HP Color LaserJet 8500n Printer +model3=HP Color LaserJet 8500dn Printer +monitor-type=0 +panel-check-type=1 +pcard-type=0 +plugin=0 +plugin-reason=0 +power-settings=0 +pq-diag-type=0 +r-type=0 +r0-agent1-kind=4 +r0-agent1-sku=49 (C4149A) +r0-agent1-type=1 +r0-agent2-kind=4 +r0-agent2-sku=50 (C4150A) +r0-agent2-type=4 +r0-agent3-kind=4 +r0-agent3-sku=51 (C4151A) +r0-agent3-type=5 +r0-agent4-kind=4 +r0-agent4-sku=52 (C4152A) +r0-agent4-type=6 +r0-agent5-kind=7 +r0-agent5-sku=53 (C4153A) +r0-agent5-type=62 +r0-agent6-kind=8 +r0-agent6-sku=54 (C4154A) +r0-agent6-type=62 +r0-agent7-kind=5 +r0-agent7-sku=55 (C4155A) +r0-agent7-type=62 +scan-src=0 +scan-type=0 +status-battery-check=0 +status-dynamic-counters=0 +status-type=3 +support-released=True +support-subtype=32e3 +support-type=2 +support-ver=0.9.5 +tech-class=LJColor,Postscript +tech-subclass=LargeFormatA3 +tech-type=4 +usb-pid=0 +usb-vid=3f0 +wifi-config=0 [hp_color_laserjet_8550] align-type=0 @@ -47162,7 +51772,7 @@ r0-agent7-kind=5 r0-agent7-sku=55 (C4155A) r0-agent7-type=62 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -47220,7 +51830,7 @@ r0-agent6-kind=2 r0-agent6-sku=88 (C9386) / 88L (C9391) r0-agent6-type=4 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -47234,7 +51844,7 @@ tech-type=2 usb-pid=2712 usb-vid=3f0 -wifi-config=0 +wifi-config=3 [officejet_pro_8600] align-type=0 @@ -47273,7 +51883,7 @@ r0-agent4-sku=951 r0-agent4-type=6 r0-agent5-kind=2 -scan-style=3 +scan-src=3 scan-type=7 status-battery-check=0 status-dynamic-counters=0 @@ -47287,7 +51897,7 @@ tech-type=2 usb-pid=5912 usb-vid=3f0 -wifi-config=0 +wifi-config=3 [photosmart_8700_series] align-type=1 @@ -47436,7 +52046,7 @@ r7-agent5-kind=3 r7-agent5-sku=101 r7-agent5-type=11 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -47511,7 +52121,7 @@ r0-agent9-kind=2 r0-agent9-sku=HP 38 (C9416A) r0-agent9-type=5 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -47557,7 +52167,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8543X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -47600,7 +52210,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8543X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -47644,7 +52254,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8543X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -47688,7 +52298,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8543X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -47716,7 +52326,7 @@ io-mfp-mode=6 io-mode=1 io-support=6 -job-storage=0 +job-storage=1 linefeed-cal-type=0 model1=HP LaserJet M9040 Multifunction Printer monitor-type=0 @@ -47730,7 +52340,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8543X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -47774,7 +52384,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8543X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -47802,7 +52412,7 @@ io-mfp-mode=6 io-mode=1 io-support=6 -job-storage=0 +job-storage=1 linefeed-cal-type=0 model1=HP LaserJet 9050 Multifunction Printer monitor-type=0 @@ -47816,7 +52426,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8543X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -47859,7 +52469,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8543X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -47901,7 +52511,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8543X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -47943,7 +52553,7 @@ r0-agent1-kind=4 r0-agent1-sku=CE266C r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -47985,7 +52595,7 @@ r0-agent1-kind=4 r0-agent1-sku=C8543X r0-agent1-type=1 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -48050,7 +52660,7 @@ r0-agent8-kind=2 r0-agent8-sku=11 (C4838AN) r0-agent8-type=6 -scan-style=1 +scan-src=1 scan-type=1 status-battery-check=0 status-dynamic-counters=0 @@ -48126,7 +52736,7 @@ r0-agent9-kind=2 r0-agent9-sku=C9416A r0-agent9-type=5 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -48171,7 +52781,7 @@ r0-agent2-kind=3 r0-agent2-sku=78 (C6578AN / C6578DN) r0-agent2-type=2 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -48237,7 +52847,7 @@ r0-agent8-kind=7 r0-agent8-sku=62 (C8562A) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -48300,7 +52910,7 @@ r0-agent8-kind=7 r0-agent8-sku=62 (C8562A) r0-agent8-type=6 -scan-style=0 +scan-src=0 scan-type=-2 status-battery-check=0 status-dynamic-counters=0 @@ -48351,7 +52961,7 @@ r0-agent3-kind=3 r0-agent3-sku=58 (C6658A) r0-agent3-type=3 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -48493,7 +53103,7 @@ r7-agent4-kind=3 r7-agent4-sku=100 (C9368AN) r7-agent4-type=10 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=1 @@ -48532,7 +53142,7 @@ power-settings=0 pq-diag-type=0 r-type=0 -scan-style=0 +scan-src=0 scan-type=0 status-battery-check=0 status-dynamic-counters=0 @@ -48571,6 +53181,7 @@ # 14 : LIDIL DJ D1600 # 15 : Low End Data Model (automatic and semiautomatic) # 16 : Low End Data Model (manual) +# 17 : Low End Data Model via ff/cc/o channel # # # clean-type @@ -48582,6 +53193,7 @@ # 1 : PCL (w/o printout, standard) # 2 : LIDIL # 3 : PCL (w/printout, non-standard) +# 4 : LEDM Clean # # # color-cal-type @@ -48782,14 +53394,14 @@ # 2 : OJ Pro L7xxx # # -# scan-style -# ---------- +# scan-src +# -------- # Scan paper path # (TYPE_INT) # 0 : None or n/a # 1 : Flatbed -# 2 : Scrollfed -# 3 : Both +# 2 : Adf +# 4 : Camera # # # scan-type @@ -48843,6 +53455,7 @@ # 8 : PJL only over print channel # 9 : PML + PJL over print channel # 10 : Low End Data Model +# 11 : Low End Data Model via FF/CC/0 channel # # # support-released @@ -48883,6 +53496,7 @@ # AP2xxx # Ampere # Copperhead +# Copperhead12 # Corbett # DJ3320 # DJ350 @@ -48901,6 +53515,8 @@ # DJ9xx # DJ9xxVIP # DJGenericVIP +# Hbpl1 +# Kapan # LJColor # LJFastRaster # LJJetReady @@ -48910,16 +53526,19 @@ # LJZjsMono # LJm1005 # Mimas +# MimasTDR # OJ7000 # OJProKx50 # PSP100 # PSP470 # Postscript # Pyramid +# PyramidPlus # Python # Python10 # Python11 # QuickConnect +# Saipan # Stabler # StingrayOJ # Undefined @@ -48942,12 +53561,15 @@ # Apollo2200 # Apollo2500 # AutoDuplex +# Color # CoverMedia # Duplex # FullBleed # GrayscaleOnly +# K10 # LargeFormatA3 # LargeFormatSuperB +# Mono # No1200dpiNoSensor # NoAutoDuplex # NoAutoTray diff -Nru hplip-3.12.2/data/rules/40-hplip_sysfs.rules hplip-3.13.4/data/rules/40-hplip_sysfs.rules --- hplip-3.12.2/data/rules/40-hplip_sysfs.rules 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/data/rules/40-hplip_sysfs.rules 2013-04-08 09:57:05.000000000 +0000 @@ -0,0 +1,138 @@ +# HPLIP udev rules file for HP printer and all-in-one products. +# +# The 40-hplip.rules file replaces the 55-hpmud.rules on newer distros with udev ACL support. +# For older distros that use HAL ACL support use the 55-hpmud.rules. +# + +ACTION!="add", GOTO="hpmud_rules_end" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="pid_test" +SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end" + +LABEL="pid_test" + +# Check for AiO products (0x03f0xx11). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??11", GROUP="lp", ENV{ID_HPLIP}="1" + +# Check for Photosmart products without wildcard since cameras and scanners also used (0x03f0xx02). +# The xx02 pid has been retired so this explicit list should not change. +# photosmart_d2300_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c302", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_100 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3802", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_1115 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3402", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_1215 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3202", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_1218 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3302", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_130 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3902", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_1315 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3602", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_140_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1002", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_230 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3502", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_240_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1102", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_320_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1202", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_330_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1602", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_370_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1302", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_380_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1702", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_420_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1502", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_470_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1802", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_7150 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3a02", GROUP="lp", ENV{ID_HPLIP}="1" +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3b02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_7200_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b002", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_7345 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2002", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_7350 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3c02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_7400_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b802", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_7550 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3e02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_7600_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b202", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_7700_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b402", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_7800_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c002", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_7900_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b602", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_8000_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c102", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_8100_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="ba02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_8200_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c202", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_8400_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="bb02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_8700_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="bc02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_a310_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1d02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_a320_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1e02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_a430_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1902", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_a440_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1f02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_a510_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1a02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_a520_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2602", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_a530_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2b02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_a610_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1b02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_a620_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2702", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_a630_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2c02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_a710_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1c02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_a820_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2902", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_d5060_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c802", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_d5100_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c402", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_d6100_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c502", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_d7100_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c602", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_d7300_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c702", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_pro_b8300_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="be02", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_b8800_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="d002", GROUP="lp", ENV{ID_HPLIP}="1" +# photosmart_pro_b9100_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="bd02", GROUP="lp", ENV{ID_HPLIP}="1" +# Photosmart_B8500_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="d102", GROUP="lp", ENV{ID_HPLIP}="1" +# Photosmart_A640_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="7902", GROUP="lp", ENV{ID_HPLIP}="1" + +# Check for Business Inkjet products (0x03f0xx12). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??12", GROUP="lp", ENV{ID_HPLIP}="1" +# Check for Deskjet products (0x03f0xx04). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??04", GROUP="lp", ENV{ID_HPLIP}="1" +# Check for LaserJet products (0x03f0xx17). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", GROUP="lp", ENV{ID_HPLIP}="1" +# Check for LaserJet products (0x03f0xx2a). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??2a", GROUP="lp", ENV{ID_HPLIP}="1" +# Check for DesignJet product (0x03f0xx14). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??14", GROUP="lp", ENV{ID_HPLIP}="1" + +LABEL="hpmud_rules_end" + diff -Nru hplip-3.12.2/data/rules/55-hpmud.rules hplip-3.13.4/data/rules/55-hpmud.rules --- hplip-3.12.2/data/rules/55-hpmud.rules 2012-02-01 11:53:14.000000000 +0000 +++ hplip-3.13.4/data/rules/55-hpmud.rules 2013-04-08 09:57:05.000000000 +0000 @@ -6,9 +6,9 @@ # "Writing udev rules" Ver 0.74, Daniel Drake. Although it seems 50-udev.rules is no longer used I continue to reuse "55-" # name for backward compatibility with older distros. 2/11/2009, D Suffield # -# 2. It seems SFSFS has been replaced or depreciated by ATTR/ATTRS, but I continue to use SFSFS in order to be compatible with -# older distros. SFSFS was defined in "Writing udev rules" Ver 0.72, Daniel Drake. 2/11/2009, D Suffield -# +# 2. As SYSFS has been replaced or depreciated by ATTR/ATTRS, changed from SYSFS to ATTR/ATTRS. +# If older distros doesn't support ATTR/ATTRS, please relace ATTRS/ATTR with SYSFS keyword. +# # 3. This rules file is an attempt at being compatable with all distros. Feel free to make your own changes and if you feel your # changes are not distro specific please send your patch to us. 2/11/2009, D Suffield # diff -Nru hplip-3.12.2/data/rules/55-hpmud_sysfs.rules hplip-3.13.4/data/rules/55-hpmud_sysfs.rules --- hplip-3.12.2/data/rules/55-hpmud_sysfs.rules 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/data/rules/55-hpmud_sysfs.rules 2013-04-08 09:57:05.000000000 +0000 @@ -0,0 +1,153 @@ +# HPLIP udev rules file for HP printer and all-in-one products. +# +# Notes for downstream implementers. +# +# 1. The 55-hpmud.rules name was chosen in order to run after the default udev rule /etc/udev/rules.d/50-udev.rules. See +# "Writing udev rules" Ver 0.74, Daniel Drake. Although it seems 50-udev.rules is no longer used I continue to reuse "55-" +# name for backward compatibility with older distros. 2/11/2009, D Suffield +# +# 2. It seems SFSFS has been replaced or depreciated by ATTR/ATTRS, but I continue to use SYSFS in order to be compatible with +# older distros. SYSFS was defined in "Writing udev rules" Ver 0.72, Daniel Drake. 2/11/2009, D Suffield +# +# 3. This rules file is an attempt at being compatable with all distros. Feel free to make your own changes and if you feel your +# changes are not distro specific please send your patch to us. 2/11/2009, D Suffield +# + +ACTION!="add", GOTO="hpmud_rules_end" +SUBSYSTEM=="ppdev", OWNER="root", GROUP="lp", MODE="0660" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="hplip_pid_test" +SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end" + +LABEL="hplip_pid_test" + +# Check for AiO products (0x03f0xx11). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??11", OWNER="root", GROUP="lp", MODE="660" + +# Check for Photosmart products without wildcard since cameras and scanners also used (0x03f0xx02). +# The xx02 pid has been retired so this explicit list should not change. +# photosmart_d2300_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c302", OWNER="root", GROUP="lp", MODE="660" +# photosmart_100 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3802", OWNER="root", GROUP="lp", MODE="660" +# photosmart_1115 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3402", OWNER="root", GROUP="lp", MODE="660" +# photosmart_1215 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3202", OWNER="root", GROUP="lp", MODE="660" +# photosmart_1218 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3302", OWNER="root", GROUP="lp", MODE="660" +# photosmart_130 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3902", OWNER="root", GROUP="lp", MODE="660" +# photosmart_1315 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3602", OWNER="root", GROUP="lp", MODE="660" +# photosmart_140_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1002", OWNER="root", GROUP="lp", MODE="660" +# photosmart_230 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3502", OWNER="root", GROUP="lp", MODE="660" +# photosmart_240_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1102", OWNER="root", GROUP="lp", MODE="660" +# photosmart_320_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1202", OWNER="root", GROUP="lp", MODE="660" +# photosmart_330_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1602", OWNER="root", GROUP="lp", MODE="660" +# photosmart_370_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1302", OWNER="root", GROUP="lp", MODE="660" +# photosmart_380_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1702", OWNER="root", GROUP="lp", MODE="660" +# photosmart_420_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1502", OWNER="root", GROUP="lp", MODE="660" +# photosmart_470_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1802", OWNER="root", GROUP="lp", MODE="660" +# photosmart_7150 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3a02", OWNER="root", GROUP="lp", MODE="660" +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3b02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_7200_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b002", OWNER="root", GROUP="lp", MODE="660" +# photosmart_7345 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2002", OWNER="root", GROUP="lp", MODE="660" +# photosmart_7350 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3c02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_7400_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b802", OWNER="root", GROUP="lp", MODE="660" +# photosmart_7550 +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3e02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_7600_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b202", OWNER="root", GROUP="lp", MODE="660" +# photosmart_7700_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b402", OWNER="root", GROUP="lp", MODE="660" +# photosmart_7800_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c002", OWNER="root", GROUP="lp", MODE="660" +# photosmart_7900_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b602", OWNER="root", GROUP="lp", MODE="660" +# photosmart_8000_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c102", OWNER="root", GROUP="lp", MODE="660" +# photosmart_8100_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="ba02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_8200_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c202", OWNER="root", GROUP="lp", MODE="660" +# photosmart_8400_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="bb02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_8700_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="bc02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_a310_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1d02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_a320_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1e02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_a430_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1902", OWNER="root", GROUP="lp", MODE="660" +# photosmart_a440_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1f02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_a510_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1a02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_a520_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2602", OWNER="root", GROUP="lp", MODE="660" +# photosmart_a530_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2b02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_a610_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1b02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_a620_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2702", OWNER="root", GROUP="lp", MODE="660" +# photosmart_a630_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2c02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_a710_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1c02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_a820_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2902", OWNER="root", GROUP="lp", MODE="660" +# photosmart_d5060_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c802", OWNER="root", GROUP="lp", MODE="660" +# photosmart_d5100_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c402", OWNER="root", GROUP="lp", MODE="660" +# photosmart_d6100_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c502", OWNER="root", GROUP="lp", MODE="660" +# photosmart_d7100_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c602", OWNER="root", GROUP="lp", MODE="660" +# photosmart_d7300_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c702", OWNER="root", GROUP="lp", MODE="660" +# photosmart_pro_b8300_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="be02", OWNER="root", GROUP="lp", MODE="660" +# photosmart_b8800_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="d002", OWNER="root", GROUP="lp", MODE="660" +# photosmart_pro_b9100_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="bd02", OWNER="root", GROUP="lp", MODE="660" +# Photosmart_B8500_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="d102", OWNER="root", GROUP="lp", MODE="660" +# Photosmart_A640_series +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="7902", OWNER="root", GROUP="lp", MODE="660" + +# Check for Business Inkjet products (0x03f0xx12). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??12", OWNER="root", GROUP="lp", MODE="660" +# Check for Deskjet products (0x03f0xx04). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??04", OWNER="root", GROUP="lp", MODE="660" +# Check for LaserJet products (0x03f0xx17). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", OWNER="root", GROUP="lp", MODE="660" +# Check for LaserJet products (0x03f0xx2a). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??2a", OWNER="root", GROUP="lp", MODE="660" +# Check for DesignJet product (0x03f0xx14). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??14", OWNER="root", GROUP="lp", MODE="660" + +# Removed the following rule because FHS states that /etc should be reserved for static files only. This +# functionality should be done in a deb/rpm post install script. 2/11/2009, D Suffield +# +# If sane-bankends is installed add hpaio backend support to dll.conf if needed. +# ENV{sane_hpaio}=="yes", RUN+="/bin/sh -c 'grep -q ^#hpaio /etc/sane.d/dll.conf;if [ $$? -eq 0 ];then sed -i -e s/^#hpaio/hpaio/ /etc/sane.d/dll.conf;else grep -q ^hpaio /etc/sane.d/dll.conf;if [ $$? -ne 0 ];then echo hpaio >>/etc/sane.d/dll.conf;fi;fi'" + +LABEL="hpmud_rules_end" diff -Nru hplip-3.12.2/data/rules/56-hpmud_add_printer.rules hplip-3.13.4/data/rules/56-hpmud_add_printer.rules --- hplip-3.12.2/data/rules/56-hpmud_add_printer.rules 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/data/rules/56-hpmud_add_printer.rules 2013-04-08 09:57:05.000000000 +0000 @@ -0,0 +1,11 @@ +# Load hp firmware for this printer. + +ACTION!="add", GOTO="hpmud_rules_end" + +#Check and add printer for Suse 10.3 distro +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="????", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM} &'" + +#Check and add printer +SUBSYSTEM=="usb_device", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="????", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; logger -p user.info loading HP Device $$B $$D; printf %%03i:%%03i $$B $$D'", RUN+="/bin/sh -c '/usr/bin/hp-config_usb_printer %c &'" + +LABEL="hpmud_rules_end" diff -Nru hplip-3.12.2/data/rules/56-hpmud_add_printer_sysfs.rules hplip-3.13.4/data/rules/56-hpmud_add_printer_sysfs.rules --- hplip-3.12.2/data/rules/56-hpmud_add_printer_sysfs.rules 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/data/rules/56-hpmud_add_printer_sysfs.rules 2013-04-08 09:57:05.000000000 +0000 @@ -0,0 +1,11 @@ +# Load hp firmware for this printer. + +ACTION!="add", GOTO="hpmud_rules_end" + +#Check and add printer for Suse 10.3 distro +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="????", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM} &'" + +#Check and add printer +SUBSYSTEM=="usb_device", SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="????", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; logger -p user.info loading HP Device $$B $$D; printf %%03i:%%03i $$B $$D'", RUN+="/bin/sh -c '/usr/bin/hp-config_usb_printer %c &'" + +LABEL="hpmud_rules_end" diff -Nru hplip-3.12.2/data/rules/56-hpmud_support_sysfs.rules hplip-3.13.4/data/rules/56-hpmud_support_sysfs.rules --- hplip-3.12.2/data/rules/56-hpmud_support_sysfs.rules 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/data/rules/56-hpmud_support_sysfs.rules 2013-04-08 09:57:05.000000000 +0000 @@ -0,0 +1,15 @@ +# HPLIP udev rules file. Notify console user if plugin support is required for this device. + +ACTION!="add", GOTO="hpmud_rules_end" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="pid_test" +SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end" + +LABEL="pid_test" + +# Check for LaserJet products (0x03f0xx17). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", ENV{hp_model}="$SYSFS{product}", ENV{hp_test}="yes" +# Check for LaserJet products (0x03f0xx2a). +SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??2a", ENV{hp_model}="$SYSFS{product}", ENV{hp_test}="yes" +ENV{hp_test}=="yes", RUN+="/bin/sh -c '/usr/bin/hp-mkuri -c &'" + +LABEL="hpmud_rules_end" diff -Nru hplip-3.12.2/data/rules/86-hpmud_plugin.rules hplip-3.13.4/data/rules/86-hpmud_plugin.rules --- hplip-3.12.2/data/rules/86-hpmud_plugin.rules 2012-02-01 11:53:14.000000000 +0000 +++ hplip-3.13.4/data/rules/86-hpmud_plugin.rules 2013-04-08 09:57:05.000000000 +0000 @@ -2,8 +2,12 @@ ACTION!="add", GOTO="hpmud_rules_end" +#Check and add printer for Suse 10.3 distro # hp_Marvel_Device (These printer requires the plugin files. installling when device is detected) -SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17", PROGRAM="/bin/sh -c 'logger -p user.info loading hp_printer_device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/hp-check-plugin -m &'" -SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??2a", PROGRAM="/bin/sh -c 'logger -p user.info loading hp_printer_device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/hp-check-plugin -m &'" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17", PROGRAM="/bin/sh -c 'logger -p user.info loading hp_printer_device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/python /usr/share/hplip/check-plugin.py -m $env{BUSNUM}:$env{DEVNUM} &'" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??2a", PROGRAM="/bin/sh -c 'logger -p user.info loading hp_printer_device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/python /usr/share/hplip/check-plugin.py -m $env{BUSNUM}:$env{DEVNUM}&'" +#Check and add printer for other distros +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; logger -p user.info loading HP Device $$B $$D; printf %%03i:%%03i $$B $$D'", RUN+="/bin/sh -c '/usr/bin/python /usr/share/hplip/check-plugin.py -m %c &'" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??2a", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; logger -p user.info loading HP Device $$B $$D; printf %%03i:%%03i $$B $$D'", RUN+="/bin/sh -c '/usr/bin/python /usr/share/hplip/check-plugin.py -m %c &'" LABEL="hpmud_rules_end" diff -Nru hplip-3.12.2/data/rules/86-hpmud_plugin_sysfs.rules hplip-3.13.4/data/rules/86-hpmud_plugin_sysfs.rules --- hplip-3.12.2/data/rules/86-hpmud_plugin_sysfs.rules 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/data/rules/86-hpmud_plugin_sysfs.rules 2013-04-08 09:57:05.000000000 +0000 @@ -0,0 +1,13 @@ +# Load hp firmware for this printer. + +ACTION!="add", GOTO="hpmud_rules_end" + +#Check and add printer for Suse 10.3 distro +# hp_Marvel_Device (These printer requires the plugin files. installling when device is detected) +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", PROGRAM="/bin/sh -c 'logger -p user.info loading hp_printer_device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/python /usr/share/hplip/check-plugin.py -m $env{BUSNUM}:$env{DEVNUM} &'" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??2a", PROGRAM="/bin/sh -c 'logger -p user.info loading hp_printer_device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/python /usr/share/hplip/check-plugin.py -m $env{BUSNUM}:$env{DEVNUM}&'" + +#Check and add printer for other distros +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; logger -p user.info loading HP Device $$B $$D; printf %%03i:%%03i $$B $$D'", RUN+="/bin/sh -c '/usr/bin/python /usr/share/hplip/check-plugin.py -m %c &'" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??2a", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; logger -p user.info loading HP Device $$B $$D; printf %%03i:%%03i $$B $$D'", RUN+="/bin/sh -c '/usr/bin/python /usr/share/hplip/check-plugin.py -m %c &'" +LABEL="hpmud_rules_end" diff -Nru hplip-3.12.2/data/rules/hplip_cron hplip-3.13.4/data/rules/hplip_cron --- hplip-3.12.2/data/rules/hplip_cron 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/data/rules/hplip_cron 2013-04-08 09:57:05.000000000 +0000 @@ -0,0 +1,36 @@ +#!/bin/sh + +LC_ALL=C +LANG=C + +LOG_DIR=/var/log/hp/tmp/ + +# Default for number of days to keep old log files in /var/log/hp/tmp +LOGFILE_DAYS=1 +MAXSIZE=1048576 # 1 GB + +# Clears the logs which are less than 3 days. +if [ -d $LOG_DIR ]; then + find $LOG_DIR -type f -mtime +$LOGFILE_DAYS -print0 2>/dev/null | xargs -r -0 rm -rf +else + mkdir -p $LOG_DIR + chgrp "lp" -R $LOG_DIR + chmod 1774 $LOG_DIR +fi + +USAGE=`du -c $LOG_DIR 2>/dev/null |grep total |cut -d't' -f1` + +# Clears the logs if size is greater that specificed limit +while [ $USAGE -gt $MAXSIZE ]; do + + # changing the user specified LOGFILE_DAYS days to 1 days lesser. + LOGFILE_DAYS=`expr $LOGFILE_DAYS "-" 1` + + # If same day logs are reaching Max size, deleting all log files. + if [ $LOGFILE_DAYS -eq 0 ]; then + find $LOG_DIR -type f -print0 2>/dev/null | xargs -r -0 rm -rf + else + find $LOG_DIR -type f -mtime +$LOGFILE_DAYS -print0 2>/dev/null | xargs -r -0 rm -rf + fi + USAGE=`du -c $LOG_DIR 2>/dev/null |grep total |cut -d't' -f1` +done diff -Nru hplip-3.12.2/debian/bug-script hplip-3.13.4/debian/bug-script --- hplip-3.12.2/debian/bug-script 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/bug-script 2012-10-27 05:17:37.000000000 +0000 @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/bash -e echo while true; do read -p "Do you wish to include your system configuration with this report (hp-check -r)? " yn diff -Nru hplip-3.12.2/debian/changelog hplip-3.13.4/debian/changelog --- hplip-3.12.2/debian/changelog 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/changelog 2013-08-03 10:17:23.000000000 +0000 @@ -1,3 +1,217 @@ +hplip (3.13.4-1build1~ubuntu12.04.1~ppa1) precise; urgency=low + + * No-change backport to precise + + -- Rohan Garg Sat, 03 Aug 2013 15:47:23 +0530 + +hplip (3.13.4-1build1) saucy; urgency=low + + * Rebuild for libsnmp30. + + -- Colin Watson Mon, 20 May 2013 00:21:27 +0100 + +hplip (3.13.4-1) unstable; urgency=low + + * New upstream release + * Removed "KDE from long description." (Closes: #706269) + * Clarified "[hpijs] short description" (Closes: #706057) + + -- Mark Purcell Sun, 05 May 2013 21:09:24 +1000 + +hplip (3.13.3-1) experimental; urgency=low + + * New Upstream Release + - Fixes CVE-2013-0200 (Closes: #701185) + - Fixes "hp-check does not find installed Xsane" (Closes: #690362) + * Ack NMU - Thanks Sebastian Ramacher + + -- Mark Purcell Sat, 09 Mar 2013 11:29:44 +1100 + +hplip (3.13.2-0ubuntu1) raring; urgency=low + + * New upstream release + o Added support for: HP Officejet Pro X451dw, X451dn, X476dn, X476dw MFP, + X551dn, X551dw, X576dn, X576dw, Officejet 7110 Wide Format ePrinter, + LaserJet 400 M401dne + o Secure Printing Support for HP LaserJet 5500 and Hp LaserJet 8150 + o Updated Media Types for HP Color LaserJet CP5520 Series + o Bug fixes + * debian/patches/85_rebuild_python_ui.dpatch, + debian/patches/try_libhpmud.so.0.dpatch, + debian/patches/hp-mkuri-libnotify-so-4-support.dpatch: Manually updated to + apply to the new upstream source code. + * debian/patches/87_move_documentation.dpatch, + debian/patches/hp_photosmart_pro_b9100_support.dpatch, + debian/patches/ubuntu-hp-mkuri-notification-text.dpatch, + debian/patches/simple-scan-as-default.dpatch, + debian/patches/make-commafy-correctly-work-with-python-2.dpatch, + debian/patches/remove-duplicate-entry-for-cp1700-in-drv-files.dpatch, + debian/patches/CVE-2010-4267.dpatch, + debian/patches/hp-systray-make-menu-title-visible-in-sni-qt-indicator.dpatch, + debian/patches/hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.dpatch: Refreshed with Quilt. + * debian/patches/kde4-kdesudo-support.dpatch: Removed, not applicable any + more. + * debian/patches/hplip-syslog-fix-debug-messages-to-error.dpatch: Removed, + applied upstream. + * debian/rules: Make /usr/share/hplip/check-plugin.py executable. + * debian/hplip.install: Added installation of new utilities hp-doctor and + hp-logcapture. + + -- Till Kamppeter Thu, 7 Mar 2013 22:52:00 +0100 + +hplip (3.12.6-3.1) unstable; urgency=high + + * Non-maintainer upload. + * debian/patches/CVE-2013-0200.patch: Fix CVE-2013-0200 by applying the + patch from Red Hat. Additionally increase the buffers to mitigate an + regression and a buffer overflow. (Closes: #701185) + + -- Sebastian Ramacher Fri, 01 Mar 2013 18:21:48 +0100 + +hplip (3.12.11-1) experimental; urgency=low + + * New Upstream Release + + -- Mark Purcell Sat, 08 Dec 2012 08:51:39 +1100 + +hplip (3.12.11-0ubuntu1) raring-proposed; urgency=low + + [ Till Kamppeter ] + * New upstream release + o Added support for: HP LaserJet Pro 500 color MFP M570dw, + Pro 500 color MFP M570dn, LaserJet Enterprise flow MFP M525, + color flow MFP M575, 700 M712n, 700 M712dn, 700 M712xh, + 700 color MFP M775dn, 700 color MFP M775f, 700 color MFP M775z, + 700 color MFP M775z+ + o Secure Printing support for HP LaserJet P3010 Series + o Job storage support with postscript finishing filter + * debian/patches/hplip-release-parport.patch: Removed, fixed upstream. + + [ Dmitry Shachnev ] + * debian/patches/kde4-kdesudo-support.dpatch: Use "which" instead of + "utils.which", to fix a NameError (LP: #1069324). + + -- Till Kamppeter Fri, 30 Nov 2012 11:34:00 +0100 + +hplip (3.12.10a-1) experimental; urgency=low + + [ Till Kamppeter ] + * New upstream release + - Fixed crash in HP Device Manager and System Tray due to ValueError + exception in HPLIP upgrade functionality (LP: #1064889). + * debian/hplip.install, debian/hplip-gui.install: Added some missing program + file links. + * debian/patches/hplip-release-parport.patch: libsane-hpaio does not close + /dev/parport* after checking for a scanner (LP: #1065582, Red Hat bug + #1065582). + + [ Mark Purcell ] + * debian/bug-script: Fix bashism (Closes: #690625, #687243) + + -- Mark Purcell Sat, 27 Oct 2012 16:03:17 +1100 + +hplip (3.12.10-1) experimental; urgency=low + + * New upstream release + - Fixes "Network scanning fails (Closes: #683033) + * quilt refresh hplip-syslog-fix-debug-messages-to-error.dpatch + * Fix "error in clean build env" updated debian/rules (Closes: #687129) + + -- Mark Purcell Sat, 06 Oct 2012 15:03:44 +1000 + +hplip (3.12.6-3ubuntu2) quantal; urgency=low + + * debian/rules: Removed dependency of the "clean" rule on the "configure" + rule. This prevented from a clean source package being generated. + * debian/hplip.dirs: Create empty /var/lib/hp/ directory when installing so + that HPLIP can annotate that it installed the plugin (LP: #1055521). + * debian/rules: Made HPLIP build with CUPS 1.6.1 and later by overriding a + new conditional to hide the private ipp_t data structure in cups/ipp.h by + adding "-D_IPP_PRIVATE_STRUCTURES=1" to CFLAGS (Problem reported upstream + to HPLIP as LP: #1056214). + + -- Till Kamppeter Tue, 25 Sep 2012 20:58:00 +0200 + +hplip (3.12.6-3ubuntu1) quantal; urgency=low + + * debian/control: Let hplip recommend printer-driver-postscript-hp + (LP: #1014478). + + -- Till Kamppeter Tue, 26 Jun 2012 20:55:00 +0200 + +hplip (3.12.6-3) unstable; urgency=low + + * [!linux-any] --enable-libusb01_build + + -- Mark Purcell Sun, 24 Jun 2012 16:49:41 +1000 + +hplip (3.12.6-2) unstable; urgency=low + + * Build-Depends: libusb-1.0-0-dev [linux-any], libusb-dev [!linux-any] + * Update to Standards-Version: 3.9.3 + * Fix debhelper-but-no-misc-depends + + -- Mark Purcell Sun, 24 Jun 2012 13:53:48 +1000 + +hplip (3.12.6-1) unstable; urgency=low + + * New Upstream Release + - Fixes "print fails to HP Color LJ 3600, err=26" (Closes: #529884) + - Fixes "UnicodeDecodeError: 'ascii' codec" (Closes: #635128) + - Fixes "hp-setup: should allow input any characters" (Closes: #470201) + + -- Mark Purcell Sat, 23 Jun 2012 10:28:22 +1000 + +hplip (3.12.6-0ubuntu1) quantal; urgency=low + + * New upstream release + o Added PIN to PRINT support for HP Color LaserJet CM4540 MFP + o libusb-1.0 support added + o Added support for: HP DeskJet Ink Advantage 2510, 3525, 4610, 4620, + 5525, 2510, 3520, OfficeJet 4610, 4620, Photosmart 5520, LaserJet 400 + M401, 400 MFP M425, LaserJet Enterprise 500 MFP M525, 500 Color MFP + M575, LaserJet Professional P 1102w, P1107w, P1107, P1109w, P1109, + M1137, M1138, M1139, P1567, P1568, P1569, P1607dn, P1608dn, P1609dn + * debian/patches/hp-check-groups.dpatch: Removed, problem solved upstream. + * debian/patches/fax-support-hp-laserjet-m1522nf-mfp.dpatch: Removed, + applied upstream. + * debian/patches/hp-check_debian.dpatch, + debian/patches/hpaio-option-duplex.diff: Updated. + * debian/patches/simple-scan-as-default.dpatch, + debian/patches/make-commafy-correctly-work-with-python-2.dpatch, + debian/patches/hp-systray-make-menu-title-visible-in-sni-qt-indicator.dpatch, + debian/patches/hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.dpatch: + Refreshed with quilt. + * debian/control: Switch over to libusb 1.0.x. + * debian/control: Added build dependency on dh_autoreconf. + * debian/rules, debian/printer-driver-hpcups.install, + debian/printer-driver-postscript-hp.install, + debian/printer-driver-hpijs.install, debian/hpijs-ppds.install: Install + ppd-updater files with .ppd-updater extension, as the other packages do. + + -- Till Kamppeter Wed, 20 Jun 2012 20:19:00 +0200 + +hplip (3.12.4-2) unstable; urgency=low + + * Fix "fails to upgrade from 'squeeze'" (Closes: #675307) + - hplip-gui Replaces: hplip (<< 3.12.4-2) + - Add specific package.bug-script files + + -- Mark Purcell Sun, 10 Jun 2012 22:59:08 +1000 + +hplip (3.12.4-1) unstable; urgency=low + + * New upstream release + * Switch to source/format 3.0 (quilt) - drop dpatch + * Refreshed debian/patches + * dh_autoreconf debian/autogen.sh & set local-options single-debian-patch + * Update to debian/compat -> 9 + * Fix "hardened build flags" patch from Moritz - thanks (Closes: #667828) + * Fix "duplex descriptor uninitialized" patch from Matej (Closes: #583273) + * Fix "please migrate to kde-runtime" patch from Pino (Closes: #666544) + + -- Mark Purcell Sat, 26 May 2012 11:20:39 +1000 + hplip (3.12.2-1ubuntu3) precise; urgency=low * debian/patches/fax-support-hp-laserjet-m1522nf-mfp.dpatch: Fixed fax diff -Nru hplip-3.12.2/debian/compat hplip-3.13.4/debian/compat --- hplip-3.12.2/debian/compat 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/compat 2012-05-26 01:12:02.000000000 +0000 @@ -1 +1 @@ -5 +9 diff -Nru hplip-3.12.2/debian/control hplip-3.13.4/debian/control --- hplip-3.12.2/debian/control 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/control 2013-05-05 11:18:56.000000000 +0000 @@ -3,17 +3,18 @@ Priority: optional Maintainer: Debian HPIJS and HPLIP maintainers Uploaders: Mark Purcell , Till Kamppeter -Build-Depends: libcups2-dev, libcupsimage2-dev, libsane-dev, libsnmp-dev, libjpeg-dev, libusb-dev (>= 0.1.8), - debhelper (>= 5.0.37.2), autotools-dev, dpatch (>= 2), autoconf, automake, libtool, cups (>= 1.4.0) | cupsddk, +Build-Depends: libcups2-dev, libcupsimage2-dev, libsane-dev, libsnmp-dev, libjpeg-dev, + libusb-1.0-0-dev [linux-any], libusb-dev [!linux-any], + debhelper (>= 9), autotools-dev, autoconf, automake, libtool, cups (>= 1.4.0) | cupsddk, patch (>= 2.5.9-3bpo1), findutils (>= 4.2.28), python-dev, python-all-dev (>= 2.6.6-3~), python-qt4, pyqt4-dev-tools, python-dbus (>= 0.80), python-qt4-dbus, libdbus-1-dev, libudev-dev [linux-any], policykit-1, - fdupes, lsb-release, pyppd (>= 0.4.9-5) + fdupes, lsb-release, pyppd (>= 0.4.9-5), dh-autoreconf X-Python-Version: >= 2.5 -Standards-Version: 3.8.4 +Standards-Version: 3.9.3 Homepage: http://hplipopensource.com/hplip-web/index.html Vcs-Svn: svn://svn.debian.org/pkg-hpijs/hplip/trunk/ -Vcs-Browser: http://svn.debian.org/wsvn/pkg-hpijs/hplip/?op=log +#Vcs-Browser: http://svn.debian.org/wsvn/pkg-hpijs/hplip/?op=log Package: hplip Architecture: any @@ -23,7 +24,7 @@ ${python:Depends}, python-dbus (>= 0.80), python-imaging, python-pexpect, python-reportlab, coreutils (>= 5.1.0), lsb-base (>= 3), adduser (>= 3.34), cups (>= 1.1.20), policykit-1, python-gobject-2, wget -Recommends: sane-utils, avahi-daemon +Recommends: printer-driver-postscript-hp, sane-utils, avahi-daemon Suggests: hplip-gui, hplip-doc, python-notify, system-config-printer Description: HP Linux Printing and Imaging System (HPLIP) The HP Linux Printing and Imaging System provides full support for @@ -76,14 +77,16 @@ Architecture: all Depends: ${misc:Depends}, hplip (>= ${hplip:source:Version}), dbus-x11, ${python:Depends}, python-qt4, python-qt4-dbus, - gksu | kdebase-bin (<< 4:4.4.0-1) | kdebase-runtime | kdesudo | ktsuss + gksu | kdebase-bin (<< 4:4.4.0-1) | kde-runtime | kdebase-runtime | kdesudo | ktsuss Recommends: xsane | simple-scan | skanlite, python-notify +Replaces: hplip (<< 3.12.4-2) +Breaks: hplip (<< 3.12.4-2) Description: HP Linux Printing and Imaging - GUI utilities (Qt-based) This package contains utilities with graphical user interface (GUI) for HPLIP: HP Toolbox, HP Fax, ... . - Note that all GUI utilities are based on the Qt (KDE) GUI environment. There - are currently no equivalent utilities based on GTK (GNOME). + Note that all GUI utilities are based on the Qt GUI environment. There + are currently no equivalent utilities based on GTK. Package: hplip-dbg Architecture: any @@ -129,7 +132,7 @@ Architecture: all Section: oldlibs Priority: extra -Depends: printer-driver-hpijs +Depends: ${misc:Depends}, printer-driver-hpijs Description: transitional dummy package for hpijs printer driver This is a transitional dummy package to transition to uniformly named printer-driver-hpijs. @@ -142,7 +145,7 @@ Suggests: hplip, hpijs-ppds, hplip-doc Replaces: hpijs (<< 3.11.10-1ubuntu2) Breaks: hpijs (<< 3.11.10-1ubuntu2) -Description: HP Linux Printing and Imaging - gs IJS driver (hpijs) +Description: HP Linux Printing and Imaging - printer driver (hpijs) This package contains an IJS printer driver for Ghostscript, which adds support for most inkjet printers and some LaserJet printers manufactured by HP. It is also required for HPLIP fax support. @@ -169,7 +172,7 @@ Architecture: all Section: oldlibs Priority: extra -Depends: printer-driver-hpcups +Depends: ${misc:Depends}, printer-driver-hpcups Description: transitional dummy package for hpcups printer driver This is a transitional dummy package to transition to uniformly named printer-driver-hpcups. diff -Nru hplip-3.12.2/debian/hpijs-ppds.install hplip-3.13.4/debian/hpijs-ppds.install --- hplip-3.12.2/debian/hpijs-ppds.install 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/hpijs-ppds.install 2012-06-20 22:55:57.000000000 +0000 @@ -1,2 +1,2 @@ usr/share/ppd/hplip/*/*hpijs*.ppd* -usr/share/cups/ppd-updaters/hpijs-ppds +usr/share/cups/ppd-updaters/hpijs-ppds.ppd-updater diff -Nru hplip-3.12.2/debian/hplip-gui.bug-presubj hplip-3.13.4/debian/hplip-gui.bug-presubj --- hplip-3.12.2/debian/hplip-gui.bug-presubj 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/debian/hplip-gui.bug-presubj 2012-06-10 13:35:29.000000000 +0000 @@ -0,0 +1,24 @@ +The HPLIP Launchpad.net site https://launchpad.net/hplip is available +to get help, report bugs, make suggestions, discuss the HPLIP project +or otherwise contact the HPLIP Team. + +The Debian team values users reports, but we are busy, and so we +kindly ask you to access the upstream support facilities: + +Before submitting tickets for support please check the "Browse Knowledge +Base" section from (http://hplipopensource.com/hplip-web/index.html) +for possible answers to your questions/or for troubleshooting your problem. + +For end user support please "Ask a question" at the +upstream hplip support site: + https://answers.launchpad.net/hplip + +If you know that the bug you want to report is in the "upstream" +code then please file report in the upstream hplip bug tracking system: + https://bugs.launchpad.net/hplip + +If you feel that the bug is one that other Debian users should +know about then you are welcome to file a report in the Debian BTS +as well. Please keep in mind, however, that managing bug reports +is part of the maintainers' workload. + diff -Nru hplip-3.12.2/debian/hplip-gui.bug-script hplip-3.13.4/debian/hplip-gui.bug-script --- hplip-3.12.2/debian/hplip-gui.bug-script 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/debian/hplip-gui.bug-script 2012-06-10 13:35:29.000000000 +0000 @@ -0,0 +1,10 @@ +#!/bin/sh -e +echo +while true; do + read -p "Do you wish to include your system configuration with this report (hp-check -r)? " yn + case $yn in + [Yy]* ) /usr/bin/hp-check -t -r >&3 2>&3; break;; + [Nn]* ) exit;; + * ) echo "Please answer yes or no.";; + esac +done diff -Nru hplip-3.12.2/debian/hplip-gui.install hplip-3.13.4/debian/hplip-gui.install --- hplip-3.12.2/debian/hplip-gui.install 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/hplip-gui.install 2012-10-10 19:14:28.000000000 +0000 @@ -3,6 +3,7 @@ usr/bin/hp-check-plugin usr/bin/hp-devicesettings usr/bin/hp-diagnose_plugin +usr/bin/hp-diagnose_queues usr/bin/hp-fab usr/bin/hp-faxsetup usr/bin/hp-linefeedcal diff -Nru hplip-3.12.2/debian/hplip.dirs hplip-3.13.4/debian/hplip.dirs --- hplip-3.12.2/debian/hplip.dirs 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/hplip.dirs 2012-09-25 16:41:59.000000000 +0000 @@ -1,2 +1,3 @@ usr/share/bug/hplip var/log/hp +var/lib/hp diff -Nru hplip-3.12.2/debian/hplip.install hplip-3.13.4/debian/hplip.install --- hplip-3.12.2/debian/hplip.install 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/hplip.install 2013-03-07 23:28:32.000000000 +0000 @@ -4,10 +4,13 @@ usr/bin/hp-check usr/bin/hp-clean usr/bin/hp-colorcal +usr/bin/hp-config_usb_printer +usr/bin/hp-doctor usr/bin/hp-firmware usr/bin/hp-hpdio usr/bin/hp-info usr/bin/hp-levels +usr/bin/hp-logcapture usr/bin/hp-makeuri usr/bin/hp-mkuri usr/bin/hp-pkservice @@ -19,6 +22,7 @@ usr/bin/hp-testpage usr/bin/hp-timedate usr/bin/hp-unload +usr/bin/hp-upgrade usr/sbin/hpssd usr/lib/cups/backend usr/lib/cups/filter/pstotiff @@ -30,4 +34,3 @@ usr/share/cups/mime/*.convs usr/share/dbus-1 usr/share/polkit-1 -var/lib diff -Nru hplip-3.12.2/debian/patches/00list hplip-3.13.4/debian/patches/00list --- hplip-3.12.2/debian/patches/00list 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/00list 1970-01-01 00:00:00.000000000 +0000 @@ -1,28 +0,0 @@ -01_rss -10_shebang_fixes -14_charsign_fixes -85_rebuild_python_ui.dpatch -87_move_documentation.dpatch -hp_photosmart_pro_b9100_support.dpatch -pjl-duplex-binding.dpatch -kde4-kdesudo-support.dpatch -hp-check-groups -hp-check_debian -hp-setup-prompt-for-custom-PPD.dpatch -kbsd.dpatch -udev-rules-hp-mkuri-call-fix.dpatch -hp-mkuri-take-into-account-already-installed-plugin-also-for-exit-value.dpatch -ubuntu-hp-mkuri-notification-text.dpatch -simple-scan-as-default.dpatch -make-commafy-correctly-work-with-python-2.dpatch -remove-duplicate-entry-for-cp1700-in-drv-files.dpatch -black-stripes-on-pcl5c-printouts.dpatch -try_libhpmud.so.0.dpatch -add-lidil-two-cartridge-modes.dpatch -CVE-2010-4267 -hplip-syslog-fix-debug-messages-to-error.dpatch -hpfax-bug-function-used-before-importing-log -hp-systray-make-menu-title-visible-in-sni-qt-indicator -hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde -hp-mkuri-libnotify-so-4-support.dpatch -fax-support-hp-laserjet-m1522nf-mfp.dpatch diff -Nru hplip-3.12.2/debian/patches/01_rss.dpatch hplip-3.13.4/debian/patches/01_rss.dpatch --- hplip-3.12.2/debian/patches/01_rss.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/01_rss.dpatch 2012-05-26 00:25:50.000000000 +0000 @@ -5,9 +5,10 @@ ## DP: Blank-ink-only patch by Richard Spencer-Smith @DPATCH@ -diff -urNad hplip~/prnt/hpijs/breaks_open.cpp hplip/prnt/hpijs/breaks_open.cpp ---- hplip~/prnt/hpijs/breaks_open.cpp 2006-03-16 11:12:00.000000000 -0300 -+++ hplip/prnt/hpijs/breaks_open.cpp 2006-03-16 11:22:28.984082881 -0300 +Index: hplip-3.12.4/prnt/hpijs/breaks_open.cpp +=================================================================== +--- hplip-3.12.4.orig/prnt/hpijs/breaks_open.cpp 2012-04-10 18:39:32.000000000 +1000 ++++ hplip-3.12.4/prnt/hpijs/breaks_open.cpp 2012-05-26 10:21:29.000000000 +1000 @@ -1078,7 +1078,10 @@ { @@ -20,9 +21,10 @@ 0, 3, 255, 0, 0, 5, 255, 0, 0, 7, 255, 0, -diff -urNad hplip~/prnt/hpijs/dj660_maps.cpp hplip/prnt/hpijs/dj660_maps.cpp ---- hplip~/prnt/hpijs/dj660_maps.cpp 2006-03-16 11:12:00.000000000 -0300 -+++ hplip/prnt/hpijs/dj660_maps.cpp 2006-03-16 11:22:28.984082881 -0300 +Index: hplip-3.12.4/prnt/hpijs/dj660_maps.cpp +=================================================================== +--- hplip-3.12.4.orig/prnt/hpijs/dj660_maps.cpp 2012-04-10 18:39:32.000000000 +1000 ++++ hplip-3.12.4/prnt/hpijs/dj660_maps.cpp 2012-05-26 10:21:29.000000000 +1000 @@ -38,7 +38,10 @@ //const uint32_t ulMapDJ660_CCM_KCMY[ 9 * 9 * 9 ]= @@ -35,9 +37,10 @@ 2519110233UL, 807846483UL, 391693109UL, 260029471UL, 143570703UL, 42776580UL, 8501760UL, 7782400UL, 6539520UL, 3072173868UL, 1881129514UL, 841465387UL, 524792087UL, 358391818UL, 174364420UL, 40408577UL, 6920704UL, 6530560UL, 3407591425UL, 2551891200UL, 1612695808UL, 824489479UL, 506699268UL, 306153730UL, 105283329UL, 5144320UL, 5737216UL, -diff -urNad hplip~/prnt/hpijs/dj690_maps.cpp hplip/prnt/hpijs/dj690_maps.cpp ---- hplip~/prnt/hpijs/dj690_maps.cpp 2006-03-16 11:12:00.000000000 -0300 -+++ hplip/prnt/hpijs/dj690_maps.cpp 2006-03-16 11:22:28.984082881 -0300 +Index: hplip-3.12.4/prnt/hpijs/dj690_maps.cpp +=================================================================== +--- hplip-3.12.4.orig/prnt/hpijs/dj690_maps.cpp 2012-04-10 18:39:32.000000000 +1000 ++++ hplip-3.12.4/prnt/hpijs/dj690_maps.cpp 2012-05-26 10:21:29.000000000 +1000 @@ -38,7 +38,10 @@ uint32_t ulMapDJ690_CMYK[ 9 * 9 * 9 ]= // DJ690_CMYK @@ -50,9 +53,10 @@ 2179072UL, 2051072UL, 1733120UL, 2013280119UL, 385897321UL, 303379741UL, 270610688UL, 102772224UL, 1844992UL, 1911552UL, 1847296UL, 1784832UL, 2080387626UL, 1157643294UL, 452996881UL, 335555072UL, 202384384UL, 50991872UL, -diff -urNad hplip~/prnt/hpijs/dj895_maps.cpp hplip/prnt/hpijs/dj895_maps.cpp ---- hplip~/prnt/hpijs/dj895_maps.cpp 2006-03-16 11:12:00.000000000 -0300 -+++ hplip/prnt/hpijs/dj895_maps.cpp 2006-03-16 11:22:28.985082758 -0300 +Index: hplip-3.12.4/prnt/hpijs/dj895_maps.cpp +=================================================================== +--- hplip-3.12.4.orig/prnt/hpijs/dj895_maps.cpp 2012-04-10 18:39:32.000000000 +1000 ++++ hplip-3.12.4/prnt/hpijs/dj895_maps.cpp 2012-05-26 10:21:29.000000000 +1000 @@ -37,7 +37,10 @@ uint32_t ulMapDJ895_KCMY[ 9*9*9 ]= @@ -65,9 +69,10 @@ 4230922555UL, 655358293UL, 176553263UL, 128253208UL, 61209869UL, 60751368UL, 26606852UL, 9305345UL, 8650496UL, 4248940299UL, 3776766759UL, 756415798UL, 308083743UL, 142671120UL, 59440646UL, 9239553UL, 9109248UL, 8779520UL, 4248086274UL, 4214276619UL, 2786390812UL, 942206231UL, 491516427UL, 224131588UL, 6616320UL, 7399168UL, 7857664UL, -diff -urNad hplip~/prnt/hpijs/dj895_maps2.cpp hplip/prnt/hpijs/dj895_maps2.cpp ---- hplip~/prnt/hpijs/dj895_maps2.cpp 2006-03-16 11:12:00.000000000 -0300 -+++ hplip/prnt/hpijs/dj895_maps2.cpp 2006-03-16 11:22:28.985082758 -0300 +Index: hplip-3.12.4/prnt/hpijs/dj895_maps2.cpp +=================================================================== +--- hplip-3.12.4.orig/prnt/hpijs/dj895_maps2.cpp 2012-04-10 18:39:32.000000000 +1000 ++++ hplip-3.12.4/prnt/hpijs/dj895_maps2.cpp 2012-05-26 10:21:29.000000000 +1000 @@ -163,7 +163,10 @@ uint32_t ulMapDJ895_Binary_KCMY[ 9*9*9 ]= @@ -80,9 +85,10 @@ 60292615UL, 42401028UL, 7601920UL, 4230922301UL, 571406681UL, 160889651UL, 113048859UL, 62717200UL, 45415944UL, 27917573UL, 10419457UL, 9238272UL, 4248940557UL, 3743081259UL, 790296119UL, 325515810UL, 127007505UL, 27196678UL, -diff -urNad hplip~/prnt/hpijs/dj970_maps.cpp hplip/prnt/hpijs/dj970_maps.cpp ---- hplip~/prnt/hpijs/dj970_maps.cpp 2006-03-16 11:12:00.000000000 -0300 -+++ hplip/prnt/hpijs/dj970_maps.cpp 2006-03-16 11:22:28.985082758 -0300 +Index: hplip-3.12.4/prnt/hpijs/dj970_maps.cpp +=================================================================== +--- hplip-3.12.4.orig/prnt/hpijs/dj970_maps.cpp 2012-04-10 18:39:32.000000000 +1000 ++++ hplip-3.12.4/prnt/hpijs/dj970_maps.cpp 2012-05-26 10:21:29.000000000 +1000 @@ -127,7 +127,11 @@ uint32_t ulMapDJ970_KCMY[ 9*9*9 ]= @@ -96,9 +102,10 @@ 10285066UL, 10416133UL, 9169408UL, 3405886809UL, 59743UL, 23980849UL, 9366812UL, 10153744UL, 10285066UL, 10153990UL, 10087424UL, 9169408UL, 3858807091UL, 2197868343UL, 60220UL, 4714015UL, 7270155UL, 8646656UL, -diff -urNad hplip~/prnt/hpijs/dj970_maps3.cpp hplip/prnt/hpijs/dj970_maps3.cpp ---- hplip~/prnt/hpijs/dj970_maps3.cpp 2006-03-16 11:12:00.000000000 -0300 -+++ hplip/prnt/hpijs/dj970_maps3.cpp 2006-03-16 11:22:28.985082758 -0300 +Index: hplip-3.12.4/prnt/hpijs/dj970_maps3.cpp +=================================================================== +--- hplip-3.12.4.orig/prnt/hpijs/dj970_maps3.cpp 2012-04-10 18:39:32.000000000 +1000 ++++ hplip-3.12.4/prnt/hpijs/dj970_maps3.cpp 2012-05-26 10:21:29.000000000 +1000 @@ -37,7 +37,8 @@ uint32_t ulMapDJ970_Draft_KCMY[ 9*9*9 ]= diff -Nru hplip-3.12.2/debian/patches/10_shebang_fixes.dpatch hplip-3.13.4/debian/patches/10_shebang_fixes.dpatch --- hplip-3.12.2/debian/patches/10_shebang_fixes.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/10_shebang_fixes.dpatch 2012-05-26 00:25:50.000000000 +0000 @@ -5,9 +5,10 @@ ## DP: Fix missing, weird or otherwise broken shebang lines @DPATCH@ -diff -urNad hplip~/__init__.py hplip/__init__.py ---- hplip~/__init__.py 2007-01-26 12:24:33.000000000 -0200 -+++ hplip/__init__.py 2007-01-26 15:21:09.158181349 -0200 +Index: hplip-3.12.4/__init__.py +=================================================================== +--- hplip-3.12.4.orig/__init__.py 2012-04-10 18:35:13.000000000 +1000 ++++ hplip-3.12.4/__init__.py 2012-05-26 10:21:29.000000000 +1000 @@ -1,3 +1,4 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- diff -Nru hplip-3.12.2/debian/patches/14_charsign_fixes.dpatch hplip-3.13.4/debian/patches/14_charsign_fixes.dpatch --- hplip-3.12.2/debian/patches/14_charsign_fixes.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/14_charsign_fixes.dpatch 2012-05-26 00:25:50.000000000 +0000 @@ -5,10 +5,11 @@ ## DP: some missing charsign @DPATCH@ -diff -urNad hplip-1.7.3~/scan/sane/scl.c hplip-1.7.3/scan/sane/scl.c ---- hplip-1.7.3~/scan/sane/scl.c 2007-03-19 16:26:48.000000000 +0000 -+++ hplip-1.7.3/scan/sane/scl.c 2007-03-26 22:48:39.000000000 +0100 -@@ -36,10 +36,11 @@ +Index: hplip-3.12.4/scan/sane/scl.c +=================================================================== +--- hplip-3.12.4.orig/scan/sane/scl.c 2012-04-10 18:34:05.000000000 +1000 ++++ hplip-3.12.4/scan/sane/scl.c 2012-05-26 10:21:29.000000000 +1000 +@@ -37,10 +37,11 @@ #define DEBUG_DECLARE_ONLY #include "sanei_debug.h" diff -Nru hplip-3.12.2/debian/patches/85_rebuild_python_ui.dpatch hplip-3.13.4/debian/patches/85_rebuild_python_ui.dpatch --- hplip-3.12.2/debian/patches/85_rebuild_python_ui.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/85_rebuild_python_ui.dpatch 2013-03-07 23:28:32.000000000 +0000 @@ -5,24 +5,23 @@ ## DP: No description. @DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.1~/Makefile.am hplip-3.11.1/Makefile.am ---- hplip-3.11.1~/Makefile.am 2011-01-19 06:18:26.000000000 +0100 -+++ hplip-3.11.1/Makefile.am 2011-01-23 23:50:17.895291308 +0100 -@@ -4,6 +4,10 @@ - # (c) 2004-2010 Copyright Hewlett-Packard Development Company, LP - # Author: David Suffield, Naga Samrat Chowdary Narla, - -+# Generic rules -+%.py: %.ui -+ $(PYUIC4) -x -o $@ $< -+ - INCLUDES = -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs - - hplipdir = $(datadir)/hplip -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.1~/configure.in hplip-3.11.1/configure.in ---- hplip-3.11.1~/configure.in 2011-01-19 06:19:05.000000000 +0100 -+++ hplip-3.11.1/configure.in 2011-01-23 23:51:08.845262676 +0100 -@@ -508,6 +508,8 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -3,6 +3,11 @@ + # + # (c) 2004-2015 Copyright Hewlett-Packard Development Company, LP + # Author: David Suffield, Naga Samrat Chowdary Narla, Sarbeswar Meher ++ ++# Generic rules ++%.py: %.ui ++ $(PYUIC4) -x -o $@ $< ++ + INCLUDES = -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ + CFLAGS+= -DCONFDIR=\"$(hplip_confdir)\" + CXXFLAGS+= -DCONFDIR=\"$(hplip_confdir)\" +--- a/configure.in ++++ b/configure.in +@@ -536,6 +536,8 @@ AC_MSG_RESULT("using $PYTHONINCLUDEDIR") AC_ARG_VAR(PYTHONINCLUDEDIR, [path to Python.h C header file]) AC_CHECK_HEADERS(python$PYTHON_VERSION/Python.h, ,[AC_MSG_ERROR([cannot find python-devel support], 6)]) diff -Nru hplip-3.12.2/debian/patches/87_move_documentation.dpatch hplip-3.13.4/debian/patches/87_move_documentation.dpatch --- hplip-3.12.2/debian/patches/87_move_documentation.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/87_move_documentation.dpatch 2013-03-07 23:28:32.000000000 +0000 @@ -5,21 +5,20 @@ ## DP: place html documentation under hplip-doc/HTML/ @DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.1~/Makefile.am hplip-3.11.1/Makefile.am ---- hplip-3.11.1~/Makefile.am 2011-01-19 06:18:26.000000000 +0100 -+++ hplip-3.11.1/Makefile.am 2011-01-23 23:57:36.905046314 +0100 -@@ -23,11 +23,11 @@ - - if DOC_BUILD - wwwsrc = doc --www0dir = $(docdir) -+www0dir = $(hpdocdir)/HTML - dist_www0_DATA = $(wwwsrc)/index.html $(wwwsrc)/commandline.html $(wwwsrc)/copying.html $(wwwsrc)/devicemanager.html $(wwwsrc)/faxtrouble.html $(wwwsrc)/gettinghelp.html $(wwwsrc)/hpscan.html $(wwwsrc)/mainttask.html $(wwwsrc)/plugins.html $(wwwsrc)/print.html $(wwwsrc)/printing.html $(wwwsrc)/printoptions.html $(wwwsrc)/printtroubleshooting.html $(wwwsrc)/scanning.html $(wwwsrc)/scantrouble.html $(wwwsrc)/sendfax.html $(wwwsrc)/setup.html $(wwwsrc)/systray.html $(wwwsrc)/troubleshooting.html $(wwwsrc)/uninstalling.html $(wwwsrc)/upgrading.html --www3dir = $(docdir)/styles -+www3dir = $(www0dir)/styles - dist_www3_DATA = $(wwwsrc)/styles/* --www4dir = $(docdir)/images -+www4dir = $(www0dir)/images - dist_www4_DATA = $(wwwsrc)/images/* - endif - +--- a/Makefile.am ++++ b/Makefile.am +@@ -29,11 +29,11 @@ + + if DOC_BUILD + wwwsrc = doc +-www0dir = $(docdir) ++www0dir = $(hpdocdir)/HTML + dist_www0_DATA = $(wwwsrc)/index.html $(wwwsrc)/commandline.html $(wwwsrc)/copying.html $(wwwsrc)/devicemanager.html $(wwwsrc)/faxtrouble.html $(wwwsrc)/gettinghelp.html $(wwwsrc)/hpscan.html $(wwwsrc)/mainttask.html $(wwwsrc)/plugins.html $(wwwsrc)/print.html $(wwwsrc)/printing.html $(wwwsrc)/printoptions.html $(wwwsrc)/printtroubleshooting.html $(wwwsrc)/scanning.html $(wwwsrc)/scantrouble.html $(wwwsrc)/sendfax.html $(wwwsrc)/setup.html $(wwwsrc)/systray.html $(wwwsrc)/troubleshooting.html $(wwwsrc)/uninstalling.html $(wwwsrc)/upgrading.html +-www3dir = $(docdir)/styles ++www3dir = $(www0dir)/styles + dist_www3_DATA = $(wwwsrc)/styles/* +-www4dir = $(docdir)/images ++www4dir = $(www0dir)/images + dist_www4_DATA = $(wwwsrc)/images/* + endif + diff -Nru hplip-3.12.2/debian/patches/CVE-2010-4267.dpatch hplip-3.13.4/debian/patches/CVE-2010-4267.dpatch --- hplip-3.12.2/debian/patches/CVE-2010-4267.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/CVE-2010-4267.dpatch 2013-03-07 23:28:32.000000000 +0000 @@ -5,10 +5,9 @@ # Author: Sebastian Krahmer @DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.1~/io/hpmud/pml.c hplip-3.11.1/io/hpmud/pml.c ---- hplip-3.11.1~/io/hpmud/pml.c 2011-01-19 00:18:21.000000000 -0500 -+++ hplip-3.11.1/io/hpmud/pml.c 2011-01-24 13:20:25.000000000 -0500 -@@ -504,6 +504,8 @@ +--- a/io/hpmud/pml.c ++++ b/io/hpmud/pml.c +@@ -505,6 +505,8 @@ p += 2; /* eat type and length */ } diff -Nru hplip-3.12.2/debian/patches/add-lidil-two-cartridge-modes.dpatch hplip-3.13.4/debian/patches/add-lidil-two-cartridge-modes.dpatch --- hplip-3.12.2/debian/patches/add-lidil-two-cartridge-modes.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/add-lidil-two-cartridge-modes.dpatch 2012-05-26 00:25:50.000000000 +0000 @@ -5,10 +5,11 @@ ## DP: No description. @DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.6~/prnt/drv/hpijs.drv.in hplip-3.10.6/prnt/drv/hpijs.drv.in ---- hplip-3.10.6~/prnt/drv/hpijs.drv.in 2010-09-14 16:08:45.936316029 +0200 -+++ hplip-3.10.6/prnt/drv/hpijs.drv.in 2010-09-14 16:08:46.506315314 +0200 -@@ -4411,16 +4411,16 @@ +Index: hplip-3.12.4/prnt/drv/hpijs.drv.in +=================================================================== +--- hplip-3.12.4.orig/prnt/drv/hpijs.drv.in 2012-05-26 10:21:29.000000000 +1000 ++++ hplip-3.12.4/prnt/drv/hpijs.drv.in 2012-05-26 10:21:29.000000000 +1000 +@@ -4376,16 +4376,16 @@ r="HEWLETT-PACKARD" -sDeviceModel="deskjet 3320"" Attribute "FoomaticRIPOption" "PrintoutMode" "enum Composite B" Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft" "Quality=300DraftColorCM&& @@ -29,7 +30,7 @@ Attribute "FoomaticRIPOption" "PageSize" "enum CmdLine A" Attribute "FoomaticRIPOptionSetting" "PageSize=Letter" " -dDEVICEWIDTHPOINTS=612 -&& dDEVICEHEIGHTPOINTS=792" -@@ -4879,13 +4879,13 @@ +@@ -4844,13 +4844,13 @@ r="HEWLETT-PACKARD" -sDeviceModel="deskjet 3600"" Attribute "FoomaticRIPOption" "PrintoutMode" "enum Composite B" Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft" "Quality=300DraftColorCM&& @@ -46,7 +47,7 @@ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High.Gray" "Quality=600Grayscal&& eK" Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Photo" "Quality=600PhotoCMYKFul&& -@@ -5347,13 +5347,13 @@ +@@ -5312,13 +5312,13 @@ " Attribute "FoomaticRIPOption" "PrintoutMode" "enum Composite B" Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft" "Quality=600DraftColorCM&& @@ -63,9 +64,10 @@ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High.Gray" "Quality=600Grayscal&& eK" Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Photo" "Quality=600PhotoCMYKFul&& -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.6~/prnt/drv/hpijs.drv.in.template hplip-3.10.6/prnt/drv/hpijs.drv.in.template ---- hplip-3.10.6~/prnt/drv/hpijs.drv.in.template 2010-07-19 04:15:11.000000000 +0200 -+++ hplip-3.10.6/prnt/drv/hpijs.drv.in.template 2010-09-14 16:08:57.346301718 +0200 +Index: hplip-3.12.4/prnt/drv/hpijs.drv.in.template +=================================================================== +--- hplip-3.12.4.orig/prnt/drv/hpijs.drv.in.template 2012-04-10 18:32:37.000000000 +1000 ++++ hplip-3.12.4/prnt/drv/hpijs.drv.in.template 2012-05-26 10:21:29.000000000 +1000 @@ -2221,16 +2221,16 @@ r="HEWLETT-PACKARD" -sDeviceModel="deskjet 3320"" Attribute "FoomaticRIPOption" "PrintoutMode" "enum Composite B" diff -Nru hplip-3.12.2/debian/patches/black-stripes-on-pcl5c-printouts.dpatch hplip-3.13.4/debian/patches/black-stripes-on-pcl5c-printouts.dpatch --- hplip-3.12.2/debian/patches/black-stripes-on-pcl5c-printouts.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/black-stripes-on-pcl5c-printouts.dpatch 2012-05-26 00:25:50.000000000 +0000 @@ -5,9 +5,10 @@ ## DP: No description. @DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.5~/prnt/hpcups/LJColor.h hplip-3.10.5/prnt/hpcups/LJColor.h ---- hplip-3.10.5~/prnt/hpcups/LJColor.h 2010-05-13 01:41:08.000000000 +0200 -+++ hplip-3.10.5/prnt/hpcups/LJColor.h 2010-07-18 12:12:11.296937153 +0200 +Index: hplip-3.12.4/prnt/hpcups/LJColor.h +=================================================================== +--- hplip-3.12.4.orig/prnt/hpcups/LJColor.h 2012-04-10 18:32:37.000000000 +1000 ++++ hplip-3.12.4/prnt/hpcups/LJColor.h 2012-05-26 10:21:29.000000000 +1000 @@ -48,6 +48,7 @@ DRIVER_ERROR Configure(Pipeline **pipeline); DRIVER_ERROR EndJob(); diff -Nru hplip-3.12.2/debian/patches/fax-support-hp-laserjet-m1522nf-mfp.dpatch hplip-3.13.4/debian/patches/fax-support-hp-laserjet-m1522nf-mfp.dpatch --- hplip-3.12.2/debian/patches/fax-support-hp-laserjet-m1522nf-mfp.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/fax-support-hp-laserjet-m1522nf-mfp.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## fax-support-hp-laserjet-m1522nf-mfp.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: No description. - -@DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.12.2~/data/models/models.dat hplip-3.12.2/data/models/models.dat ---- hplip-3.12.2~/data/models/models.dat 2012-04-04 13:10:54.221074007 +0200 -+++ hplip-3.12.2/data/models/models.dat 2012-04-04 13:13:08.369072940 +0200 -@@ -20232,7 +20232,7 @@ - color-cal-type=0 - copy-type=0 - embedded-server-type=1 --fax-type=0 -+fax-type=4 - fw-download=False - icon=HP_LaserJet_m1522.png - io-mfp-mode=1 diff -Nru hplip-3.12.2/debian/patches/hp-check-groups.dpatch hplip-3.13.4/debian/patches/hp-check-groups.dpatch --- hplip-3.12.2/debian/patches/hp-check-groups.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/hp-check-groups.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## hp-check-groups.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: https://bugs.launchpad.net/debian/+source/hplip/+bug/530746 - -@DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.2~/check.py hplip-3.10.2/check.py ---- hplip-3.10.2~/check.py 2010-02-25 10:07:55.000000000 +1100 -+++ hplip-3.10.2/check.py 2010-04-09 08:03:08.000000000 +1000 -@@ -859,6 +859,16 @@ - if status == 0: - log.info(output) - -+ if "lp " in output: -+ log.info(log.green("User member of group 'lp'. Enables print/ scan/ fax.")) -+ else: -+ log.error("User needs to be member of group 'lp' to enable print, scan & fax.") -+ -+ if "lpadmin" in output: -+ log.info(log.green("User member of group 'lpadmin'.")) -+ else: -+ log.error("User needs to be member of group 'lpadmin' to manage printers.") -+ - - tui.header("SUMMARY") - diff -Nru hplip-3.12.2/debian/patches/hp-check_debian.dpatch hplip-3.13.4/debian/patches/hp-check_debian.dpatch --- hplip-3.12.2/debian/patches/hp-check_debian.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/hp-check_debian.dpatch 2012-06-20 22:55:57.000000000 +0000 @@ -1,32 +1,25 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## hp-check_debian.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Debian/ Ubuntu place hpaio in /etc/sane.d/dll.d/hplip, so lets check there too - -@DPATCH@ -diff -urNad hplip-2.8.12~/check.py hplip-2.8.12/check.py ---- hplip-2.8.12~/check.py 2008-12-18 07:41:18.000000000 +1100 -+++ hplip-2.8.12/check.py 2009-01-22 14:01:40.000000000 +1100 -@@ -693,6 +693,21 @@ - if 'hpaio' in line: - found = True - -+ # Debian/ Ubuntu place hpaio in /etc/sane.d/dll.d/hplip, so lets check there too +--- a/installer/core_install.py ++++ b/installer/core_install.py +@@ -1160,6 +1160,22 @@ + if hpaiomatched: + found = True + break + -+ if not found: -+ log.info(log.bold("'hpaio' in '/etc/sane.d/dll.d/hplip'...")) -+ try: -+ f = file('/etc/sane.d/dll.d/hplip', 'r') -+ except IOError: -+ log.error("'/etc/sane.d/dll.d/hplip' not found.") -+ num_errors += 1 -+ else: -+ found = False -+ for line in f: -+ if 'hpaio' in line: -+ found = True ++ # Debian/ Ubuntu place hpaio in /etc/sane.d/dll.d/hplip, so lets check there too ++ if not found: ++ log.debug("Checking for 'hpaio' in '/etc/sane.d/dll.d/hplip'...") ++ try: ++ f = file('/etc/sane.d/dll.d/hplip', 'r') ++ except IOError: ++ log.error("'/etc/sane.d/dll.d/hplip' not found.") ++ else: ++ for line in f: ++ lineNoSpace = re.sub(r'\s', '', line) ++ hpaiomatched=re.match('hpaio',lineNoSpace) ++ if hpaiomatched: ++ found = True ++ break + - if found: - log.info("OK, found. SANE backend 'hpaio' is properly set up.") - else: + return found + + def update_hpaio(self): diff -Nru hplip-3.12.2/debian/patches/hp-mkuri-libnotify-so-4-support.dpatch hplip-3.13.4/debian/patches/hp-mkuri-libnotify-so-4-support.dpatch --- hplip-3.12.2/debian/patches/hp-mkuri-libnotify-so-4-support.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/hp-mkuri-libnotify-so-4-support.dpatch 2013-03-07 23:28:32.000000000 +0000 @@ -5,15 +5,14 @@ ## DP: No description. @DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.12.2~/io/hpmud/hp-mkuri.c hplip-3.12.2/io/hpmud/hp-mkuri.c ---- hplip-3.12.2~/io/hpmud/hp-mkuri.c 2012-02-01 12:53:52.000000000 +0100 -+++ hplip-3.12.2/io/hpmud/hp-mkuri.c 2012-02-27 15:17:28.154003001 +0100 -@@ -265,7 +265,7 @@ +--- a/io/hpmud/hp-mkuri.c ++++ b/io/hpmud/hp-mkuri.c +@@ -266,7 +266,7 @@ /* Bypass glib build dependencies by loading libnotify manually. */ -- if ((handle = dlopen("libnotify.so.1", RTLD_LAZY)) == NULL) -+ if ((handle = dlopen("libnotify.so.4", RTLD_LAZY)) == NULL) +- if ((handle = load_library("libnotify.so.1")) == NULL) ++ if ((handle = load_library("libnotify.so.4")) == NULL) { BUG("failed to open libnotify: %m\n"); goto bugout; diff -Nru hplip-3.12.2/debian/patches/hp-mkuri-take-into-account-already-installed-plugin-also-for-exit-value.dpatch hplip-3.13.4/debian/patches/hp-mkuri-take-into-account-already-installed-plugin-also-for-exit-value.dpatch --- hplip-3.12.2/debian/patches/hp-mkuri-take-into-account-already-installed-plugin-also-for-exit-value.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/hp-mkuri-take-into-account-already-installed-plugin-also-for-exit-value.dpatch 2012-05-26 00:25:50.000000000 +0000 @@ -5,9 +5,10 @@ ## DP: No description. @DPATCH@ -diff -urNad hplip-3.10.2~/io/hpmud/hp-mkuri.c hplip-3.10.2/io/hpmud/hp-mkuri.c ---- hplip-3.10.2~/io/hpmud/hp-mkuri.c 2010-03-17 22:42:56.682033355 +0100 -+++ hplip-3.10.2/io/hpmud/hp-mkuri.c 2010-03-17 22:45:36.370765292 +0100 +Index: hplip-3.12.4/io/hpmud/hp-mkuri.c +=================================================================== +--- hplip-3.12.4.orig/io/hpmud/hp-mkuri.c 2012-04-10 18:35:06.000000000 +1000 ++++ hplip-3.12.4/io/hpmud/hp-mkuri.c 2012-05-26 10:23:52.000000000 +1000 @@ -385,17 +385,23 @@ } diff -Nru hplip-3.12.2/debian/patches/hp-setup-prompt-for-custom-PPD.dpatch hplip-3.13.4/debian/patches/hp-setup-prompt-for-custom-PPD.dpatch --- hplip-3.12.2/debian/patches/hp-setup-prompt-for-custom-PPD.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/hp-setup-prompt-for-custom-PPD.dpatch 2012-05-26 00:25:50.000000000 +0000 @@ -5,10 +5,11 @@ ## DP: No description. @DPATCH@ -diff -urNad hplip-3.9.8~/setup.py hplip-3.9.8/setup.py ---- hplip-3.9.8~/setup.py 2009-08-04 23:37:39.000000000 +0200 -+++ hplip-3.9.8/setup.py 2009-10-02 18:42:39.000000000 +0200 -@@ -473,14 +473,13 @@ +Index: hplip-3.12.4/setup.py +=================================================================== +--- hplip-3.12.4.orig/setup.py 2012-04-10 18:35:14.000000000 +1000 ++++ hplip-3.12.4/setup.py 2012-05-26 10:21:29.000000000 +1000 +@@ -487,14 +487,13 @@ print_ppd, desc = print_ppd log.info("\nFound PPD file: %s" % print_ppd) diff -Nru hplip-3.12.2/debian/patches/hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.dpatch hplip-3.13.4/debian/patches/hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.dpatch --- hplip-3.12.2/debian/patches/hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.dpatch 2013-03-07 23:28:32.000000000 +0000 @@ -5,10 +5,9 @@ ## DP: No description. @DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.7~/ui4/systemtray.py hplip-3.11.7/ui4/systemtray.py ---- hplip-3.11.7~/ui4/systemtray.py 2011-09-27 16:36:29.656301152 +0200 -+++ hplip-3.11.7/ui4/systemtray.py 2011-09-27 16:38:47.716834875 +0200 -@@ -473,6 +473,9 @@ +--- a/ui4/systemtray.py ++++ b/ui4/systemtray.py +@@ -550,6 +550,9 @@ elif reason == QSystemTrayIcon.Trigger: #print "single click" diff -Nru hplip-3.12.2/debian/patches/hp-systray-make-menu-title-visible-in-sni-qt-indicator.dpatch hplip-3.13.4/debian/patches/hp-systray-make-menu-title-visible-in-sni-qt-indicator.dpatch --- hplip-3.12.2/debian/patches/hp-systray-make-menu-title-visible-in-sni-qt-indicator.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/hp-systray-make-menu-title-visible-in-sni-qt-indicator.dpatch 2013-03-07 23:28:32.000000000 +0000 @@ -5,10 +5,9 @@ ## DP: No description. @DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.7~/ui4/systemtray.py hplip-3.11.7/ui4/systemtray.py ---- hplip-3.11.7~/ui4/systemtray.py 2011-09-27 16:29:05.930588497 +0200 -+++ hplip-3.11.7/ui4/systemtray.py 2011-09-27 16:34:42.891888674 +0200 -@@ -348,29 +348,11 @@ +--- a/ui4/systemtray.py ++++ b/ui4/systemtray.py +@@ -418,29 +418,11 @@ def setMenu(self): self.menu = QMenu() diff -Nru hplip-3.12.2/debian/patches/hp_photosmart_pro_b9100_support.dpatch hplip-3.13.4/debian/patches/hp_photosmart_pro_b9100_support.dpatch --- hplip-3.12.2/debian/patches/hp_photosmart_pro_b9100_support.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/hp_photosmart_pro_b9100_support.dpatch 2013-03-07 23:28:32.000000000 +0000 @@ -5,10 +5,9 @@ ## DP: No description. @DPATCH@ -diff -urNad hplip-3.9.10~55~/data/models/models.dat hplip-3.9.10~55/data/models/models.dat ---- hplip-3.9.10~55~/data/models/models.dat 2009-11-04 11:06:38.000000000 +0100 -+++ hplip-3.9.10~55/data/models/models.dat 2009-11-10 10:11:32.000000000 +0100 -@@ -40174,9 +40174,9 @@ +--- a/data/models/models.dat ++++ b/data/models/models.dat +@@ -52626,9 +52626,9 @@ status-type=2 support-released=True support-subtype=219b2b diff -Nru hplip-3.12.2/debian/patches/hpaio-option-duplex.diff hplip-3.13.4/debian/patches/hpaio-option-duplex.diff --- hplip-3.12.2/debian/patches/hpaio-option-duplex.diff 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/debian/patches/hpaio-option-duplex.diff 2012-06-20 22:55:57.000000000 +0000 @@ -0,0 +1,32 @@ +--- a/scan/sane/sclpml.c ++++ b/scan/sane/sclpml.c +@@ -1063,20 +1063,17 @@ + hpaio->option[OPTION_ADF_MODE].constraint_type = SANE_CONSTRAINT_STRING_LIST; + hpaio->option[OPTION_ADF_MODE].constraint.string_list = hpaio->adfModeList; + +- // Duplex scanning is supported +- if (hpaio->supportsDuplex == 1) +- { +- hpaio->option[OPTION_DUPLEX].name = STR_NAME_DUPLEX; +- hpaio->option[OPTION_DUPLEX].title = STR_TITLE_DUPLEX; +- hpaio->option[OPTION_DUPLEX].desc = STR_DESC_DUPLEX; +- hpaio->option[OPTION_DUPLEX].type = SANE_TYPE_BOOL; +- hpaio->option[OPTION_DUPLEX].unit = SANE_UNIT_NONE; +- hpaio->option[OPTION_DUPLEX].size = sizeof( SANE_Bool ); +- hpaio->option[OPTION_DUPLEX].cap = SANE_CAP_SOFT_SELECT | ++ hpaio->option[OPTION_DUPLEX].name = STR_NAME_DUPLEX; ++ hpaio->option[OPTION_DUPLEX].title = STR_TITLE_DUPLEX; ++ hpaio->option[OPTION_DUPLEX].desc = STR_DESC_DUPLEX; ++ hpaio->option[OPTION_DUPLEX].type = SANE_TYPE_BOOL; ++ hpaio->option[OPTION_DUPLEX].unit = SANE_UNIT_NONE; ++ hpaio->option[OPTION_DUPLEX].size = sizeof( SANE_Bool ); ++ hpaio->option[OPTION_DUPLEX].cap = SANE_CAP_SOFT_SELECT | + SANE_CAP_SOFT_DETECT | + SANE_CAP_ADVANCED; +- hpaio->option[OPTION_DUPLEX].constraint_type = SANE_CONSTRAINT_NONE; +- } ++ hpaio->option[OPTION_DUPLEX].constraint_type = SANE_CONSTRAINT_NONE; ++ + hpaio->option[GROUP_GEOMETRY].title = STR_TITLE_GEOMETRY; + hpaio->option[GROUP_GEOMETRY].type = SANE_TYPE_GROUP; + hpaio->option[GROUP_GEOMETRY].cap = SANE_CAP_ADVANCED; diff -Nru hplip-3.12.2/debian/patches/hpfax-bug-function-used-before-importing-log.dpatch hplip-3.13.4/debian/patches/hpfax-bug-function-used-before-importing-log.dpatch --- hplip-3.12.2/debian/patches/hpfax-bug-function-used-before-importing-log.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/hpfax-bug-function-used-before-importing-log.dpatch 2012-05-26 00:25:50.000000000 +0000 @@ -5,9 +5,10 @@ ## DP: No description. @DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.7~/fax/backend/hpfax.py hplip-3.11.7/fax/backend/hpfax.py ---- hplip-3.11.7~/fax/backend/hpfax.py 2011-07-24 21:06:43.000000000 +0200 -+++ hplip-3.11.7/fax/backend/hpfax.py 2011-09-23 10:53:26.338256601 +0200 +Index: hplip-3.12.4/fax/backend/hpfax.py +=================================================================== +--- hplip-3.12.4.orig/fax/backend/hpfax.py 2012-04-10 18:34:59.000000000 +1000 ++++ hplip-3.12.4/fax/backend/hpfax.py 2012-05-26 10:21:30.000000000 +1000 @@ -52,7 +52,10 @@ def bug(msg): diff -Nru hplip-3.12.2/debian/patches/hplip-syslog-fix-debug-messages-to-error.dpatch hplip-3.13.4/debian/patches/hplip-syslog-fix-debug-messages-to-error.dpatch --- hplip-3.12.2/debian/patches/hplip-syslog-fix-debug-messages-to-error.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/hplip-syslog-fix-debug-messages-to-error.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## hplip-syslog-fix-debug-messages-to-error.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: No description. - -@DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.12~/prnt/hpcups/CommonDefinitions.h hplip-3.11.12/prnt/hpcups/CommonDefinitions.h ---- hplip-3.11.12~/prnt/hpcups/CommonDefinitions.h 2011-12-09 12:17:50.000000000 +0100 -+++ hplip-3.11.12/prnt/hpcups/CommonDefinitions.h 2012-01-06 16:02:11.680182011 +0100 -@@ -68,7 +68,7 @@ - #define _STRINGIZE(x) #x - #define STRINGIZE(x) _STRINGIZE(x) - --#define dbglog(args...) {syslog(LOG_ERR, __FILE__ " " STRINGIZE(__LINE__) ": " args); \ -+#define dbglog(args...) {syslog(LOG_DEBUG, __FILE__ " " STRINGIZE(__LINE__) ": " args); \ - fprintf(stderr, __FILE__ " " STRINGIZE(__LINE__) ": " args);} - - diff -Nru hplip-3.12.2/debian/patches/kbsd.dpatch hplip-3.13.4/debian/patches/kbsd.dpatch --- hplip-3.12.2/debian/patches/kbsd.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/kbsd.dpatch 2012-05-26 00:25:50.000000000 +0000 @@ -5,9 +5,10 @@ ## DP: No description. @DPATCH@ -diff -urNad hplip-3.9.10~/prnt/hpcups/ErnieFilter.cpp hplip-3.9.10/prnt/hpcups/ErnieFilter.cpp ---- hplip-3.9.10~/prnt/hpcups/ErnieFilter.cpp 2009-11-07 08:53:28.000000000 +1100 -+++ hplip-3.9.10/prnt/hpcups/ErnieFilter.cpp 2009-12-14 05:32:17.000000000 +1100 +Index: hplip-3.12.4/prnt/hpcups/ErnieFilter.cpp +=================================================================== +--- hplip-3.12.4.orig/prnt/hpcups/ErnieFilter.cpp 2012-04-10 18:32:37.000000000 +1000 ++++ hplip-3.12.4/prnt/hpcups/ErnieFilter.cpp 2012-05-26 10:21:29.000000000 +1000 @@ -50,7 +50,7 @@ #include "ErnieFilter.h" diff -Nru hplip-3.12.2/debian/patches/kde4-kdesudo-support.dpatch hplip-3.13.4/debian/patches/kde4-kdesudo-support.dpatch --- hplip-3.12.2/debian/patches/kde4-kdesudo-support.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/kde4-kdesudo-support.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,23 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## kde4-kdesudo-support.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: No description. - -@DPATCH@ -diff -urNad hplip-3.9.4b~/base/utils.py hplip-3.9.4b/base/utils.py ---- hplip-3.9.4b~/base/utils.py 2009-04-29 22:39:01.000000000 +0200 -+++ hplip-3.9.4b/base/utils.py 2009-05-16 00:06:50.000000000 +0200 -@@ -1572,6 +1572,12 @@ - if which('kdesu'): - su_sudo_str = 'kdesu -- %s' - -+ elif utils.which('/usr/lib/kde4/libexec/kdesu'): -+ su_sudo_str = '/usr/lib/kde4/libexec/kdesu -- %s' -+ -+ elif utils.which('kdesudo'): -+ su_sudo_str = 'kdesudo -- %s' -+ - elif which('gnomesu'): - su_sudo_str = 'gnomesu -c "%s"' - diff -Nru hplip-3.12.2/debian/patches/make-commafy-correctly-work-with-python-2.dpatch hplip-3.13.4/debian/patches/make-commafy-correctly-work-with-python-2.dpatch --- hplip-3.12.2/debian/patches/make-commafy-correctly-work-with-python-2.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/make-commafy-correctly-work-with-python-2.dpatch 2013-03-07 23:28:32.000000000 +0000 @@ -5,10 +5,9 @@ ## DP: No description. @DPATCH@ -diff -urNad hplip-3.10.2~/base/utils.py hplip-3.10.2/base/utils.py ---- hplip-3.10.2~/base/utils.py 2010-04-09 21:20:22.085486637 +0200 -+++ hplip-3.10.2/base/utils.py 2010-04-09 21:22:19.865465070 +0200 -@@ -362,7 +362,7 @@ +--- a/base/utils.py ++++ b/base/utils.py +@@ -462,7 +462,7 @@ def commafy(val): diff -Nru hplip-3.12.2/debian/patches/pjl-duplex-binding.dpatch hplip-3.13.4/debian/patches/pjl-duplex-binding.dpatch --- hplip-3.12.2/debian/patches/pjl-duplex-binding.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/pjl-duplex-binding.dpatch 2012-05-26 00:25:50.000000000 +0000 @@ -5,10 +5,11 @@ ## DP: https://bugs.launchpad.net/hplip/+bug/244295 @DPATCH@ -diff -urNad hplip-2.8.7~/prnt/hpijs/ljcolor.cpp hplip-2.8.7/prnt/hpijs/ljcolor.cpp ---- hplip-2.8.7~/prnt/hpijs/ljcolor.cpp 2008-07-30 18:44:30.000000000 +0200 -+++ hplip-2.8.7/prnt/hpijs/ljcolor.cpp 2008-09-23 13:17:01.000000000 +0200 -@@ -325,6 +325,19 @@ +Index: hplip-3.12.4/prnt/hpijs/ljcolor.cpp +=================================================================== +--- hplip-3.12.4.orig/prnt/hpijs/ljcolor.cpp 2012-04-10 18:39:32.000000000 +1000 ++++ hplip-3.12.4/prnt/hpijs/ljcolor.cpp 2012-05-26 10:21:29.000000000 +1000 +@@ -330,6 +330,19 @@ err = thePrinter->Send ((const BYTE *) res, strlen (res)); @@ -28,10 +29,11 @@ err = thePrinter->Send ((const BYTE*) EnterLanguage, sizeof (EnterLanguage)); ERRCHECK; -diff -urNad hplip-2.8.7~/prnt/hpijs/ljjetready.cpp hplip-2.8.7/prnt/hpijs/ljjetready.cpp ---- hplip-2.8.7~/prnt/hpijs/ljjetready.cpp 2008-07-30 18:44:30.000000000 +0200 -+++ hplip-2.8.7/prnt/hpijs/ljjetready.cpp 2008-09-23 13:17:01.000000000 +0200 -@@ -324,6 +324,17 @@ +Index: hplip-3.12.4/prnt/hpijs/ljjetready.cpp +=================================================================== +--- hplip-3.12.4.orig/prnt/hpijs/ljjetready.cpp 2012-04-10 18:39:32.000000000 +1000 ++++ hplip-3.12.4/prnt/hpijs/ljjetready.cpp 2012-05-26 10:21:29.000000000 +1000 +@@ -329,6 +329,17 @@ err = thePrinter->Send ((const BYTE *) szScratchStr, strlen (szScratchStr)); ERRCHECK; @@ -49,10 +51,11 @@ //Set the resolution to 600 err = thePrinter->Send ((const BYTE*)ccpPJLSetRes,sizeof(ccpPJLSetRes)); ERRCHECK; -diff -urNad hplip-2.8.7~/prnt/hpijs/ljmono.cpp hplip-2.8.7/prnt/hpijs/ljmono.cpp ---- hplip-2.8.7~/prnt/hpijs/ljmono.cpp 2008-07-30 18:44:30.000000000 +0200 -+++ hplip-2.8.7/prnt/hpijs/ljmono.cpp 2008-09-23 13:17:01.000000000 +0200 -@@ -207,6 +207,19 @@ +Index: hplip-3.12.4/prnt/hpijs/ljmono.cpp +=================================================================== +--- hplip-3.12.4.orig/prnt/hpijs/ljmono.cpp 2012-04-10 18:39:32.000000000 +1000 ++++ hplip-3.12.4/prnt/hpijs/ljmono.cpp 2012-05-26 10:21:29.000000000 +1000 +@@ -212,6 +212,19 @@ err = thePrinter->Send ((const BYTE *) res, strlen (res)); ERRCHECK; diff -Nru hplip-3.12.2/debian/patches/remove-duplicate-entry-for-cp1700-in-drv-files.dpatch hplip-3.13.4/debian/patches/remove-duplicate-entry-for-cp1700-in-drv-files.dpatch --- hplip-3.12.2/debian/patches/remove-duplicate-entry-for-cp1700-in-drv-files.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/remove-duplicate-entry-for-cp1700-in-drv-files.dpatch 2013-03-07 23:28:32.000000000 +0000 @@ -5,10 +5,9 @@ ## DP: No description. @DPATCH@ -diff -urNad hplip-3.10.2~/prnt/drv/hpcups.drv.in hplip-3.10.2/prnt/drv/hpcups.drv.in ---- hplip-3.10.2~/prnt/drv/hpcups.drv.in 2010-04-11 09:58:07.000000000 +0200 -+++ hplip-3.10.2/prnt/drv/hpcups.drv.in 2010-04-11 10:01:29.285465160 +0200 -@@ -1626,14 +1626,6 @@ +--- a/prnt/drv/hpcups.drv.in ++++ b/prnt/drv/hpcups.drv.in +@@ -1678,14 +1678,6 @@ Attribute "Product" "" "(HP Photosmart 1315 Printer)" } { @@ -23,7 +22,7 @@ ModelName "HP PSC 2100 Series" Attribute "NickName" "" "HP PSC 2100 Series, $Version" Attribute "ShortNickName" "" "HP PSC 2100 Series" -@@ -1741,11 +1733,11 @@ +@@ -1793,11 +1785,11 @@ // <%DJ9xxVIP:LargeFormatSuperB%> { @@ -40,10 +39,9 @@ Attribute "Product" "" "(HP Color Inkjet cp1700 Printer)" Attribute "Product" "" "(HP Color Inkjet cp1700ps Printer)" Attribute "Product" "" "(HP Color Inkjet cp1700d Printer)" -diff -urNad hplip-3.10.2~/prnt/drv/hpijs.drv.in hplip-3.10.2/prnt/drv/hpijs.drv.in ---- hplip-3.10.2~/prnt/drv/hpijs.drv.in 2010-04-11 09:58:07.000000000 +0200 -+++ hplip-3.10.2/prnt/drv/hpijs.drv.in 2010-04-11 10:00:39.616713799 +0200 -@@ -1744,14 +1744,6 @@ +--- a/prnt/drv/hpijs.drv.in ++++ b/prnt/drv/hpijs.drv.in +@@ -1745,14 +1745,6 @@ Attribute "Product" "" "(HP Photosmart 1315 Printer)" } { @@ -58,7 +56,7 @@ ModelName "HP PSC 2100 Series hpijs" Attribute "NickName" "" "HP PSC 2100 Series hpijs, $Version" Attribute "ShortNickName" "" "HP PSC 2100 Series hpijs" -@@ -1833,11 +1825,11 @@ +@@ -1834,11 +1826,11 @@ CustomMedia "A3/A3" 842.00 1190.00 18.00 36.00 18.00 9.00 "%% FoomaticRIPOptionSetting: PageSize=A3" "%% FoomaticRIPOptionSetting: PageSize=A3" // <%DJ9xxVIP:LargeFormatSuperB%> { diff -Nru hplip-3.12.2/debian/patches/series hplip-3.13.4/debian/patches/series --- hplip-3.12.2/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/debian/patches/series 2013-05-10 12:18:00.000000000 +0000 @@ -0,0 +1,25 @@ +01_rss.dpatch +10_shebang_fixes.dpatch +14_charsign_fixes.dpatch +85_rebuild_python_ui.dpatch +87_move_documentation.dpatch +hp_photosmart_pro_b9100_support.dpatch +pjl-duplex-binding.dpatch +hp-check_debian.dpatch +hp-setup-prompt-for-custom-PPD.dpatch +kbsd.dpatch +udev-rules-hp-mkuri-call-fix.dpatch +hp-mkuri-take-into-account-already-installed-plugin-also-for-exit-value.dpatch +ubuntu-hp-mkuri-notification-text.dpatch +simple-scan-as-default.dpatch +make-commafy-correctly-work-with-python-2.dpatch +#remove-duplicate-entry-for-cp1700-in-drv-files.dpatch +black-stripes-on-pcl5c-printouts.dpatch +try_libhpmud.so.0.dpatch +add-lidil-two-cartridge-modes.dpatch +CVE-2010-4267.dpatch +hpfax-bug-function-used-before-importing-log.dpatch +hp-systray-make-menu-title-visible-in-sni-qt-indicator.dpatch +hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.dpatch +hp-mkuri-libnotify-so-4-support.dpatch +hpaio-option-duplex.diff diff -Nru hplip-3.12.2/debian/patches/simple-scan-as-default.dpatch hplip-3.13.4/debian/patches/simple-scan-as-default.dpatch --- hplip-3.12.2/debian/patches/simple-scan-as-default.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/simple-scan-as-default.dpatch 2013-03-07 23:28:32.000000000 +0000 @@ -5,10 +5,9 @@ ## DP: No description. @DPATCH@ -diff -urNad hplip-3.10.2~/base/utils.py hplip-3.10.2/base/utils.py ---- hplip-3.10.2~/base/utils.py 2010-02-25 00:07:40.000000000 +0100 -+++ hplip-3.10.2/base/utils.py 2010-03-24 09:05:57.660740026 +0100 -@@ -450,18 +450,21 @@ +--- a/base/utils.py ++++ b/base/utils.py +@@ -550,18 +550,21 @@ # Scan self.cmd_scan = '' @@ -37,10 +36,9 @@ # Photo Card path = which('hp-unload') -diff -urNad hplip-3.10.2~/ui4/ui_utils.py hplip-3.10.2/ui4/ui_utils.py ---- hplip-3.10.2~/ui4/ui_utils.py 2010-02-25 00:07:15.000000000 +0100 -+++ hplip-3.10.2/ui4/ui_utils.py 2010-03-24 09:07:08.200766557 +0100 -@@ -136,7 +136,7 @@ +--- a/ui4/ui_utils.py ++++ b/ui4/ui_utils.py +@@ -141,7 +141,7 @@ def loadDefaults(self): diff -Nru hplip-3.12.2/debian/patches/try_libhpmud.so.0.dpatch hplip-3.13.4/debian/patches/try_libhpmud.so.0.dpatch --- hplip-3.12.2/debian/patches/try_libhpmud.so.0.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/try_libhpmud.so.0.dpatch 2013-03-07 23:28:32.000000000 +0000 @@ -6,60 +6,60 @@ @DPATCH@ -diff --git a/scan/sane/marvell.c b/scan/sane/marvell.c -index c36caa7..465342e 100644 --- a/scan/sane/marvell.c +++ b/scan/sane/marvell.c -@@ -63,8 +63,11 @@ static int bb_load(struct marvell_session *ps, const char *so) +@@ -60,8 +60,14 @@ + int stat=1; + /* Load hpmud manually with symbols exported. Otherwise the plugin will not find it. */ - if ((ps->hpmud_handle = dlopen("libhpmud.so", RTLD_LAZY|RTLD_GLOBAL)) == NULL) - { -- BUG("unable to load restricted library: %s\n", dlerror()); +- if ((ps->hpmud_handle = load_library("libhpmud.so")) == NULL) - goto bugout; -+ if ((ps->hpmud_handle = dlopen("libhpmud.so.0", RTLD_LAZY|RTLD_GLOBAL)) == NULL) -+ { -+ BUG("unable to load restricted library: %s\n", dlerror()); -+ goto bugout; -+ } - } ++ if ((ps->hpmud_handle = dlopen("libhpmud.so", RTLD_LAZY|RTLD_GLOBAL)) == NULL) ++ { ++ if ((ps->hpmud_handle = dlopen("libhpmud.so.0", RTLD_LAZY|RTLD_GLOBAL)) == NULL) ++ { ++ BUG("unable to load restricted library: %s\n", dlerror()); ++ goto bugout; ++ } ++ } /* Load math library manually with symbols exported (Ubuntu 8.04). Otherwise the plugin will not find it. */ -diff --git a/scan/sane/soap.c b/scan/sane/soap.c -index 28b83cc..698f58c 100644 + if ((ps->math_handle = load_library("libm.so")) == NULL) --- a/scan/sane/soap.c +++ b/scan/sane/soap.c -@@ -71,8 +71,11 @@ static int bb_load(struct soap_session *ps, const char *so) +@@ -68,8 +68,14 @@ + int stat=1; + /* Load hpmud manually with symbols exported. Otherwise the plugin will not find it. */ - if ((ps->hpmud_handle = dlopen("libhpmud.so", RTLD_LAZY|RTLD_GLOBAL)) == NULL) - { -- BUG("unable to load restricted library: %s\n", dlerror()); +- if ((ps->hpmud_handle = load_library("libhpmud.so")) == NULL) - goto bugout; -+ if ((ps->hpmud_handle = dlopen("libhpmud.so.0", RTLD_LAZY|RTLD_GLOBAL)) == NULL) -+ { -+ BUG("unable to load restricted library: %s\n", dlerror()); -+ goto bugout; -+ } - } ++ if ((ps->hpmud_handle = dlopen("libhpmud.so", RTLD_LAZY|RTLD_GLOBAL)) == NULL) ++ { ++ if ((ps->hpmud_handle = dlopen("libhpmud.so.0", RTLD_LAZY|RTLD_GLOBAL)) == NULL) ++ { ++ BUG("unable to load restricted library: %s\n", dlerror()); ++ goto bugout; ++ } ++ } /* Load math library manually with symbols exported (Ubuntu 8.04). Otherwise the plugin will not find it. */ -diff --git a/scan/sane/soapht.c b/scan/sane/soapht.c -index 5535245..e6039c1 100644 + if ((ps->math_handle = load_library("libm.so")) == NULL) --- a/scan/sane/soapht.c +++ b/scan/sane/soapht.c -@@ -62,10 +62,13 @@ static int bb_load(struct soap_session *ps, const char *so) +@@ -62,8 +62,14 @@ int stat=1; /* Load hpmud manually with symbols exported. Otherwise the plugin will not find it. */ -- if ((ps->hpmud_handle = dlopen("libhpmud.so.0", RTLD_LAZY|RTLD_GLOBAL)) == NULL) -+ if ((ps->hpmud_handle = dlopen("libhpmud.so", RTLD_LAZY|RTLD_GLOBAL)) == NULL) - { -- BUG("unable to load restricted library: %s\n", dlerror()); +- if ((ps->hpmud_handle = load_library("libhpmud.so.0")) == NULL) - goto bugout; -+ if ((ps->hpmud_handle = dlopen("libhpmud.so.0", RTLD_LAZY|RTLD_GLOBAL)) == NULL) -+ { -+ BUG("unable to load restricted library: %s\n", dlerror()); -+ goto bugout; -+ } - } ++ if ((ps->hpmud_handle = dlopen("libhpmud.so", RTLD_LAZY|RTLD_GLOBAL)) == NULL) ++ { ++ if ((ps->hpmud_handle = dlopen("libhpmud.so.0", RTLD_LAZY|RTLD_GLOBAL)) == NULL) ++ { ++ BUG("unable to load restricted library: %s\n", dlerror()); ++ goto bugout; ++ } ++ } /* Load math library manually with symbols exported (Ubuntu 8.04). Otherwise the plugin will not find it. */ + if ((ps->math_handle = load_library("libm.so")) == NULL) diff -Nru hplip-3.12.2/debian/patches/ubuntu-hp-mkuri-notification-text.dpatch hplip-3.13.4/debian/patches/ubuntu-hp-mkuri-notification-text.dpatch --- hplip-3.12.2/debian/patches/ubuntu-hp-mkuri-notification-text.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/ubuntu-hp-mkuri-notification-text.dpatch 2013-03-07 23:28:32.000000000 +0000 @@ -8,19 +8,9 @@ . /usr/share/dpatch/dpatch-run @DPATCH@ -diff -urNad hplip-3.10.2~/io/hpmud/hp-mkuri.c hplip-3.10.2/io/hpmud/hp-mkuri.c ---- hplip-3.10.2~/io/hpmud/hp-mkuri.c 2010-03-17 22:56:18.000737637 +0100 -+++ hplip-3.10.2/io/hpmud/hp-mkuri.c 2010-03-17 23:00:11.610781053 +0100 -@@ -355,6 +355,8 @@ - if (hpmud_get_key_value(datfile, model, "fax-type", value, sizeof(value)) != HPMUD_R_OK) - goto bugout; - fax = strtol(value, NULL, 10); -+ if (hpmud_get_key_value(datfile, model, "model1", m, sizeof(m)) != HPMUD_R_OK) -+ goto bugout; - - /* See if device is supported by hplip. */ - if (support == HPMUD_SUPPORT_TYPE_NONE) -@@ -372,12 +374,12 @@ +--- a/io/hpmud/hp-mkuri.c ++++ b/io/hpmud/hp-mkuri.c +@@ -364,12 +364,12 @@ switch (plugin) { case HPMUD_PLUGIN_TYPE_REQUIRED: diff -Nru hplip-3.12.2/debian/patches/udev-rules-hp-mkuri-call-fix.dpatch hplip-3.13.4/debian/patches/udev-rules-hp-mkuri-call-fix.dpatch --- hplip-3.12.2/debian/patches/udev-rules-hp-mkuri-call-fix.dpatch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/patches/udev-rules-hp-mkuri-call-fix.dpatch 2012-05-26 00:25:50.000000000 +0000 @@ -5,9 +5,10 @@ ## DP: No description. @DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.12~/data/rules/56-hpmud_support.rules hplip-3.11.12/data/rules/56-hpmud_support.rules ---- hplip-3.11.12~/data/rules/56-hpmud_support.rules 2011-12-09 12:19:54.000000000 +0100 -+++ hplip-3.11.12/data/rules/56-hpmud_support.rules 2012-01-06 13:26:39.635253157 +0100 +Index: hplip-3.12.4/data/rules/56-hpmud_support.rules +=================================================================== +--- hplip-3.12.4.orig/data/rules/56-hpmud_support.rules 2012-04-10 18:34:19.000000000 +1000 ++++ hplip-3.12.4/data/rules/56-hpmud_support.rules 2012-05-26 10:21:29.000000000 +1000 @@ -7,9 +7,8 @@ LABEL="pid_test" diff -Nru hplip-3.12.2/debian/printer-driver-hpcups.bug-presubj hplip-3.13.4/debian/printer-driver-hpcups.bug-presubj --- hplip-3.12.2/debian/printer-driver-hpcups.bug-presubj 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/debian/printer-driver-hpcups.bug-presubj 2012-06-10 13:35:29.000000000 +0000 @@ -0,0 +1,24 @@ +The HPLIP Launchpad.net site https://launchpad.net/hplip is available +to get help, report bugs, make suggestions, discuss the HPLIP project +or otherwise contact the HPLIP Team. + +The Debian team values users reports, but we are busy, and so we +kindly ask you to access the upstream support facilities: + +Before submitting tickets for support please check the "Browse Knowledge +Base" section from (http://hplipopensource.com/hplip-web/index.html) +for possible answers to your questions/or for troubleshooting your problem. + +For end user support please "Ask a question" at the +upstream hplip support site: + https://answers.launchpad.net/hplip + +If you know that the bug you want to report is in the "upstream" +code then please file report in the upstream hplip bug tracking system: + https://bugs.launchpad.net/hplip + +If you feel that the bug is one that other Debian users should +know about then you are welcome to file a report in the Debian BTS +as well. Please keep in mind, however, that managing bug reports +is part of the maintainers' workload. + diff -Nru hplip-3.12.2/debian/printer-driver-hpcups.bug-script hplip-3.13.4/debian/printer-driver-hpcups.bug-script --- hplip-3.12.2/debian/printer-driver-hpcups.bug-script 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/debian/printer-driver-hpcups.bug-script 2012-06-10 13:35:29.000000000 +0000 @@ -0,0 +1,10 @@ +#!/bin/sh -e +echo +while true; do + read -p "Do you wish to include your system configuration with this report (hp-check -r)? " yn + case $yn in + [Yy]* ) /usr/bin/hp-check -t -r >&3 2>&3; break;; + [Nn]* ) exit;; + * ) echo "Please answer yes or no.";; + esac +done diff -Nru hplip-3.12.2/debian/printer-driver-hpcups.install hplip-3.13.4/debian/printer-driver-hpcups.install --- hplip-3.12.2/debian/printer-driver-hpcups.install 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/printer-driver-hpcups.install 2012-06-20 22:55:57.000000000 +0000 @@ -1,3 +1,3 @@ usr/lib/cups/filter/hpcups* usr/share/cups/drv/hpcups.drv -usr/share/cups/ppd-updaters/printer-driver-hpcups +usr/share/cups/ppd-updaters/printer-driver-hpcups.ppd-updater diff -Nru hplip-3.12.2/debian/printer-driver-hpijs.bug-presubj hplip-3.13.4/debian/printer-driver-hpijs.bug-presubj --- hplip-3.12.2/debian/printer-driver-hpijs.bug-presubj 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/debian/printer-driver-hpijs.bug-presubj 2012-06-10 13:35:29.000000000 +0000 @@ -0,0 +1,24 @@ +The HPLIP Launchpad.net site https://launchpad.net/hplip is available +to get help, report bugs, make suggestions, discuss the HPLIP project +or otherwise contact the HPLIP Team. + +The Debian team values users reports, but we are busy, and so we +kindly ask you to access the upstream support facilities: + +Before submitting tickets for support please check the "Browse Knowledge +Base" section from (http://hplipopensource.com/hplip-web/index.html) +for possible answers to your questions/or for troubleshooting your problem. + +For end user support please "Ask a question" at the +upstream hplip support site: + https://answers.launchpad.net/hplip + +If you know that the bug you want to report is in the "upstream" +code then please file report in the upstream hplip bug tracking system: + https://bugs.launchpad.net/hplip + +If you feel that the bug is one that other Debian users should +know about then you are welcome to file a report in the Debian BTS +as well. Please keep in mind, however, that managing bug reports +is part of the maintainers' workload. + diff -Nru hplip-3.12.2/debian/printer-driver-hpijs.bug-script hplip-3.13.4/debian/printer-driver-hpijs.bug-script --- hplip-3.12.2/debian/printer-driver-hpijs.bug-script 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/debian/printer-driver-hpijs.bug-script 2012-06-10 13:35:29.000000000 +0000 @@ -0,0 +1,10 @@ +#!/bin/sh -e +echo +while true; do + read -p "Do you wish to include your system configuration with this report (hp-check -r)? " yn + case $yn in + [Yy]* ) /usr/bin/hp-check -t -r >&3 2>&3; break;; + [Nn]* ) exit;; + * ) echo "Please answer yes or no.";; + esac +done diff -Nru hplip-3.12.2/debian/printer-driver-hpijs.install hplip-3.13.4/debian/printer-driver-hpijs.install --- hplip-3.12.2/debian/printer-driver-hpijs.install 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/printer-driver-hpijs.install 2012-06-20 22:55:57.000000000 +0000 @@ -1,3 +1,3 @@ usr/bin/hpijs usr/bin/ usr/share/cups/drv/hpijs.drv usr/share/cups/drv/ -usr/share/cups/ppd-updaters/printer-driver-hpijs +usr/share/cups/ppd-updaters/printer-driver-hpijs.ppd-updater diff -Nru hplip-3.12.2/debian/printer-driver-postscript-hp.install hplip-3.13.4/debian/printer-driver-postscript-hp.install --- hplip-3.12.2/debian/printer-driver-postscript-hp.install 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/printer-driver-postscript-hp.install 2012-06-20 22:55:57.000000000 +0000 @@ -1,2 +1,2 @@ usr/share/ppd/hplip/*/*ps.ppd* -usr/share/cups/ppd-updaters/printer-driver-postscript-hp +usr/share/cups/ppd-updaters/printer-driver-postscript-hp.ppd-updater diff -Nru hplip-3.12.2/debian/rules hplip-3.13.4/debian/rules --- hplip-3.12.2/debian/rules 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/rules 2013-03-07 23:28:32.000000000 +0000 @@ -7,10 +7,6 @@ PACKAGE=hplip BASEPKG=hplip -# DPatch -DEB_SOURCE_PACKAGE:=$(PACKAGE) -include /usr/share/dpatch/dpatch.make - # DebHelper control export DH_ALWAYS_EXCLUDE=CVS:.cvsignore #export DH_VERBOSE=1 @@ -30,7 +26,7 @@ PKGTMP:=$(CURDIR)/debian/tmp PPDDIR:=$(PKGTMP)/usr/share/ppd -SF_MIRRORS:= optusnet ovh puzzle superb-east +SF_MIRRORS:= ovh puzzle superb-east -include /usr/share/gnome-pkg-tools/1/rules/sf-get-source.mk # Version information @@ -62,18 +58,14 @@ ifeq ($(DEB_HOST_ARCH_OS), linux) CONFFLAGS += --enable-pp-build else - CONFFLAGS += --disable-pp-build -endif - -DEBUGFLAGS=-g -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - DEBUGFLAGS += -O0 -else - DEBUGFLAGS += -O2 + CONFFLAGS += --disable-pp-build --enable-libusb01_build endif -CFLAGS:=-Wall -pipe $(DEBUGFLAGS) +CFLAGS:=-Wall -pipe -D_IPP_PRIVATE_STRUCTURES=1 +CFLAGS += `dpkg-buildflags --get CFLAGS` CXXFLAGS:=$(CFLAGS) +LDFLAGS = `dpkg-buildflags --get LDFLAGS` +CPPFLAGS = `dpkg-buildflags --get CPPFLAGS` ## ## Build-tree preparation @@ -81,14 +73,13 @@ configure: Makefile.am configure.in dh_testdir - touch NEWS README AUTHORS ChangeLog + touch NEWS README AUTHORS ChangeLog INSTALL chmod +x debian/autogen.sh - debian/autogen.sh + dh_autoreconf debian/autogen.sh # Clean everything up, including everything auto-generated # at build time that needs not to be kept around in the Debian diff -clean: clean-patched unpatch -clean-patched: configure +clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp @@ -107,7 +98,7 @@ # We prefer to regenerate these using pyuic (cd ui && for i in *.ui ; do rm -f $${i%.ui}.py ; done) - rm -f NEWS README AUTHORS ChangeLog + rm -f NEWS README AUTHORS ChangeLog INSTALL dh_clean @@ -115,14 +106,14 @@ ## Package build ## -configure-stamp: patch-stamp configure +configure-stamp: configure dh_testdir ln -sf /usr/share/misc/config.sub . ln -sf /usr/share/misc/config.guess . rm -f config.cache - ./configure CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ + ./configure CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"\ HPLIP_PPD_PATH=/usr/share/ppd \ $(CONFFLAGS) \ --config-cache \ @@ -199,10 +190,10 @@ # Install the ppd updater data files so that CUPS can update the # PPDs of the already existing queue after each update of HPLIP's # printer driver/PPD packages - install -D -m 644 debian/printer-driver-postscript-hp.ppd-updater $(PKGTMP)/usr/share/cups/ppd-updaters/printer-driver-postscript-hp - install -D -m 644 debian/printer-driver-hpcups.ppd-updater $(PKGTMP)/usr/share/cups/ppd-updaters/printer-driver-hpcups - install -D -m 644 debian/printer-driver-hpijs.ppd-updater $(PKGTMP)/usr/share/cups/ppd-updaters/printer-driver-hpijs - install -D -m 644 debian/hpijs-ppds.ppd-updater $(PKGTMP)/usr/share/cups/ppd-updaters/hpijs-ppds + install -D -m 644 debian/printer-driver-postscript-hp.ppd-updater $(PKGTMP)/usr/share/cups/ppd-updaters/printer-driver-postscript-hp.ppd-updater + install -D -m 644 debian/printer-driver-hpcups.ppd-updater $(PKGTMP)/usr/share/cups/ppd-updaters/printer-driver-hpcups.ppd-updater + install -D -m 644 debian/printer-driver-hpijs.ppd-updater $(PKGTMP)/usr/share/cups/ppd-updaters/printer-driver-hpijs.ppd-updater + install -D -m 644 debian/hpijs-ppds.ppd-updater $(PKGTMP)/usr/share/cups/ppd-updaters/hpijs-ppds.ppd-updater # Install Apport hook install -D -m 644 debian/local/apport-hook.py $(PKGTMP)/usr/share/apport/package-hooks/source_hplip.py @@ -250,6 +241,7 @@ # Link all executables to /usr/bin and generate the corresponding # man pages + chmod 755 ./debian/tmp/usr/share/hplip/check-plugin.py export HPLIP_BUILD=1; \ ( cd ./debian/tmp/usr/share/hplip/; \ for file in *.py; do \ @@ -257,7 +249,7 @@ [ $$file != hpssd.py ] && [ $$file != dat2drv.py ] && \ [ $$file != __init__.py ]; then \ dest=hp-$${file%.py}; \ - ln -s /usr/share/hplip/$$file \ + ln -s ../../usr/share/hplip/$$file \ ../../bin/$$dest 2>/dev/null || :; \ PYTHONPATH=../../lib/python$(PYTHON_DEFAULT_VERSION)/$(PYTHON_SITENAME)/ \ LD_LIBRARY_PATH=../../lib/ ../../bin/$$dest --help-man > $(CURDIR)/$$dest.1 ; \ @@ -396,7 +388,7 @@ binary-arch: install-arch dh_testdir -a dh_testroot - dh_bugfiles -A + dh_bugfiles # dh_installdebconf -a dh_installdocs -a dh_installexamples -a @@ -432,4 +424,4 @@ dh_builddeb -a binary: binary-indep binary-arch -.PHONY: build clean clean-patched binary-indep binary-arch binary install install-arch install-indep +.PHONY: build clean binary-indep binary-arch binary install install-arch install-indep diff -Nru hplip-3.12.2/debian/source/format hplip-3.13.4/debian/source/format --- hplip-3.12.2/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/debian/source/format 2013-08-03 10:36:35.576466493 +0000 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru hplip-3.12.2/debian/watch hplip-3.13.4/debian/watch --- hplip-3.12.2/debian/watch 2013-08-03 10:36:34.000000000 +0000 +++ hplip-3.13.4/debian/watch 2013-05-05 11:18:56.000000000 +0000 @@ -1,2 +1,3 @@ version=3 -http://sf.net/hplip/hplip-(.+)\.tar\.gz debian svn-upgrade +http://sf.net/hplip/hplip-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) debian svn-upgrade +# Bart Martens Sun, 17 Feb 2013 09:49:23 +0000 diff -Nru hplip-3.12.2/diagnose_plugin.py hplip-3.13.4/diagnose_plugin.py --- hplip-3.12.2/diagnose_plugin.py 2012-02-01 11:53:57.000000000 +0000 +++ hplip-3.13.4/diagnose_plugin.py 2013-04-08 09:58:45.000000000 +0000 @@ -37,17 +37,15 @@ from base.g import * from base import utils, module -pm = None - +def usage(typ='text'): + if typ == 'text': + utils.log_title(__title__, __version__) + utils.format_text(USAGE, typ, __title__, __mod__, __version__) + sys.exit(0) USAGE = [ (__doc__, "", "name", True), - ("Usage: %s [MODE] [OPTIONS]" % __mod__, "", "summary", True), - utils.USAGE_MODE, - ("Installation for required printer mode:", "--required (Qt4 only)", "option", False), - ("Installation for optional printer mode:", "--optional (Qt4 only)", "option", False), - #("Installation generic mode:", "--generic (default)", "option", False), - utils.USAGE_LANGUAGE, + ("Usage: %s [OPTIONS]" % __mod__, "", "summary", True), utils.USAGE_OPTIONS, utils.USAGE_LOGGING1, utils.USAGE_LOGGING2, utils.USAGE_LOGGING3, utils.USAGE_HELP, @@ -67,64 +65,47 @@ mod.parseStdOpts( handle_device_printer=False) plugin_path = None -install_mode = PLUGIN_NONE # reuse plugin types for mode (PLUGIN_NONE = generic) +install_mode = PLUGIN_REQUIRED plugin_reason = PLUGIN_REASON_NONE -for o, a in opts: - if o == '--required': - install_mode = PLUGIN_REQUIRED - if ui_toolkit == 'qt3': - log.warn("--required switch ignored.") - - elif o == '--optional': - install_mode = PLUGIN_OPTIONAL - if ui_toolkit == 'qt3': - log.warn("--optional switch ignored.") - - elif o == '--reason': - plugin_reason = int(a) - - -version = prop.installed_version - - - if mode == GUI_MODE: if ui_toolkit == 'qt3': - if not utils.canEnterGUIMode(): - log.error("%s requires GUI support (try running with --qt4). Try using interactive (-i) mode." % __mod__) - sys.exit(1) - else: + log.error("Unable to load Qt3. Please use Qt4") + + else: #qt4 if not utils.canEnterGUIMode4(): - log.error("%s requires GUI support (try running with --qt3). Try using interactive (-i) mode." % __mod__) + log.error("%s requires GUI support . Is Qt4 installed?" % __mod__) sys.exit(1) - -if mode == GUI_MODE: - if ui_toolkit == 'qt3': - log.error("Unable to load Qt3. Please use qt4") - - else: # qt4 try: from PyQt4.QtGui import QApplication, QMessageBox from ui4.plugindiagnose import PluginDiagnose + from installer import pluginhandler except ImportError: log.error("Unable to load Qt4 support. Is it installed?") sys.exit(1) app = QApplication(sys.argv) + pluginObj = pluginhandler.PluginHandle() + plugin_sts = pluginObj.getStatus() + if plugin_sts == PLUGIN_INSTALLED: + log.info("Device Plugin is already installed") + sys.exit(0) + elif plugin_sts == PLUGIN_NOT_INSTALLED: + dialog = PluginDiagnose(None, install_mode, plugin_reason) + else: + dialog = PluginDiagnose(None, install_mode, plugin_reason, True) - dialog = PluginDiagnose(None, install_mode, plugin_reason) dialog.show() - try: log.debug("Starting GUI loop...") app.exec_() except KeyboardInterrupt: log.error("User exit") sys.exit(0) - +else: #Interaction mode + log.error("Only Qt4 GUI mode is supported \n") + usage() log.info("") log.info("Done.") - diff -Nru hplip-3.12.2/diagnose_queues.py hplip-3.13.4/diagnose_queues.py --- hplip-3.12.2/diagnose_queues.py 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/diagnose_queues.py 2013-04-08 09:58:46.000000000 +0000 @@ -0,0 +1,124 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# (c) Copyright 2011-2014 Hewlett-Packard Development Company, L.P. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Author: Amarnath Chitumalla +# + +__version__ = '1.1' +__title__ = 'AutoConfig Utility to check queues configuration' +__mod__ = 'hp-daignose-queues' +__doc__ = """Auto config utility for HPLIP supported multifunction Devices to diagnose queues configuration.""" + +# Std Lib +import sys +import os +import getopt + + +# Local +from base.g import * +from base import utils, module, queues, password + +def usage(typ='text'): + if typ == 'text': + utils.log_title(__title__, __version__) + utils.format_text(USAGE, typ, __title__, __mod__, __version__) + sys.exit(0) + + + +#########Main########## +USAGE = [(__doc__, "", "name", True), + ("Usage: %s [MODE] [OPTIONS]" % __mod__, "", "summary", True), + utils.USAGE_MODE, + utils.USAGE_GUI_MODE, + utils.USAGE_INTERACTIVE_MODE, + utils.USAGE_SPACE, + utils.USAGE_OPTIONS, + utils.USAGE_LOGGING1, utils.USAGE_LOGGING2, utils.USAGE_LOGGING3, + utils.USAGE_HELP, + ] + +try: + log.set_module(__mod__) + mod = module.Module(__mod__, __title__, __version__, __doc__, USAGE, + (INTERACTIVE_MODE, GUI_MODE), + (UI_TOOLKIT_QT3, UI_TOOLKIT_QT4), + run_as_root_ok=True,quiet=True) + try: + opts, device_uri, printer_name, mode, ui_toolkit, loc = mod.parseStdOpts('hl:gsiu', + ['help', 'help-rest', 'help-man', 'help-desc', 'logging=','gui','interactive'], + handle_device_printer=False) + + + except getopt.GetoptError, e: + log.error(e.msg) + usage() + sys.exit(1) + + if os.getenv("HPLIP_DEBUG"): + log.set_level('debug') + + log_level = 'info' + quiet_mode = False + for o, a in opts: + if o in ('-h', '--help'): + usage() + + elif o == '--help-rest': + usage('rest') + + elif o == '--help-man': + usage('man') + + elif o == '--help-desc': + print __doc__, + sys.exit(0) + + elif o in ('-l', '--logging'): + log_level = a.lower().strip() + + elif o == '-g': + log_level = 'debug' + + elif o == '-s': + quiet_mode = True + + if not log.set_level(log_level): + usage() + if not quiet_mode: + utils.log_title(__title__, __version__) + + mod.lockInstance(__mod__, True) + log_file = os.path.normpath('/var/log/hp/hplip_queues.log') + log.debug(log.bold("Saving output in log file: %s" % log_file)) + if os.path.exists(log_file): + os.remove(log_file) + log.set_logfile(log_file) + log.set_where(log.LOG_TO_CONSOLE_AND_FILE) + + passwordObj = password.Password(mode) + queues.main_function(passwordObj, mode,ui_toolkit, quiet_mode, True ) + + +except KeyboardInterrupt: + log.error("User exit") + +mod.unlockInstance() +log.debug("Done.") diff -Nru hplip-3.12.2/doctor.py hplip-3.13.4/doctor.py --- hplip-3.12.2/doctor.py 1970-01-01 00:00:00.000000000 +0000 +++ hplip-3.13.4/doctor.py 2013-04-08 09:58:45.000000000 +0000 @@ -0,0 +1,354 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# (c) Copyright 2012-2020 Hewlett-Packard Development Company, L.P. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Author: Amarnath Chitumalla +# + +__version__ = '1.0' +__title__ = 'Self Diagnse Utility and Healing Utility' +__mod__ = 'hp-doctor' +__doc__ = """Check for the deprecated, plug-in, dependencies, queues and Permission issues. And provides self diagnose steps""" + + +# global import +import getopt +import os +import sys +import getpass + +#local import +from base.g import * +from base import utils, tui, module,queues, os_utils, services, smart_install +from installer.core_install import * +from check import DependenciesCheck + +USAGE = [(__doc__, "", "name", True), + ("Usage: %s [OPTIONS]" % __mod__, "", "summary", True), + utils.USAGE_SPACE, + utils.USAGE_MODE, + ("Run in interactive mode:", "-i or --interactive (Default)", "option", False), + ("Run in graphical UI mode:", "-u or --gui (future use)", "option", False), + utils.USAGE_SPACE, + utils.USAGE_OPTIONS, + utils.USAGE_HELP, + utils.USAGE_LOGGING1, utils.USAGE_LOGGING2, utils.USAGE_LOGGING3, + ("Non-interactive mode:","-n(Without asking permissions)(future use)","option",False), + ("Perform the task for the given device id:","-d(future use)","option",False), + ("Take options from the file instead of command line:","-f (future use)","option",False) + + ] + +##########################global variables ##########################3 +MODE = INTERACTIVE_MODE +DEVICE_URI = None +PERFORM_IN_NON_INTERACTIVE_MODE=False +LOG_LEVEL=None +VALID_AUTHENTICATION = False +IS_RESTART_REQ = False +DONOT_CLOSE_TERMINAL=False +SUMMARY_ONLY = False + +#################################### functions ######################### +def usage(typ='text'): + if typ == 'text': + utils.log_title(__title__, __version__) + + utils.format_text(USAGE, typ, __title__, __mod__, __version__) + clean_exit(2) + + +def append_options(cmd): + if MODE == INTERACTIVE_MODE: + cmd += " -i " + elif MODE == GUI_MODE: + cmd += " -u " + + if PERFORM_IN_NON_INTERACTIVE_MODE: + cmd += " -n " + + if LOG_LEVEL: + cmd += " -l%s"%LOG_LEVEL + + # Adding quiet mode option.. + cmd += " -s " + return cmd + + +def authenticate(core): + global VALID_AUTHENTICATION + if not services.running_as_root() and VALID_AUTHENTICATION == False: + ###TBD + # if MODE == GUI_MODE: + # GUI passwrd query.. + # else: + if core.passwordObj.getAuthType() == "sudo": + tui.title("ENTER SUDO PASSWORD") + else: + tui.title("ENTER ROOT/SUPERUSER PASSWORD") + + VALID_AUTHENTICATION = core.check_password() + else: + VALID_AUTHENTICATION = True + + if not VALID_AUTHENTICATION: + log.error("3 incorrect attempts. (or) Insufficient permissions(i.e. try with sudo user).\nExiting.") + clean_exit(3) + + return VALID_AUTHENTICATION + + +def install_plugin(core): + plugin_sts = core.get_plugin_status() + if plugin_sts == PLUGIN_VERSION_MISMATCH: + ok,user_input =tui.enter_choice("Found Plugin version mismatch. Press 'y' to re-install the plugin(y=yes*, n=no):",['y', 'n'], 'y') + elif plugin_sts == PLUGIN_FILES_CORRUPTED: + ok,user_input =tui.enter_choice("Plugins corrupted. Press 'y' to re-install the plugin(y=yes*, n=no):",['y', 'n'], 'y') + elif plugin_sts == PLUGIN_NOT_INSTALLED: + ok,user_input =tui.enter_choice("Plugin's are missing. Press 'y' to install the plugin(y=yes*, n=no):",['y', 'n'], 'y') + elif plugin_sts == PLUGIN_INSTALLED: + log.info("Plugin's already installed") + return True + else: + log.info("HP Properitery Plugin's are not required as no plug-in printer is present.") + return True + + if ok and user_input == 'y': +# authenticate(core) + cmd=utils.which('hp-plugin',True) + if cmd: + cmd = core.passwordObj.getAuthCmd() %append_options(cmd) + sts = os_utils.execute(cmd) + if sts == 0: + return True + else: + log.error("Failed to locate hp-plugin command") + else: + log.info(log.bold("Please run 'hp-plugin' command in root mode to install the Plugin's")) + return False + + +def deprecated_check(core): + if core.validate_distro_version(): + log.debug("This distro is supported.") + log.info("No Deprecated items are found") + else: + log.error("This distro (i.e %s %s) is either deprecated or not yet supported."%(core.distro_name, core.distro_version)) + ok,user_input =tui.enter_choice(log.red("The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes, n=no*):"),['y', 'n'], 'n') +# ok,user_input =tui.enter_choice(log.red("This tool may not diagnose all the problems. Do you want to continue?(y=yes, n=no*)"),['y', 'n'], 'n') + if not ok or user_input !='y': + clean_exit(2) + + +def display_missing_dependencies(required_dependencies=[],optional_dependencies=[], missing_cmd=[]): + if len(required_dependencies): + log.info(log.bold("Missing Required Dependencies")) + log.info(log.bold('-'*len("Missing Required Dependencies"))) + for packages_to_install in required_dependencies: + if 'cups' in packages_to_install: + log.error("'%s' package is missing or '%s' service is not running."%(packages_to_install,'cups')) + else: + log.error("'%s' package is missing/incompatible "%packages_to_install) + + if len(optional_dependencies): + log.info(log.bold("Missing Optional Dependencies")) + log.info(log.bold('-'*len("Missing Optional Dependencies"))) + for packages_to_install in optional_dependencies: + log.error("'%s' package is missing/incompatible "%packages_to_install) + + if len(missing_cmd): + log.info(log.bold("Missing Commands")) + log.info(log.bold('-'*len("Missing Commands"))) + for cmd in missing_cmd: + log.error("'%s' is missing"%cmd) + + +def clean_exit(exit_code=0): + mod.unlockInstance() + + if DONOT_CLOSE_TERMINAL: + log.info("\n\nPlease close this terminal manually. ") + try: + while 1: + pass + except KeyboardInterrupt: + pass + + sys.exit(exit_code) + + +#################################### Main ######################### +log.set_module(__mod__) +try: + mod = module.Module(__mod__, __title__, __version__, __doc__, USAGE, + (INTERACTIVE_MODE, GUI_MODE), + (UI_TOOLKIT_QT3, UI_TOOLKIT_QT4), True, True) + + opts, device_uri, printer_name, mode, ui_toolkit, loc = \ + mod.parseStdOpts('hl:gnid:f:w', ['summary-only','help', 'help-rest', 'help-man', 'help-desc', 'interactive', 'gui', 'lang=','logging=', 'debug'], + handle_device_printer=False) + +except getopt.GetoptError, e: + log.error(e.msg) + usage() + +if os.getenv("HPLIP_DEBUG"): + log.set_level('debug') + LOG_LEVEL = 'debug' + +for o, a in opts: + if o == '-n': + MODE = NON_INTERACTIVE_MODE + PERFORM_IN_NON_INTERACTIVE_MODE = True + log.warn("NON_INTERACTIVE mode is not yet supported.") + #TBD + usage() + elif o == '-d': + DEVICE_URI=a + elif o in ('-u', '--gui'): + log.warn("GUI is not yet supported.") + #TBD + usage() + elif o == '-f': + log.warn("Option from file is not yet supported") + #TBD + usage() + elif o in ('-l', '--logging'): + LOG_LEVEL = a.lower().strip() + if not log.set_level(LOG_LEVEL): + usage() + elif o == '-w': + DONOT_CLOSE_TERMINAL = True + + elif o == '--summary-only': + SUMMARY_ONLY = True + + +try: + if os.geteuid() == 0: + log.error("Please run %s as a non-root user"%__mod__) + sys.exit(1) + + mod.lockInstance('') + mod.quiet= False + mod.showTitle() + log_file = os.path.normpath('/var/log/hp/hp-doctor.log') + + if os.path.exists(log_file): + os.remove(log_file) + + log.set_logfile(log_file) + log.set_where(log.LOG_TO_CONSOLE_AND_FILE) + + log.debug("Upgrade log saved in: %s" % log.bold(log_file)) + log.debug("") + + if PERFORM_IN_NON_INTERACTIVE_MODE and os.geteuid() != 0: + log.error("Non Interactive mode should be run in root mode.") + clean_exit(1) + + ui_toolkit = sys_conf.get('configure','ui-toolkit') + + core = DependenciesCheck(MODE_CHECK,INTERACTIVE_MODE,ui_toolkit) + core.init() + log.info(log.bold("\n\nChecking for Deprecated items....")) + + deprecated_check(core) + + log.info(log.bold("\n\nChecking for HPLIP updates....")) + upgrade_cmd = utils.which('hp-upgrade',True) + if upgrade_cmd: + #checking for latest version of HPLIP. + upgrade_cmd = append_options(upgrade_cmd) + sts = os_utils.execute(upgrade_cmd) + if sts != 0: + log.error("Failed to upgrade latest HPLIP. Is hp-upgrade already running (i.e. foreground or background)?") + else: + log.error("Failed to locate hp-upgrade utility") + + ### Dependency check + log.info(log.bold("\n\nChecking for Dependencies....")) + if SUMMARY_ONLY: + num_errors, num_warns = core.validate(DEPENDENCY_RUN_AND_COMPILE_TIME, True) + else: + num_errors, num_warns = core.validate(DEPENDENCY_RUN_AND_COMPILE_TIME, False) + + if num_errors or num_warns: + + if core.get_required_deps() or core.get_optional_deps() or core.get_cmd_to_run(): + display_missing_dependencies(core.get_required_deps(),core.get_optional_deps(), core.get_cmd_to_run()) + authenticate(core) + core.install_missing_dependencies(INTERACTIVE_MODE,core.get_required_deps(),core.get_optional_deps(), core.get_cmd_to_run()) + + log.info(log.bold("\n\nChecking Permissions....")) + if not core.get_missing_user_grps() and not core.get_disable_selinux_status(): + log.info("Permissions are correct.") + + if core.get_missing_user_grps(): + log.info(log.bold("Missing User Groups")) + log.info(log.bold('-'*len("Missing User Groups"))) + log.info("%s"%core.get_missing_user_grps()) + authenticate(core) + if core.add_groups_to_user(core.get_missing_user_grps(), core.get_user_grp_cmd()): + IS_RESTART_REQ = True + + if core.get_disable_selinux_status(): + log.info(log.bold("SELinux Status")) + log.info(log.bold('-'*len("SELinux Status"))) + log.info("SELinux is enabled. Needs to be disabled") + authenticate(core) + if core.disable_SELinux(): + IS_RESTART_REQ = True + + log.info(log.bold("\n\nChecking for Configured Queues....")) + queues.main_function(core.passwordObj, MODE,ui_toolkit, False,False, DEVICE_URI) + + log.info(log.bold("\n\nChecking for HP Properitery Plugin's....")) + ### Check for Plugin Printers + install_plugin(core) + + smart_ins_dev_list = smart_install.get_smartinstall_enabled_devices() + if smart_ins_dev_list: + log.info(log.bold("\n\nChecking for 'CD-ROM'/'Smart Install' Detected Devices....")) + url, tool_name = smart_install.get_SmartInstall_tool_info() + for printer in smart_ins_dev_list: + log.error("Smart Install is Enabled in '%s' Printer. This needs to be disabled."%printer) + log.info(log.bold("\nRefer link '%s' to disable Smart Install manually.\n"%(url))) + + comm_err_dev = core.get_communication_error_devs() + if comm_err_dev: + log.info(log.bold("\n\nChecking for Printer Status....")) + for printer in comm_err_dev: + log.error("'%s' Printer is either Powered-OFF or Failed to communicate."%printer) + log.info(log.bold("Turn On Printer and re-run %s"%__mod__)) + + if IS_RESTART_REQ: + log.info(log.bold("\nPlease reboot the system before performing any function.")) + + log.info(log.bold("\nDiagnose completed...\n")) + log.info("") + log.info("") + log.info("More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html") + + clean_exit(0) + + +except KeyboardInterrupt: + log.error("User exit") + clean_exit(1) + diff -Nru hplip-3.12.2/fax/backend/hpfax.py hplip-3.13.4/fax/backend/hpfax.py --- hplip-3.12.2/fax/backend/hpfax.py 2012-02-01 11:53:48.000000000 +0000 +++ hplip-3.13.4/fax/backend/hpfax.py 2013-04-08 09:58:34.000000000 +0000 @@ -244,7 +244,9 @@ input_fd = 0 # REVISIT: - tmp_dir = '/tmp' + tmp_dir = '/var/log/hp/tmp' + + pipe_name = os.path.join(tmp_dir, "hpfax-pipe-%d" % job_id) # Create the named pipe. Make sure it exists before sending @@ -253,7 +255,7 @@ try: os.mkfifo(pipe_name) except OSError: - os.unlink(pipe_name) + os.unlink(pipe_name) os.mkfifo(pipe_name) # Send dbus event to hpssd diff -Nru hplip-3.12.2/fax/faxdevice.py hplip-3.13.4/fax/faxdevice.py --- hplip-3.12.2/fax/faxdevice.py 2012-02-01 11:53:48.000000000 +0000 +++ hplip-3.13.4/fax/faxdevice.py 2013-04-08 09:58:35.000000000 +0000 @@ -26,6 +26,8 @@ from soapfax import SOAPFaxDevice from pmlfax import PMLFaxDevice from marvellfax import MarvellFaxDevice +from ledmfax import LEDMFaxDevice +from ledmsoapfax import LEDMSOAPFaxDevice def FaxDevice(device_uri=None, printer_name=None, callback=None, @@ -62,7 +64,6 @@ return MarvellFaxDevice(device_uri, printer_name, callback, fax_type, disable_dbus) elif fax_type == FAX_TYPE_LEDM: - from ledmfax import LEDMFaxDevice return LEDMFaxDevice(device_uri, printer_name, callback, fax_type, disable_dbus) diff -Nru hplip-3.12.2/fax/ledmfax.py hplip-3.13.4/fax/ledmfax.py --- hplip-3.12.2/fax/ledmfax.py 2012-02-01 11:53:48.000000000 +0000 +++ hplip-3.13.4/fax/ledmfax.py 2013-04-08 09:58:35.000000000 +0000 @@ -31,7 +31,21 @@ import threading import struct import time -import xml.parsers.expat as expat +from base.g import * +try: + import xml.parsers.expat as expat +except ImportError,e: + log.info("\n") + log.error("Failed to import xml.parsers.expat(%s).\nThis may be due to the incompatible version of python-xml package.\n"%(e)) + if "undefined symbol" in str(e): + log.info(log.blue("Please re-install compatible version (other than 2.7.2-7.14.1) due to bug reported at 'https://bugzilla.novell.com/show_bug.cgi?id=766778'.")) + log.info(log.blue("\n Run the following commands in root mode to change the python-xml package.(i.e Installing 2.7.2-7.1.2)")) + log.info(log.blue("\n Using zypper:\n 'zypper remove python-xml'\n 'zypper install python-xml-2.7.2-7.1.2'")) + log.info(log.blue("\n Using apt-get:\n 'apt-get remove python-xml'\n 'apt-get install python-xml-2.7.2-7.1.2'")) + log.info(log.blue("\n Using yum:\n 'yum remove python-xml'\n 'yum install python-xml-2.7.2-7.1.2'")) + + sys.exit(1) + from stat import * # Local from base.g import * @@ -52,6 +66,8 @@ PIXELS_PER_LINE = 1728 # **************************************************************************** # +setDateTimeXML = """%s""" + setPhoneNumXML = """%s""" setStationNameXML = """%s""" @@ -96,7 +112,7 @@ self.writeLEDM(data) response = cStringIO.StringIO() - while self.readLEDM(4096, response, timeout=5): + while self.readLEDM(512, response, timeout=5): pass response = response.getvalue() @@ -114,6 +130,7 @@ def setPhoneNum(self, num): + xml = setPhoneNumXML %(num) log.debug("SetPhoneNum:xml Value:%s" %xml) return self.put("/DevMgmt/FaxConfigDyn.xml", xml) @@ -126,7 +143,11 @@ def setStationName(self, name): - xml = setStationNameXML %(name) + try: + xml = setStationNameXML %(name.encode('utf-8')) + except(UnicodeEncodeError, UnicodeDecodeError): + log.error("Unicode Error") + return self.put("/DevMgmt/FaxConfigDyn.xml", xml) @@ -152,6 +173,18 @@ else: return False + def setDateAndTime(self): + t = time.localtime() + date_buf = "%4d-%02d-%02dT%02d:%02d:%02d" % (t[0], t[1], t[2], t[3], t[4], t[5]) + xml = setDateTimeXML %(date_buf) + log.debug("setDateTimeXML Value:%s" %xml) + + if self.put("/DevMgmt/ProductConfigDyn.xml", xml): + return True + else: + log.debug ("Failed to set date and time. Set date and time using front panel.") + return False + # **************************************************************************** # class LEDMFaxSendThread(FaxSendThread): @@ -389,7 +422,7 @@ self.dev.writeLEDM(data) response = cStringIO.StringIO() try: - while self.dev.readLEDM(1000, response, timeout=5): + while self.dev.readLEDM(512, response, timeout=5): pass except Error: fax_send_state = FAX_SEND_STATE_ERROR @@ -473,7 +506,7 @@ response = cStringIO.StringIO() try: - while self.dev.readLEDM(1000, response, timeout=5): + while self.dev.readLEDM(512, response, timeout=5): pass except Error: fax_send_state = FAX_SEND_STATE_ERROR @@ -523,7 +556,7 @@ response = cStringIO.StringIO() try: - while self.dev.readLEDM(1000, response, timeout=10): + while self.dev.readLEDM(512, response, timeout=10): pass except Error: fax_send_state = FAX_SEND_STATE_ERROR @@ -562,7 +595,7 @@ response = cStringIO.StringIO() try: - while self.dev.readLEDM(1000, response, timeout=10): + while self.dev.readLEDM(512, response, timeout=10): pass except Error: fax_send_state = FAX_SEND_STATE_ERROR diff -Nru hplip-3.12.2/fax/ledmsoapfax.py hplip-3.13.4/fax/ledmsoapfax.py --- hplip-3.12.2/fax/ledmsoapfax.py 2012-02-01 11:53:48.000000000 +0000 +++ hplip-3.13.4/fax/ledmsoapfax.py 2013-04-08 09:58:35.000000000 +0000 @@ -96,7 +96,11 @@ def setStationName(self, name): - xml = setStationNameXML %(name) + try: + xml = setStationNameXML %(name.encode('utf-8')) + except(UnicodeEncodeError, UnicodeDecodeError): + log.error("Unicode Error") + return self.put("/DevMgmt/FaxConfigDyn.xml", xml) @@ -104,3 +108,16 @@ return self.readAttributeFromXml_EWS("/DevMgmt/FaxConfigDyn.xml",'faxcfgdyn:faxconfigdyn-faxcfgdyn:systemsettings-dd:companyname') station_name = property(getStationName, setStationName) + + + def setDateAndTime(self): + t = time.localtime() + date_buf = "%4d-%02d-%02dT%02d:%02d:%02d" % (t[0], t[1], t[2], t[3], t[4], t[5]) + xml = setDateTimeXML %(date_buf) + log.debug("setDateTimeXML Value:%s" %xml) + + if self.put("/DevMgmt/ProductConfigDyn.xml", xml): + return True + else: + log.debug ("Failed to set date and time. Set date and time using front panel.") + return False diff -Nru hplip-3.12.2/fax/marvellfax.py hplip-3.13.4/fax/marvellfax.py --- hplip-3.12.2/fax/marvellfax.py 2012-02-01 11:53:48.000000000 +0000 +++ hplip-3.13.4/fax/marvellfax.py 2013-04-08 09:58:35.000000000 +0000 @@ -98,7 +98,10 @@ lib_name = head+"/fax/plugins/fax_marvell.so" log.debug("Load the library %s\n" % lib_name) - if not os.path.exists(lib_name): + from installer import pluginhandler + pluginObj = pluginhandler.PluginHandle() + + if pluginObj.getStatus() != pluginhandler.PLUGIN_INSTALLED: log.error("Loading %s failed. Try after installing plugin libraries\n" %lib_name); log.info("Run \"hp-plugin\" to installa plugin libraries if you are not automatically prompted\n") job_id =0; @@ -251,7 +254,11 @@ log.debug(date_buf) result = self.libfax_marvell.create_packet(SET_FAX_SETTINGS, 0, 0, 0, 0, byref(i_buf)) - result = self.libfax_marvell.create_fax_settings_packet(str(name), self.phone_num, date_buf, byref(c_buf)) + + try: + result = self.libfax_marvell.create_fax_settings_packet(name.encode('utf-8'), self.phone_num, date_buf, byref(c_buf)) + except(UnicodeEncodeError, UnicodeDecodeError): + log.error("Unicode Error") msg_buf = buffer(i_buf) msg_c_buf = buffer(c_buf) @@ -336,7 +343,7 @@ log.debug(date_buf) result = self.libfax_marvell.create_packet(SET_FAX_SETTINGS, 0, 0, 0, 0, byref(i_buf)) - result = create_marvell_faxsettings_pkt(self.phone_num, self.station_name, date_buf, c_buf) + result = self.libfax_marvell.create_fax_settings_packet(self.phone_num, self.station_name, date_buf, c_buf) msg_buf = buffer(i_buf) for i in range(0, 31): @@ -344,8 +351,8 @@ set_buf.write(c_buf.raw) set_buf = set_buf.getvalue() - self.dev.writeMarvellFax(set_buf) - while self.dev.readMarvellFax(32, ret_buf, timeout=5): + self.writeMarvellFax(set_buf) + while self.readMarvellFax(32, ret_buf, timeout=5): pass ret_buf = ret_buf.getvalue() self.closeMarvellFax() Binary files /tmp/2DB1N8j2RE/hplip-3.12.2/fax/ppd/HP-Fax-hpcups.ppd.gz and /tmp/tZO407AF4z/hplip-3.13.4/fax/ppd/HP-Fax-hpcups.ppd.gz differ Binary files /tmp/2DB1N8j2RE/hplip-3.12.2/fax/ppd/HP-Fax-hpijs.ppd.gz and /tmp/tZO407AF4z/hplip-3.13.4/fax/ppd/HP-Fax-hpijs.ppd.gz differ Binary files /tmp/2DB1N8j2RE/hplip-3.12.2/fax/ppd/HP-Fax2-hpcups.ppd.gz and /tmp/tZO407AF4z/hplip-3.13.4/fax/ppd/HP-Fax2-hpcups.ppd.gz differ Binary files /tmp/2DB1N8j2RE/hplip-3.12.2/fax/ppd/HP-Fax2-hpijs.ppd.gz and /tmp/tZO407AF4z/hplip-3.13.4/fax/ppd/HP-Fax2-hpijs.ppd.gz differ Binary files /tmp/2DB1N8j2RE/hplip-3.12.2/fax/ppd/HP-Fax3-hpcups.ppd.gz and /tmp/tZO407AF4z/hplip-3.13.4/fax/ppd/HP-Fax3-hpcups.ppd.gz differ Binary files /tmp/2DB1N8j2RE/hplip-3.12.2/fax/ppd/HP-Fax3-hpijs.ppd.gz and /tmp/tZO407AF4z/hplip-3.13.4/fax/ppd/HP-Fax3-hpijs.ppd.gz differ Binary files /tmp/2DB1N8j2RE/hplip-3.12.2/fax/ppd/HP-Fax4-hpcups.ppd.gz and /tmp/tZO407AF4z/hplip-3.13.4/fax/ppd/HP-Fax4-hpcups.ppd.gz differ Binary files /tmp/2DB1N8j2RE/hplip-3.12.2/fax/ppd/HP-Fax4-hpijs.ppd.gz and /tmp/tZO407AF4z/hplip-3.13.4/fax/ppd/HP-Fax4-hpijs.ppd.gz differ diff -Nru hplip-3.12.2/faxsetup.py hplip-3.13.4/faxsetup.py --- hplip-3.12.2/faxsetup.py 2012-02-01 11:53:57.000000000 +0000 +++ hplip-3.13.4/faxsetup.py 2013-04-08 09:58:45.000000000 +0000 @@ -53,6 +53,10 @@ device_uri = mod.getDeviceUri(device_uri, printer_name, filter={'fax-type': (operator.gt, 0)}) + if device_uri is None: + log.error("Device doesn't support FAX functionality") + sys.exit(1) + if not utils.canEnterGUIMode4(): log.error("%s requires Qt4 GUI support. Exiting." % __mod__) sys.exit(1) diff -Nru hplip-3.12.2/foomatic_drv.inc hplip-3.13.4/foomatic_drv.inc --- hplip-3.12.2/foomatic_drv.inc 2012-02-01 11:56:47.000000000 +0000 +++ hplip-3.13.4/foomatic_drv.inc 2013-04-08 09:59:28.000000000 +0000 @@ -1,882 +1,934 @@ foomatic_ppd_printers = \ - ppd/hpijs/hp-deskjet_690-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp4520_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_825c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7000_e809a_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7345-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a520_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f2200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1320nw-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2280-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp2025-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_2500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a320_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_2500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_7510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_8550-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_2100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_630c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k550-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f735-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_920-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_600-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_5105-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1358_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_610cl-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3870-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3150-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r40xi-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_g85xi-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_952c-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2210_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_k60-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_632c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_prem_c410_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1007-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_2570_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4620_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3020-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_series_610-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j4680_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1300xi-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8000_a809-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4240-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_830c-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_k80-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022nw-hpijs-zjs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_1100-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_9500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_815c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_5550-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_100_mobile_l411-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm4540_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp4005-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515xm-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_pro_b8300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022-hpijs-zjs.ppd.gz \ ppd/hpijs/hp-photosmart_240_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_6p-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_725-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_612c-hpijs.ppd.gz \ + ppd/hpijs/hp-mopier_240-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_a630_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_916c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4250-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_1500_series-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_4si-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_plus_b210_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9000_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_a310_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3700-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_5652-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3700n-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3320-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_816c-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_580-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r80-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1120_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_880c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6127-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3200m-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-color_laserjet_cp2025n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_j5700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j3600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m3027_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p1009-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1160_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1007-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4550-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_7000_e809a-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_500-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f4100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a630_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8500_a910-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b010_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1012-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m5025_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_7300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1537dnf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_4500_g510n-z-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1050_j410_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_933c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5si-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-cp1160-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3500-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6500_e709n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1413fn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_6510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1100a-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_690c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1606dn-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_5600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4105-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4730mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_3100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1120n_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k5300-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b109a_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_520-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5200-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_5551-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4v-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_935c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1102w-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d5060_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f2100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_1218-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3910-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1600c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cp1025nw-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1000_j110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d7100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3300_3310_3320-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_2600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1138_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_600-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2150_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1320n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2014n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_5105-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_310-hpijs.ppd.gz \ + ppd/hpijs/hp-printer_scanner_copier_300-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3050a_j611_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7700-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1567-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r40-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp5225-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_940c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_370_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3550-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8500_a909n-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_2500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d1400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1018-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k8600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1608dn-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_3650-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3500-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r60-hpijs.ppd.gz \ - ppd/hpijs/hp-color_inkjet_cp1700-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015tn-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_320-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp4020_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_5100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_ink_advant_k109a-z-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1200-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_895c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1106-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d730-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6150_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1120-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2430-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_g55-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1415fn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_j6400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3450-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_v30-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_series_350-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5mp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_694-hpijs.ppd.gz \ + ppd/hpijs/hp-envy_120_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_320-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1108-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1505n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-dj350-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c5200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1213nf_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4_plus-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1320-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3320-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b010_series-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_9300-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c6300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm6030_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3819-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_948c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_697-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1100-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1217nfw_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3055-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1522nf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_j3500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_682-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_d_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d730-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_330_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015x_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3000_j310_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d2300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2230-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5p-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8000_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1136_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_1200-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1006-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1005_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d6100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_672c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4730mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_ink_advant_k209a-z-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_935c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1417fnw-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_4l-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_7500_e910-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_2510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1218nfs_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-dj450-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_350-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a320_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1566-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r80xi-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p3004-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f2400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015d_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8150_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1010-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c6100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m9050_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4550-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_f4500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a440_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_h470-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4150_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm4730_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1518ni-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1108w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_995c-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_p4515tn-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2800-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_2700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j3500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_725-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_pro_b8800_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_950vr-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2150_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m4345_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1027nw-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_505j-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3380-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7700-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4200-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_series_310-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm2320nf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_f4500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4100_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_d2600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_500c-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2200-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_8150_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7550-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2200-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_5110v-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_640c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3740-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c5100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f2400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3052-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3325-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5l-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1320nw-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1132_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c8100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_g85-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p3010_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_4v-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_d2300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b109a_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4500_g510a-f-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_842c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022n-hpijs-zjs.ppd.gz \ + ppd/hpijs/hp-deskjet_5600-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_3000-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3840-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6500_e710a-f-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm6049_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1214nfh_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3822-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cp_1025nw-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1568-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_760-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_780-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_2050_j510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3200se-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6600-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_870c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_4620_series-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_812c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9050-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_5510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4014dn-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d7200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r45-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1217nfw_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1600cm-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2035-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2055dn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4650-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp3525-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015x-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2100-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1320_series-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-laserjet_cm1418fnw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1412fn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015n-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_g55xi-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9000_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_1600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5552-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8500_a909n-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_6520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m4349_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_1510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1020-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_cm1312nfi_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_g85xi-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-915-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3200se-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9040_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_9040-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_9800-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3810-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1200c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3500-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c6200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1566-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m4345_mfp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-laserjet_p4014n-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3870-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2035n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8600-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_1150c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3015-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1022nw-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_1315-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a530_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_5600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2300-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_5500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_c309a_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_premium_c309g-m-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_7150-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_j4500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7500_e910-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015x-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_882c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_933c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1021-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_950c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1102-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_1215-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1220c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm6030_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_550c-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1109w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_697-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c6300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7800_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f4400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4115_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1609dn-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_f4210_series-hpijs.ppd.gz \ - ppd/hpijs/hp-dj450-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a430_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3055-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2600-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p1505n-hpijs-zxs.ppd.gz \ - ppd/hpijs/hp-photosmart_c7200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022n-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-photosmart_470_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1300-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_841c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3050_j610_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c3100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_843c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c5200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1120_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1150-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m5025_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_5si_mopier-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_510-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_520-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3330-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5650-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_ink_adv_k510-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_ink_adv_2010_k010-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_970c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp2025-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_8500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_2520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4014-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cp_1025-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1319f_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_1000-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d5400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1415fnw-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-color_laserjet_5-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3420-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_890c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3550-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015tn-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5652-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m5035_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_c7200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_950xi-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_6mp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8000_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_960c-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_cp1515n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_4500_g510g-m-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015dn_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_2000_j210_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_1600-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f4200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_842c-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3550-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_830c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1120-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_k60-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4050_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_6l-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_610cl-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a610_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3330-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_845c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1005-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6800-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k850-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k5400-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f2200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8500_a910-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3819-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_750-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1600cn-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c5500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1220se-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1219nfg_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9055mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_7900_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_920-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_9800-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3392-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_850c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c5100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1215-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2055x-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1569-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_980c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3740-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_5100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp2025dn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_a430_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2035n-hpijs-zjs.ppd.gz \ + ppd/hpijs/hp-officejet_r65-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_ink_adv_2060_k110-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_5520_series-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_380_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7400-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1005-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7800_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4ml-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_300-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1415fnw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_5550-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p_1102w-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1606dn-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2410-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_693-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_400-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6122-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4500_g510g-m-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_estn_c510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_855c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4340_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_8100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_1200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_pro_b8800_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4700-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_series_710-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_f4213_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_470_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_640c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2200-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_4345_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_720-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015x_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_5510_series-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_4600-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_3300_3310_3320-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4_plus-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d1300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a710_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1220-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2014-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_m9059_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_5200l-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_957c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6940_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_940c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_5500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r80xi-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1000_j110_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_995c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d4300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d110_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_ink_adv_2060_k110-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_692-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k8600-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_1215-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6120-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2350_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3425-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4014-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_955c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5200lx-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4105-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1005-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6980_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d7300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp2025x-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_2400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9000_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm2320n_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_3100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_4610_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_8000_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_plus_b209a-m-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r60-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2055d-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_975c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp6015-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_890c-hpijs.ppd.gz \ + ppd/hpijs/hp-915-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_330_series-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_p2055-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4240-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-printer_scanner_copier_300-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d4100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_400l-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1022-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_682-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5100-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_780xi-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_330-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m5039_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-envy_100_d410_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_815c-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm4540_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1300n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2250-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_ink_adv_k510-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_612c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m5035_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1300xi-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1200n-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_g85-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_k80xi-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_825c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d1500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a820_series-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_p1100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1005_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3392-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1010-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m4349_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3822-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r40-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3800-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_c4340_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1320_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_990c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5000-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5600-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1214nfh_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp5225n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_8000-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4515x-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4610-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_920c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2300-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-photosmart_5510d_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d5500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6700-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j5700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2170_series-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_8100_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4mp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_540-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d7400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_710-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3030-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_r65-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1025nw-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5700-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_500-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b110_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_720-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_550c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_1315-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp2025dn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_7700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m3027_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_c5300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_2000_j210_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015dn_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_1600-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6940_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k5300-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d4200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j3600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7600-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m5039_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_2300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp5225dn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_d7200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5550-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_420_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a710_series-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_cm1411fn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp6015-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_670tv-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_prem_c310_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8100-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2055dn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_750xi-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4650-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_4500_k710-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5100-hpijs.ppd.gz \ + ppd/hpijs/hp-color_inkjet_printer_cp1700-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2230-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1160_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3550n-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_lx-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_130-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6000_e609n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1212nf_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_6l-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3500-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_656c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3900-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_930c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6500_e709a-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_2600n-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6500_e710a-f-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015dn-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3920-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_1100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_6mp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_9500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1020-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_694-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3910-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f2100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3020-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2035-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-officejet_4500_g510n-z-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_plus_b209a-m-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_g55-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_5m-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d2600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c8100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_k80xi-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1006-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1000-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_580-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1505-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_premium_c309g-m-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_p1000-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7200_series-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_b8500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9050_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_series_570-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_460-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7900_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c5500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-2000c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4380_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3200-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1415fn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3000-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d1500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m9040_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_3015-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_1310_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7350-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3940-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_prem_c310_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6122-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_695-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_100_mobile_l411-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_816c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d1400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4610-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm6040_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4015-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_7300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2100-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6500_e710n-z-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m3035_mfp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-laserjet_cm1416fnw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_r80-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4700-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_4100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m2727_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_d7300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_810c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4000_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2055d-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_wireless_b109n-z-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7600-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_ink_advant_k209a-z-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5mp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_3100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_9055mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1217-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_h470-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_975c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2014n-hpijs-zxs.ppd.gz \ - ppd/hpijs/hp-officejet_5100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6980_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1102-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2200-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515x-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k5400-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_950xi-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j5500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_632c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d5100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_932c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_230-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_140_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1417fnw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_1358_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_k60xi-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4l-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6127-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_750-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_600-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p3005-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_series_700-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6500-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm4730_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_9065mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4100_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_6000_e609n-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8150_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3500n-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1023-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_500-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1213nf_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8000-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm3530_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_a510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8000_a809-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_6510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3840-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015n_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_b109a-m-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5200lx-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6500_e710n-z-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_7100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_2600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1212nf_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5800-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-officejet_4400_k410-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp3505-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_670c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_670-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_2050_j510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4000_k210-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6500_e709n-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c6100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_656c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_934c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_k80-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1100xi-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_610c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4500_g510a-f-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2170_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp4005-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3900-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp5225-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-business_inkjet_2300-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4250-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_k7100-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2430-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_955c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_850c-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1018-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_1170c_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2035-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_9600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1008-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1000-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_900_series-hpijs.ppd.gz \ ppd/hpijs/hp-2500c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_pro_b8300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_6p-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_590-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_3200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-mopier_320-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_780-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2410-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_j4660_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3600-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_g95-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9040_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_cp1025-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_m1539dnf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1109-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1280-hpijs.ppd.gz \ + ppd/hpijs/hp-envy_110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_v40xi-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1300-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_g55xi-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7000_e809a-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3390-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_f735-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2280-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_230-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d2400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_845c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4350-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-officejet_5110-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_v40-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4700_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_1218-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4610_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_630-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_5m-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_d2500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1107-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_670c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_inkjet_cp1700-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a610_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3050_j610_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3200-hpijs.ppd.gz \ ppd/hpijs/hp-laserjet_m1538dnf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3600-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c4400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1320n-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022nw-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1132_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6100-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_670tv-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3070_b611_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_690-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_950-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp5520_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1200-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_6500-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4050_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_ink_advant_k109a-z-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a640_series-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5000-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_500-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1607dn-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_510-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m2727_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_520-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_d5100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_950c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_wireless_b109n-z-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2420-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_5200l-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_k7100-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_957c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c6200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8500_a909g-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1100xi-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4000_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_5si_mopier-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_3200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p_1102w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5552-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_320_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2035n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p4014dn-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j5500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_k60xi-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_5900_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_400-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_832c-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_760-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3450-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d5060_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_8000_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_2210_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515n-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_500c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_ink_adv_2010_k010-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j4680_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_9600-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_952c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_100-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1510_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1022nw-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-officejet_6150_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_v45-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1505n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_pro_k850-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1220c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3052-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm1312_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_c4600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_3000-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_7700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_460-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm2320nf_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3820-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm3530_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2800-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_882c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1150-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7400-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1600cm-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1220-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_990c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp3505-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_400l-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_720-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_1170c_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1300n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_9050_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_660-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2014n-hpijs-zxs.ppd.gz \ + ppd/hpijs/hp-officejet_6600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1139_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4255-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_810c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7400_series-hpijs.ppd.gz \ ppd/hpijs/hp-deskjet_959c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7300-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1216nfh_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d7100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_8500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_7200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_estn_c510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_505j-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a620_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp1217-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3100-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_700-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7345-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d1300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1102w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3420-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_5500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_630c-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_d7500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_d6100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4350-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-910-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_6300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_420_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a820_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3150-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4150_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1219nf_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2014-hpijs-zxs.ppd.gz \ - ppd/hpijs/hp-psc_1000_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_7400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5l-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_8100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_970c-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_r40xi-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_680-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1025-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_m1136_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_610-hpijs.ppd.gz \ - ppd/hpijs/hp-dj350-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1319f_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2035n-hpijs-zjs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm2320n_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_d5400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3050a_j611_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp2025x-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d1600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2055x-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_3816-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_prem_c410_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c309a_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3050-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_5650-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1050_j410_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_672c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_370_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_cp1028nw-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_320_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1015-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1522nf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1102s-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6120-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_j4500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_plus_b210_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_590-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1216nfh_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1160-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1125-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_540-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4ml-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2015n_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_932c-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_780xi-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_v45-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_9500_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p3005-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_100-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1320tn-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_t_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_5500-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_1280-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4115_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3200m-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_2570_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1539dnf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1220se-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp5225dn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_f4213_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm6049_mfp-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_m1536dnf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_6000_e609a-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_660-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9065mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_6500_e709a-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_8600-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4300-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_1115-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9000_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3940-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015dn-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_2100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_3030-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1022-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3000_j310_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm2320_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_c4700_series-hpijs.ppd.gz \ ppd/hpijs/hp-photosmart_c7100_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_916c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1012-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1100a-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d4200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_9100_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_professional_p1108-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p3004-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_cm1413fn-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_g95-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_1200_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5000_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_1100-hpijs.ppd.gz \ - ppd/hpijs/hp-business_inkjet_1200-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_3550n-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_4500_k710-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_c5300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2015d_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_130-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_9500_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1518ni-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_5550-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-mopier_240-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p3010_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_693-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_630-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_648c-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_r45-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3550-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_520-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_895c-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_2200_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_843c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4500_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7110_series-hpijs.ppd.gz \ + ppd/hpijs/hp-2000c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1009-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_3300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5200-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1219nf_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_p1000-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_300-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1505-hpijs.ppd.gz \ ppd/hpijs/hp-officejet_pro_8500_a909a-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1106w-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_6800-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_1150c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm6040_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5850-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_9100_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cm1312_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_841c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9040-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_1200c-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3800-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_1200n-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7350-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_648c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c3100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_330-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1107w-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_3380-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_f4100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-mopier_320-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_2350_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p1505n-hpijs-zxs.ppd.gz \ + ppd/hpijs/hp-laserjet_3050-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_950vr-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p4015n-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7300-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_4500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_pro_k550-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_948c-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_9050-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_2600n-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_cp1514n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-psc_950-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_f4400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_920c-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_prem-web_c309n-s-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d2400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_5si-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp1215-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_series_720-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_v40xi-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_d2500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3070_b611_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_8500_a909g-hpijs.ppd.gz \ - ppd/hpijs/hp-cp1160-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3820-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cp5520_series-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_lx-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2300-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-business_inkjet_1000-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1160-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a620_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_3300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_980c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_870c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p1008-hpijs.ppd.gz \ - ppd/hpijs/hp-color_inkjet_printer_cp1700-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_855c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_880c-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_2500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_3390-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_p4515xm-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_6600-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_2420-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_1600cn-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_1115-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_p2014n-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_1320-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_750xi-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1320tn-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_1100-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_140_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_8550-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_d4300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_cm1412fn-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_2500-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3500n-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_4mp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-deskjet_840c-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_5850-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_960c-hpijs.ppd.gz \ - ppd/hpijs/hp-laserjet_4345_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_m1537dnf_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-officejet_4255-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp4520_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_5800-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2014-hpijs-zxs.ppd.gz \ + ppd/hpijs/hp-psc_1400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-envy_100_d410_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4000_k210-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m9059_mfp-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3000-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_4200-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_670-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a510_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3520_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3425-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_680-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_2700_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_d1600_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_5110v-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1218nfg_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_p1106-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_7550-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_610c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_934c-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_b109a-m-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_692-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_1015-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_1100-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6000_e609a-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_695-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m9040_mfp-hpijs-pcl3.ppd.gz \ ppd/hpijs/hp-photosmart_d5300_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_j6400_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1600c-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_4600_series-hpijs.ppd.gz \ - ppd/hpijs/hp-psc_900_series-hpijs.ppd.gz \ - ppd/hpijs/hp-color_laserjet_cm2320_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_m3035_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_4300-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-deskjet_d5500_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_1125-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a640_series-hpijs.ppd.gz \ - ppd/hpijs/hp-envy_110_series-hpijs.ppd.gz \ - ppd/hpijs/hp-officejet_pro_l7500-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_832c-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5551-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_5700-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5000_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-psc_1310_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_7000_e809a_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_series_570-hpijs.ppd.gz \ ppd/hpijs/hp-color_laserjet_cm2320fxi_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-laserjet_m9050_mfp-hpijs-pcl3.ppd.gz \ - ppd/hpijs/hp-photosmart_a530_series-hpijs.ppd.gz \ - ppd/hpijs/hp-photosmart_a440_series-hpijs.ppd.gz \ - ppd/hpijs/hp-deskjet_3325-hpijs.ppd.gz + ppd/hpijs/hp-color_laserjet_3700n-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_c4380_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_pro_l7500-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1219nfs_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp3525-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-officejet_j4660_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_150_mobile_l511-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3810-hpijs.ppd.gz \ + ppd/hpijs/hp-910-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_v40-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_2020_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_a310_series-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_4400_k410-hpijs.ppd.gz \ + ppd/hpijs/hp-psc_1000_series-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_5p-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_m1120n_mfp-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp4020_series-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2250-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-photosmart_d7400_series-hpijs.ppd.gz \ + ppd/hpijs/hp-business_inkjet_2600-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_2300_series-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_cp5225n-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p1005-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_500-hpijs.ppd.gz \ + ppd/hpijs/hp-color_laserjet_3700-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-deskjet_3920-hpijs.ppd.gz \ + ppd/hpijs/hp-deskjet_3816-hpijs.ppd.gz \ + ppd/hpijs/hp-officejet_6100_series-hpijs.ppd.gz \ + ppd/hpijs/hp-photosmart_prem-web_c309n-s-hpijs.ppd.gz \ + ppd/hpijs/hp-laserjet_p2014-hpijs-pcl3.ppd.gz \ + ppd/hpijs/hp-laserjet_p2035-hpijs-zjs.ppd.gz \ + ppd/hpijs/hp-laserjet_professional_m1137_mfp-hpijs.ppd.gz foomatic_ps_printers = \ - prnt/ps/hp-laserjet_4250-ps.ppd.gz \ - prnt/ps/hp-laserjet_p3005-ps.ppd.gz \ - prnt/ps/hp-officejet_pro_8000_enterprise_a811a-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_3700n-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4610-ps.ppd.gz \ - prnt/ps/hp-designjet_4020ps-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4550-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp5225-ps.ppd.gz \ - prnt/ps/hp-laserjet_3015-ps.ppd.gz \ - prnt/ps/hp-designjet_t1100ps_24in-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm2320n_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp3525-ps.ppd.gz \ - prnt/ps/hp-laserjet_9055mfp-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2250-ps.ppd.gz \ + prnt/ps/hp-laserjet_4v-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2550_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_4_plus-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp4520_series-ps.ppd.gz \ + prnt/ps/hp-designjet_t2300_postscript-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm6049_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_m1522_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_color_flow_mfp_m575-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_9500-ps.ppd.gz \ + prnt/ps/hp-laserjet_400_mfp_m425-ps.ppd.gz \ prnt/ps/hp-laserjet_m3035_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm6040_mfp-ps.ppd.gz \ - prnt/ps/hp-designjet_4000ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2605dn-ps.ppd.gz \ - prnt/ps/hp-laserjet_600_m601_m602_m603-ps.ppd.gz \ - prnt/ps/hp-laserjet_m3027_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_5000_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_m4555_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_cp1520_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_8000-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm6030_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp2025n-ps.ppd.gz \ - prnt/ps/hp-designjet_t1300_postscript-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2605-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4650-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp5225n-ps.ppd.gz \ - prnt/ps/hp-laserjet_cm1410_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_4300-ps.ppd.gz \ - prnt/ps/hp-laserjet_9065mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp4020_series-ps.ppd.gz \ - prnt/ps/hp-designjet_t790ps_24in-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4700-ps.ppd.gz \ - prnt/ps/hp-laserjet_5200lx-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2800-ps.ppd.gz \ - prnt/ps/hp-laserjet_2200-ps.ppd.gz \ - prnt/ps/hp-designjet_z6200_42in_photo-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp2025x-ps.ppd.gz \ - prnt/ps/hp-designjet_t770_postscript-ps.ppd.gz \ - prnt/ps/hp-laserjet_2430-ps.ppd.gz \ - prnt/ps/hp-laserjet_9040-ps.ppd.gz \ - prnt/ps/hp-designjet_t790ps_44in-ps.ppd.gz \ - prnt/ps/hp-laserjet_1300-ps.ppd.gz \ - prnt/ps/hp-laserjet_5200-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm2320nf_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_m1522n_mfp-ps.ppd.gz \ - prnt/ps/hp-designjet_4520ps-ps.ppd.gz \ - prnt/ps/hp-designjet_t7100ps_monochrome-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp1514n-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2500-ps.ppd.gz \ + prnt/ps/hp-laserjet_3030-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm2320_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2500_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_9055mfp-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_551_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_4350-ps.ppd.gz \ + prnt/ps/hp-laserjet_3300_3310_3320-ps.ppd.gz \ + prnt/ps/hp-laserjet_100_color_mfp_m175-ps.ppd.gz \ + prnt/ps/hp-laserjet_4100_series-ps.ppd.gz \ + prnt/ps/hp-designjet_4520mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_2410-ps.ppd.gz \ prnt/ps/hp-designjet_t1120ps_24in-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm2320fxi_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_m9050_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_4200-ps.ppd.gz \ - prnt/ps/hp-laserjet_9040_mfp-ps.ppd.gz \ - prnt/ps/hp-designjet_t1100ps_44in-ps.ppd.gz \ - prnt/ps/hp-laserjet_4100_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_4_plus-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp4005-ps.ppd.gz \ - prnt/ps/hp-laserjet_9000_series-ps.ppd.gz \ - prnt/ps/hp-mopier_320-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2280-ps.ppd.gz \ + prnt/ps/hp-laserjet_500_color_mfp_m570-ps.ppd.gz \ prnt/ps/hp-laserjet_4-ps.ppd.gz \ - prnt/ps/hp-laserjet_500_color_m551-ps.ppd.gz \ - prnt/ps/hp-laserjet_4240-ps.ppd.gz \ - prnt/ps/hp-laserjet_3300_3310_3320-ps.ppd.gz \ + prnt/ps/hp-laserjet_5100_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp4005-ps.ppd.gz \ + prnt/ps/hp-laserjet_600_m601_m602_m603-ps.ppd.gz \ + prnt/ps/hp-laserjet_1220-ps.ppd.gz \ + prnt/ps/hp-designjet_t1100ps_24in-ps.ppd.gz \ + prnt/ps/hp-designjet_t7100ps_monochrome-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_276dw_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm1312_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_m9050_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp5225n-ps.ppd.gz \ + prnt/ps/hp-laserjet_3015-ps.ppd.gz \ + prnt/ps/hp-designjet_t790ps_44in-ps.ppd.gz \ + prnt/ps/hp-laserjet_1320nw-ps.ppd.gz \ + prnt/ps/hp-laserjet_2300_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp3525-ps.ppd.gz \ prnt/ps/hp-business_inkjet_3000-ps.ppd.gz \ - prnt/ps/hp-laserjet_1220se-ps.ppd.gz \ - prnt/ps/hp-designjet_4500ps.ppd.gz \ - prnt/ps/hp-laserjet_1200n-ps.ppd.gz \ - prnt/ps/hp-laserjet_5100_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_6p-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp2025x-ps.ppd.gz \ prnt/ps/hp-color_laserjet_cm4540_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_5m-ps.ppd.gz \ - prnt/ps/hp-laserjet_m1530_mfp_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_4100_series-ps.ppd.gz \ - prnt/ps/hp-cm8050_mfp_with_edgeline-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_3800-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320tn-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp1515n-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm1017-ps.ppd.gz \ + prnt/ps/hp-laserjet_3380-ps.ppd.gz \ + prnt/ps/hp-laserjet_8100_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_5200lx-ps.ppd.gz \ + prnt/ps/hp-laserjet_2100_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_3200m-ps.ppd.gz \ + prnt/ps/hp-laserjet_1320-ps.ppd.gz \ + prnt/ps/hp-designjet_t1200_postscript-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm1015-ps.ppd.gz \ + prnt/ps/hp-designjet_4500ps.ppd.gz \ + prnt/ps/hp-laserjet_4240-ps.ppd.gz \ + prnt/ps/hp-laserjet_5si_mopier-ps.ppd.gz \ prnt/ps/hp-color_laserjet_2840-ps.ppd.gz \ + prnt/ps/hp-cm8050_mfp_with_edgeline-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2250-ps.ppd.gz \ + prnt/ps/hp-laserjet_m1522nf_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4650-ps.ppd.gz \ + prnt/ps/hp-designjet_t1120ps_44in-ps.ppd.gz \ + prnt/ps/hp-laserjet_2430-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4500-ps.ppd.gz \ + prnt/ps/hp-laserjet_p2015_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_5m-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_5500-ps.ppd.gz \ + prnt/ps/hp-laserjet_3050-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp5225dn-ps.ppd.gz \ + prnt/ps/hp-designjet_z6100ps_60in_photo-ps.ppd.gz \ prnt/ps/hp-laserjet_4345_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_4si-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp6015-ps.ppd.gz \ - prnt/ps/hp-laserjet_4mp-ps.ppd.gz \ - prnt/ps/hp-laserjet_2300_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet-ps.ppd.gz \ prnt/ps/hp-color_laserjet_8500-ps.ppd.gz \ - prnt/ps/hp-laserjet_8100_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320-ps.ppd.gz \ - prnt/ps/hp-designjet_4500mfp.ppd.gz \ - prnt/ps/hp-laserjet_6mp-ps.ppd.gz \ - prnt/ps/hp-cm8060_mfp_with_edgeline-ps.ppd.gz \ - prnt/ps/hp-laserjet_5200l-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4600-ps.ppd.gz \ + prnt/ps/hp-laserjet_500_color_m551-ps.ppd.gz \ + prnt/ps/hp-laserjet_4300-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm1312nfi_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_3000-ps.ppd.gz \ + prnt/ps/hp-designjet_z5200_postscript-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp4020_series-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2300-ps.ppd.gz \ prnt/ps/hp-laserjet_3052-ps.ppd.gz \ - prnt/ps/hp-laserjet_100_color_mfp_m175-ps.ppd.gz \ - prnt/ps/hp-laserjet_m1522nf_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm1015-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2605-ps.ppd.gz \ prnt/ps/hp-laserjet_p2055_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_200_colormfp_m275-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_8550-ps.ppd.gz \ - prnt/ps/hp-laserjet_1220-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2700n-ps.ppd.gz \ - prnt/ps/hp-laserjet_1300xi-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp5520_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm2320fxi_mfp-ps.ppd.gz \ + prnt/ps/hp-cm8060_mfp_with_edgeline-ps.ppd.gz \ + prnt/ps/hp-designjet_t770ps_24in-ps.ppd.gz \ + prnt/ps/hp-laserjet_9000_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4700-ps.ppd.gz \ + prnt/ps/hp-laserjet_4si-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp1518ni-ps.ppd.gz \ + prnt/ps/hp-laserjet_4200-ps.ppd.gz \ + prnt/ps/hp-laserjet_5p-ps.ppd.gz \ + prnt/ps/hp-laserjet_8150_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_2200-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp1514n-ps.ppd.gz \ + prnt/ps/hp-designjet_t790ps_24in-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4610-ps.ppd.gz \ prnt/ps/hp-color_laserjet_2605dtn-ps.ppd.gz \ - prnt/ps/hp-designjet_z6100ps_60in_photo-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_3000-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm1312_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_2420-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2700-ps.ppd.gz \ prnt/ps/hp-laserjet_5mp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2550_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_9500-ps.ppd.gz \ - prnt/ps/hp-laserjet_8150_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp5225dn-ps.ppd.gz \ - prnt/ps/hp-laserjet_m5035_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm6040_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_5550-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp5225-ps.ppd.gz \ + prnt/ps/hp-laserjet_700_color_mfp_m775-ps.ppd.gz \ + prnt/ps/hp-laserjet_4100_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_8550-ps.ppd.gz \ + prnt/ps/hp-laserjet_m3027_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_4ml-ps.ppd.gz \ + prnt/ps/hp-laserjet_8000-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2800-ps.ppd.gz \ + prnt/ps/hp-laserjet_m9040_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_1300-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4600_series-ps.ppd.gz \ + prnt/ps/hp-designjet_t770_postscript-ps.ppd.gz \ prnt/ps/hp-laserjet_2200_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_m1522_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp3505-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2800-ps.ppd.gz \ - prnt/ps/hp-laserjet_4350-ps.ppd.gz \ - prnt/ps/hp-color_laserjet-ps.ppd.gz \ - prnt/ps/hp-laserjet_m5025_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_2100-ps.ppd.gz \ - prnt/ps/hp-laserjet_p3010_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4500-ps.ppd.gz \ - prnt/ps/hp-laserjet_3050-ps.ppd.gz \ - prnt/ps/hp-laserjet_3200m-ps.ppd.gz \ - prnt/ps/hp-laserjet_1300n-ps.ppd.gz \ - prnt/ps/hp-laserjet_3380-ps.ppd.gz \ + prnt/ps/hp-laserjet_5si-ps.ppd.gz \ + prnt/ps/hp-designjet_4520ps-ps.ppd.gz \ + prnt/ps/hp-laserjet_1220se-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp2025dn-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm2320nf_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_4mp-ps.ppd.gz \ + prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd.gz \ + prnt/ps/hp-laserjet_cp1520_series-ps.ppd.gz \ + prnt/ps/hp-lj_300_400_color_mfp_m375_m475-ps.ppd.gz \ + prnt/ps/hp-laserjet_9040_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_2300-ps.ppd.gz \ + prnt/ps/hp-laserjet_9000_series-ps.ppd.gz \ prnt/ps/hp-color_laserjet_2830-ps.ppd.gz \ + prnt/ps/hp-laserjet_500_color_mfp_m575-ps.ppd.gz \ + prnt/ps/hp-laserjet_4000_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_200_colormfp_m275-ps.ppd.gz \ + prnt/ps/hp-designjet_4000ps.ppd.gz \ + prnt/ps/hp-laserjet_1320_series-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_8000_enterprise_a811a-ps.ppd.gz \ + prnt/ps/hp-laserjet_m4555_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_5200-ps.ppd.gz \ + prnt/ps/hp-laserjet_400_m401dne-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp6015-ps.ppd.gz \ + prnt/ps/hp-laserjet_1320tn-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp5520_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_200_color_m251-ps.ppd.gz \ + prnt/ps/hp-laserjet_p4010_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_mfp_m521-ps.ppd.gz \ + prnt/ps/hp-laserjet_1200-ps.ppd.gz \ + prnt/ps/hp-laserjet_p3005-ps.ppd.gz \ + prnt/ps/hp-laserjet_9040-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_3800-ps.ppd.gz \ + prnt/ps/hp-laserjet_1300n-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2605dn-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2800-ps.ppd.gz \ + prnt/ps/hp-designjet_t1300_postscript-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm3530_mfp-ps.ppd.gz \ prnt/ps/hp-laserjet_9050-ps.ppd.gz \ - prnt/ps/hp-laserjet_5si_mopier-ps.ppd.gz \ - prnt/ps/hp-lj_300_400_color_mfp_m375_m475-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4600_series-ps.ppd.gz \ - prnt/ps/hp-designjet_t7100ps-ps.ppd.gz \ - prnt/ps/hp-designjet_t770ps_24in-ps.ppd.gz \ - prnt/ps/hp-designjet_z6100ps_42in_photo-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp1515n-ps.ppd.gz \ + prnt/ps/hp-laserjet_flow_mfp_m525-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2700n-ps.ppd.gz \ + prnt/ps/hp-laserjet_200_colormfp_m276-ps.ppd.gz \ prnt/ps/hp-color_laserjet_cm4730_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_3030-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_9500_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_m4345_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_p3004-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4730mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_m4349_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_5p-ps.ppd.gz \ - prnt/ps/hp-designjet_t2300_postscript-ps.ppd.gz \ - prnt/ps/hp-laserjet_m9059_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_3700n-ps.ppd.gz \ + prnt/ps/hp-laserjet_p3010_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_2100-ps.ppd.gz \ prnt/ps/hp-color_laserjet_3700-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp2025dn-ps.ppd.gz \ - prnt/ps/hp-laserjet_5000-ps.ppd.gz \ - prnt/ps/hp-laserjet_p4010_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320n-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm6049_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2700-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp4520_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_5500-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2500-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_251dw_printer-ps.ppd.gz \ + prnt/ps/hp-laserjet_m5035_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_9065mfp-ps.ppd.gz \ prnt/ps/hp-laserjet_m2727_mfp_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_2300-ps.ppd.gz \ - prnt/ps/hp-laserjet_3390-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2600-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm1312nfi_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_3020-ps.ppd.gz \ - prnt/ps/hp-laserjet_1320nw-ps.ppd.gz \ + prnt/ps/hp-laserjet_m1530_mfp_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4550-ps.ppd.gz \ + prnt/ps/hp-laserjet_700_m712-ps.ppd.gz \ prnt/ps/hp-laserjet_4050_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_5550-ps.ppd.gz \ - prnt/ps/hp-laserjet_p2015_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm1017-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2820-ps.ppd.gz \ - prnt/ps/hp-laserjet_4v-ps.ppd.gz \ - prnt/ps/hp-laserjet_2100_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_9050_mfp-ps.ppd.gz \ - prnt/ps/hp-business_inkjet_2300-ps.ppd.gz \ + prnt/ps/hp-laserjet_8100_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_5000_series-ps.ppd.gz \ + prnt/ps/hp-laserjet_p3004-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_451_series-ps.ppd.gz \ prnt/ps/hp-designjet_z6200_60in_photo-ps.ppd.gz \ - prnt/ps/hp-laserjet_5si-ps.ppd.gz \ - prnt/ps/hp-designjet_4520mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cp1518ni-ps.ppd.gz \ - prnt/ps/hp-laserjet_2410-ps.ppd.gz \ - prnt/ps/hp-designjet_t1120ps_44in-ps.ppd.gz \ - prnt/ps/hp-mopier_240-ps.ppd.gz \ - prnt/ps/hp-laserjet_6p-ps.ppd.gz \ - prnt/ps/hp-laserjet_1200-ps.ppd.gz \ - prnt/ps/hp-designjet_t1200_postscript-ps.ppd.gz \ - prnt/ps/hp-laserjet_4ml-ps.ppd.gz \ - prnt/ps/hp-laserjet_m9040_mfp-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_4600-ps.ppd.gz \ prnt/ps/hp-color_laserjet_cp2025-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm3530_mfp-ps.ppd.gz \ - prnt/ps/hp-laserjet_8100_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_6mp-ps.ppd.gz \ + prnt/ps/hp-laserjet_1300xi-ps.ppd.gz \ + prnt/ps/hp-laserjet_4250-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2280-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm6030_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cm2320n_mfp-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_2820-ps.ppd.gz \ + prnt/ps/hp-laserjet_m5025_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_m9059_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_500_mfp_m525-ps.ppd.gz \ + prnt/ps/hp-designjet_z6200_42in_photo-ps.ppd.gz \ + prnt/ps/hp-laserjet_1320n-ps.ppd.gz \ + prnt/ps/hp-designjet_z6100ps_42in_photo-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp3505-ps.ppd.gz \ + prnt/ps/hp-laserjet_2420-ps.ppd.gz \ prnt/ps/hp-laserjet_8000_series-ps.ppd.gz \ - prnt/ps/hp-laserjet_4000_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_2500_series-ps.ppd.gz \ - prnt/ps/hp-color_laserjet_cm2320_mfp-ps.ppd.gz \ - prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd.gz \ - prnt/ps/hp-laserjet_9000_mfp-ps.ppd.gz + prnt/ps/hp-mopier_320-ps.ppd.gz \ + prnt/ps/hp-business_inkjet_2600-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_4730mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_5000-ps.ppd.gz \ + prnt/ps/hp-laserjet_m4345_mfp-ps.ppd.gz \ + prnt/ps/hp-officejet_pro_476_576_series-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_cp2025n-ps.ppd.gz \ + prnt/ps/hp-laserjet_3020-ps.ppd.gz \ + prnt/ps/hp-laserjet_m1522n_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_cm1410_series-ps.ppd.gz \ + prnt/ps/hp-designjet_4020ps-ps.ppd.gz \ + prnt/ps/hp-designjet_t7100ps-ps.ppd.gz \ + prnt/ps/hp-color_laserjet_9500_mfp-ps.ppd.gz \ + prnt/ps/hp-laserjet_5200l-ps.ppd.gz \ + prnt/ps/hp-mopier_240-ps.ppd.gz \ + prnt/ps/hp-laserjet_9050_mfp-ps.ppd.gz \ + prnt/ps/hp-designjet_t1100ps_44in-ps.ppd.gz \ + prnt/ps/hp-laserjet_1200n-ps.ppd.gz \ + prnt/ps/hp-laserjet_3390-ps.ppd.gz \ + prnt/ps/hp-laserjet_m4349_mfp-ps.ppd.gz \ + prnt/ps/hp-designjet_4500mfp.ppd.gz \ + prnt/ps/hp-laserjet_400_m401-ps.ppd.gz foomatic_drv = prnt/drv/hpijs.drv diff -Nru hplip-3.12.2/hpdio.py hplip-3.13.4/hpdio.py --- hplip-3.12.2/hpdio.py 2012-02-01 11:53:57.000000000 +0000 +++ hplip-3.13.4/hpdio.py 2013-04-08 09:58:45.000000000 +0000 @@ -65,7 +65,7 @@ write_pipe3=None): # pipe to hpssd global r2, w3 - tmp_dir = '/tmp' +# tmp_dir = '/tmp' os.umask(0111) try: diff -Nru hplip-3.12.2/hplip-systray.desktop.in hplip-3.13.4/hplip-systray.desktop.in --- hplip-3.12.2/hplip-systray.desktop.in 2012-02-01 11:53:57.000000000 +0000 +++ hplip-3.13.4/hplip-systray.desktop.in 2013-04-08 09:58:45.000000000 +0000 @@ -4,7 +4,7 @@ Name=HP System Tray Service GenericName=Printer Status Applet Comment=HP System Tray Service -Exec=hp-systray +Exec=hp-systray -x Icon=@abs_datadir@/hplip/data/images/128x128/hp_logo.png Terminal=false Categories=Application;Utility; diff -Nru hplip-3.12.2/hplip.conf.in hplip-3.13.4/hplip.conf.in --- hplip-3.12.2/hplip.conf.in 2012-02-01 11:53:57.000000000 +0000 +++ hplip-3.13.4/hplip.conf.in 2013-04-08 09:58:46.000000000 +0000 @@ -13,10 +13,12 @@ cupsbackend=@cupsbackenddir@ cupsfilter=@cupsfilterdir@ drv=@abs_drvdir@ +bin=/usr/bin # Following values are determined at configure time and cannot be changed. [configure] network-build=@network_build@ +libusb01-build=@libusb01_build@ pp-build=@pp_build@ gui-build=@gui_build@ scanner-build=@scan_build@ @@ -41,5 +43,6 @@ hpijs-only-build=@hpijs_only_build@ lite-build=@lite_build@ udev-acl-rules=@udev_acl_rules@ +udev_sysfs_rules=@udev_sysfs_rules@ hpcups-only-build=@hpcups_only_build@ -hpijs-only-build=@hpijs_only_build@ \ No newline at end of file +hpijs-only-build=@hpijs_only_build@ diff -Nru hplip-3.12.2/hplip.list.in hplip-3.13.4/hplip.list.in --- hplip-3.12.2/hplip.list.in 2012-02-01 11:53:57.000000000 +0000 +++ hplip-3.13.4/hplip.list.in 2013-04-08 09:58:45.000000000 +0000 @@ -80,7 +80,9 @@ %endif %if hpcups-install f 0755 root root $cupsfilter/hpcups hpcups -f 0755 root root $cupsfilter/hpps hpps +#f 0755 root root $cupsfilter/hpps hpps +f 0755 root root $cupsfilter/hplipjs hplipjs +f 0755 root root $cupsfilter/hpps prnt/filters/hpps %endif f 0644 root root /etc/hp/hplip.conf hplip.conf f 0644 root root /etc/cups/pstotiff.convs fax/filters/pstotiff.convs @@ -250,6 +252,9 @@ @epm_full@f 644 root root $home/installer/__init__.py installer/__init__.py @epm_full@f 644 root root $home/installer/dcheck.py installer/dcheck.py @epm_full@f 644 root root $home/installer/core_install.py installer/core_install.py +@epm_full@f 644 root root $home/installer/pluginhandler.py installer/pluginhandler.py +@epm_full@f 755 root root $home/uninstall.py uninstall.py +@epm_full@f 755 root root $home/upgrade.py upgrade.py @epm_full@f 755 root root $home/colorcal.py colorcal.py @epm_full@d 775 root root $home/prnt - @epm_full@f 644 root root $home/prnt/pcl.py prnt/pcl.py @@ -259,10 +264,17 @@ @epm_full@f 644 root root $home/prnt/colorcal.py prnt/colorcal.py @epm_full@f 755 root root $home/clean.py clean.py @epm_full@f 755 root root $home/check.py check.py +@epm_full@f 755 root root $home/doctor.py doctor.py +@epm_full@f 755 root root $home/logcapture.py logcapture.py @epm_full@d 775 root root $home/pcard - @epm_full@f 644 root root $home/pcard/__init__.py pcard/__init__.py @epm_full@f 644 root root $home/pcard/photocard.py pcard/photocard.py @epm_full@f 755 root root $home/info.py info.py +@epm_full@f 755 root root $home/wificonfig.py wificonfig.py +@epm_full@f 755 root root $home/devicesettings.py devicesettings.py +@epm_full@f 755 root root $home/config_usb_printer.py config_usb_printer.py +@epm_full@f 755 root root $home/diagnose_queues.py diagnose_queues.py + # docs @epm_full@f 644 root root $docdir doc/* @epm_full@d 775 root root $docdir/images - @@ -288,9 +300,10 @@ @epm_full@l 755 root root $bindir/hp-probe ../share/hplip/probe.py @epm_full@l 755 root root $bindir/hp-timedate ../share/hplip/timedate.py @epm_full@l 755 root root $bindir/hp-plugin ../share/hplip/plugin.py -@epm_full@l 755 root root $bindir/hp-check-plugin ../share/hplip/check-plugin.py @epm_full@l 755 root root $bindir/hp-diagnose_plugin ../share/hplip/diagnose_plugin.py @epm_full@l 755 root root $bindir/hp-check ../share/hplip/check.py +@epm_full@l 755 root root $bindir/hp-doctor ../share/hplip/doctor.py +@epm_full@l 755 root root $bindir/hp-logcapture ../share/hplip/logcapture.py @epm_full@l 755 root root $bindir/hp-info ../share/hplip/info.py @epm_full@l 755 root root $bindir/hp-makecopies ../share/hplip/makecopies.py @epm_full@l 755 root root $bindir/hp-scan ../share/hplip/scan.py @@ -300,6 +313,10 @@ @epm_full@l 755 root root $bindir/hp-query ../share/hplip/query.py @epm_full@l 755 root root $bindir/hp-wificonfig ../share/hplip/wificonfig.py @epm_full@l 755 root root $bindir/hp-devicesettings ../share/hplip/devicesettings.py +@epm_full@l 755 root root $bindir/hp-uninstall ../share/hplip/uninstall.py +@epm_full@l 755 root root $bindir/hp-upgrade ../share/hplip/upgrade.py +@epm_full@l 755 root root $bindir/hp-config_usb_printer ../share/hplip/config_usb_printer.py +@epm_full@l 755 root root $bindir/hp-diagnose_queues ../share/hplip/diagnose_queues.py # qt4 @epm_full@@epm_qt4@d 775 root root $home/ui4 - @@ -434,10 +451,11 @@ f 0644 root root $docdir/license.txt prnt/plugins/license.txt f 0644 root root $docdir/COPYING prnt/plugins/license.txt f 0644 root root $docdir/copyright prnt/plugins/copyright -f 0644 root root /var/lib/hp/hplip.state hplip-plugin.state +d 0755 root root /var/lib/hp/ - f 0644 root root $home/data/firmware data/firmware/*.fw.gz d 0775 root root $home/data/plugin - d 0775 root lp /var/log/hp - +d 1775 root lp /var/log/hp/tmp - #scan @@ -445,8 +463,13 @@ %system !darwin @epm_print_only_exclude@f 0644 root root /etc/udev/rules.d data/rules/86-hpmud*.rules +@epm_print_only_exclude@f 0644 root root /etc/udev/rules.d data/rules/56-hpmud_add_printer.rules +@epm_print_only_exclude@f 0755 root root /etc/cron.daily data/rules/hplip_cron + f 0755 root root $home/prnt/plugins/lj-${machine}.so prnt/plugins/lj-${machine}.so l 0755 root root $home/prnt/plugins/lj.so lj-${machine}.so +f 0755 root root $home/prnt/plugins/hbpl1-${machine}.so prnt/plugins/hbpl1-${machine}.so +l 0755 root root $home/prnt/plugins/hbpl1.so hbpl1-${machine}.so @epm_print_only_exclude@d 0775 root root $home/scan/plugins - @epm_print_only_exclude@f 0755 root root $home/scan/plugins/bb_marvell-${machine}.so scan/sane/bb_marvell-${machine}.so @epm_print_only_exclude@l 0755 root root $home/scan/plugins/bb_marvell.so bb_marvell-${machine}.so @@ -456,6 +479,8 @@ @epm_print_only_exclude@l 0755 root root $home/scan/plugins/bb_soap.so bb_soap-${machine}.so @epm_print_only_exclude@f 0755 root root $home/fax/plugins/fax_marvell-${machine}.so fax/plugins/fax_marvell-${machine}.so @epm_print_only_exclude@l 0755 root root $home/fax/plugins/fax_marvell.so fax_marvell-${machine}.so + + %system all %postinstall <.*?(404|403).*?ERROR.*?': 0.95, - r'(?is).*?ERROR.*?(404|403).*?': 0.95, - r'(?is)ERROR': 0.30, - r'(?is).*?ERROR.*?': 0.10, - r'(?is)': 0.80, - r'(?is)': 0.80, - r'(?is).*?File Not Found.*?': 0.80, - r'(?is).*?Not Found.*?': 0.40, - r'(?is)': 0.10, - r'(?is)

.*?(404|403).*?

': 0.15, - r'(?is)': 0.10, - r'(?is)

.*?not found.*?

': 0.15, - r'(?is)': 0.10, - r'(?is)': 0.10, - r'(?is)': 0.10, - r'(?is)': 0.10, - r'(?i)does not exist': 0.10, - } -# end - - -EXPECT_LIST = [] -for s in EXPECT_WORD_LIST: - try: - p = re.compile(s, re.I) - except TypeError: - EXPECT_LIST.append(s) - else: - EXPECT_LIST.append(p) - -OK_PROCESS_LIST = ['adept-notifier', - 'adept_notifier', - 'yum-updatesd', - ] - -CONFIGURE_ERRORS = { 1 : "General/unknown error", - 2 : "libusb not found", - 3 : "cups-devel not found", - 4 : "libnetsnmp not found", - 5 : "netsnmp-devel not found", - 6 : "python-devel not found", - 7 : "pthread-devel not found", - 8 : "ppdev-devel not found", - 9 : "libcups not found", - 10 : "libm not found", - 11 : "libusb-devel not found", - 12 : "sane-backends-devel not found", - 13 : "libdbus not found", - 14 : "dbus-devel not found", - 15 : "fax requires dbus support", - 102 : "libjpeg not found", - 103 : "jpeg-devel not found", - 104 : "libdi not found", - } - - -try: - from functools import update_wrapper -except ImportError: # using Python version < 2.5 - def trace(f): - def newf(*args, **kw): - log.debug("TRACE: func=%s(), args=%s, kwargs=%s" % (f.__name__, args, kw)) - return f(*args, **kw) - newf.__name__ = f.__name__ - newf.__dict__.update(f.__dict__) - newf.__doc__ = f.__doc__ - newf.__module__ = f.__module__ - return newf -else: # using Python 2.5+ - def trace(f): - def newf(*args, **kw): - log.debug("TRACE: func=%s(), args=%s, kwargs=%s" % (f.__name__, args, kw)) - return f(*args, **kw) - return update_wrapper(newf, f) - - - -class CoreInstall(object): - def __init__(self, mode=MODE_INSTALLER, ui_mode=INTERACTIVE_MODE, ui_toolkit='qt4'): - os.umask(0022) - self.mode = mode - self.ui_mode = ui_mode - self.password = '' - self.version_description, self.version_public, self.version_internal = '', '', '' - self.bitness = 32 - self.endian = utils.LITTLE_ENDIAN - self.distro, self.distro_name, self.distro_version = DISTRO_UNKNOWN, '', DISTRO_VER_UNKNOWN - self.distro_version_supported = False - self.install_location = '/usr' - self.hplip_present = False - self.have_dependencies = {} - self.native_cups = True - self.ppd_dir = None - self.drv_dir = None - self.distros = {} - self.network_connected = False - self.ui_toolkit = ui_toolkit - self.enable = None - self.disable = None - self.plugin_path = "/tmp" - self.plugin_version = '0.0.0' - self.plugin_name = '' - self.reload_dbus = False - - - self.FIELD_TYPES = { - 'distros' : TYPE_LIST, - 'index' : TYPE_INT, - 'versions' : TYPE_LIST, - 'display_name' : TYPE_STRING, - 'alt_names': TYPE_LIST, - 'display': TYPE_BOOL, - 'notes': TYPE_STRING, - 'package_mgrs': TYPE_LIST, - 'package_mgr_cmd':TYPE_STRING, - 'pre_install_cmd': TYPE_LIST, - 'pre_depend_cmd': TYPE_LIST, - 'post_depend_cmd': TYPE_LIST, - 'hpoj_remove_cmd': TYPE_STRING, - 'hplip_remove_cmd': TYPE_STRING, - 'su_sudo': TYPE_STRING, - 'ppd_install': TYPE_STRING, - 'udev_mode_fix': TYPE_BOOL, - 'ppd_dir': TYPE_STRING, - 'drv_dir' : TYPE_STRING, - 'fix_ppd_symlink': TYPE_BOOL, - 'code_name': TYPE_STRING, - 'supported': TYPE_BOOL, # Supported by installer - 'release_date': TYPE_STRING, - 'packages': TYPE_LIST, - 'commands': TYPE_LIST, - 'same_as_version' : TYPE_STRING, - 'scan_supported' : TYPE_BOOL, - 'fax_supported' : TYPE_BOOL, - 'pcard_supported' : TYPE_BOOL, - 'network_supported' : TYPE_BOOL, - 'parallel_supported' : TYPE_BOOL, - 'usb_supported' : TYPE_BOOL, - 'packaged_version': TYPE_STRING, # Version of HPLIP pre-packaged in distro - 'cups_path_with_bitness' : TYPE_BOOL, - 'ui_toolkit' : TYPE_STRING, # qt3 or qt4 [or gtk] or none - 'policykit' : TYPE_BOOL, - 'native_cups' : TYPE_BOOL, - 'package_available' : TYPE_BOOL, - 'package_arch' : TYPE_LIST, - 'add_user_to_group': TYPE_STRING, - 'open_mdns_port' : TYPE_LIST, # command to use to open mdns multicast port 5353 - 'acl_rules' : TYPE_BOOL, # Use ACL uDEV rules (Ubuntu 9.10+) - 'libdir_path' : TYPE_STRING, - } - - # components - # 'name': ('description', [