Merge lp:~dev-nigelj/ubuntu/oneiric/zabbix/721707-v2 into lp:ubuntu/oneiric/zabbix

Proposed by Nigel Jones
Status: Merged
Merged at revision: 36
Proposed branch: lp:~dev-nigelj/ubuntu/oneiric/zabbix/721707-v2
Merge into: lp:ubuntu/oneiric/zabbix
Diff against target: 178200 lines (+55095/-60844)
682 files modified
.pc/applied-patches (+1/-0)
.pc/configure-no-lcrypt/configure (+5077/-8403)
.pc/ldap-linker-lp722300.patch/configure.in (+1494/-0)
.pc/ldap-linker-lp722300.patch/m4/ax_lib_postgresql.m4 (+182/-0)
.pc/ldap-linker-lp722300.patch/m4/ldap.m4 (+97/-0)
.pc/no-swf-clock/frontends/php/include/screens.inc.php (+69/-32)
ChangeLog (+339/-19)
Makefile.am (+3/-8)
Makefile.in (+150/-73)
aclocal.m4 (+198/-113)
build/win32/project/Makefile_agent (+5/-18)
build/win32/project/Makefile_agent_x64 (+5/-18)
build/win32/project/Makefile_get (+1/-1)
build/win32/project/Makefile_get_x64 (+1/-1)
build/win32/project/Makefile_sender (+1/-1)
build/win32/project/Makefile_sender_x64 (+1/-1)
build/win64/README (+1/-1)
compile (+11/-10)
config.guess (+63/-56)
config.sub (+51/-16)
configure (+5076/-8402)
configure.in (+504/-451)
create/Makefile.am (+3/-1)
create/Makefile.in (+41/-14)
create/data/data.sql (+10/-0)
create/data/images_ibm_db2.sql (+25/-0)
create/schema/ibm_db2.sql (+1076/-0)
create/schema/mysql.sql (+2/-1)
create/schema/oracle.sql (+4/-1)
create/schema/postgresql.sql (+2/-1)
create/schema/sqlite.sql (+2/-1)
debian/changelog (+46/-0)
debian/control (+5/-5)
debian/patches/configure-no-lcrypt (+13/-13)
debian/patches/ldap-linker-lp722300.patch (+54/-0)
debian/patches/series (+1/-0)
debian/po/da.po (+105/-0)
debian/rules (+3/-4)
debian/watch (+1/-0)
depcomp (+64/-23)
frontends/php/acknow.php (+17/-22)
frontends/php/actionconf.php (+108/-136)
frontends/php/api/classes/class.caction.php (+109/-69)
frontends/php/api/classes/class.calert.php (+40/-31)
frontends/php/api/classes/class.capplication.php (+68/-39)
frontends/php/api/classes/class.cdcheck.php (+14/-43)
frontends/php/api/classes/class.cdhost.php (+15/-62)
frontends/php/api/classes/class.cdrule.php (+50/-70)
frontends/php/api/classes/class.cdservice.php (+15/-70)
frontends/php/api/classes/class.cevent.php (+66/-53)
frontends/php/api/classes/class.cgraph.php (+270/-276)
frontends/php/api/classes/class.cgraphitem.php (+36/-11)
frontends/php/api/classes/class.chistory.php (+23/-27)
frontends/php/api/classes/class.chost.php (+149/-121)
frontends/php/api/classes/class.chostgroup.php (+135/-72)
frontends/php/api/classes/class.cimage.php (+70/-36)
frontends/php/api/classes/class.citem.php (+49/-85)
frontends/php/api/classes/class.cmaintenance.php (+149/-49)
frontends/php/api/classes/class.cmap.php (+276/-226)
frontends/php/api/classes/class.cmediatype.php (+51/-88)
frontends/php/api/classes/class.cproxy.php (+32/-20)
frontends/php/api/classes/class.cscreen.php (+63/-41)
frontends/php/api/classes/class.cscript.php (+171/-40)
frontends/php/api/classes/class.ctemplate.php (+198/-117)
frontends/php/api/classes/class.ctrigger.php (+179/-136)
frontends/php/api/classes/class.ctriggerexpression.php (+759/-0)
frontends/php/api/classes/class.cuser.php (+116/-125)
frontends/php/api/classes/class.cusergroup.php (+67/-44)
frontends/php/api/classes/class.cusermacro.php (+407/-379)
frontends/php/api/classes/class.czbxapi.php (+3/-2)
frontends/php/api/rpc/class.cjsonrpc.php (+2/-2)
frontends/php/api/rpc/class.czbxrpc.php (+17/-11)
frontends/php/api_jsonrpc.php (+1/-1)
frontends/php/applications.php (+6/-16)
frontends/php/auditacts.php (+4/-3)
frontends/php/auditlogs.php (+3/-31)
frontends/php/chart.php (+0/-1)
frontends/php/chart2.php (+4/-4)
frontends/php/chart3.php (+9/-9)
frontends/php/conf/zabbix.conf.php.example (+13/-28)
frontends/php/config.php (+87/-46)
frontends/php/discovery.php (+21/-3)
frontends/php/discoveryconf.php (+243/-34)
frontends/php/events.php (+87/-9)
frontends/php/graphs.php (+3/-3)
frontends/php/history.php (+33/-39)
frontends/php/hostgroups.php (+73/-28)
frontends/php/hosts.php (+147/-45)
frontends/php/httpconf.php (+225/-21)
frontends/php/httpdetails.php (+13/-12)
frontends/php/imgstore.php (+8/-7)
frontends/php/include/acknow.inc.php (+2/-2)
frontends/php/include/actions.inc.php (+22/-15)
frontends/php/include/audit.inc.php (+39/-31)
frontends/php/include/blocks.inc.php (+13/-9)
frontends/php/include/classes/class.cbutton.php (+1/-1)
frontends/php/include/classes/class.cchart.php (+105/-90)
frontends/php/include/classes/class.ccheckbox.php (+1/-1)
frontends/php/include/classes/class.ccombobox.php (+26/-9)
frontends/php/include/classes/class.ccomboitem.php (+3/-5)
frontends/php/include/classes/class.cconfigfile.php (+163/-0)
frontends/php/include/classes/class.cformelement.php (+50/-50)
frontends/php/include/classes/class.cformtable.php (+16/-42)
frontends/php/include/classes/class.cipbox.php (+0/-65)
frontends/php/include/classes/class.clabel.php (+30/-0)
frontends/php/include/classes/class.cpagefilter.php (+467/-451)
frontends/php/include/classes/class.cpie.php (+4/-0)
frontends/php/include/classes/class.cstringparser.php (+23/-304)
frontends/php/include/classes/class.ctag.php (+1/-1)
frontends/php/include/classes/class.ctextarea.php (+1/-1)
frontends/php/include/classes/class.ctriggersinfo.php (+3/-10)
frontends/php/include/classes/class.curl.php (+8/-2)
frontends/php/include/classes/class.cwidget.php (+1/-1)
frontends/php/include/config.inc.php (+43/-29)
frontends/php/include/db.inc.php (+270/-98)
frontends/php/include/debug.inc.php (+44/-44)
frontends/php/include/defines.inc.php (+26/-10)
frontends/php/include/discovery.inc.php (+64/-48)
frontends/php/include/events.inc.php (+89/-54)
frontends/php/include/export.inc.php (+126/-84)
frontends/php/include/forms.inc.php (+176/-726)
frontends/php/include/func.inc.php (+122/-87)
frontends/php/include/hosts.inc.php (+71/-93)
frontends/php/include/httptest.inc.php (+19/-5)
frontends/php/include/items.inc.php (+316/-102)
frontends/php/include/js.inc.php (+21/-5)
frontends/php/include/locales.inc.php (+1/-0)
frontends/php/include/locales/cn_zh.inc.php (+2/-83)
frontends/php/include/locales/cs_cz.inc.php (+2/-81)
frontends/php/include/locales/de_de.inc.php (+1/-57)
frontends/php/include/locales/en_gb.inc.php (+123/-99)
frontends/php/include/locales/fr_fr.inc.php (+89/-88)
frontends/php/include/locales/hu_hu.inc.php (+1/-82)
frontends/php/include/locales/it_it.inc.php (+1/-10)
frontends/php/include/locales/ja_jp.inc.php (+168/-170)
frontends/php/include/locales/ko_kr.inc.php (+0/-21)
frontends/php/include/locales/lv_lv.inc.php (+158/-4)
frontends/php/include/locales/nl_nl.inc.php (+0/-12)
frontends/php/include/locales/pl_pl.inc.php (+1/-29)
frontends/php/include/locales/pt_br.inc.php (+121/-120)
frontends/php/include/locales/ru_ru.inc.php (+172/-175)
frontends/php/include/locales/sk_sk.inc.php (+2062/-0)
frontends/php/include/locales/sp_sp.inc.php (+1/-22)
frontends/php/include/locales/sv_se.inc.php (+0/-12)
frontends/php/include/locales/ua_ua.inc.php (+118/-126)
frontends/php/include/maps.inc.php (+797/-1162)
frontends/php/include/media.inc.php (+17/-10)
frontends/php/include/menu.inc.php (+3/-4)
frontends/php/include/nodes.inc.php (+0/-1)
frontends/php/include/page_footer.php (+12/-5)
frontends/php/include/page_header.php (+15/-6)
frontends/php/include/profiles.inc.php (+43/-43)
frontends/php/include/requirements.inc.php (+17/-0)
frontends/php/include/schema.inc.php (+4302/-651)
frontends/php/include/screens.inc.php (+69/-32)
frontends/php/include/scripts.inc.php (+0/-72)
frontends/php/include/services.inc.php (+3/-41)
frontends/php/include/setup.inc.php (+177/-423)
frontends/php/include/triggers.inc.php (+539/-822)
frontends/php/include/users.inc.php (+1/-1)
frontends/php/include/validate.inc.php (+22/-37)
frontends/php/include/xmlschemas/screens.rng (+135/-0)
frontends/php/index.php (+4/-2)
frontends/php/items.php (+59/-34)
frontends/php/js/class.calendar.js (+3/-3)
frontends/php/js/class.cmap.js (+59/-75)
frontends/php/js/class.cmessages.js (+5/-5)
frontends/php/js/class.csuggest.js (+2/-2)
frontends/php/js/class.cviewswitcher.js (+33/-50)
frontends/php/js/class.pmaster.js (+2/-2)
frontends/php/js/common.js (+62/-73)
frontends/php/js/functions.js (+49/-13)
frontends/php/js/ie6fix.js (+1/-1)
frontends/php/js/main.js (+91/-91)
frontends/php/js/prototype.js (+2/-3)
frontends/php/jsLoader.php (+118/-107)
frontends/php/jsrpc.php (+3/-3)
frontends/php/locales.php (+13/-61)
frontends/php/maintenance.php (+6/-6)
frontends/php/maps.php (+92/-77)
frontends/php/media_types.php (+115/-78)
frontends/php/popup.php (+46/-32)
frontends/php/popup_trexpr.php (+211/-104)
frontends/php/profile.php (+7/-9)
frontends/php/proxies.php (+3/-2)
frontends/php/queue.php (+9/-7)
frontends/php/report2.php (+73/-77)
frontends/php/report4.php (+160/-127)
frontends/php/report5.php (+1/-0)
frontends/php/screenconf.php (+23/-12)
frontends/php/screenedit.php (+10/-15)
frontends/php/screens.php (+74/-27)
frontends/php/scripts.php (+9/-9)
frontends/php/scripts_exec.php (+32/-33)
frontends/php/search.php (+17/-21)
frontends/php/services_form.php (+16/-4)
frontends/php/setup.php (+14/-8)
frontends/php/slideconf.php (+18/-13)
frontends/php/slides.php (+10/-4)
frontends/php/styles/calendar.css (+1/-1)
frontends/php/styles/css_od.css (+10/-2)
frontends/php/styles/table.css (+31/-33)
frontends/php/sysmap.php (+3/-4)
frontends/php/sysmaps.php (+18/-28)
frontends/php/templates.php (+31/-27)
frontends/php/tr_comments.php (+30/-6)
frontends/php/tr_events.php (+18/-8)
frontends/php/tr_logform.php (+33/-33)
frontends/php/tr_status.php (+44/-14)
frontends/php/tr_testexpr.php (+24/-35)
frontends/php/triggers.php (+94/-65)
frontends/php/users.php (+8/-6)
include/cfg.h (+0/-9)
include/common.h (+81/-83)
include/comms.h (+11/-7)
include/config.h.in (+53/-38)
include/daemon.h (+4/-5)
include/db.h (+108/-140)
include/dbcache.h (+16/-8)
include/dbschema.h (+16/-25)
include/email.h (+0/-28)
include/ipc.h (+1/-0)
include/jabber.h (+0/-27)
include/mutexs.h (+25/-30)
include/service.h (+5/-5)
include/sms.h (+0/-26)
include/snprintf.c (+0/-983)
include/sysinc.h (+7/-0)
include/sysinfo.h (+180/-140)
include/threads.h (+19/-10)
include/zbxdb.h (+131/-104)
include/zbxexec.h (+25/-0)
include/zbxicmpping.h (+11/-9)
include/zbxjson.h (+9/-6)
include/zbxmacros.h (+0/-1)
include/zbxmedia.h (+37/-0)
include/zbxodbc.h (+1/-1)
include/zbxplugin.h (+0/-61)
include/zbxself.h (+68/-0)
include/zbxserver.h (+4/-9)
include/zlog.h (+1/-1)
install-sh (+3/-2)
m4/ax_lib_ibm_db2.m4 (+64/-0)
m4/ax_lib_oracle_oci.m4 (+2/-2)
m4/ax_lib_postgresql.m4 (+3/-1)
m4/iconv.m4 (+1/-1)
m4/ldap.m4 (+3/-1)
m4/libcurl.m4 (+6/-2)
m4/openipmi.m4 (+1/-1)
m4/resolv.m4 (+1/-1)
man/Makefile.in (+130/-93)
man/zabbix_sender.man (+12/-8)
misc/Makefile.in (+38/-13)
misc/conf/zabbix_agent.conf (+0/-1)
misc/conf/zabbix_agentd.conf (+20/-22)
misc/conf/zabbix_agentd.win.conf (+43/-12)
misc/conf/zabbix_agentd/userparameter_examples.conf (+8/-0)
misc/conf/zabbix_agentd/userparameter_mysql.conf (+14/-0)
misc/conf/zabbix_proxy.conf (+37/-28)
misc/conf/zabbix_server.conf (+33/-12)
misc/init.d/debian/zabbix-agent (+3/-19)
misc/init.d/debian/zabbix-server (+2/-18)
misc/init.d/fedora/core/zabbix_agentd (+1/-1)
misc/init.d/fedora/core/zabbix_server (+1/-2)
misc/init.d/fedora/core5/zabbix_agentd (+2/-3)
misc/init.d/fedora/core5/zabbix_server (+2/-3)
misc/init.d/gentoo/zabbix-agentd (+4/-7)
misc/init.d/gentoo/zabbix-server (+4/-9)
misc/init.d/redhat/zabbix_agentd_ctl (+1/-1)
misc/init.d/redhat/zabbix_server_ctl (+1/-1)
misc/init.d/suse/9.1/zabbix_agentd (+1/-1)
misc/init.d/suse/9.1/zabbix_server (+1/-1)
misc/init.d/suse/9.2/zabbix_agentd (+1/-1)
misc/init.d/suse/9.2/zabbix_server (+1/-1)
misc/init.d/suse/9.3/zabbix_agentd (+1/-1)
misc/init.d/suse/9.3/zabbix_server (+1/-1)
misc/init.d/tru64/zabbix_agentd (+3/-3)
misc/init.d/tru64/zabbix_server (+3/-3)
misc/init.d/ubuntu/zabbix-agent.conf (+8/-0)
misc/init.d/ubuntu/zabbix-server.conf (+9/-0)
misc/snmptrap/snmptrap.sh (+1/-2)
missing (+29/-20)
src/Makefile.am (+1/-0)
src/Makefile.in (+108/-38)
src/libs/Makefile.am (+10/-15)
src/libs/Makefile.in (+117/-50)
src/libs/zbxalgo/Makefile.in (+56/-25)
src/libs/zbxalgo/algodefs.c (+4/-4)
src/libs/zbxalgo/binaryheap.c (+13/-57)
src/libs/zbxalgo/hashmap.c (+10/-40)
src/libs/zbxalgo/hashset.c (+2/-38)
src/libs/zbxalgo/vector.c (+1/-1)
src/libs/zbxcommon/Makefile.in (+56/-25)
src/libs/zbxcommon/comms.c (+22/-112)
src/libs/zbxcommon/file.c (+1/-2)
src/libs/zbxcommon/misc.c (+286/-95)
src/libs/zbxcommon/regexp.c (+38/-30)
src/libs/zbxcommon/str.c (+672/-212)
src/libs/zbxcomms/Makefile.in (+56/-25)
src/libs/zbxcomms/comms.c (+103/-65)
src/libs/zbxcommshigh/Makefile.in (+56/-25)
src/libs/zbxcommshigh/comms.c (+0/-1)
src/libs/zbxconf/Makefile.in (+56/-25)
src/libs/zbxconf/cfg.c (+136/-143)
src/libs/zbxcrypto/Makefile.in (+56/-25)
src/libs/zbxdb/Makefile.in (+56/-25)
src/libs/zbxdb/db.c (+833/-533)
src/libs/zbxdbcache/Makefile.in (+56/-25)
src/libs/zbxdbcache/dbcache.c (+106/-100)
src/libs/zbxdbcache/dbconfig.c (+441/-331)
src/libs/zbxdbcache/nextchecks.c (+25/-11)
src/libs/zbxdbhigh/Makefile.in (+70/-39)
src/libs/zbxdbhigh/db.c (+165/-188)
src/libs/zbxdbhigh/dbschema.c (+9/-3706)
src/libs/zbxdbhigh/discovery.c (+1/-1)
src/libs/zbxdbhigh/host.c (+37/-35)
src/libs/zbxdbhigh/macro.c (+12/-11)
src/libs/zbxdbhigh/odbc.c (+10/-11)
src/libs/zbxdbhigh/proxy.c (+33/-27)
src/libs/zbxemail/Makefile.am (+0/-5)
src/libs/zbxemail/Makefile.in (+0/-468)
src/libs/zbxemail/email.c (+0/-278)
src/libs/zbxexec/Makefile.am (+5/-0)
src/libs/zbxexec/Makefile.in (+499/-0)
src/libs/zbxexec/execute.c (+425/-0)
src/libs/zbxicmpping/Makefile.in (+56/-25)
src/libs/zbxicmpping/icmpping.c (+226/-155)
src/libs/zbxjabber/Makefile.am (+0/-5)
src/libs/zbxjabber/Makefile.in (+0/-468)
src/libs/zbxjabber/jabber.c (+0/-541)
src/libs/zbxjson/Makefile.in (+56/-25)
src/libs/zbxjson/json.c (+311/-237)
src/libs/zbxlog/Makefile.in (+56/-25)
src/libs/zbxlog/log.c (+1/-3)
src/libs/zbxmedia/Makefile.am (+13/-0)
src/libs/zbxmedia/Makefile.in (+511/-0)
src/libs/zbxmedia/email.c (+290/-0)
src/libs/zbxmedia/eztexting.c (+291/-0)
src/libs/zbxmedia/jabber.c (+541/-0)
src/libs/zbxmedia/sms.c (+269/-0)
src/libs/zbxmemory/Makefile.in (+56/-25)
src/libs/zbxmemory/memalloc.c (+28/-37)
src/libs/zbxmemory/strpool.c (+2/-20)
src/libs/zbxnix/Makefile.in (+56/-25)
src/libs/zbxnix/daemon.c (+37/-24)
src/libs/zbxnix/ipc.c (+5/-5)
src/libs/zbxnix/pid.c (+6/-2)
src/libs/zbxplugin/Makefile.am (+0/-5)
src/libs/zbxplugin/Makefile.in (+0/-468)
src/libs/zbxplugin/zbxplugin.c (+0/-33)
src/libs/zbxself/Makefile.am (+5/-0)
src/libs/zbxself/Makefile.in (+499/-0)
src/libs/zbxself/selfmon.c (+559/-0)
src/libs/zbxserver/Makefile.in (+56/-25)
src/libs/zbxserver/evalfunc.c (+726/-556)
src/libs/zbxserver/evalfunc.h (+7/-6)
src/libs/zbxserver/expression.c (+784/-919)
src/libs/zbxsms/Makefile.am (+0/-5)
src/libs/zbxsms/Makefile.in (+0/-468)
src/libs/zbxsms/sms.c (+0/-280)
src/libs/zbxsys/Makefile.in (+56/-25)
src/libs/zbxsys/mutexs.c (+72/-69)
src/libs/zbxsys/symbols.c (+0/-1)
src/libs/zbxsys/threads.c (+39/-46)
src/libs/zbxsysinfo/Makefile.in (+116/-46)
src/libs/zbxsysinfo/aix/Makefile.am (+0/-3)
src/libs/zbxsysinfo/aix/Makefile.in (+74/-94)
src/libs/zbxsysinfo/aix/aix.c (+5/-17)
src/libs/zbxsysinfo/aix/cpu.c (+25/-70)
src/libs/zbxsysinfo/aix/diskio.c (+0/-157)
src/libs/zbxsysinfo/aix/diskspace.c (+1/-12)
src/libs/zbxsysinfo/aix/inodes.c (+12/-51)
src/libs/zbxsysinfo/aix/kernel.c (+0/-78)
src/libs/zbxsysinfo/aix/memory.c (+4/-17)
src/libs/zbxsysinfo/aix/net.c (+4/-27)
src/libs/zbxsysinfo/aix/proc.c (+30/-35)
src/libs/zbxsysinfo/aix/sensors.c (+0/-116)
src/libs/zbxsysinfo/aix/swap.c (+0/-333)
src/libs/zbxsysinfo/aix/uptime.c (+1/-8)
src/libs/zbxsysinfo/aix/vmstats.c (+24/-30)
src/libs/zbxsysinfo/common/Makefile.in (+56/-25)
src/libs/zbxsysinfo/common/common.c (+95/-237)
src/libs/zbxsysinfo/common/common.h (+5/-4)
src/libs/zbxsysinfo/common/file.c (+2/-30)
src/libs/zbxsysinfo/common/file.h (+4/-3)
src/libs/zbxsysinfo/common/http.c (+102/-165)
src/libs/zbxsysinfo/common/http.h (+3/-2)
src/libs/zbxsysinfo/common/net.c (+40/-117)
src/libs/zbxsysinfo/common/net.h (+7/-7)
src/libs/zbxsysinfo/common/system.c (+3/-19)
src/libs/zbxsysinfo/common/system.h (+6/-5)
src/libs/zbxsysinfo/freebsd/Makefile.am (+2/-3)
src/libs/zbxsysinfo/freebsd/Makefile.in (+95/-81)
src/libs/zbxsysinfo/freebsd/boottime.c (+0/-4)
src/libs/zbxsysinfo/freebsd/cpu.c (+22/-57)
src/libs/zbxsysinfo/freebsd/diskio.c (+32/-61)
src/libs/zbxsysinfo/freebsd/diskspace.c (+1/-12)
src/libs/zbxsysinfo/freebsd/freebsd.c (+5/-8)
src/libs/zbxsysinfo/freebsd/inodes.c (+1/-15)
src/libs/zbxsysinfo/freebsd/kernel.c (+2/-11)
src/libs/zbxsysinfo/freebsd/memory.c (+2/-14)
src/libs/zbxsysinfo/freebsd/net.c (+9/-34)
src/libs/zbxsysinfo/freebsd/proc.c (+70/-53)
src/libs/zbxsysinfo/freebsd/sensors.c (+0/-116)
src/libs/zbxsysinfo/freebsd/swap.c (+5/-17)
src/libs/zbxsysinfo/freebsd/uptime.c (+3/-24)
src/libs/zbxsysinfo/hpux/Makefile.am (+1/-7)
src/libs/zbxsysinfo/hpux/Makefile.in (+68/-138)
src/libs/zbxsysinfo/hpux/cpu.c (+36/-101)
src/libs/zbxsysinfo/hpux/diskio.c (+0/-157)
src/libs/zbxsysinfo/hpux/diskspace.c (+1/-12)
src/libs/zbxsysinfo/hpux/hpux.c (+4/-29)
src/libs/zbxsysinfo/hpux/inodes.c (+8/-52)
src/libs/zbxsysinfo/hpux/kernel.c (+0/-78)
src/libs/zbxsysinfo/hpux/memory.c (+10/-97)
src/libs/zbxsysinfo/hpux/net.c (+0/-67)
src/libs/zbxsysinfo/hpux/proc.c (+0/-500)
src/libs/zbxsysinfo/hpux/sensors.c (+0/-116)
src/libs/zbxsysinfo/hpux/swap.c (+0/-333)
src/libs/zbxsysinfo/hpux/uptime.c (+0/-120)
src/libs/zbxsysinfo/linux/Makefile.am (+2/-2)
src/libs/zbxsysinfo/linux/Makefile.in (+97/-66)
src/libs/zbxsysinfo/linux/boottime.c (+2/-7)
src/libs/zbxsysinfo/linux/cpu.c (+27/-58)
src/libs/zbxsysinfo/linux/diskio.c (+34/-61)
src/libs/zbxsysinfo/linux/diskspace.c (+1/-12)
src/libs/zbxsysinfo/linux/inodes.c (+15/-61)
src/libs/zbxsysinfo/linux/kernel.c (+0/-7)
src/libs/zbxsysinfo/linux/linux.c (+8/-6)
src/libs/zbxsysinfo/linux/memory.c (+23/-80)
src/libs/zbxsysinfo/linux/net.c (+123/-62)
src/libs/zbxsysinfo/linux/proc.c (+32/-37)
src/libs/zbxsysinfo/linux/sensors.c (+141/-96)
src/libs/zbxsysinfo/linux/swap.c (+34/-45)
src/libs/zbxsysinfo/linux/uptime.c (+0/-4)
src/libs/zbxsysinfo/netbsd/Makefile.am (+2/-4)
src/libs/zbxsysinfo/netbsd/Makefile.in (+93/-96)
src/libs/zbxsysinfo/netbsd/boottime.c (+0/-4)
src/libs/zbxsysinfo/netbsd/cpu.c (+23/-61)
src/libs/zbxsysinfo/netbsd/diskio.c (+0/-157)
src/libs/zbxsysinfo/netbsd/diskspace.c (+1/-12)
src/libs/zbxsysinfo/netbsd/inodes.c (+1/-15)
src/libs/zbxsysinfo/netbsd/kernel.c (+2/-11)
src/libs/zbxsysinfo/netbsd/memory.c (+2/-14)
src/libs/zbxsysinfo/netbsd/net.c (+65/-261)
src/libs/zbxsysinfo/netbsd/netbsd.c (+5/-15)
src/libs/zbxsysinfo/netbsd/proc.c (+56/-38)
src/libs/zbxsysinfo/netbsd/sensors.c (+0/-116)
src/libs/zbxsysinfo/netbsd/swap.c (+0/-333)
src/libs/zbxsysinfo/netbsd/uptime.c (+1/-20)
src/libs/zbxsysinfo/openbsd/Makefile.am (+2/-2)
src/libs/zbxsysinfo/openbsd/Makefile.in (+97/-66)
src/libs/zbxsysinfo/openbsd/boottime.c (+0/-4)
src/libs/zbxsysinfo/openbsd/cpu.c (+21/-52)
src/libs/zbxsysinfo/openbsd/diskio.c (+9/-33)
src/libs/zbxsysinfo/openbsd/diskspace.c (+1/-12)
src/libs/zbxsysinfo/openbsd/inodes.c (+1/-15)
src/libs/zbxsysinfo/openbsd/kernel.c (+2/-11)
src/libs/zbxsysinfo/openbsd/memory.c (+2/-14)
src/libs/zbxsysinfo/openbsd/net.c (+146/-294)
src/libs/zbxsysinfo/openbsd/openbsd.c (+7/-8)
src/libs/zbxsysinfo/openbsd/proc.c (+65/-43)
src/libs/zbxsysinfo/openbsd/sensors.c (+175/-87)
src/libs/zbxsysinfo/openbsd/swap.c (+16/-30)
src/libs/zbxsysinfo/openbsd/uptime.c (+0/-5)
src/libs/zbxsysinfo/osf/Makefile.am (+0/-2)
src/libs/zbxsysinfo/osf/Makefile.in (+75/-77)
src/libs/zbxsysinfo/osf/cpu.c (+20/-78)
src/libs/zbxsysinfo/osf/diskio.c (+0/-157)
src/libs/zbxsysinfo/osf/diskspace.c (+1/-12)
src/libs/zbxsysinfo/osf/inodes.c (+7/-53)
src/libs/zbxsysinfo/osf/kernel.c (+3/-17)
src/libs/zbxsysinfo/osf/memory.c (+6/-70)
src/libs/zbxsysinfo/osf/net.c (+0/-67)
src/libs/zbxsysinfo/osf/osf.c (+5/-21)
src/libs/zbxsysinfo/osf/proc.c (+61/-72)
src/libs/zbxsysinfo/osf/sensors.c (+0/-116)
src/libs/zbxsysinfo/osf/swap.c (+22/-92)
src/libs/zbxsysinfo/osf/uptime.c (+2/-26)
src/libs/zbxsysinfo/osx/Makefile.am (+0/-2)
src/libs/zbxsysinfo/osx/Makefile.in (+75/-77)
src/libs/zbxsysinfo/osx/cpu.c (+49/-207)
src/libs/zbxsysinfo/osx/diskio.c (+0/-157)
src/libs/zbxsysinfo/osx/diskspace.c (+1/-12)
src/libs/zbxsysinfo/osx/inodes.c (+9/-50)
src/libs/zbxsysinfo/osx/kernel.c (+4/-19)
src/libs/zbxsysinfo/osx/memory.c (+10/-91)
src/libs/zbxsysinfo/osx/net.c (+0/-67)
src/libs/zbxsysinfo/osx/osx.c (+5/-21)
src/libs/zbxsysinfo/osx/proc.c (+18/-28)
src/libs/zbxsysinfo/osx/sensors.c (+0/-116)
src/libs/zbxsysinfo/osx/swap.c (+22/-90)
src/libs/zbxsysinfo/osx/uptime.c (+1/-23)
src/libs/zbxsysinfo/simple/Makefile.in (+56/-25)
src/libs/zbxsysinfo/simple/ntp.c (+128/-136)
src/libs/zbxsysinfo/simple/ntp.h (+4/-3)
src/libs/zbxsysinfo/simple/simple.c (+65/-79)
src/libs/zbxsysinfo/simple/simple.h (+3/-2)
src/libs/zbxsysinfo/solaris/Makefile.am (+1/-2)
src/libs/zbxsysinfo/solaris/Makefile.in (+93/-79)
src/libs/zbxsysinfo/solaris/boottime.c (+0/-5)
src/libs/zbxsysinfo/solaris/cpu.c (+72/-108)
src/libs/zbxsysinfo/solaris/diskio.c (+69/-109)
src/libs/zbxsysinfo/solaris/diskspace.c (+1/-12)
src/libs/zbxsysinfo/solaris/inodes.c (+6/-47)
src/libs/zbxsysinfo/solaris/kernel.c (+4/-19)
src/libs/zbxsysinfo/solaris/memory.c (+16/-42)
src/libs/zbxsysinfo/solaris/net.c (+28/-129)
src/libs/zbxsysinfo/solaris/proc.c (+29/-33)
src/libs/zbxsysinfo/solaris/sensors.c (+0/-116)
src/libs/zbxsysinfo/solaris/solaris.c (+5/-7)
src/libs/zbxsysinfo/solaris/swap.c (+26/-72)
src/libs/zbxsysinfo/solaris/uptime.c (+0/-5)
src/libs/zbxsysinfo/specsysinfo.h (+6/-5)
src/libs/zbxsysinfo/sysinfo.c (+54/-69)
src/libs/zbxsysinfo/unknown/Makefile.am (+1/-12)
src/libs/zbxsysinfo/unknown/Makefile.in (+60/-200)
src/libs/zbxsysinfo/unknown/cpu.c (+0/-465)
src/libs/zbxsysinfo/unknown/diskio.c (+0/-157)
src/libs/zbxsysinfo/unknown/diskspace.c (+0/-171)
src/libs/zbxsysinfo/unknown/inodes.c (+0/-237)
src/libs/zbxsysinfo/unknown/kernel.c (+0/-78)
src/libs/zbxsysinfo/unknown/memory.c (+0/-408)
src/libs/zbxsysinfo/unknown/net.c (+0/-67)
src/libs/zbxsysinfo/unknown/proc.c (+0/-500)
src/libs/zbxsysinfo/unknown/sensors.c (+0/-116)
src/libs/zbxsysinfo/unknown/swap.c (+0/-333)
src/libs/zbxsysinfo/unknown/unknown.c (+4/-38)
src/libs/zbxsysinfo/unknown/uptime.c (+0/-120)
src/libs/zbxsysinfo/win32/cpu.c (+3/-34)
src/libs/zbxsysinfo/win32/diskio.c (+0/-24)
src/libs/zbxsysinfo/win32/diskspace.c (+5/-5)
src/libs/zbxsysinfo/win32/inodes.c (+0/-33)
src/libs/zbxsysinfo/win32/kernel.c (+0/-40)
src/libs/zbxsysinfo/win32/memory.c (+0/-2)
src/libs/zbxsysinfo/win32/net.c (+5/-32)
src/libs/zbxsysinfo/win32/pdhmon.c (+34/-27)
src/libs/zbxsysinfo/win32/proc.c (+20/-30)
src/libs/zbxsysinfo/win32/sensors.c (+0/-34)
src/libs/zbxsysinfo/win32/swap.c (+0/-22)
src/libs/zbxsysinfo/win32/uptime.c (+1/-1)
src/libs/zbxsysinfo/win32/win32.c (+9/-23)
src/libs/zbxwin32/service.c (+11/-12)
src/zabbix_agent/Makefile.am (+3/-4)
src/zabbix_agent/Makefile.in (+111/-85)
src/zabbix_agent/active.c (+192/-218)
src/zabbix_agent/active.h (+44/-42)
src/zabbix_agent/cpustat.c (+438/-479)
src/zabbix_agent/cpustat.h (+47/-52)
src/zabbix_agent/diskdevices.c (+21/-9)
src/zabbix_agent/diskdevices.h (+6/-6)
src/zabbix_agent/eventlog.c (+14/-12)
src/zabbix_agent/eventlog.h (+4/-4)
src/zabbix_agent/interfaces.c (+0/-406)
src/zabbix_agent/interfaces.h (+0/-55)
src/zabbix_agent/listener.c (+32/-42)
src/zabbix_agent/logfiles.c (+2/-2)
src/zabbix_agent/perfstat.c (+5/-4)
src/zabbix_agent/perfstat.h (+20/-20)
src/zabbix_agent/stats.c (+74/-113)
src/zabbix_agent/stats.h (+7/-15)
src/zabbix_agent/zabbix_agent.c (+12/-25)
src/zabbix_agent/zabbix_agent.h (+0/-23)
src/zabbix_agent/zabbix_agentd.c (+48/-45)
src/zabbix_agent/zbxconf.c (+107/-85)
src/zabbix_agent/zbxconf.h (+4/-2)
src/zabbix_get/Makefile.am (+2/-2)
src/zabbix_get/Makefile.in (+88/-44)
src/zabbix_get/zabbix_get.c (+21/-26)
src/zabbix_proxy/Makefile.am (+3/-0)
src/zabbix_proxy/Makefile.in (+152/-63)
src/zabbix_proxy/datasender/Makefile.in (+56/-25)
src/zabbix_proxy/datasender/datasender.c (+64/-102)
src/zabbix_proxy/datasender/datasender.h (+2/-2)
src/zabbix_proxy/events.c (+1/-20)
src/zabbix_proxy/events.h (+1/-2)
src/zabbix_proxy/heart/Makefile.in (+56/-25)
src/zabbix_proxy/heart/heart.c (+20/-35)
src/zabbix_proxy/heart/heart.h (+2/-2)
src/zabbix_proxy/housekeeper/Makefile.in (+56/-25)
src/zabbix_proxy/housekeeper/housekeeper.c (+41/-32)
src/zabbix_proxy/housekeeper/housekeeper.h (+4/-5)
src/zabbix_proxy/proxy.c (+384/-254)
src/zabbix_proxy/proxyconfig/Makefile.in (+56/-25)
src/zabbix_proxy/proxyconfig/proxyconfig.c (+13/-28)
src/zabbix_proxy/servercomms.c (+34/-19)
src/zabbix_proxy/servercomms.h (+1/-1)
src/zabbix_proxy/zlog.c (+2/-2)
src/zabbix_sender/Makefile.am (+2/-2)
src/zabbix_sender/Makefile.in (+88/-44)
src/zabbix_sender/zabbix_sender.c (+122/-93)
src/zabbix_server/Makefile.am (+6/-8)
src/zabbix_server/Makefile.in (+159/-73)
src/zabbix_server/actions.c (+112/-109)
src/zabbix_server/actions.h (+0/-1)
src/zabbix_server/alerter/Makefile.in (+56/-25)
src/zabbix_server/alerter/alerter.c (+16/-19)
src/zabbix_server/alerter/alerter.h (+1/-1)
src/zabbix_server/dbconfig/Makefile.in (+56/-25)
src/zabbix_server/dbconfig/dbconfig.c (+18/-16)
src/zabbix_server/dbconfig/dbconfig.h (+1/-3)
src/zabbix_server/dbsyncer/Makefile.in (+56/-25)
src/zabbix_server/dbsyncer/dbsyncer.c (+24/-24)
src/zabbix_server/dbsyncer/dbsyncer.h (+1/-5)
src/zabbix_server/discoverer/Makefile.in (+56/-25)
src/zabbix_server/discoverer/discoverer.c (+87/-72)
src/zabbix_server/discoverer/discoverer.h (+1/-5)
src/zabbix_server/escalator/Makefile.in (+56/-25)
src/zabbix_server/escalator/escalator.c (+60/-125)
src/zabbix_server/escalator/escalator.h (+1/-3)
src/zabbix_server/events.c (+47/-83)
src/zabbix_server/events.h (+1/-2)
src/zabbix_server/housekeeper/Makefile.in (+56/-25)
src/zabbix_server/housekeeper/housekeeper.c (+51/-76)
src/zabbix_server/housekeeper/housekeeper.h (+3/-4)
src/zabbix_server/httppoller/Makefile.in (+56/-25)
src/zabbix_server/httppoller/httpmacro.c (+1/-4)
src/zabbix_server/httppoller/httpmacro.h (+1/-1)
src/zabbix_server/httppoller/httppoller.c (+35/-78)
src/zabbix_server/httppoller/httppoller.h (+2/-2)
src/zabbix_server/httppoller/httptest.c (+286/-362)
src/zabbix_server/httppoller/httptest.h (+21/-27)
src/zabbix_server/nodewatcher/Makefile.in (+58/-27)
src/zabbix_server/nodewatcher/history.c (+15/-12)
src/zabbix_server/nodewatcher/nodecomms.c (+20/-48)
src/zabbix_server/nodewatcher/nodecomms.h (+0/-1)
src/zabbix_server/nodewatcher/nodesender.c (+211/-142)
src/zabbix_server/nodewatcher/nodewatcher.c (+110/-34)
src/zabbix_server/nodewatcher/nodewatcher.h (+5/-2)
src/zabbix_server/operations.c (+64/-68)
src/zabbix_server/operations.h (+4/-7)
src/zabbix_server/pinger/Makefile.in (+56/-25)
src/zabbix_server/pinger/pinger.c (+126/-123)
src/zabbix_server/pinger/pinger.h (+1/-5)
src/zabbix_server/poller/Makefile.in (+56/-25)
src/zabbix_server/poller/checks_agent.c (+2/-2)
src/zabbix_server/poller/checks_aggregate.c (+27/-34)
src/zabbix_server/poller/checks_calculated.c (+27/-19)
src/zabbix_server/poller/checks_db.c (+8/-11)
src/zabbix_server/poller/checks_external.c (+51/-72)
src/zabbix_server/poller/checks_external.h (+0/-2)
src/zabbix_server/poller/checks_internal.c (+129/-35)
src/zabbix_server/poller/checks_ipmi.c (+46/-103)
src/zabbix_server/poller/checks_simple.c (+9/-9)
src/zabbix_server/poller/checks_snmp.c (+28/-14)
src/zabbix_server/poller/checks_ssh.c (+35/-32)
src/zabbix_server/poller/checks_telnet.c (+5/-5)
src/zabbix_server/poller/poller.c (+331/-307)
src/zabbix_server/poller/poller.h (+1/-9)
src/zabbix_server/proxypoller/Makefile.in (+56/-25)
src/zabbix_server/proxypoller/proxypoller.c (+55/-43)
src/zabbix_server/proxypoller/proxypoller.h (+0/-1)
src/zabbix_server/selfmon/Makefile.am (+5/-0)
src/zabbix_server/selfmon/Makefile.in (+499/-0)
src/zabbix_server/selfmon/selfmon.c (+43/-0)
src/zabbix_server/selfmon/selfmon.h (+25/-0)
src/zabbix_server/server.c (+529/-333)
src/zabbix_server/timer/Makefile.in (+56/-25)
src/zabbix_server/timer/timer.c (+152/-68)
src/zabbix_server/timer/timer.h (+1/-1)
src/zabbix_server/trapper/Makefile.in (+58/-27)
src/zabbix_server/trapper/active.c (+10/-4)
src/zabbix_server/trapper/nodecommand.c (+11/-28)
src/zabbix_server/trapper/nodehistory.c (+76/-34)
src/zabbix_server/trapper/nodesync.c (+30/-4)
src/zabbix_server/trapper/proxyconfig.c (+2/-2)
src/zabbix_server/trapper/trapper.c (+32/-37)
src/zabbix_server/trapper/trapper.h (+1/-4)
src/zabbix_server/utils/Makefile.in (+56/-25)
src/zabbix_server/utils/nodechange.c (+1/-2)
src/zabbix_server/watchdog/Makefile.in (+56/-25)
src/zabbix_server/watchdog/watchdog.c (+71/-46)
src/zabbix_server/watchdog/watchdog.h (+1/-1)
src/zabbix_server/zlog.c (+2/-2)
upgrades/Makefile.in (+38/-13)
upgrades/dbpatches/1.6/mysql/patch.sql (+2/-0)
upgrades/dbpatches/1.6/oracle/patch.sql (+2/-0)
upgrades/dbpatches/1.6/postgresql/patch.sql (+2/-0)
upgrades/dbpatches/1.8/mysql/patch.sql (+2/-1)
upgrades/dbpatches/1.8/mysql/upgrade (+62/-19)
upgrades/dbpatches/1.8/oracle/patch.sql (+2/-1)
upgrades/dbpatches/1.8/postgresql/patch.sql (+2/-1)
To merge this branch: bzr merge lp:~dev-nigelj/ubuntu/oneiric/zabbix/721707-v2
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Micah Gersten Pending
Ubuntu branches Pending
Review via email: mp+61855@code.launchpad.net

This proposal supersedes a proposal from 2011-05-03.

Commit message

* ldap-linker-lp722300.patch: Fix FTBFS issues due to incorrect placement of
  linker arguments. (LP: #722300)
* Merge from debian unstable (LP: #721707). Remaining changes:
  - update build depend for mysql-transition
* New upstream release
* Ignore release candidates via 'uscan' in debian/watch
  (closes: #599921)
* Added --with-ssh2 for SSH2 support during ./configure
  (closes: #609744)
* Fixed typo in debian/rules to properly build with libcurl support
  (closes: #613322)
* New upstream release
* Packaging repository moved to git.debian.org
[ Michael Ablassmeier ]
* zabbix-proxy-pgsql and -mysql: Fix package description (Closes: #586961)
* debian/po/da.po: added (Closes: #585485)

Description of the change

Proposed Debian/Ubuntu merge, plus FTBFS fix that I've got from Gentoo's BTS & Upstream's BTS.

FTBFS patch will be sent to Debian shortly.

To post a comment you must log in.
Revision history for this message
Micah Gersten (micahg) wrote : Posted in a previous version of this proposal

Thank you for contributing to Ubuntu Development. Could you please rebase this merge against 1.8.5-1 from Debian unstable? Also, could you please make one change per commit to make the review easier (i.e. merge from Debian in the first, then each change you make on top in separate commits)?

review: Needs Fixing
Revision history for this message
Nigel Jones (dev-nigelj) wrote :

Hi Micah, thanks for the previous comment, I've resubmitted it as a new branch (I hope I've done it right!) taking into account your advice.

Before committing I would appreciate it if you could check to make sure I've done the tagging correct.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Good work!

I just took the liberty of adding the number of the Debian linker issue to debian/changelog as well.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '.pc/applied-patches'
--- .pc/applied-patches 2010-08-21 15:41:19 +0000
+++ .pc/applied-patches 2011-05-21 10:38:25 +0000
@@ -1,3 +1,4 @@
1configure-no-lcrypt1configure-no-lcrypt
2nocrypto2nocrypto
3no-swf-clock3no-swf-clock
4ldap-linker-lp722300.patch
45
=== modified file '.pc/configure-no-lcrypt/configure'
--- .pc/configure-no-lcrypt/configure 2010-08-21 15:41:19 +0000
+++ .pc/configure-no-lcrypt/configure 2011-05-21 10:38:25 +0000
@@ -1,60 +1,83 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61.3# Generated by GNU Autoconf 2.65.
4#
4#5#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8# Inc.
9#
10#
7# This configure script is free software; the Free Software Foundation11# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.12# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##13## -------------------- ##
10## M4sh Initialization. ##14## M4sh Initialization. ##
11## --------------------- ##15## -------------------- ##
1216
13# Be more Bourne compatible17# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh18DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16 emulate sh20 emulate sh
17 NULLCMD=:21 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.23 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'24 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST25 setopt NO_GLOB_SUBST
22else26else
23 case `(set -o) 2>/dev/null` in27 case `(set -o) 2>/dev/null` in #(
24 *posix*) set -o posix ;;28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
25esac32esac
2633fi
27fi34
2835
2936as_nl='
3037'
3138export as_nl
32# PATH needs CR39# Printing a long string crashes Solaris 7 /usr/bin/printf.
33# Avoid depending upon Character Ranges.40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS43# Prefer a ksh shell builtin over an external printf program on Solaris,
37as_cr_digits='0123456789'44# but without wasting forks for bash or zsh.
38as_cr_alnum=$as_cr_Letters$as_cr_digits45if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
3973
40# The user is always right.74# The user is always right.
41if test "${PATH_SEPARATOR+set}" != set; then75if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh76 PATH_SEPARATOR=:
43 echo "exit 0" >>conf$$.sh77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
44 chmod +x conf$$.sh78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then79 PATH_SEPARATOR=';'
46 PATH_SEPARATOR=';'80 }
47 else
48 PATH_SEPARATOR=:
49 fi
50 rm -f conf$$.sh
51fi
52
53# Support unset when possible.
54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56else
57 as_unset=false
58fi81fi
5982
6083
@@ -63,20 +86,18 @@
63# there to prevent editors from complaining about space-tab.86# there to prevent editors from complaining about space-tab.
64# (If _AS_PATH_WALK were called with IFS unset, it would disable word87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65# splitting by setting IFS to empty value.)88# splitting by setting IFS to empty value.)
66as_nl='
67'
68IFS=" "" $as_nl"89IFS=" "" $as_nl"
6990
70# Find who we are. Look in the path if we contain no directory separator.91# Find who we are. Look in the path if we contain no directory separator.
71case $0 in92case $0 in #((
72 *[\\/]* ) as_myself=$0 ;;93 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74for as_dir in $PATH95for as_dir in $PATH
75do96do
76 IFS=$as_save_IFS97 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.98 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79done100 done
80IFS=$as_save_IFS101IFS=$as_save_IFS
81102
82 ;;103 ;;
@@ -87,354 +108,321 @@
87 as_myself=$0108 as_myself=$0
88fi109fi
89if test ! -f "$as_myself"; then110if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }112 exit 1
92fi113fi
93114
94# Work around bugs in pre-3.0 UWIN ksh.115# Unset variables that we do not need and which cause bugs (e.g. in
95for as_var in ENV MAIL MAILPATH116# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var117# suppresses any "Segmentation fault" message there. '((' could
118# trigger a bug in pdksh 5.2.14.
119for as_var in BASH_ENV ENV MAIL MAILPATH
120do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
97done122done
98PS1='$ '123PS1='$ '
99PS2='> '124PS2='> '
100PS4='+ '125PS4='+ '
101126
102# NLS nuisances.127# NLS nuisances.
103for as_var in \128LC_ALL=C
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \129export LC_ALL
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \130LANGUAGE=C
106 LC_TELEPHONE LC_TIME131export LANGUAGE
107do
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112 fi
113done
114
115# Required to use basename.
116if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119else
120 as_expr=false
121fi
122
123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125else
126 as_basename=false
127fi
128
129
130# Name of the executable.
131as_me=`$as_basename -- "$0" ||
132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
138 q
139 }
140 /^X\/\(\/\/\)$/{
141 s//\1/
142 q
143 }
144 /^X\/\(\/\).*/{
145 s//\1/
146 q
147 }
148 s/.*/./; q'`
149132
150# CDPATH.133# CDPATH.
151$as_unset CDPATH134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
152
153135
154if test "x$CONFIG_SHELL" = x; then136if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
149 ;;
150esac
151fi
152"
153 as_required="as_fn_return () { (exit \$1); }
154as_fn_success () { as_fn_return 0; }
155as_fn_failure () { as_fn_return 1; }
156as_fn_ret_success () { return 0; }
157as_fn_ret_failure () { return 1; }
158
159exitcode=0
160as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166else
167 exitcode=1; echo positional parameters were not saved.
168fi
169test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
156 as_have_required=yes176 as_have_required=yes
157else177else
158 as_have_required=no178 as_have_required=no
159fi179fi
160180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
161 if test $as_have_required = yes && (eval ":181
162(as_func_return () {182else
163 (exit \$1)183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
164}184as_found=false
165as_func_success () {
166 as_func_return 0
167}
168as_func_failure () {
169 as_func_return 1
170}
171as_func_ret_success () {
172 return 0
173}
174as_func_ret_failure () {
175 return 1
176}
177
178exitcode=0
179if as_func_success; then
180 :
181else
182 exitcode=1
183 echo as_func_success failed.
184fi
185
186if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
189fi
190
191if as_func_ret_success; then
192 :
193else
194 exitcode=1
195 echo as_func_ret_success failed.
196fi
197
198if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
201fi
202
203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 :
205else
206 exitcode=1
207 echo positional parameters were not saved.
208fi
209
210test \$exitcode = 0) || { (exit 1); exit 1; }
211
212(
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217") 2> /dev/null; then
218 :
219else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do186do
224 IFS=$as_save_IFS187 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.188 test -z "$as_dir" && as_dir=.
226 case $as_dir in189 as_found=:
190 case $as_dir in #(
227 /*)191 /*)
228 for as_base in sh bash ksh sh5; do192 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
200fi
201fi
230 done;;202 done;;
231 esac203 esac
204 as_found=false
232done205done
206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209fi; }
233IFS=$as_save_IFS210IFS=$as_save_IFS
234211
235212
236 for as_shell in $as_candidate_shells $SHELL; do213 if test "x$CONFIG_SHELL" != x; then :
237 # Try only shells that exist, to save several forks.214 # We cannot yet assume a decent shell, so we have to provide a
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&215 # neutralization value for shells without unset; and this also
239 { ("$as_shell") 2> /dev/null <<\_ASEOF216 # works around shells that cannot unset nonexistent variables.
240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then217 BASH_ENV=/dev/null
241 emulate sh218 ENV=/dev/null
242 NULLCMD=:219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which220 export CONFIG_SHELL
244 # is contrary to our usage. Disable this feature.221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
245 alias -g '${1+"$@"}'='"$@"'222fi
246 setopt NO_GLOB_SUBST223
247else224 if test x$as_have_required = xno; then :
248 case `(set -o) 2>/dev/null` in225 $as_echo "$0: This script requires a shell more modern than all"
249 *posix*) set -o posix ;;226 $as_echo "$0: the shells that I found on your system."
250esac227 if test x${ZSH_VERSION+set} = xset ; then
251228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
252fi229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
253230 else
254231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
255:232$0: including any error possibly output before this
256_ASEOF233$0: message. Then install a modern shell, or manually run
257}; then234$0: the script under such a shell if you do have one."
258 CONFIG_SHELL=$as_shell235 fi
259 as_have_required=yes236 exit 1
260 if { "$as_shell" 2> /dev/null <<\_ASEOF237fi
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then238fi
262 emulate sh239fi
263 NULLCMD=:240SHELL=${CONFIG_SHELL-/bin/sh}
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which241export SHELL
265 # is contrary to our usage. Disable this feature.242# Unset more variables known to interfere with behavior of common tools.
266 alias -g '${1+"$@"}'='"$@"'243CLICOLOR_FORCE= GREP_OPTIONS=
267 setopt NO_GLOB_SUBST244unset CLICOLOR_FORCE GREP_OPTIONS
268else245
269 case `(set -o) 2>/dev/null` in246## --------------------- ##
270 *posix*) set -o posix ;;247## M4sh Shell Functions. ##
271esac248## --------------------- ##
272249# as_fn_unset VAR
273fi250# ---------------
274251# Portably unset VAR.
275252as_fn_unset ()
276:253{
277(as_func_return () {254 { eval $1=; unset $1;}
278 (exit $1)255}
279}256as_unset=as_fn_unset
280as_func_success () {257
281 as_func_return 0258# as_fn_set_status STATUS
282}259# -----------------------
283as_func_failure () {260# Set $? to STATUS, without forking.
284 as_func_return 1261as_fn_set_status ()
285}262{
286as_func_ret_success () {263 return $1
287 return 0264} # as_fn_set_status
288}265
289as_func_ret_failure () {266# as_fn_exit STATUS
290 return 1267# -----------------
291}268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
292269as_fn_exit ()
293exitcode=0270{
294if as_func_success; then271 set +e
295 :272 as_fn_set_status $1
296else273 exit $1
297 exitcode=1274} # as_fn_exit
298 echo as_func_success failed.275
299fi276# as_fn_mkdir_p
300277# -------------
301if as_func_failure; then278# Create "$as_dir" as a directory, including parents if necessary.
302 exitcode=1279as_fn_mkdir_p ()
303 echo as_func_failure succeeded.280{
304fi281
305282 case $as_dir in #(
306if as_func_ret_success; then283 -*) as_dir=./$as_dir;;
307 :284 esac
308else285 test -d "$as_dir" || eval $as_mkdir_p || {
309 exitcode=1286 as_dirs=
310 echo as_func_ret_success failed.287 while :; do
311fi288 case $as_dir in #(
312289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
313if as_func_ret_failure; then290 *) as_qdir=$as_dir;;
314 exitcode=1291 esac
315 echo as_func_ret_failure succeeded.292 as_dirs="'$as_qdir' $as_dirs"
316fi293 as_dir=`$as_dirname -- "$as_dir" ||
317294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
318if ( set x; as_func_ret_success y && test x = "$1" ); then295 X"$as_dir" : 'X\(//\)[^/]' \| \
319 :296 X"$as_dir" : 'X\(//\)$' \| \
320else297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
321 exitcode=1298$as_echo X"$as_dir" |
322 echo positional parameters were not saved.299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
323fi300 s//\1/
324301 q
325test $exitcode = 0) || { (exit 1); exit 1; }302 }
326303 /^X\(\/\/\)[^/].*/{
327(304 s//\1/
328 as_lineno_1=$LINENO305 q
329 as_lineno_2=$LINENO306 }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&307 /^X\(\/\/\)$/{
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }308 s//\1/
332309 q
333_ASEOF310 }
334}; then311 /^X\(\/\).*/{
335 break312 s//\1/
336fi313 q
337314 }
338fi315 s/.*/./; q'`
339316 test -d "$as_dir" && break
340 done317 done
341318 test -z "$as_dirs" || eval "mkdir $as_dirs"
342 if test "x$CONFIG_SHELL" != x; then319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
343 for as_var in BASH_ENV ENV320
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var321
345 done322} # as_fn_mkdir_p
346 export CONFIG_SHELL323# as_fn_append VAR VALUE
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}324# ----------------------
348fi325# Append the text in VALUE to the end of the definition contained in VAR. Take
349326# advantage of any shell optimizations that allow amortized linear growth over
350327# repeated appends, instead of the typical quadratic growth present in naive
351 if test $as_have_required = no; then328# implementations.
352 echo This script requires a shell more modern than all the329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
353 echo shells that I found on your system. Please install a330 eval 'as_fn_append ()
354 echo modern shell, or manually run the script under such a331 {
355 echo shell if you do have one.332 eval $1+=\$2
356 { (exit 1); exit 1; }333 }'
357fi334else
358335 as_fn_append ()
359336 {
360fi337 eval $1=\$$1\$2
361338 }
362fi339fi # as_fn_append
363340
364341# as_fn_arith ARG...
365342# ------------------
366(eval "as_func_return () {343# Perform arithmetic evaluation on the ARGs, and store the result in the
367 (exit \$1)344# global $as_val. Take advantage of shells that can avoid forks. The arguments
368}345# must be portable across $(()) and expr.
369as_func_success () {346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370 as_func_return 0347 eval 'as_fn_arith ()
371}348 {
372as_func_failure () {349 as_val=$(( $* ))
373 as_func_return 1350 }'
374}351else
375as_func_ret_success () {352 as_fn_arith ()
376 return 0353 {
377}354 as_val=`expr "$@" || test $? -eq 1`
378as_func_ret_failure () {355 }
379 return 1356fi # as_fn_arith
380}357
381358
382exitcode=0359# as_fn_error ERROR [LINENO LOG_FD]
383if as_func_success; then360# ---------------------------------
384 :361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
385else362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
386 exitcode=1363# script with status $?, using 1 if that was 0.
387 echo as_func_success failed.364as_fn_error ()
388fi365{
389366 as_status=$?; test $as_status -eq 0 && as_status=1
390if as_func_failure; then367 if test "$3"; then
391 exitcode=1368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
392 echo as_func_failure succeeded.369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
393fi370 fi
394371 $as_echo "$as_me: error: $1" >&2
395if as_func_ret_success; then372 as_fn_exit $as_status
396 :373} # as_fn_error
397else374
398 exitcode=1375if expr a : '\(a\)' >/dev/null 2>&1 &&
399 echo as_func_ret_success failed.376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
400fi377 as_expr=expr
401378else
402if as_func_ret_failure; then379 as_expr=false
403 exitcode=1380fi
404 echo as_func_ret_failure succeeded.381
405fi382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
406383 as_basename=basename
407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then384else
408 :385 as_basename=false
409else386fi
410 exitcode=1387
411 echo positional parameters were not saved.388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
412fi389 as_dirname=dirname
413390else
414test \$exitcode = 0") || {391 as_dirname=false
415 echo No shell found that supports shell functions.392fi
416 echo Please tell autoconf@gnu.org about your system,393
417 echo including any error possibly output before this394as_me=`$as_basename -- "$0" ||
418 echo message395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
419}396 X"$0" : 'X\(//\)$' \| \
420397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
421398$as_echo X/"$0" |
422399 sed '/^.*\/\([^/][^/]*\)\/*$/{
423 as_lineno_1=$LINENO400 s//\1/
424 as_lineno_2=$LINENO401 q
425 test "x$as_lineno_1" != "x$as_lineno_2" &&402 }
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {403 /^X\/\(\/\/\)$/{
427404 s//\1/
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO405 q
429 # uniformly replaced by the line number. The first 'sed' inserts a406 }
430 # line-number line after each line using $LINENO; the second 'sed'407 /^X\/\(\/\).*/{
431 # does the real work. The second script uses 'N' to pair each408 s//\1/
432 # line-number line with the line containing $LINENO, and appends409 q
433 # trailing '-' during substitution so that $LINENO is not a special410 }
434 # case at line end.411 s/.*/./; q'`
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the412
436 # scripts with optimization help from Paolo Bonzini. Blame Lee413# Avoid depending upon Character Ranges.
437 # E. McMahon (1931-1989) for sed's syntax. :-)414as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417as_cr_digits='0123456789'
418as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '426 sed -n '
439 p427 p
440 /[$]LINENO/=428 /[$]LINENO/=
@@ -451,8 +439,7 @@
451 s/-\n.*//439 s/-\n.*//
452 ' >$as_me.lineno &&440 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||441 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 { (exit 1); exit 1; }; }
456443
457 # Don't try to exec as it changes $[0], causing all sort of problems444 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the445 # (the dirname of $[0] is not the place where we might find the
@@ -462,49 +449,40 @@
462 exit449 exit
463}450}
464451
465
466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468else
469 as_dirname=false
470fi
471
472ECHO_C= ECHO_N= ECHO_T=452ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in453case `echo -n x` in #(((((
474-n*)454-n*)
475 case `echo 'x\c'` in455 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
478 esac;;460 esac;;
479*)461*)
480 ECHO_N='-n';;462 ECHO_N='-n';;
481esac463esac
482464
483if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486else
487 as_expr=false
488fi
489
490rm -f conf$$ conf$$.exe conf$$.file465rm -f conf$$ conf$$.exe conf$$.file
491if test -d conf$$.dir; then466if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file467 rm -f conf$$.dir/conf$$.file
493else468else
494 rm -f conf$$.dir469 rm -f conf$$.dir
495 mkdir conf$$.dir470 mkdir conf$$.dir 2>/dev/null
496fi471fi
497echo >conf$$.file472if (echo >conf$$.file) 2>/dev/null; then
498if ln -s conf$$.file conf$$ 2>/dev/null; then473 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'474 as_ln_s='ln -s'
500 # ... but there are two gotchas:475 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.478 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p'
481 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln
483 else
505 as_ln_s='cp -p'484 as_ln_s='cp -p'
506elif ln conf$$.file conf$$ 2>/dev/null; then485 fi
507 as_ln_s=ln
508else486else
509 as_ln_s='cp -p'487 as_ln_s='cp -p'
510fi488fi
@@ -512,7 +490,7 @@
512rmdir conf$$.dir 2>/dev/null490rmdir conf$$.dir 2>/dev/null
513491
514if mkdir -p . 2>/dev/null; then492if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:493 as_mkdir_p='mkdir -p "$as_dir"'
516else494else
517 test -d ./-p && rmdir ./-p495 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false496 as_mkdir_p=false
@@ -529,12 +507,12 @@
529 as_test_x='507 as_test_x='
530 eval sh -c '\''508 eval sh -c '\''
531 if test -d "$1"; then509 if test -d "$1"; then
532 test -d "$1/.";510 test -d "$1/.";
533 else511 else
534 case $1 in512 case $1 in #(
535 -*)set "./$1";;513 -*)set "./$1";;
536 esac;514 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
538 ???[sx]*):;;*)false;;esac;fi516 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh517 '\'' sh
540 '518 '
@@ -548,8 +526,8 @@
548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549527
550528
551529test -n "$DJDIR" || exec 7<&0 </dev/null
552exec 7<&0 </dev/null 6>&1530exec 6>&1
553531
554# Name of the host.532# Name of the host.
555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,533# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
@@ -567,7 +545,6 @@
567subdirs=545subdirs=
568MFLAGS=546MFLAGS=
569MAKEFLAGS=547MAKEFLAGS=
570SHELL=${CONFIG_SHELL-/bin/sh}
571548
572# Identity of this package.549# Identity of this package.
573PACKAGE_NAME=550PACKAGE_NAME=
@@ -575,6 +552,7 @@
575PACKAGE_VERSION=552PACKAGE_VERSION=
576PACKAGE_STRING=553PACKAGE_STRING=
577PACKAGE_BUGREPORT=554PACKAGE_BUGREPORT=
555PACKAGE_URL=
578556
579ac_unique_file="src/zabbix_server/server.c"557ac_unique_file="src/zabbix_server/server.c"
580# Factoring default headers for most tests.558# Factoring default headers for most tests.
@@ -613,169 +591,200 @@
613# include <unistd.h>591# include <unistd.h>
614#endif"592#endif"
615593
616ac_subst_vars='SHELL594ac_subst_vars='am__EXEEXT_FALSE
617PATH_SEPARATOR595am__EXEEXT_TRUE
618PACKAGE_NAME596LTLIBOBJS
619PACKAGE_TARNAME597ARCH
620PACKAGE_VERSION598RANLIB
621PACKAGE_STRING599ICONV_LDFLAGS
622PACKAGE_BUGREPORT600ICONV_CFLAGS
623exec_prefix601LDAP_LDFLAGS
624prefix602LDAP_CPPFLAGS
625program_transform_name603WITH_ODBC_FALSE
626bindir604WITH_ODBC_TRUE
627sbindir605JABBER_FALSE
628libexecdir606JABBER_TRUE
629datarootdir607PROXY_LIBS
630datadir608PROXY_LDFLAGS
631sysconfdir609SERVER_LIBS
632sharedstatedir610SERVER_LDFLAGS
633localstatedir611OPENIPMI_LIBS
634includedir612OPENIPMI_LDFLAGS
635oldincludedir613OPENIPMI_CFLAGS
636docdir614SSH2_LIBS
637infodir615SSH2_LDFLAGS
638htmldir616SSH2_CFLAGS
639dvidir617SNMP_CPPFLAGS
640pdfdir618SNMP_LIBS
641psdir619SNMP_LDFLAGS
642libdir620SNMP_CFLAGS
643localedir621_libnetsnmp_config
644mandir622ODBC_LIBS
645DEFS623ODBC_LDFLAGS
646ECHO_C624ODBC_CFLAGS
647ECHO_N625UNIXODBC_LIBS
648ECHO_T626UNIXODBC_CFLAGS
649LIBS627UNIXODBC_LDFLAGS
650build_alias628_libodbc_config
651host_alias629IODBC_LIBS
652target_alias630IODBC_CFLAGS
653INSTALL_PROGRAM631IODBC_LDFLAGS
654INSTALL_SCRIPT632LIBCURL_LIBS
655INSTALL_DATA633LIBCURL_LDFLAGS
656am__isrc634LIBCURL_CFLAGS
657CYGPATH_W635_libcurl_config
658PACKAGE636JABBER_LIBS
659VERSION637JABBER_LDFLAGS
660ACLOCAL638JABBER_CPPFLAGS
661AUTOCONF639IKSEMEL_LIBS
662AUTOMAKE640IKSEMEL_CFLAGS
663AUTOHEADER641PKG_CONFIG
664MAKEINFO642DB_LIBS
665install_sh643DB_LDFLAGS
666STRIP644DB_CPPFLAGS
667INSTALL_STRIP_PROGRAM645SQLITE3_VERSION
668mkdir_p646SQLITE3_LDFLAGS
669AWK647SQLITE3_CPPFLAGS
670SET_MAKE648POSTGRESQL_LDFLAGS
671am__leading_dot649POSTGRESQL_CPPFLAGS
672AMTAR650POSTGRESQL_VERSION
673am__tar651PG_CONFIG
674am__untar652ORACLE_LIBS
675build653ORACLE_LDFLAGS
676build_cpu654ORACLE_CPPFLAGS
677build_vendor655ORACLE_OCI_LIBS
678build_os656ORACLE_OCI_LDFLAGS
679host657ORACLE_OCI_CFLAGS
680host_cpu
681host_vendor
682host_os
683CC
684CFLAGS
685LDFLAGS
686CPPFLAGS
687ac_ct_CC
688EXEEXT
689OBJEXT
690DEPDIR
691am__include
692am__quote
693AMDEP_TRUE
694AMDEP_FALSE
695AMDEPBACKSLASH
696CCDEPMODE
697am__fastdepCC_TRUE
698am__fastdepCC_FALSE
699CPP
700GREP
701EGREP
702RESOLV_LIBS
703LIBOBJS
704SERVER_TRUE
705SERVER_FALSE
706PROXY_TRUE
707PROXY_FALSE
708AGENT_TRUE
709AGENT_FALSE
710ORACLE_OCI_VERSION658ORACLE_OCI_VERSION
711ORACLE_OCI_CFLAGS659MYSQL_LIBS
712ORACLE_OCI_LDFLAGS660MYSQL_LDFLAGS
713ORACLE_OCI_LIBS661MYSQL_CFLAGS
714ORACLE_CPPFLAGS662MYSQL_VERSION
715ORACLE_LDFLAGS
716ORACLE_LIBS
717SQLITE3_CPPFLAGS
718SQLITE3_LDFLAGS
719SQLITE3_VERSION
720MYSQL_CONFIG663MYSQL_CONFIG
721MYSQL_VERSION664AGENT_FALSE
722MYSQL_CFLAGS665AGENT_TRUE
723MYSQL_LDFLAGS666PROXY_FALSE
724MYSQL_LIBS667PROXY_TRUE
725PG_CONFIG668SERVER_FALSE
726POSTGRESQL_VERSION669SERVER_TRUE
727POSTGRESQL_CPPFLAGS670LIBOBJS
728POSTGRESQL_LDFLAGS671RESOLV_LIBS
729DB_CPPFLAGS672EGREP
730DB_LDFLAGS673GREP
731DB_LIBS674CPP
732PKG_CONFIG675am__fastdepCC_FALSE
733IKSEMEL_CFLAGS676am__fastdepCC_TRUE
734IKSEMEL_LIBS677CCDEPMODE
735JABBER_CPPFLAGS678AMDEPBACKSLASH
736JABBER_LDFLAGS679AMDEP_FALSE
737JABBER_LIBS680AMDEP_TRUE
738_libcurl_config681am__quote
739LIBCURL_CFLAGS682am__include
740LIBCURL_LDFLAGS683DEPDIR
741LIBCURL_LIBS684OBJEXT
742IODBC_LDFLAGS685EXEEXT
743IODBC_CFLAGS686ac_ct_CC
744IODBC_LIBS687CPPFLAGS
745_libodbc_config688LDFLAGS
746UNIXODBC_LDFLAGS689CFLAGS
747UNIXODBC_CFLAGS690CC
748UNIXODBC_LIBS691host_os
749ODBC_CFLAGS692host_vendor
750ODBC_LDFLAGS693host_cpu
751ODBC_LIBS694host
752_libnetsnmp_config695build_os
753SNMP_CFLAGS696build_vendor
754SNMP_LDFLAGS697build_cpu
755SNMP_LIBS698build
756SNMP_CPPFLAGS699am__untar
757SSH2_CFLAGS700am__tar
758SSH2_LDFLAGS701AMTAR
759SSH2_LIBS702am__leading_dot
760OPENIPMI_CFLAGS703SET_MAKE
761OPENIPMI_LDFLAGS704AWK
762OPENIPMI_LIBS705mkdir_p
763SERVER_LDFLAGS706MKDIR_P
764SERVER_LIBS707INSTALL_STRIP_PROGRAM
765PROXY_LDFLAGS708STRIP
766PROXY_LIBS709install_sh
767JABBER_TRUE710MAKEINFO
768JABBER_FALSE711AUTOHEADER
769WITH_ODBC_TRUE712AUTOMAKE
770WITH_ODBC_FALSE713AUTOCONF
771LDAP_CPPFLAGS714ACLOCAL
772LDAP_LDFLAGS715VERSION
773ICONV_CFLAGS716PACKAGE
774ICONV_LDFLAGS717CYGPATH_W
775RANLIB718am__isrc
776ARCH719INSTALL_DATA
777LTLIBOBJS'720INSTALL_SCRIPT
721INSTALL_PROGRAM
722target_alias
723host_alias
724build_alias
725LIBS
726ECHO_T
727ECHO_N
728ECHO_C
729DEFS
730mandir
731localedir
732libdir
733psdir
734pdfdir
735dvidir
736htmldir
737infodir
738docdir
739oldincludedir
740includedir
741localstatedir
742sharedstatedir
743sysconfdir
744datadir
745datarootdir
746libexecdir
747sbindir
748bindir
749program_transform_name
750prefix
751exec_prefix
752PACKAGE_URL
753PACKAGE_BUGREPORT
754PACKAGE_STRING
755PACKAGE_VERSION
756PACKAGE_TARNAME
757PACKAGE_NAME
758PATH_SEPARATOR
759SHELL'
778ac_subst_files=''760ac_subst_files=''
761ac_user_opts='
762enable_option_checking
763enable_dependency_tracking
764enable_static
765enable_server
766enable_proxy
767enable_agent
768enable_ipv6
769with_ibm_db2
770with_ibm_db2_include
771with_ibm_db2_lib
772with_mysql
773with_oracle
774with_oracle_include
775with_oracle_lib
776with_pgsql
777with_sqlite3
778with_jabber
779with_libcurl
780with_iodbc
781with_unixodbc
782with_net_snmp
783with_ucd_snmp
784with_ssh2
785with_openipmi
786with_ldap
787'
779 ac_precious_vars='build_alias788 ac_precious_vars='build_alias
780host_alias789host_alias
781target_alias790target_alias
@@ -793,6 +802,8 @@
793# Initialize some variables set by options.802# Initialize some variables set by options.
794ac_init_help=803ac_init_help=
795ac_init_version=false804ac_init_version=false
805ac_unrecognized_opts=
806ac_unrecognized_sep=
796# The variables have the same names as the options, with807# The variables have the same names as the options, with
797# dashes changed to underlines.808# dashes changed to underlines.
798cache_file=/dev/null809cache_file=/dev/null
@@ -891,13 +902,20 @@
891 datarootdir=$ac_optarg ;;902 datarootdir=$ac_optarg ;;
892903
893 -disable-* | --disable-*)904 -disable-* | --disable-*)
894 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`905 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.906 # Reject names that are not valid shell variable names.
896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2908 as_fn_error "invalid feature name: $ac_useropt"
898 { (exit 1); exit 1; }; }909 ac_useropt_orig=$ac_useropt
899 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`910 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 eval enable_$ac_feature=no ;;911 case $ac_user_opts in
912 *"
913"enable_$ac_useropt"
914"*) ;;
915 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
916 ac_unrecognized_sep=', ';;
917 esac
918 eval enable_$ac_useropt=no ;;
901919
902 -docdir | --docdir | --docdi | --doc | --do)920 -docdir | --docdir | --docdi | --doc | --do)
903 ac_prev=docdir ;;921 ac_prev=docdir ;;
@@ -910,13 +928,20 @@
910 dvidir=$ac_optarg ;;928 dvidir=$ac_optarg ;;
911929
912 -enable-* | --enable-*)930 -enable-* | --enable-*)
913 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`931 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.932 # Reject names that are not valid shell variable names.
915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2934 as_fn_error "invalid feature name: $ac_useropt"
917 { (exit 1); exit 1; }; }935 ac_useropt_orig=$ac_useropt
918 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`936 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
919 eval enable_$ac_feature=\$ac_optarg ;;937 case $ac_user_opts in
938 *"
939"enable_$ac_useropt"
940"*) ;;
941 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
942 ac_unrecognized_sep=', ';;
943 esac
944 eval enable_$ac_useropt=\$ac_optarg ;;
920945
921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \946 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \947 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
@@ -1107,22 +1132,36 @@
1107 ac_init_version=: ;;1132 ac_init_version=: ;;
11081133
1109 -with-* | --with-*)1134 -with-* | --with-*)
1110 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1135 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.1136 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&21138 as_fn_error "invalid package name: $ac_useropt"
1114 { (exit 1); exit 1; }; }1139 ac_useropt_orig=$ac_useropt
1115 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`1140 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 eval with_$ac_package=\$ac_optarg ;;1141 case $ac_user_opts in
1142 *"
1143"with_$ac_useropt"
1144"*) ;;
1145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1146 ac_unrecognized_sep=', ';;
1147 esac
1148 eval with_$ac_useropt=\$ac_optarg ;;
11171149
1118 -without-* | --without-*)1150 -without-* | --without-*)
1119 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1151 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.1152 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&21154 as_fn_error "invalid package name: $ac_useropt"
1123 { (exit 1); exit 1; }; }1155 ac_useropt_orig=$ac_useropt
1124 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`1156 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 eval with_$ac_package=no ;;1157 case $ac_user_opts in
1158 *"
1159"with_$ac_useropt"
1160"*) ;;
1161 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1162 ac_unrecognized_sep=', ';;
1163 esac
1164 eval with_$ac_useropt=no ;;
11261165
1127 --x)1166 --x)
1128 # Obsolete; use --with-x.1167 # Obsolete; use --with-x.
@@ -1142,25 +1181,25 @@
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)1181 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries=$ac_optarg ;;1182 x_libraries=$ac_optarg ;;
11441183
1145 -*) { echo "$as_me: error: unrecognized option: $ac_option1184 -*) as_fn_error "unrecognized option: \`$ac_option'
1146Try \`$0 --help' for more information." >&21185Try \`$0 --help' for more information."
1147 { (exit 1); exit 1; }; }
1148 ;;1186 ;;
11491187
1150 *=*)1188 *=*)
1151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`1189 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.1190 # Reject names that are not valid shell variable names.
1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&1191 case $ac_envvar in #(
1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21192 '' | [0-9]* | *[!_$as_cr_alnum]* )
1155 { (exit 1); exit 1; }; }1193 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1194 esac
1156 eval $ac_envvar=\$ac_optarg1195 eval $ac_envvar=\$ac_optarg
1157 export $ac_envvar ;;1196 export $ac_envvar ;;
11581197
1159 *)1198 *)
1160 # FIXME: should be removed in autoconf 3.0.1199 # FIXME: should be removed in autoconf 3.0.
1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&21200 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&1201 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&21202 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1203 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165 ;;1204 ;;
11661205
@@ -1169,23 +1208,36 @@
11691208
1170if test -n "$ac_prev"; then1209if test -n "$ac_prev"; then
1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`1210 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172 { echo "$as_me: error: missing argument to $ac_option" >&21211 as_fn_error "missing argument to $ac_option"
1173 { (exit 1); exit 1; }; }1212fi
1174fi1213
11751214if test -n "$ac_unrecognized_opts"; then
1176# Be sure to have absolute directory names.1215 case $enable_option_checking in
1216 no) ;;
1217 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1218 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1219 esac
1220fi
1221
1222# Check all directory arguments for consistency.
1177for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \1223for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \1224 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \1225 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir1226 libdir localedir mandir
1181do1227do
1182 eval ac_val=\$$ac_var1228 eval ac_val=\$$ac_var
1229 # Remove trailing slashes.
1230 case $ac_val in
1231 */ )
1232 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1233 eval $ac_var=\$ac_val;;
1234 esac
1235 # Be sure to have absolute directory names.
1183 case $ac_val in1236 case $ac_val in
1184 [\\/$]* | ?:[\\/]* ) continue;;1237 [\\/$]* | ?:[\\/]* ) continue;;
1185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;1238 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1186 esac1239 esac
1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&21240 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1188 { (exit 1); exit 1; }; }
1189done1241done
11901242
1191# There might be people who depend on the old broken behavior: `$host'1243# There might be people who depend on the old broken behavior: `$host'
@@ -1199,7 +1251,7 @@
1199if test "x$host_alias" != x; then1251if test "x$host_alias" != x; then
1200 if test "x$build_alias" = x; then1252 if test "x$build_alias" = x; then
1201 cross_compiling=maybe1253 cross_compiling=maybe
1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1254 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&21255 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then1256 elif test "x$build_alias" != "x$host_alias"; then
1205 cross_compiling=yes1257 cross_compiling=yes
@@ -1215,23 +1267,21 @@
1215ac_pwd=`pwd` && test -n "$ac_pwd" &&1267ac_pwd=`pwd` && test -n "$ac_pwd" &&
1216ac_ls_di=`ls -di .` &&1268ac_ls_di=`ls -di .` &&
1217ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1269ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1218 { echo "$as_me: error: Working directory cannot be determined" >&21270 as_fn_error "working directory cannot be determined"
1219 { (exit 1); exit 1; }; }
1220test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1271test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { echo "$as_me: error: pwd does not report name of working directory" >&21272 as_fn_error "pwd does not report name of working directory"
1222 { (exit 1); exit 1; }; }
12231273
12241274
1225# Find the source files, if location was not specified.1275# Find the source files, if location was not specified.
1226if test -z "$srcdir"; then1276if test -z "$srcdir"; then
1227 ac_srcdir_defaulted=yes1277 ac_srcdir_defaulted=yes
1228 # Try the directory containing this script, then the parent directory.1278 # Try the directory containing this script, then the parent directory.
1229 ac_confdir=`$as_dirname -- "$0" ||1279 ac_confdir=`$as_dirname -- "$as_myself" ||
1230$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1280$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$0" : 'X\(//\)[^/]' \| \1281 X"$as_myself" : 'X\(//\)[^/]' \| \
1232 X"$0" : 'X\(//\)$' \| \1282 X"$as_myself" : 'X\(//\)$' \| \
1233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||1283 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1234echo X"$0" |1284$as_echo X"$as_myself" |
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{1285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1236 s//\1/1286 s//\1/
1237 q1287 q
@@ -1258,13 +1308,11 @@
1258fi1308fi
1259if test ! -r "$srcdir/$ac_unique_file"; then1309if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."1310 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&21311 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1262 { (exit 1); exit 1; }; }
1263fi1312fi
1264ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"1313ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1265ac_abs_confdir=`(1314ac_abs_confdir=`(
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&21315 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1267 { (exit 1); exit 1; }; }
1268 pwd)`1316 pwd)`
1269# When building in place, set srcdir=.1317# When building in place, set srcdir=.
1270if test "$ac_abs_confdir" = "$ac_pwd"; then1318if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1312,9 +1360,9 @@
13121360
1313Installation directories:1361Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX1362 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]1363 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX1364 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1317 [PREFIX]1365 [PREFIX]
13181366
1319By default, \`make install' will install all the files in1367By default, \`make install' will install all the files in
1320\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify1368\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
@@ -1324,25 +1372,25 @@
1324For better control, use the options below.1372For better control, use the options below.
13251373
1326Fine tuning of the installation directories:1374Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]1375 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]1376 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]1377 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1378 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1379 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1380 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]1381 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]1382 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]1383 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1384 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1385 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]1386 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1387 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]1388 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]1389 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1342 --htmldir=DIR html documentation [DOCDIR]1390 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]1391 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]1392 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]1393 --psdir=DIR ps documentation [DOCDIR]
1346_ACEOF1394_ACEOF
13471395
1348 cat <<\_ACEOF1396 cat <<\_ACEOF
@@ -1363,37 +1411,45 @@
1363 cat <<\_ACEOF1411 cat <<\_ACEOF
13641412
1365Optional Features:1413Optional Features:
1414 --disable-option-checking ignore unrecognized --enable/--with options
1366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)1415 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]1416 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1368 --disable-dependency-tracking speeds up one-time build1417 --disable-dependency-tracking speeds up one-time build
1369 --enable-dependency-tracking do not reject slow dependency extractors1418 --enable-dependency-tracking do not reject slow dependency extractors
1370 --enable-static Build statically linked binaries1419 --enable-static Build statically linked binaries
1371 --enable-server Turn on build of server1420 --enable-server Turn on build of server
1372 --enable-proxy Turn on build of proxy server1421 --enable-proxy Turn on build of Zabbix proxy
1373 --enable-agent Turn on build of agent1422 --enable-agent Turn on build of agent and client utilities
1374 --enable-ipv6 Turn on support of IPv61423 --enable-ipv6 Turn on support of IPv6
13751424
1376Optional Packages:1425Optional Packages:
1377 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]1426 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1378 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)1427 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1428 --with-ibm-db2=[ARG] use IBM DB2 CLI from given sqllib directory
1429 (ARG=path); use /home/db2inst1/sqllib (ARG=yes);
1430 disable IBM DB2 support (ARG=no)
1431 --with-ibm-db2-include=[DIR]
1432 use IBM DB2 CLI headers from given path
1433 --with-ibm-db2-lib=[DIR]
1434 use IBM DB2 CLI libraries from given path
1435 --with-mysql[=ARG] use MySQL client library [default=no], optionally
1436 specify path to mysql_config
1379 --with-oracle=[ARG] use Oracle OCI API from given Oracle home1437 --with-oracle=[ARG] use Oracle OCI API from given Oracle home
1380 (ARG=path); use existing ORACLE_HOME (ARG=yes);1438 (ARG=path); use existing ORACLE_HOME (ARG=yes);
1381 disable Oracle OCI support (ARG=no)1439 disable Oracle OCI support (ARG=no)
1382 --with-oracle-include=[DIR]1440 --with-oracle-include=[DIR]
1383 use Oracle OCI API headers from given path1441 use Oracle OCI API headers from given path
1384 --with-oracle-lib=[DIR] use Oracle OCI API libraries from given path1442 --with-oracle-lib=[DIR] use Oracle OCI API libraries from given path
1443 --with-pgsql[=ARG] use PostgreSQL library [default=no], optionally
1444 specify path to pg_config
1385 --with-sqlite3[=ARG] use SQLite 3 library [default=no], optionally1445 --with-sqlite3[=ARG] use SQLite 3 library [default=no], optionally
1386 specify the prefix for sqlite3 library1446 specify the prefix for sqlite3 library
1387 --with-mysql[=ARG] use MySQL client library [default=no], optionally
1388 specify path to mysql_config
1389 --with-pgsql[=ARG] use PostgreSQL library [default=no], optionally
1390 specify path to pg_config
13911447
1392If you want to use Jabber protocol for messaging:1448If you want to use Jabber protocol for messaging:
1393 --with-jabber[=DIR] Include Jabber support [default=no]. DIR is the1449 --with-jabber[=DIR] Include Jabber support [default=no]. DIR is the
1394 iksemel library install directory.1450 iksemel library install directory.
1395If you want to use cURL library:1451If you want to use cURL library:
1396 --with-libcurl[=DIR] use cURL package [default=yes], optionally specify1452 --with-libcurl[=DIR] use cURL package [default=no], optionally specify
1397 path to curl-config1453 path to curl-config
13981454
1399What ODBC driver do you want to use (please select only one):1455What ODBC driver do you want to use (please select only one):
@@ -1436,7 +1492,7 @@
1436 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a1492 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1437 nonstandard directory <lib dir>1493 nonstandard directory <lib dir>
1438 LIBS libraries to pass to the linker, e.g. -l<library>1494 LIBS libraries to pass to the linker, e.g. -l<library>
1439 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if1495 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1440 you have headers in a nonstandard directory <include dir>1496 you have headers in a nonstandard directory <include dir>
1441 CPP C preprocessor1497 CPP C preprocessor
1442 PKG_CONFIG path to pkg-config utility1498 PKG_CONFIG path to pkg-config utility
@@ -1448,6 +1504,7 @@
1448Use these variables to override the choices made by `configure' or to help1504Use these variables to override the choices made by `configure' or to help
1449it to find libraries and programs with nonstandard names/locations.1505it to find libraries and programs with nonstandard names/locations.
14501506
1507Report bugs to the package provider.
1451_ACEOF1508_ACEOF
1452ac_status=$?1509ac_status=$?
1453fi1510fi
@@ -1455,15 +1512,17 @@
1455if test "$ac_init_help" = "recursive"; then1512if test "$ac_init_help" = "recursive"; then
1456 # If there are subdirs, report their specific --help.1513 # If there are subdirs, report their specific --help.
1457 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue1514 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1458 test -d "$ac_dir" || continue1515 test -d "$ac_dir" ||
1516 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1517 continue
1459 ac_builddir=.1518 ac_builddir=.
14601519
1461case "$ac_dir" in1520case "$ac_dir" in
1462.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;1521.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1463*)1522*)
1464 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`1523 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1465 # A ".." for each directory in $ac_dir_suffix.1524 # A ".." for each directory in $ac_dir_suffix.
1466 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1525 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1467 case $ac_top_builddir_sub in1526 case $ac_top_builddir_sub in
1468 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;1527 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;1528 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
@@ -1499,7 +1558,7 @@
1499 echo &&1558 echo &&
1500 $SHELL "$ac_srcdir/configure" --help=recursive1559 $SHELL "$ac_srcdir/configure" --help=recursive
1501 else1560 else
1502 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21561 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1503 fi || ac_status=$?1562 fi || ac_status=$?
1504 cd "$ac_pwd" || { ac_status=$?; break; }1563 cd "$ac_pwd" || { ac_status=$?; break; }
1505 done1564 done
@@ -1509,21 +1568,426 @@
1509if $ac_init_version; then1568if $ac_init_version; then
1510 cat <<\_ACEOF1569 cat <<\_ACEOF
1511configure1570configure
1512generated by GNU Autoconf 2.611571generated by GNU Autoconf 2.65
15131572
1514Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,1573Copyright (C) 2009 Free Software Foundation, Inc.
15152002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1516This configure script is free software; the Free Software Foundation1574This configure script is free software; the Free Software Foundation
1517gives unlimited permission to copy, distribute and modify it.1575gives unlimited permission to copy, distribute and modify it.
1518_ACEOF1576_ACEOF
1519 exit1577 exit
1520fi1578fi
1579
1580## ------------------------ ##
1581## Autoconf initialization. ##
1582## ------------------------ ##
1583
1584# ac_fn_c_try_compile LINENO
1585# --------------------------
1586# Try to compile conftest.$ac_ext, and return whether this succeeded.
1587ac_fn_c_try_compile ()
1588{
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 rm -f conftest.$ac_objext
1591 if { { ac_try="$ac_compile"
1592case "(($ac_try" in
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1595esac
1596eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597$as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_compile") 2>conftest.err
1599 ac_status=$?
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1604 fi
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest.$ac_objext; then :
1610 ac_retval=0
1611else
1612 $as_echo "$as_me: failed program was:" >&5
1613sed 's/^/| /' conftest.$ac_ext >&5
1614
1615 ac_retval=1
1616fi
1617 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1618 as_fn_set_status $ac_retval
1619
1620} # ac_fn_c_try_compile
1621
1622# ac_fn_c_try_cpp LINENO
1623# ----------------------
1624# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1625ac_fn_c_try_cpp ()
1626{
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 if { { ac_try="$ac_cpp conftest.$ac_ext"
1629case "(($ac_try" in
1630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1631 *) ac_try_echo=$ac_try;;
1632esac
1633eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634$as_echo "$ac_try_echo"; } >&5
1635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1636 ac_status=$?
1637 if test -s conftest.err; then
1638 grep -v '^ *+' conftest.err >conftest.er1
1639 cat conftest.er1 >&5
1640 mv -f conftest.er1 conftest.err
1641 fi
1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643 test $ac_status = 0; } >/dev/null && {
1644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1645 test ! -s conftest.err
1646 }; then :
1647 ac_retval=0
1648else
1649 $as_echo "$as_me: failed program was:" >&5
1650sed 's/^/| /' conftest.$ac_ext >&5
1651
1652 ac_retval=1
1653fi
1654 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1655 as_fn_set_status $ac_retval
1656
1657} # ac_fn_c_try_cpp
1658
1659# ac_fn_c_try_run LINENO
1660# ----------------------
1661# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1662# that executables *can* be run.
1663ac_fn_c_try_run ()
1664{
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 if { { ac_try="$ac_link"
1667case "(($ac_try" in
1668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669 *) ac_try_echo=$ac_try;;
1670esac
1671eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672$as_echo "$ac_try_echo"; } >&5
1673 (eval "$ac_link") 2>&5
1674 ac_status=$?
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1677 { { case "(($ac_try" in
1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1680esac
1681eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682$as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_try") 2>&5
1684 ac_status=$?
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; }; }; then :
1687 ac_retval=0
1688else
1689 $as_echo "$as_me: program exited with status $ac_status" >&5
1690 $as_echo "$as_me: failed program was:" >&5
1691sed 's/^/| /' conftest.$ac_ext >&5
1692
1693 ac_retval=$ac_status
1694fi
1695 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1696 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1697 as_fn_set_status $ac_retval
1698
1699} # ac_fn_c_try_run
1700
1701# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1702# -------------------------------------------------------
1703# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1704# the include files in INCLUDES and setting the cache variable VAR
1705# accordingly.
1706ac_fn_c_check_header_mongrel ()
1707{
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711$as_echo_n "checking for $2... " >&6; }
1712if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1713 $as_echo_n "(cached) " >&6
1714fi
1715eval ac_res=\$$3
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717$as_echo "$ac_res" >&6; }
1718else
1719 # Is the header compilable?
1720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1721$as_echo_n "checking $2 usability... " >&6; }
1722cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723/* end confdefs.h. */
1724$4
1725#include <$2>
1726_ACEOF
1727if ac_fn_c_try_compile "$LINENO"; then :
1728 ac_header_compiler=yes
1729else
1730 ac_header_compiler=no
1731fi
1732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1734$as_echo "$ac_header_compiler" >&6; }
1735
1736# Is the header present?
1737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1738$as_echo_n "checking $2 presence... " >&6; }
1739cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740/* end confdefs.h. */
1741#include <$2>
1742_ACEOF
1743if ac_fn_c_try_cpp "$LINENO"; then :
1744 ac_header_preproc=yes
1745else
1746 ac_header_preproc=no
1747fi
1748rm -f conftest.err conftest.$ac_ext
1749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1750$as_echo "$ac_header_preproc" >&6; }
1751
1752# So? What about this header?
1753case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1754 yes:no: )
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1756$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1758$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1759 ;;
1760 no:yes:* )
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1762$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1764$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1766$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1768$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1770$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1771 ;;
1772esac
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774$as_echo_n "checking for $2... " >&6; }
1775if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1776 $as_echo_n "(cached) " >&6
1777else
1778 eval "$3=\$ac_header_compiler"
1779fi
1780eval ac_res=\$$3
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782$as_echo "$ac_res" >&6; }
1783fi
1784 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1785
1786} # ac_fn_c_check_header_mongrel
1787
1788# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1789# -------------------------------------------------------
1790# Tests whether HEADER exists and can be compiled using the include files in
1791# INCLUDES, setting the cache variable VAR accordingly.
1792ac_fn_c_check_header_compile ()
1793{
1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796$as_echo_n "checking for $2... " >&6; }
1797if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1798 $as_echo_n "(cached) " >&6
1799else
1800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1801/* end confdefs.h. */
1802$4
1803#include <$2>
1804_ACEOF
1805if ac_fn_c_try_compile "$LINENO"; then :
1806 eval "$3=yes"
1807else
1808 eval "$3=no"
1809fi
1810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1811fi
1812eval ac_res=\$$3
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814$as_echo "$ac_res" >&6; }
1815 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1816
1817} # ac_fn_c_check_header_compile
1818
1819# ac_fn_c_try_link LINENO
1820# -----------------------
1821# Try to link conftest.$ac_ext, and return whether this succeeded.
1822ac_fn_c_try_link ()
1823{
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 rm -f conftest.$ac_objext conftest$ac_exeext
1826 if { { ac_try="$ac_link"
1827case "(($ac_try" in
1828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1830esac
1831eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832$as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_link") 2>conftest.err
1834 ac_status=$?
1835 if test -s conftest.err; then
1836 grep -v '^ *+' conftest.err >conftest.er1
1837 cat conftest.er1 >&5
1838 mv -f conftest.er1 conftest.err
1839 fi
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } && {
1842 test -z "$ac_c_werror_flag" ||
1843 test ! -s conftest.err
1844 } && test -s conftest$ac_exeext && {
1845 test "$cross_compiling" = yes ||
1846 $as_test_x conftest$ac_exeext
1847 }; then :
1848 ac_retval=0
1849else
1850 $as_echo "$as_me: failed program was:" >&5
1851sed 's/^/| /' conftest.$ac_ext >&5
1852
1853 ac_retval=1
1854fi
1855 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1856 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1857 # interfere with the next link command; also delete a directory that is
1858 # left behind by Apple's compiler. We do this before executing the actions.
1859 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861 as_fn_set_status $ac_retval
1862
1863} # ac_fn_c_try_link
1864
1865# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1866# -------------------------------------------
1867# Tests whether TYPE exists after having included INCLUDES, setting cache
1868# variable VAR accordingly.
1869ac_fn_c_check_type ()
1870{
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1873$as_echo_n "checking for $2... " >&6; }
1874if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1875 $as_echo_n "(cached) " >&6
1876else
1877 eval "$3=no"
1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879/* end confdefs.h. */
1880$4
1881int
1882main ()
1883{
1884if (sizeof ($2))
1885 return 0;
1886 ;
1887 return 0;
1888}
1889_ACEOF
1890if ac_fn_c_try_compile "$LINENO"; then :
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892/* end confdefs.h. */
1893$4
1894int
1895main ()
1896{
1897if (sizeof (($2)))
1898 return 0;
1899 ;
1900 return 0;
1901}
1902_ACEOF
1903if ac_fn_c_try_compile "$LINENO"; then :
1904
1905else
1906 eval "$3=yes"
1907fi
1908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909fi
1910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911fi
1912eval ac_res=\$$3
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914$as_echo "$ac_res" >&6; }
1915 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1916
1917} # ac_fn_c_check_type
1918
1919# ac_fn_c_check_func LINENO FUNC VAR
1920# ----------------------------------
1921# Tests whether FUNC exists, setting the cache variable VAR accordingly
1922ac_fn_c_check_func ()
1923{
1924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926$as_echo_n "checking for $2... " >&6; }
1927if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1928 $as_echo_n "(cached) " >&6
1929else
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931/* end confdefs.h. */
1932/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1934#define $2 innocuous_$2
1935
1936/* System header to define __stub macros and hopefully few prototypes,
1937 which can conflict with char $2 (); below.
1938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1939 <limits.h> exists even on freestanding compilers. */
1940
1941#ifdef __STDC__
1942# include <limits.h>
1943#else
1944# include <assert.h>
1945#endif
1946
1947#undef $2
1948
1949/* Override any GCC internal prototype to avoid an error.
1950 Use char because int might match the return type of a GCC
1951 builtin and then its argument prototype would still apply. */
1952#ifdef __cplusplus
1953extern "C"
1954#endif
1955char $2 ();
1956/* The GNU C library defines this for functions which it implements
1957 to always fail with ENOSYS. Some functions are actually named
1958 something starting with __ and the normal name is an alias. */
1959#if defined __stub_$2 || defined __stub___$2
1960choke me
1961#endif
1962
1963int
1964main ()
1965{
1966return $2 ();
1967 ;
1968 return 0;
1969}
1970_ACEOF
1971if ac_fn_c_try_link "$LINENO"; then :
1972 eval "$3=yes"
1973else
1974 eval "$3=no"
1975fi
1976rm -f core conftest.err conftest.$ac_objext \
1977 conftest$ac_exeext conftest.$ac_ext
1978fi
1979eval ac_res=\$$3
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981$as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1983
1984} # ac_fn_c_check_func
1521cat >config.log <<_ACEOF1985cat >config.log <<_ACEOF
1522This file contains any messages produced by compilers while1986This file contains any messages produced by compilers while
1523running configure, to aid debugging if configure makes a mistake.1987running configure, to aid debugging if configure makes a mistake.
15241988
1525It was created by $as_me, which was1989It was created by $as_me, which was
1526generated by GNU Autoconf 2.61. Invocation command line was1990generated by GNU Autoconf 2.65. Invocation command line was
15271991
1528 $ $0 $@1992 $ $0 $@
15291993
@@ -1559,8 +2023,8 @@
1559do2023do
1560 IFS=$as_save_IFS2024 IFS=$as_save_IFS
1561 test -z "$as_dir" && as_dir=.2025 test -z "$as_dir" && as_dir=.
1562 echo "PATH: $as_dir"2026 $as_echo "PATH: $as_dir"
1563done2027 done
1564IFS=$as_save_IFS2028IFS=$as_save_IFS
15652029
1566} >&52030} >&5
@@ -1594,12 +2058,12 @@
1594 | -silent | --silent | --silen | --sile | --sil)2058 | -silent | --silent | --silen | --sile | --sil)
1595 continue ;;2059 continue ;;
1596 *\'*)2060 *\'*)
1597 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2061 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1598 esac2062 esac
1599 case $ac_pass in2063 case $ac_pass in
1600 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;2064 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1601 2)2065 2)
1602 ac_configure_args1="$ac_configure_args1 '$ac_arg'"2066 as_fn_append ac_configure_args1 " '$ac_arg'"
1603 if test $ac_must_keep_next = true; then2067 if test $ac_must_keep_next = true; then
1604 ac_must_keep_next=false # Got value, back to normal.2068 ac_must_keep_next=false # Got value, back to normal.
1605 else2069 else
@@ -1615,13 +2079,13 @@
1615 -* ) ac_must_keep_next=true ;;2079 -* ) ac_must_keep_next=true ;;
1616 esac2080 esac
1617 fi2081 fi
1618 ac_configure_args="$ac_configure_args '$ac_arg'"2082 as_fn_append ac_configure_args " '$ac_arg'"
1619 ;;2083 ;;
1620 esac2084 esac
1621 done2085 done
1622done2086done
1623$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }2087{ ac_configure_args0=; unset ac_configure_args0;}
1624$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }2088{ ac_configure_args1=; unset ac_configure_args1;}
16252089
1626# When interrupted or exit'd, cleanup temporary files, and complete2090# When interrupted or exit'd, cleanup temporary files, and complete
1627# config.log. We remove comments because anyway the quotes in there2091# config.log. We remove comments because anyway the quotes in there
@@ -1646,12 +2110,13 @@
1646 case $ac_val in #(2110 case $ac_val in #(
1647 *${as_nl}*)2111 *${as_nl}*)
1648 case $ac_var in #(2112 case $ac_var in #(
1649 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&52113 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1650echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2114$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1651 esac2115 esac
1652 case $ac_var in #(2116 case $ac_var in #(
1653 _ | IFS | as_nl) ;; #(2117 _ | IFS | as_nl) ;; #(
1654 *) $as_unset $ac_var ;;2118 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2119 *) { eval $ac_var=; unset $ac_var;} ;;
1655 esac ;;2120 esac ;;
1656 esac2121 esac
1657 done2122 done
@@ -1680,9 +2145,9 @@
1680 do2145 do
1681 eval ac_val=\$$ac_var2146 eval ac_val=\$$ac_var
1682 case $ac_val in2147 case $ac_val in
1683 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2148 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1684 esac2149 esac
1685 echo "$ac_var='\''$ac_val'\''"2150 $as_echo "$ac_var='\''$ac_val'\''"
1686 done | sort2151 done | sort
1687 echo2152 echo
16882153
@@ -1697,9 +2162,9 @@
1697 do2162 do
1698 eval ac_val=\$$ac_var2163 eval ac_val=\$$ac_var
1699 case $ac_val in2164 case $ac_val in
1700 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2165 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1701 esac2166 esac
1702 echo "$ac_var='\''$ac_val'\''"2167 $as_echo "$ac_var='\''$ac_val'\''"
1703 done | sort2168 done | sort
1704 echo2169 echo
1705 fi2170 fi
@@ -1715,83 +2180,88 @@
1715 echo2180 echo
1716 fi2181 fi
1717 test "$ac_signal" != 0 &&2182 test "$ac_signal" != 0 &&
1718 echo "$as_me: caught signal $ac_signal"2183 $as_echo "$as_me: caught signal $ac_signal"
1719 echo "$as_me: exit $exit_status"2184 $as_echo "$as_me: exit $exit_status"
1720 } >&52185 } >&5
1721 rm -f core *.core core.conftest.* &&2186 rm -f core *.core core.conftest.* &&
1722 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&2187 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1723 exit $exit_status2188 exit $exit_status
1724' 02189' 0
1725for ac_signal in 1 2 13 15; do2190for ac_signal in 1 2 13 15; do
1726 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2191 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1727done2192done
1728ac_signal=02193ac_signal=0
17292194
1730# confdefs.h avoids OS command line length limits that DEFS can exceed.2195# confdefs.h avoids OS command line length limits that DEFS can exceed.
1731rm -f -r conftest* confdefs.h2196rm -f -r conftest* confdefs.h
17322197
2198$as_echo "/* confdefs.h */" > confdefs.h
2199
1733# Predefined preprocessor variables.2200# Predefined preprocessor variables.
17342201
1735cat >>confdefs.h <<_ACEOF2202cat >>confdefs.h <<_ACEOF
1736#define PACKAGE_NAME "$PACKAGE_NAME"2203#define PACKAGE_NAME "$PACKAGE_NAME"
1737_ACEOF2204_ACEOF
17382205
1739
1740cat >>confdefs.h <<_ACEOF2206cat >>confdefs.h <<_ACEOF
1741#define PACKAGE_TARNAME "$PACKAGE_TARNAME"2207#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1742_ACEOF2208_ACEOF
17432209
1744
1745cat >>confdefs.h <<_ACEOF2210cat >>confdefs.h <<_ACEOF
1746#define PACKAGE_VERSION "$PACKAGE_VERSION"2211#define PACKAGE_VERSION "$PACKAGE_VERSION"
1747_ACEOF2212_ACEOF
17482213
1749
1750cat >>confdefs.h <<_ACEOF2214cat >>confdefs.h <<_ACEOF
1751#define PACKAGE_STRING "$PACKAGE_STRING"2215#define PACKAGE_STRING "$PACKAGE_STRING"
1752_ACEOF2216_ACEOF
17532217
1754
1755cat >>confdefs.h <<_ACEOF2218cat >>confdefs.h <<_ACEOF
1756#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"2219#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1757_ACEOF2220_ACEOF
17582221
2222cat >>confdefs.h <<_ACEOF
2223#define PACKAGE_URL "$PACKAGE_URL"
2224_ACEOF
2225
17592226
1760# Let the site file select an alternate cache file if it wants to.2227# Let the site file select an alternate cache file if it wants to.
1761# Prefer explicitly selected file to automatically selected ones.2228# Prefer an explicitly selected file to automatically selected ones.
2229ac_site_file1=NONE
2230ac_site_file2=NONE
1762if test -n "$CONFIG_SITE"; then2231if test -n "$CONFIG_SITE"; then
1763 set x "$CONFIG_SITE"2232 ac_site_file1=$CONFIG_SITE
1764elif test "x$prefix" != xNONE; then2233elif test "x$prefix" != xNONE; then
1765 set x "$prefix/share/config.site" "$prefix/etc/config.site"2234 ac_site_file1=$prefix/share/config.site
2235 ac_site_file2=$prefix/etc/config.site
1766else2236else
1767 set x "$ac_default_prefix/share/config.site" \2237 ac_site_file1=$ac_default_prefix/share/config.site
1768 "$ac_default_prefix/etc/config.site"2238 ac_site_file2=$ac_default_prefix/etc/config.site
1769fi2239fi
1770shift2240for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1771for ac_site_file
1772do2241do
1773 if test -r "$ac_site_file"; then2242 test "x$ac_site_file" = xNONE && continue
1774 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&52243 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1775echo "$as_me: loading site script $ac_site_file" >&6;}2244 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2245$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1776 sed 's/^/| /' "$ac_site_file" >&52246 sed 's/^/| /' "$ac_site_file" >&5
1777 . "$ac_site_file"2247 . "$ac_site_file"
1778 fi2248 fi
1779done2249done
17802250
1781if test -r "$cache_file"; then2251if test -r "$cache_file"; then
1782 # Some versions of bash will fail to source /dev/null (special2252 # Some versions of bash will fail to source /dev/null (special files
1783 # files actually), so we avoid doing that.2253 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1784 if test -f "$cache_file"; then2254 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1785 { echo "$as_me:$LINENO: loading cache $cache_file" >&52255 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1786echo "$as_me: loading cache $cache_file" >&6;}2256$as_echo "$as_me: loading cache $cache_file" >&6;}
1787 case $cache_file in2257 case $cache_file in
1788 [\\/]* | ?:[\\/]* ) . "$cache_file";;2258 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1789 *) . "./$cache_file";;2259 *) . "./$cache_file";;
1790 esac2260 esac
1791 fi2261 fi
1792else2262else
1793 { echo "$as_me:$LINENO: creating cache $cache_file" >&52263 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1794echo "$as_me: creating cache $cache_file" >&6;}2264$as_echo "$as_me: creating cache $cache_file" >&6;}
1795 >$cache_file2265 >$cache_file
1796fi2266fi
17972267
@@ -1805,60 +2275,56 @@
1805 eval ac_new_val=\$ac_env_${ac_var}_value2275 eval ac_new_val=\$ac_env_${ac_var}_value
1806 case $ac_old_set,$ac_new_set in2276 case $ac_old_set,$ac_new_set in
1807 set,)2277 set,)
1808 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1809echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2279$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1810 ac_cache_corrupted=: ;;2280 ac_cache_corrupted=: ;;
1811 ,set)2281 ,set)
1812 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&52282 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1813echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2283$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1814 ac_cache_corrupted=: ;;2284 ac_cache_corrupted=: ;;
1815 ,);;2285 ,);;
1816 *)2286 *)
1817 if test "x$ac_old_val" != "x$ac_new_val"; then2287 if test "x$ac_old_val" != "x$ac_new_val"; then
1818 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&52288 # differences in whitespace do not lead to failure.
1819echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}2289 ac_old_val_w=`echo x $ac_old_val`
1820 { echo "$as_me:$LINENO: former value: $ac_old_val" >&52290 ac_new_val_w=`echo x $ac_new_val`
1821echo "$as_me: former value: $ac_old_val" >&2;}2291 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1822 { echo "$as_me:$LINENO: current value: $ac_new_val" >&52292 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1823echo "$as_me: current value: $ac_new_val" >&2;}2293$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1824 ac_cache_corrupted=:2294 ac_cache_corrupted=:
2295 else
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2297$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2298 eval $ac_var=\$ac_old_val
2299 fi
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2301$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2303$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1825 fi;;2304 fi;;
1826 esac2305 esac
1827 # Pass precious variables to config.status.2306 # Pass precious variables to config.status.
1828 if test "$ac_new_set" = set; then2307 if test "$ac_new_set" = set; then
1829 case $ac_new_val in2308 case $ac_new_val in
1830 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2309 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1831 *) ac_arg=$ac_var=$ac_new_val ;;2310 *) ac_arg=$ac_var=$ac_new_val ;;
1832 esac2311 esac
1833 case " $ac_configure_args " in2312 case " $ac_configure_args " in
1834 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.2313 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1835 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;2314 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1836 esac2315 esac
1837 fi2316 fi
1838done2317done
1839if $ac_cache_corrupted; then2318if $ac_cache_corrupted; then
1840 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&52319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1841echo "$as_me: error: changes in the environment can compromise the build" >&2;}2320$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1842 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&52321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1843echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}2322$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1844 { (exit 1); exit 1; }; }2323 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1845fi2324fi
18462325## -------------------- ##
18472326## Main body of script. ##
18482327## -------------------- ##
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
18622328
1863ac_ext=c2329ac_ext=c
1864ac_cpp='$CPP $CPPFLAGS'2330ac_cpp='$CPP $CPPFLAGS'
@@ -1867,28 +2333,20 @@
1867ac_compiler_gnu=$ac_cv_c_compiler_gnu2333ac_compiler_gnu=$ac_cv_c_compiler_gnu
18682334
18692335
1870am__api_version='1.10'2336am__api_version='1.11'
18712337
1872ac_aux_dir=2338ac_aux_dir=
1873for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do2339for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1874 if test -f "$ac_dir/install-sh"; then2340 for ac_t in install-sh install.sh shtool; do
1875 ac_aux_dir=$ac_dir2341 if test -f "$ac_dir/$ac_t"; then
1876 ac_install_sh="$ac_aux_dir/install-sh -c"2342 ac_aux_dir=$ac_dir
1877 break2343 ac_install_sh="$ac_aux_dir/$ac_t -c"
1878 elif test -f "$ac_dir/install.sh"; then2344 break 2
1879 ac_aux_dir=$ac_dir2345 fi
1880 ac_install_sh="$ac_aux_dir/install.sh -c"2346 done
1881 break
1882 elif test -f "$ac_dir/shtool"; then
1883 ac_aux_dir=$ac_dir
1884 ac_install_sh="$ac_aux_dir/shtool install -c"
1885 break
1886 fi
1887done2347done
1888if test -z "$ac_aux_dir"; then2348if test -z "$ac_aux_dir"; then
1889 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&52349 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1890echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1891 { (exit 1); exit 1; }; }
1892fi2350fi
18932351
1894# These three variables are undocumented and unsupported,2352# These three variables are undocumented and unsupported,
@@ -1913,22 +2371,23 @@
1913# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"2371# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1914# OS/2's system install, which has a completely different semantic2372# OS/2's system install, which has a completely different semantic
1915# ./install, which can be erroneously created by make from ./install.sh.2373# ./install, which can be erroneously created by make from ./install.sh.
1916{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52374# Reject install programs that cannot install multiple files.
1917echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }2375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2376$as_echo_n "checking for a BSD-compatible install... " >&6; }
1918if test -z "$INSTALL"; then2377if test -z "$INSTALL"; then
1919if test "${ac_cv_path_install+set}" = set; then2378if test "${ac_cv_path_install+set}" = set; then :
1920 echo $ECHO_N "(cached) $ECHO_C" >&62379 $as_echo_n "(cached) " >&6
1921else2380else
1922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923for as_dir in $PATH2382for as_dir in $PATH
1924do2383do
1925 IFS=$as_save_IFS2384 IFS=$as_save_IFS
1926 test -z "$as_dir" && as_dir=.2385 test -z "$as_dir" && as_dir=.
1927 # Account for people who put trailing slashes in PATH elements.2386 # Account for people who put trailing slashes in PATH elements.
1928case $as_dir/ in2387case $as_dir/ in #((
1929 ./ | .// | /cC/* | \2388 ./ | .// | /[cC]/* | \
1930 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \2389 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1931 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2390 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1932 /usr/ucb/* ) ;;2391 /usr/ucb/* ) ;;
1933 *)2392 *)
1934 # OSF1 and SCO ODT 3.0 have their own names for install.2393 # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -1946,17 +2405,29 @@
1946 # program-specific install script used by HP pwplus--don't use.2405 # program-specific install script used by HP pwplus--don't use.
1947 :2406 :
1948 else2407 else
1949 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2408 rm -rf conftest.one conftest.two conftest.dir
1950 break 32409 echo one > conftest.one
2410 echo two > conftest.two
2411 mkdir conftest.dir
2412 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2413 test -s conftest.one && test -s conftest.two &&
2414 test -s conftest.dir/conftest.one &&
2415 test -s conftest.dir/conftest.two
2416 then
2417 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2418 break 3
2419 fi
1951 fi2420 fi
1952 fi2421 fi
1953 done2422 done
1954 done2423 done
1955 ;;2424 ;;
1956esac2425esac
1957done2426
2427 done
1958IFS=$as_save_IFS2428IFS=$as_save_IFS
19592429
2430rm -rf conftest.one conftest.two conftest.dir
19602431
1961fi2432fi
1962 if test "${ac_cv_path_install+set}" = set; then2433 if test "${ac_cv_path_install+set}" = set; then
@@ -1969,8 +2440,8 @@
1969 INSTALL=$ac_install_sh2440 INSTALL=$ac_install_sh
1970 fi2441 fi
1971fi2442fi
1972{ echo "$as_me:$LINENO: result: $INSTALL" >&52443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1973echo "${ECHO_T}$INSTALL" >&6; }2444$as_echo "$INSTALL" >&6; }
19742445
1975# Use test -z because SunOS4 sh mishandles braces in ${var-val}.2446# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1976# It thinks the first close brace ends the variable substitution.2447# It thinks the first close brace ends the variable substitution.
@@ -1980,21 +2451,34 @@
19802451
1981test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2452test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19822453
1983{ echo "$as_me:$LINENO: checking whether build environment is sane" >&52454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1984echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }2455$as_echo_n "checking whether build environment is sane... " >&6; }
1985# Just in case2456# Just in case
1986sleep 12457sleep 1
1987echo timestamp > conftest.file2458echo timestamp > conftest.file
2459# Reject unsafe characters in $srcdir or the absolute working directory
2460# name. Accept space and tab only in the latter.
2461am_lf='
2462'
2463case `pwd` in
2464 *[\\\"\#\$\&\'\`$am_lf]*)
2465 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2466esac
2467case $srcdir in
2468 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2469 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2470esac
2471
1988# Do `set' in a subshell so we don't clobber the current shell's2472# Do `set' in a subshell so we don't clobber the current shell's
1989# arguments. Must try -L first in case configure is actually a2473# arguments. Must try -L first in case configure is actually a
1990# symlink; some systems play weird games with the mod time of symlinks2474# symlink; some systems play weird games with the mod time of symlinks
1991# (eg FreeBSD returns the mod time of the symlink's containing2475# (eg FreeBSD returns the mod time of the symlink's containing
1992# directory).2476# directory).
1993if (2477if (
1994 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`2478 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1995 if test "$*" = "X"; then2479 if test "$*" = "X"; then
1996 # -L didn't work.2480 # -L didn't work.
1997 set X `ls -t $srcdir/configure conftest.file`2481 set X `ls -t "$srcdir/configure" conftest.file`
1998 fi2482 fi
1999 rm -f conftest.file2483 rm -f conftest.file
2000 if test "$*" != "X $srcdir/configure conftest.file" \2484 if test "$*" != "X $srcdir/configure conftest.file" \
@@ -2004,11 +2488,8 @@
2004 # if, for instance, CONFIG_SHELL is bash and it inherits a2488 # if, for instance, CONFIG_SHELL is bash and it inherits a
2005 # broken ls alias from the environment. This has actually2489 # broken ls alias from the environment. This has actually
2006 # happened. Such a system could not be considered "sane".2490 # happened. Such a system could not be considered "sane".
2007 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken2491 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2008alias in your environment" >&52492alias in your environment" "$LINENO" 5
2009echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2010alias in your environment" >&2;}
2011 { (exit 1); exit 1; }; }
2012 fi2493 fi
20132494
2014 test "$2" = conftest.file2495 test "$2" = conftest.file
@@ -2017,52 +2498,162 @@
2017 # Ok.2498 # Ok.
2018 :2499 :
2019else2500else
2020 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!2501 as_fn_error "newly created file is older than distributed files!
2021Check your system clock" >&52502Check your system clock" "$LINENO" 5
2022echo "$as_me: error: newly created file is older than distributed files!
2023Check your system clock" >&2;}
2024 { (exit 1); exit 1; }; }
2025fi2503fi
2026{ echo "$as_me:$LINENO: result: yes" >&52504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2027echo "${ECHO_T}yes" >&6; }2505$as_echo "yes" >&6; }
2028test "$program_prefix" != NONE &&2506test "$program_prefix" != NONE &&
2029 program_transform_name="s&^&$program_prefix&;$program_transform_name"2507 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2030# Use a double $ so make ignores it.2508# Use a double $ so make ignores it.
2031test "$program_suffix" != NONE &&2509test "$program_suffix" != NONE &&
2032 program_transform_name="s&\$&$program_suffix&;$program_transform_name"2510 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2033# Double any \ or $. echo might interpret backslashes.2511# Double any \ or $.
2034# By default was `s,x,x', remove it if useless.2512# By default was `s,x,x', remove it if useless.
2035cat <<\_ACEOF >conftest.sed2513ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2036s/[\\$]/&&/g;s/;s,x,x,$//2514program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2037_ACEOF
2038program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2039rm -f conftest.sed
20402515
2041# expand $ac_aux_dir to an absolute path2516# expand $ac_aux_dir to an absolute path
2042am_aux_dir=`cd $ac_aux_dir && pwd`2517am_aux_dir=`cd $ac_aux_dir && pwd`
20432518
2044test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"2519if test x"${MISSING+set}" != xset; then
2520 case $am_aux_dir in
2521 *\ * | *\ *)
2522 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2523 *)
2524 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2525 esac
2526fi
2045# Use eval to expand $SHELL2527# Use eval to expand $SHELL
2046if eval "$MISSING --run true"; then2528if eval "$MISSING --run true"; then
2047 am_missing_run="$MISSING --run "2529 am_missing_run="$MISSING --run "
2048else2530else
2049 am_missing_run=2531 am_missing_run=
2050 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&52532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2051echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}2533$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2052fi2534fi
20532535
2054{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&52536if test x"${install_sh}" != xset; then
2055echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }2537 case $am_aux_dir in
2538 *\ * | *\ *)
2539 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2540 *)
2541 install_sh="\${SHELL} $am_aux_dir/install-sh"
2542 esac
2543fi
2544
2545# Installed binaries are usually stripped using `strip' when the user
2546# run `make install-strip'. However `strip' might not be the right
2547# tool to use in cross-compilation environments, therefore Automake
2548# will honor the `STRIP' environment variable to overrule this program.
2549if test "$cross_compiling" != no; then
2550 if test -n "$ac_tool_prefix"; then
2551 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2552set dummy ${ac_tool_prefix}strip; ac_word=$2
2553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2554$as_echo_n "checking for $ac_word... " >&6; }
2555if test "${ac_cv_prog_STRIP+set}" = set; then :
2556 $as_echo_n "(cached) " >&6
2557else
2558 if test -n "$STRIP"; then
2559 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2560else
2561as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562for as_dir in $PATH
2563do
2564 IFS=$as_save_IFS
2565 test -z "$as_dir" && as_dir=.
2566 for ac_exec_ext in '' $ac_executable_extensions; do
2567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2568 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2570 break 2
2571 fi
2572done
2573 done
2574IFS=$as_save_IFS
2575
2576fi
2577fi
2578STRIP=$ac_cv_prog_STRIP
2579if test -n "$STRIP"; then
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2581$as_echo "$STRIP" >&6; }
2582else
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2584$as_echo "no" >&6; }
2585fi
2586
2587
2588fi
2589if test -z "$ac_cv_prog_STRIP"; then
2590 ac_ct_STRIP=$STRIP
2591 # Extract the first word of "strip", so it can be a program name with args.
2592set dummy strip; ac_word=$2
2593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2594$as_echo_n "checking for $ac_word... " >&6; }
2595if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2596 $as_echo_n "(cached) " >&6
2597else
2598 if test -n "$ac_ct_STRIP"; then
2599 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2600else
2601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602for as_dir in $PATH
2603do
2604 IFS=$as_save_IFS
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2608 ac_cv_prog_ac_ct_STRIP="strip"
2609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2610 break 2
2611 fi
2612done
2613 done
2614IFS=$as_save_IFS
2615
2616fi
2617fi
2618ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2619if test -n "$ac_ct_STRIP"; then
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2621$as_echo "$ac_ct_STRIP" >&6; }
2622else
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2624$as_echo "no" >&6; }
2625fi
2626
2627 if test "x$ac_ct_STRIP" = x; then
2628 STRIP=":"
2629 else
2630 case $cross_compiling:$ac_tool_warned in
2631yes:)
2632{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2633$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2634ac_tool_warned=yes ;;
2635esac
2636 STRIP=$ac_ct_STRIP
2637 fi
2638else
2639 STRIP="$ac_cv_prog_STRIP"
2640fi
2641
2642fi
2643INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2644
2645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2646$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2056if test -z "$MKDIR_P"; then2647if test -z "$MKDIR_P"; then
2057 if test "${ac_cv_path_mkdir+set}" = set; then2648 if test "${ac_cv_path_mkdir+set}" = set; then :
2058 echo $ECHO_N "(cached) $ECHO_C" >&62649 $as_echo_n "(cached) " >&6
2059else2650else
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin2652for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2062do2653do
2063 IFS=$as_save_IFS2654 IFS=$as_save_IFS
2064 test -z "$as_dir" && as_dir=.2655 test -z "$as_dir" && as_dir=.
2065 for ac_prog in mkdir gmkdir; do2656 for ac_prog in mkdir gmkdir; do
2066 for ac_exec_ext in '' $ac_executable_extensions; do2657 for ac_exec_ext in '' $ac_executable_extensions; do
2067 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue2658 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2068 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(2659 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
@@ -2074,11 +2665,12 @@
2074 esac2665 esac
2075 done2666 done
2076 done2667 done
2077done2668 done
2078IFS=$as_save_IFS2669IFS=$as_save_IFS
20792670
2080fi2671fi
20812672
2673 test -d ./--version && rmdir ./--version
2082 if test "${ac_cv_path_mkdir+set}" = set; then2674 if test "${ac_cv_path_mkdir+set}" = set; then
2083 MKDIR_P="$ac_cv_path_mkdir -p"2675 MKDIR_P="$ac_cv_path_mkdir -p"
2084 else2676 else
@@ -2086,12 +2678,11 @@
2086 # value for MKDIR_P within a source directory, because that will2678 # value for MKDIR_P within a source directory, because that will
2087 # break other packages using the cache if that directory is2679 # break other packages using the cache if that directory is
2088 # removed, or if the value is a relative name.2680 # removed, or if the value is a relative name.
2089 test -d ./--version && rmdir ./--version
2090 MKDIR_P="$ac_install_sh -d"2681 MKDIR_P="$ac_install_sh -d"
2091 fi2682 fi
2092fi2683fi
2093{ echo "$as_me:$LINENO: result: $MKDIR_P" >&52684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2094echo "${ECHO_T}$MKDIR_P" >&6; }2685$as_echo "$MKDIR_P" >&6; }
20952686
2096mkdir_p="$MKDIR_P"2687mkdir_p="$MKDIR_P"
2097case $mkdir_p in2688case $mkdir_p in
@@ -2103,10 +2694,10 @@
2103do2694do
2104 # Extract the first word of "$ac_prog", so it can be a program name with args.2695 # Extract the first word of "$ac_prog", so it can be a program name with args.
2105set dummy $ac_prog; ac_word=$22696set dummy $ac_prog; ac_word=$2
2106{ echo "$as_me:$LINENO: checking for $ac_word" >&52697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2107echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2698$as_echo_n "checking for $ac_word... " >&6; }
2108if test "${ac_cv_prog_AWK+set}" = set; then2699if test "${ac_cv_prog_AWK+set}" = set; then :
2109 echo $ECHO_N "(cached) $ECHO_C" >&62700 $as_echo_n "(cached) " >&6
2110else2701else
2111 if test -n "$AWK"; then2702 if test -n "$AWK"; then
2112 ac_cv_prog_AWK="$AWK" # Let the user override the test.2703 ac_cv_prog_AWK="$AWK" # Let the user override the test.
@@ -2116,36 +2707,37 @@
2116do2707do
2117 IFS=$as_save_IFS2708 IFS=$as_save_IFS
2118 test -z "$as_dir" && as_dir=.2709 test -z "$as_dir" && as_dir=.
2119 for ac_exec_ext in '' $ac_executable_extensions; do2710 for ac_exec_ext in '' $ac_executable_extensions; do
2120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2121 ac_cv_prog_AWK="$ac_prog"2712 ac_cv_prog_AWK="$ac_prog"
2122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 break 22714 break 2
2124 fi2715 fi
2125done2716done
2126done2717 done
2127IFS=$as_save_IFS2718IFS=$as_save_IFS
21282719
2129fi2720fi
2130fi2721fi
2131AWK=$ac_cv_prog_AWK2722AWK=$ac_cv_prog_AWK
2132if test -n "$AWK"; then2723if test -n "$AWK"; then
2133 { echo "$as_me:$LINENO: result: $AWK" >&52724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2134echo "${ECHO_T}$AWK" >&6; }2725$as_echo "$AWK" >&6; }
2135else2726else
2136 { echo "$as_me:$LINENO: result: no" >&52727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2137echo "${ECHO_T}no" >&6; }2728$as_echo "no" >&6; }
2138fi2729fi
21392730
21402731
2141 test -n "$AWK" && break2732 test -n "$AWK" && break
2142done2733done
21432734
2144{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&52735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2145echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }2736$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2146set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`2737set x ${MAKE-make}
2147if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then2738ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2148 echo $ECHO_N "(cached) $ECHO_C" >&62739if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2740 $as_echo_n "(cached) " >&6
2149else2741else
2150 cat >conftest.make <<\_ACEOF2742 cat >conftest.make <<\_ACEOF
2151SHELL = /bin/sh2743SHELL = /bin/sh
@@ -2162,12 +2754,12 @@
2162rm -f conftest.make2754rm -f conftest.make
2163fi2755fi
2164if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then2756if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2165 { echo "$as_me:$LINENO: result: yes" >&52757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2166echo "${ECHO_T}yes" >&6; }2758$as_echo "yes" >&6; }
2167 SET_MAKE=2759 SET_MAKE=
2168else2760else
2169 { echo "$as_me:$LINENO: result: no" >&52761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2170echo "${ECHO_T}no" >&6; }2762$as_echo "no" >&6; }
2171 SET_MAKE="MAKE=${MAKE-make}"2763 SET_MAKE="MAKE=${MAKE-make}"
2172fi2764fi
21732765
@@ -2186,9 +2778,7 @@
2186 am__isrc=' -I$(srcdir)'2778 am__isrc=' -I$(srcdir)'
2187 # test to see if srcdir already configured2779 # test to see if srcdir already configured
2188 if test -f $srcdir/config.status; then2780 if test -f $srcdir/config.status; then
2189 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&52781 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2190echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2191 { (exit 1); exit 1; }; }
2192 fi2782 fi
2193fi2783fi
21942784
@@ -2204,7 +2794,7 @@
22042794
2205# Define the identity of the package.2795# Define the identity of the package.
2206 PACKAGE=zabbix2796 PACKAGE=zabbix
2207 VERSION=1.8.32797 VERSION=1.8.5
22082798
22092799
2210cat >>confdefs.h <<_ACEOF2800cat >>confdefs.h <<_ACEOF
@@ -2232,112 +2822,6 @@
22322822
2233MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}2823MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
22342824
2235install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2236
2237# Installed binaries are usually stripped using `strip' when the user
2238# run `make install-strip'. However `strip' might not be the right
2239# tool to use in cross-compilation environments, therefore Automake
2240# will honor the `STRIP' environment variable to overrule this program.
2241if test "$cross_compiling" != no; then
2242 if test -n "$ac_tool_prefix"; then
2243 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2244set dummy ${ac_tool_prefix}strip; ac_word=$2
2245{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2246echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2247if test "${ac_cv_prog_STRIP+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2249else
2250 if test -n "$STRIP"; then
2251 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2252else
2253as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254for as_dir in $PATH
2255do
2256 IFS=$as_save_IFS
2257 test -z "$as_dir" && as_dir=.
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 break 2
2263 fi
2264done
2265done
2266IFS=$as_save_IFS
2267
2268fi
2269fi
2270STRIP=$ac_cv_prog_STRIP
2271if test -n "$STRIP"; then
2272 { echo "$as_me:$LINENO: result: $STRIP" >&5
2273echo "${ECHO_T}$STRIP" >&6; }
2274else
2275 { echo "$as_me:$LINENO: result: no" >&5
2276echo "${ECHO_T}no" >&6; }
2277fi
2278
2279
2280fi
2281if test -z "$ac_cv_prog_STRIP"; then
2282 ac_ct_STRIP=$STRIP
2283 # Extract the first word of "strip", so it can be a program name with args.
2284set dummy strip; ac_word=$2
2285{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2286echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2287if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2289else
2290 if test -n "$ac_ct_STRIP"; then
2291 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2292else
2293as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294for as_dir in $PATH
2295do
2296 IFS=$as_save_IFS
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2300 ac_cv_prog_ac_ct_STRIP="strip"
2301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 break 2
2303 fi
2304done
2305done
2306IFS=$as_save_IFS
2307
2308fi
2309fi
2310ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2311if test -n "$ac_ct_STRIP"; then
2312 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2313echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2314else
2315 { echo "$as_me:$LINENO: result: no" >&5
2316echo "${ECHO_T}no" >&6; }
2317fi
2318
2319 if test "x$ac_ct_STRIP" = x; then
2320 STRIP=":"
2321 else
2322 case $cross_compiling:$ac_tool_warned in
2323yes:)
2324{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2325whose name does not start with the host triplet. If you think this
2326configuration is useful to you, please write to autoconf@gnu.org." >&5
2327echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2328whose name does not start with the host triplet. If you think this
2329configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2330ac_tool_warned=yes ;;
2331esac
2332 STRIP=$ac_ct_STRIP
2333 fi
2334else
2335 STRIP="$ac_cv_prog_STRIP"
2336fi
2337
2338fi
2339INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2340
2341# We need awk for the "check" target. The system "awk" is bad on2825# We need awk for the "check" target. The system "awk" is bad on
2342# some platforms.2826# some platforms.
2343# Always define AMTAR for backward compatibility.2827# Always define AMTAR for backward compatibility.
@@ -2351,14 +2835,15 @@
23512835
23522836
23532837
2354{ echo "$as_me:$LINENO: Configuring $PACKAGE_NAME $PACKAGE_VERSION" >&52838{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuring $PACKAGE_NAME $PACKAGE_VERSION" >&5
2355echo "$as_me: Configuring $PACKAGE_NAME $PACKAGE_VERSION" >&6;}2839$as_echo "$as_me: Configuring $PACKAGE_NAME $PACKAGE_VERSION" >&6;}
23562840
2357{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&52841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2358echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }2842$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2359set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`2843set x ${MAKE-make}
2360if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then2844ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2361 echo $ECHO_N "(cached) $ECHO_C" >&62845if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2846 $as_echo_n "(cached) " >&6
2362else2847else
2363 cat >conftest.make <<\_ACEOF2848 cat >conftest.make <<\_ACEOF
2364SHELL = /bin/sh2849SHELL = /bin/sh
@@ -2375,12 +2860,12 @@
2375rm -f conftest.make2860rm -f conftest.make
2376fi2861fi
2377if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then2862if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2378 { echo "$as_me:$LINENO: result: yes" >&52863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2379echo "${ECHO_T}yes" >&6; }2864$as_echo "yes" >&6; }
2380 SET_MAKE=2865 SET_MAKE=
2381else2866else
2382 { echo "$as_me:$LINENO: result: no" >&52867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2383echo "${ECHO_T}no" >&6; }2868$as_echo "no" >&6; }
2384 SET_MAKE="MAKE=${MAKE-make}"2869 SET_MAKE="MAKE=${MAKE-make}"
2385fi2870fi
23862871
@@ -2390,35 +2875,27 @@
23902875
2391# Make sure we can run config.sub.2876# Make sure we can run config.sub.
2392$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||2877$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2393 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&52878 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2394echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2395 { (exit 1); exit 1; }; }
23962879
2397{ echo "$as_me:$LINENO: checking build system type" >&52880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2398echo $ECHO_N "checking build system type... $ECHO_C" >&6; }2881$as_echo_n "checking build system type... " >&6; }
2399if test "${ac_cv_build+set}" = set; then2882if test "${ac_cv_build+set}" = set; then :
2400 echo $ECHO_N "(cached) $ECHO_C" >&62883 $as_echo_n "(cached) " >&6
2401else2884else
2402 ac_build_alias=$build_alias2885 ac_build_alias=$build_alias
2403test "x$ac_build_alias" = x &&2886test "x$ac_build_alias" = x &&
2404 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`2887 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2405test "x$ac_build_alias" = x &&2888test "x$ac_build_alias" = x &&
2406 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&52889 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2407echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2408 { (exit 1); exit 1; }; }
2409ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||2890ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2410 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&52891 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2411echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2412 { (exit 1); exit 1; }; }
24132892
2414fi2893fi
2415{ echo "$as_me:$LINENO: result: $ac_cv_build" >&52894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2416echo "${ECHO_T}$ac_cv_build" >&6; }2895$as_echo "$ac_cv_build" >&6; }
2417case $ac_cv_build in2896case $ac_cv_build in
2418*-*-*) ;;2897*-*-*) ;;
2419*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&52898*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2420echo "$as_me: error: invalid value of canonical build" >&2;}
2421 { (exit 1); exit 1; }; };;
2422esac2899esac
2423build=$ac_cv_build2900build=$ac_cv_build
2424ac_save_IFS=$IFS; IFS='-'2901ac_save_IFS=$IFS; IFS='-'
@@ -2434,28 +2911,24 @@
2434case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac2911case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
24352912
24362913
2437{ echo "$as_me:$LINENO: checking host system type" >&52914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2438echo $ECHO_N "checking host system type... $ECHO_C" >&6; }2915$as_echo_n "checking host system type... " >&6; }
2439if test "${ac_cv_host+set}" = set; then2916if test "${ac_cv_host+set}" = set; then :
2440 echo $ECHO_N "(cached) $ECHO_C" >&62917 $as_echo_n "(cached) " >&6
2441else2918else
2442 if test "x$host_alias" = x; then2919 if test "x$host_alias" = x; then
2443 ac_cv_host=$ac_cv_build2920 ac_cv_host=$ac_cv_build
2444else2921else
2445 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||2922 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2446 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&52923 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2447echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2448 { (exit 1); exit 1; }; }
2449fi2924fi
24502925
2451fi2926fi
2452{ echo "$as_me:$LINENO: result: $ac_cv_host" >&52927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2453echo "${ECHO_T}$ac_cv_host" >&6; }2928$as_echo "$ac_cv_host" >&6; }
2454case $ac_cv_host in2929case $ac_cv_host in
2455*-*-*) ;;2930*-*-*) ;;
2456*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&52931*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2457echo "$as_me: error: invalid value of canonical host" >&2;}
2458 { (exit 1); exit 1; }; };;
2459esac2932esac
2460host=$ac_cv_host2933host=$ac_cv_host
2461ac_save_IFS=$IFS; IFS='-'2934ac_save_IFS=$IFS; IFS='-'
@@ -2472,6 +2945,7 @@
24722945
24732946
24742947
2948
2475ac_ext=c2949ac_ext=c
2476ac_cpp='$CPP $CPPFLAGS'2950ac_cpp='$CPP $CPPFLAGS'
2477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -2480,10 +2954,10 @@
2480if test -n "$ac_tool_prefix"; then2954if test -n "$ac_tool_prefix"; then
2481 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2955 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2482set dummy ${ac_tool_prefix}gcc; ac_word=$22956set dummy ${ac_tool_prefix}gcc; ac_word=$2
2483{ echo "$as_me:$LINENO: checking for $ac_word" >&52957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2484echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2958$as_echo_n "checking for $ac_word... " >&6; }
2485if test "${ac_cv_prog_CC+set}" = set; then2959if test "${ac_cv_prog_CC+set}" = set; then :
2486 echo $ECHO_N "(cached) $ECHO_C" >&62960 $as_echo_n "(cached) " >&6
2487else2961else
2488 if test -n "$CC"; then2962 if test -n "$CC"; then
2489 ac_cv_prog_CC="$CC" # Let the user override the test.2963 ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -2493,25 +2967,25 @@
2493do2967do
2494 IFS=$as_save_IFS2968 IFS=$as_save_IFS
2495 test -z "$as_dir" && as_dir=.2969 test -z "$as_dir" && as_dir=.
2496 for ac_exec_ext in '' $ac_executable_extensions; do2970 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2498 ac_cv_prog_CC="${ac_tool_prefix}gcc"2972 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 break 22974 break 2
2501 fi2975 fi
2502done2976done
2503done2977 done
2504IFS=$as_save_IFS2978IFS=$as_save_IFS
25052979
2506fi2980fi
2507fi2981fi
2508CC=$ac_cv_prog_CC2982CC=$ac_cv_prog_CC
2509if test -n "$CC"; then2983if test -n "$CC"; then
2510 { echo "$as_me:$LINENO: result: $CC" >&52984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2511echo "${ECHO_T}$CC" >&6; }2985$as_echo "$CC" >&6; }
2512else2986else
2513 { echo "$as_me:$LINENO: result: no" >&52987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2514echo "${ECHO_T}no" >&6; }2988$as_echo "no" >&6; }
2515fi2989fi
25162990
25172991
@@ -2520,10 +2994,10 @@
2520 ac_ct_CC=$CC2994 ac_ct_CC=$CC
2521 # Extract the first word of "gcc", so it can be a program name with args.2995 # Extract the first word of "gcc", so it can be a program name with args.
2522set dummy gcc; ac_word=$22996set dummy gcc; ac_word=$2
2523{ echo "$as_me:$LINENO: checking for $ac_word" >&52997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2524echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2998$as_echo_n "checking for $ac_word... " >&6; }
2525if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2999if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2526 echo $ECHO_N "(cached) $ECHO_C" >&63000 $as_echo_n "(cached) " >&6
2527else3001else
2528 if test -n "$ac_ct_CC"; then3002 if test -n "$ac_ct_CC"; then
2529 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.3003 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
@@ -2533,25 +3007,25 @@
2533do3007do
2534 IFS=$as_save_IFS3008 IFS=$as_save_IFS
2535 test -z "$as_dir" && as_dir=.3009 test -z "$as_dir" && as_dir=.
2536 for ac_exec_ext in '' $ac_executable_extensions; do3010 for ac_exec_ext in '' $ac_executable_extensions; do
2537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2538 ac_cv_prog_ac_ct_CC="gcc"3012 ac_cv_prog_ac_ct_CC="gcc"
2539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 break 23014 break 2
2541 fi3015 fi
2542done3016done
2543done3017 done
2544IFS=$as_save_IFS3018IFS=$as_save_IFS
25453019
2546fi3020fi
2547fi3021fi
2548ac_ct_CC=$ac_cv_prog_ac_ct_CC3022ac_ct_CC=$ac_cv_prog_ac_ct_CC
2549if test -n "$ac_ct_CC"; then3023if test -n "$ac_ct_CC"; then
2550 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&53024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2551echo "${ECHO_T}$ac_ct_CC" >&6; }3025$as_echo "$ac_ct_CC" >&6; }
2552else3026else
2553 { echo "$as_me:$LINENO: result: no" >&53027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2554echo "${ECHO_T}no" >&6; }3028$as_echo "no" >&6; }
2555fi3029fi
25563030
2557 if test "x$ac_ct_CC" = x; then3031 if test "x$ac_ct_CC" = x; then
@@ -2559,12 +3033,8 @@
2559 else3033 else
2560 case $cross_compiling:$ac_tool_warned in3034 case $cross_compiling:$ac_tool_warned in
2561yes:)3035yes:)
2562{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools3036{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2563whose name does not start with the host triplet. If you think this3037$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2564configuration is useful to you, please write to autoconf@gnu.org." >&5
2565echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2566whose name does not start with the host triplet. If you think this
2567configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2568ac_tool_warned=yes ;;3038ac_tool_warned=yes ;;
2569esac3039esac
2570 CC=$ac_ct_CC3040 CC=$ac_ct_CC
@@ -2577,10 +3047,10 @@
2577 if test -n "$ac_tool_prefix"; then3047 if test -n "$ac_tool_prefix"; then
2578 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.3048 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2579set dummy ${ac_tool_prefix}cc; ac_word=$23049set dummy ${ac_tool_prefix}cc; ac_word=$2
2580{ echo "$as_me:$LINENO: checking for $ac_word" >&53050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3051$as_echo_n "checking for $ac_word... " >&6; }
2582if test "${ac_cv_prog_CC+set}" = set; then3052if test "${ac_cv_prog_CC+set}" = set; then :
2583 echo $ECHO_N "(cached) $ECHO_C" >&63053 $as_echo_n "(cached) " >&6
2584else3054else
2585 if test -n "$CC"; then3055 if test -n "$CC"; then
2586 ac_cv_prog_CC="$CC" # Let the user override the test.3056 ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -2590,25 +3060,25 @@
2590do3060do
2591 IFS=$as_save_IFS3061 IFS=$as_save_IFS
2592 test -z "$as_dir" && as_dir=.3062 test -z "$as_dir" && as_dir=.
2593 for ac_exec_ext in '' $ac_executable_extensions; do3063 for ac_exec_ext in '' $ac_executable_extensions; do
2594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595 ac_cv_prog_CC="${ac_tool_prefix}cc"3065 ac_cv_prog_CC="${ac_tool_prefix}cc"
2596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 break 23067 break 2
2598 fi3068 fi
2599done3069done
2600done3070 done
2601IFS=$as_save_IFS3071IFS=$as_save_IFS
26023072
2603fi3073fi
2604fi3074fi
2605CC=$ac_cv_prog_CC3075CC=$ac_cv_prog_CC
2606if test -n "$CC"; then3076if test -n "$CC"; then
2607 { echo "$as_me:$LINENO: result: $CC" >&53077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2608echo "${ECHO_T}$CC" >&6; }3078$as_echo "$CC" >&6; }
2609else3079else
2610 { echo "$as_me:$LINENO: result: no" >&53080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611echo "${ECHO_T}no" >&6; }3081$as_echo "no" >&6; }
2612fi3082fi
26133083
26143084
@@ -2617,10 +3087,10 @@
2617if test -z "$CC"; then3087if test -z "$CC"; then
2618 # Extract the first word of "cc", so it can be a program name with args.3088 # Extract the first word of "cc", so it can be a program name with args.
2619set dummy cc; ac_word=$23089set dummy cc; ac_word=$2
2620{ echo "$as_me:$LINENO: checking for $ac_word" >&53090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2621echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3091$as_echo_n "checking for $ac_word... " >&6; }
2622if test "${ac_cv_prog_CC+set}" = set; then3092if test "${ac_cv_prog_CC+set}" = set; then :
2623 echo $ECHO_N "(cached) $ECHO_C" >&63093 $as_echo_n "(cached) " >&6
2624else3094else
2625 if test -n "$CC"; then3095 if test -n "$CC"; then
2626 ac_cv_prog_CC="$CC" # Let the user override the test.3096 ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -2631,18 +3101,18 @@
2631do3101do
2632 IFS=$as_save_IFS3102 IFS=$as_save_IFS
2633 test -z "$as_dir" && as_dir=.3103 test -z "$as_dir" && as_dir=.
2634 for ac_exec_ext in '' $ac_executable_extensions; do3104 for ac_exec_ext in '' $ac_executable_extensions; do
2635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2636 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then3106 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2637 ac_prog_rejected=yes3107 ac_prog_rejected=yes
2638 continue3108 continue
2639 fi3109 fi
2640 ac_cv_prog_CC="cc"3110 ac_cv_prog_CC="cc"
2641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2642 break 23112 break 2
2643 fi3113 fi
2644done3114done
2645done3115 done
2646IFS=$as_save_IFS3116IFS=$as_save_IFS
26473117
2648if test $ac_prog_rejected = yes; then3118if test $ac_prog_rejected = yes; then
@@ -2661,11 +3131,11 @@
2661fi3131fi
2662CC=$ac_cv_prog_CC3132CC=$ac_cv_prog_CC
2663if test -n "$CC"; then3133if test -n "$CC"; then
2664 { echo "$as_me:$LINENO: result: $CC" >&53134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2665echo "${ECHO_T}$CC" >&6; }3135$as_echo "$CC" >&6; }
2666else3136else
2667 { echo "$as_me:$LINENO: result: no" >&53137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668echo "${ECHO_T}no" >&6; }3138$as_echo "no" >&6; }
2669fi3139fi
26703140
26713141
@@ -2676,10 +3146,10 @@
2676 do3146 do
2677 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.3147 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2678set dummy $ac_tool_prefix$ac_prog; ac_word=$23148set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2679{ echo "$as_me:$LINENO: checking for $ac_word" >&53149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2680echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3150$as_echo_n "checking for $ac_word... " >&6; }
2681if test "${ac_cv_prog_CC+set}" = set; then3151if test "${ac_cv_prog_CC+set}" = set; then :
2682 echo $ECHO_N "(cached) $ECHO_C" >&63152 $as_echo_n "(cached) " >&6
2683else3153else
2684 if test -n "$CC"; then3154 if test -n "$CC"; then
2685 ac_cv_prog_CC="$CC" # Let the user override the test.3155 ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -2689,25 +3159,25 @@
2689do3159do
2690 IFS=$as_save_IFS3160 IFS=$as_save_IFS
2691 test -z "$as_dir" && as_dir=.3161 test -z "$as_dir" && as_dir=.
2692 for ac_exec_ext in '' $ac_executable_extensions; do3162 for ac_exec_ext in '' $ac_executable_extensions; do
2693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2694 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"3164 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 break 23166 break 2
2697 fi3167 fi
2698done3168done
2699done3169 done
2700IFS=$as_save_IFS3170IFS=$as_save_IFS
27013171
2702fi3172fi
2703fi3173fi
2704CC=$ac_cv_prog_CC3174CC=$ac_cv_prog_CC
2705if test -n "$CC"; then3175if test -n "$CC"; then
2706 { echo "$as_me:$LINENO: result: $CC" >&53176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2707echo "${ECHO_T}$CC" >&6; }3177$as_echo "$CC" >&6; }
2708else3178else
2709 { echo "$as_me:$LINENO: result: no" >&53179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2710echo "${ECHO_T}no" >&6; }3180$as_echo "no" >&6; }
2711fi3181fi
27123182
27133183
@@ -2720,10 +3190,10 @@
2720do3190do
2721 # Extract the first word of "$ac_prog", so it can be a program name with args.3191 # Extract the first word of "$ac_prog", so it can be a program name with args.
2722set dummy $ac_prog; ac_word=$23192set dummy $ac_prog; ac_word=$2
2723{ echo "$as_me:$LINENO: checking for $ac_word" >&53193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3194$as_echo_n "checking for $ac_word... " >&6; }
2725if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3195if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2726 echo $ECHO_N "(cached) $ECHO_C" >&63196 $as_echo_n "(cached) " >&6
2727else3197else
2728 if test -n "$ac_ct_CC"; then3198 if test -n "$ac_ct_CC"; then
2729 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.3199 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
@@ -2733,25 +3203,25 @@
2733do3203do
2734 IFS=$as_save_IFS3204 IFS=$as_save_IFS
2735 test -z "$as_dir" && as_dir=.3205 test -z "$as_dir" && as_dir=.
2736 for ac_exec_ext in '' $ac_executable_extensions; do3206 for ac_exec_ext in '' $ac_executable_extensions; do
2737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2738 ac_cv_prog_ac_ct_CC="$ac_prog"3208 ac_cv_prog_ac_ct_CC="$ac_prog"
2739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2740 break 23210 break 2
2741 fi3211 fi
2742done3212done
2743done3213 done
2744IFS=$as_save_IFS3214IFS=$as_save_IFS
27453215
2746fi3216fi
2747fi3217fi
2748ac_ct_CC=$ac_cv_prog_ac_ct_CC3218ac_ct_CC=$ac_cv_prog_ac_ct_CC
2749if test -n "$ac_ct_CC"; then3219if test -n "$ac_ct_CC"; then
2750 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&53220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2751echo "${ECHO_T}$ac_ct_CC" >&6; }3221$as_echo "$ac_ct_CC" >&6; }
2752else3222else
2753 { echo "$as_me:$LINENO: result: no" >&53223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754echo "${ECHO_T}no" >&6; }3224$as_echo "no" >&6; }
2755fi3225fi
27563226
27573227
@@ -2763,12 +3233,8 @@
2763 else3233 else
2764 case $cross_compiling:$ac_tool_warned in3234 case $cross_compiling:$ac_tool_warned in
2765yes:)3235yes:)
2766{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools3236{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2767whose name does not start with the host triplet. If you think this3237$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2768configuration is useful to you, please write to autoconf@gnu.org." >&5
2769echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2770whose name does not start with the host triplet. If you think this
2771configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2772ac_tool_warned=yes ;;3238ac_tool_warned=yes ;;
2773esac3239esac
2774 CC=$ac_ct_CC3240 CC=$ac_ct_CC
@@ -2778,51 +3244,37 @@
2778fi3244fi
27793245
27803246
2781test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH3247test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2782See \`config.log' for more details." >&53248$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2783echo "$as_me: error: no acceptable C compiler found in \$PATH3249as_fn_error "no acceptable C compiler found in \$PATH
2784See \`config.log' for more details." >&2;}3250See \`config.log' for more details." "$LINENO" 5; }
2785 { (exit 1); exit 1; }; }
27863251
2787# Provide some information about the compiler.3252# Provide some information about the compiler.
2788echo "$as_me:$LINENO: checking for C compiler version" >&53253$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2789ac_compiler=`set X $ac_compile; echo $2`3254set X $ac_compile
2790{ (ac_try="$ac_compiler --version >&5"3255ac_compiler=$2
2791case "(($ac_try" in3256for ac_option in --version -v -V -qversion; do
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3257 { { ac_try="$ac_compiler $ac_option >&5"
2793 *) ac_try_echo=$ac_try;;3258case "(($ac_try" in
2794esac3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53260 *) ac_try_echo=$ac_try;;
2796 (eval "$ac_compiler --version >&5") 2>&53261esac
2797 ac_status=$?3262eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&53263$as_echo "$ac_try_echo"; } >&5
2799 (exit $ac_status); }3264 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2800{ (ac_try="$ac_compiler -v >&5"3265 ac_status=$?
2801case "(($ac_try" in3266 if test -s conftest.err; then
2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3267 sed '10a\
2803 *) ac_try_echo=$ac_try;;3268... rest of stderr output deleted ...
2804esac3269 10q' conftest.err >conftest.er1
2805eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53270 cat conftest.er1 >&5
2806 (eval "$ac_compiler -v >&5") 2>&53271 fi
2807 ac_status=$?3272 rm -f conftest.er1 conftest.err
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&53273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2809 (exit $ac_status); }3274 test $ac_status = 0; }
2810{ (ac_try="$ac_compiler -V >&5"3275done
2811case "(($ac_try" in
2812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2813 *) ac_try_echo=$ac_try;;
2814esac
2815eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2816 (eval "$ac_compiler -V >&5") 2>&5
2817 ac_status=$?
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }
28203276
2821cat >conftest.$ac_ext <<_ACEOF3277cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822/* confdefs.h. */
2823_ACEOF
2824cat confdefs.h >>conftest.$ac_ext
2825cat >>conftest.$ac_ext <<_ACEOF
2826/* end confdefs.h. */3278/* end confdefs.h. */
28273279
2828int3280int
@@ -2834,42 +3286,38 @@
2834}3286}
2835_ACEOF3287_ACEOF
2836ac_clean_files_save=$ac_clean_files3288ac_clean_files_save=$ac_clean_files
2837ac_clean_files="$ac_clean_files a.out a.exe b.out"3289ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2838# Try to create an executable without -o first, disregard a.out.3290# Try to create an executable without -o first, disregard a.out.
2839# It will help us diagnose broken compilers, and finding out an intuition3291# It will help us diagnose broken compilers, and finding out an intuition
2840# of exeext.3292# of exeext.
2841{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&53293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2842echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }3294$as_echo_n "checking whether the C compiler works... " >&6; }
2843ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`3295ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2844#3296
2845# List of possible output files, starting from the most likely.3297# The possible output files:
2846# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)3298ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2847# only as a last resort. b.out is created by i960 compilers.3299
2848ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2849#
2850# The IRIX 6 linker writes into existing files which may not be
2851# executable, retaining their permissions. Remove them first so a
2852# subsequent execution test works.
2853ac_rmfiles=3300ac_rmfiles=
2854for ac_file in $ac_files3301for ac_file in $ac_files
2855do3302do
2856 case $ac_file in3303 case $ac_file in
2857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;3304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2858 * ) ac_rmfiles="$ac_rmfiles $ac_file";;3305 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2859 esac3306 esac
2860done3307done
2861rm -f $ac_rmfiles3308rm -f $ac_rmfiles
28623309
2863if { (ac_try="$ac_link_default"3310if { { ac_try="$ac_link_default"
2864case "(($ac_try" in3311case "(($ac_try" in
2865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2866 *) ac_try_echo=$ac_try;;3313 *) ac_try_echo=$ac_try;;
2867esac3314esac
2868eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53315eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3316$as_echo "$ac_try_echo"; } >&5
2869 (eval "$ac_link_default") 2>&53317 (eval "$ac_link_default") 2>&5
2870 ac_status=$?3318 ac_status=$?
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&53319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 (exit $ac_status); }; then3320 test $ac_status = 0; }; then :
2873 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.3321 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2874# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'3322# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2875# in a Makefile. We should not override ac_cv_exeext if it was cached,3323# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -2879,14 +3327,14 @@
2879do3327do
2880 test -f "$ac_file" || continue3328 test -f "$ac_file" || continue
2881 case $ac_file in3329 case $ac_file in
2882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )3330 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2883 ;;3331 ;;
2884 [ab].out )3332 [ab].out )
2885 # We found the default executable, but exeext='' is most3333 # We found the default executable, but exeext='' is most
2886 # certainly right.3334 # certainly right.
2887 break;;3335 break;;
2888 *.* )3336 *.* )
2889 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;3337 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2890 then :; else3338 then :; else
2891 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`3339 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2892 fi3340 fi
@@ -2905,78 +3353,42 @@
2905else3353else
2906 ac_file=''3354 ac_file=''
2907fi3355fi
29083356if test -z "$ac_file"; then :
2909{ echo "$as_me:$LINENO: result: $ac_file" >&53357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910echo "${ECHO_T}$ac_file" >&6; }3358$as_echo "no" >&6; }
2911if test -z "$ac_file"; then3359$as_echo "$as_me: failed program was:" >&5
2912 echo "$as_me: failed program was:" >&5
2913sed 's/^/| /' conftest.$ac_ext >&53360sed 's/^/| /' conftest.$ac_ext >&5
29143361
2915{ { echo "$as_me:$LINENO: error: C compiler cannot create executables3362{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2916See \`config.log' for more details." >&53363$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2917echo "$as_me: error: C compiler cannot create executables3364{ as_fn_set_status 77
2918See \`config.log' for more details." >&2;}3365as_fn_error "C compiler cannot create executables
2919 { (exit 77); exit 77; }; }3366See \`config.log' for more details." "$LINENO" 5; }; }
3367else
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3369$as_echo "yes" >&6; }
2920fi3370fi
29213371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3372$as_echo_n "checking for C compiler default output file name... " >&6; }
3373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3374$as_echo "$ac_file" >&6; }
2922ac_exeext=$ac_cv_exeext3375ac_exeext=$ac_cv_exeext
29233376
2924# Check that the compiler produces executables we can run. If not, either3377rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2925# the compiler is broken, or we cross compile.
2926{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2927echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2928# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2929# If not cross compiling, check that we can run a simple program.
2930if test "$cross_compiling" != yes; then
2931 if { ac_try='./$ac_file'
2932 { (case "(($ac_try" in
2933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2935esac
2936eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2937 (eval "$ac_try") 2>&5
2938 ac_status=$?
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; }; then
2941 cross_compiling=no
2942 else
2943 if test "$cross_compiling" = maybe; then
2944 cross_compiling=yes
2945 else
2946 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2947If you meant to cross compile, use \`--host'.
2948See \`config.log' for more details." >&5
2949echo "$as_me: error: cannot run C compiled programs.
2950If you meant to cross compile, use \`--host'.
2951See \`config.log' for more details." >&2;}
2952 { (exit 1); exit 1; }; }
2953 fi
2954 fi
2955fi
2956{ echo "$as_me:$LINENO: result: yes" >&5
2957echo "${ECHO_T}yes" >&6; }
2958
2959rm -f a.out a.exe conftest$ac_cv_exeext b.out
2960ac_clean_files=$ac_clean_files_save3378ac_clean_files=$ac_clean_files_save
2961# Check that the compiler produces executables we can run. If not, either3379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2962# the compiler is broken, or we cross compile.3380$as_echo_n "checking for suffix of executables... " >&6; }
2963{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&53381if { { ac_try="$ac_link"
2964echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2965{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2966echo "${ECHO_T}$cross_compiling" >&6; }
2967
2968{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2969echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2970if { (ac_try="$ac_link"
2971case "(($ac_try" in3382case "(($ac_try" in
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;3384 *) ac_try_echo=$ac_try;;
2974esac3385esac
2975eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53386eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3387$as_echo "$ac_try_echo"; } >&5
2976 (eval "$ac_link") 2>&53388 (eval "$ac_link") 2>&5
2977 ac_status=$?3389 ac_status=$?
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&53390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2979 (exit $ac_status); }; then3391 test $ac_status = 0; }; then :
2980 # If both `conftest.exe' and `conftest' are `present' (well, observable)3392 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2981# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will3393# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2982# work properly (i.e., refer to `conftest.exe'), while it won't with3394# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -2984,37 +3396,90 @@
2984for ac_file in conftest.exe conftest conftest.*; do3396for ac_file in conftest.exe conftest conftest.*; do
2985 test -f "$ac_file" || continue3397 test -f "$ac_file" || continue
2986 case $ac_file in3398 case $ac_file in
2987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;3399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2988 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`3400 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2989 break;;3401 break;;
2990 * ) break;;3402 * ) break;;
2991 esac3403 esac
2992done3404done
2993else3405else
2994 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link3406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2995See \`config.log' for more details." >&53407$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2996echo "$as_me: error: cannot compute suffix of executables: cannot compile and link3408as_fn_error "cannot compute suffix of executables: cannot compile and link
2997See \`config.log' for more details." >&2;}3409See \`config.log' for more details." "$LINENO" 5; }
2998 { (exit 1); exit 1; }; }
2999fi3410fi
30003411rm -f conftest conftest$ac_cv_exeext
3001rm -f conftest$ac_cv_exeext3412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3002{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&53413$as_echo "$ac_cv_exeext" >&6; }
3003echo "${ECHO_T}$ac_cv_exeext" >&6; }
30043414
3005rm -f conftest.$ac_ext3415rm -f conftest.$ac_ext
3006EXEEXT=$ac_cv_exeext3416EXEEXT=$ac_cv_exeext
3007ac_exeext=$EXEEXT3417ac_exeext=$EXEEXT
3008{ echo "$as_me:$LINENO: checking for suffix of object files" >&53418cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }3419/* end confdefs.h. */
3010if test "${ac_cv_objext+set}" = set; then3420#include <stdio.h>
3011 echo $ECHO_N "(cached) $ECHO_C" >&63421int
3422main ()
3423{
3424FILE *f = fopen ("conftest.out", "w");
3425 return ferror (f) || fclose (f) != 0;
3426
3427 ;
3428 return 0;
3429}
3430_ACEOF
3431ac_clean_files="$ac_clean_files conftest.out"
3432# Check that the compiler produces executables we can run. If not, either
3433# the compiler is broken, or we cross compile.
3434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3435$as_echo_n "checking whether we are cross compiling... " >&6; }
3436if test "$cross_compiling" != yes; then
3437 { { ac_try="$ac_link"
3438case "(($ac_try" in
3439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3440 *) ac_try_echo=$ac_try;;
3441esac
3442eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3443$as_echo "$ac_try_echo"; } >&5
3444 (eval "$ac_link") 2>&5
3445 ac_status=$?
3446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447 test $ac_status = 0; }
3448 if { ac_try='./conftest$ac_cv_exeext'
3449 { { case "(($ac_try" in
3450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451 *) ac_try_echo=$ac_try;;
3452esac
3453eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3454$as_echo "$ac_try_echo"; } >&5
3455 (eval "$ac_try") 2>&5
3456 ac_status=$?
3457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3458 test $ac_status = 0; }; }; then
3459 cross_compiling=no
3460 else
3461 if test "$cross_compiling" = maybe; then
3462 cross_compiling=yes
3463 else
3464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466as_fn_error "cannot run C compiled programs.
3467If you meant to cross compile, use \`--host'.
3468See \`config.log' for more details." "$LINENO" 5; }
3469 fi
3470 fi
3471fi
3472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3473$as_echo "$cross_compiling" >&6; }
3474
3475rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3476ac_clean_files=$ac_clean_files_save
3477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3478$as_echo_n "checking for suffix of object files... " >&6; }
3479if test "${ac_cv_objext+set}" = set; then :
3480 $as_echo_n "(cached) " >&6
3012else3481else
3013 cat >conftest.$ac_ext <<_ACEOF3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014/* confdefs.h. */
3015_ACEOF
3016cat confdefs.h >>conftest.$ac_ext
3017cat >>conftest.$ac_ext <<_ACEOF
3018/* end confdefs.h. */3483/* end confdefs.h. */
30193484
3020int3485int
@@ -3026,51 +3491,46 @@
3026}3491}
3027_ACEOF3492_ACEOF
3028rm -f conftest.o conftest.obj3493rm -f conftest.o conftest.obj
3029if { (ac_try="$ac_compile"3494if { { ac_try="$ac_compile"
3030case "(($ac_try" in3495case "(($ac_try" in
3031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032 *) ac_try_echo=$ac_try;;3497 *) ac_try_echo=$ac_try;;
3033esac3498esac
3034eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53499eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3500$as_echo "$ac_try_echo"; } >&5
3035 (eval "$ac_compile") 2>&53501 (eval "$ac_compile") 2>&5
3036 ac_status=$?3502 ac_status=$?
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&53503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3038 (exit $ac_status); }; then3504 test $ac_status = 0; }; then :
3039 for ac_file in conftest.o conftest.obj conftest.*; do3505 for ac_file in conftest.o conftest.obj conftest.*; do
3040 test -f "$ac_file" || continue;3506 test -f "$ac_file" || continue;
3041 case $ac_file in3507 case $ac_file in
3042 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;3508 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3043 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`3509 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3044 break;;3510 break;;
3045 esac3511 esac
3046done3512done
3047else3513else
3048 echo "$as_me: failed program was:" >&53514 $as_echo "$as_me: failed program was:" >&5
3049sed 's/^/| /' conftest.$ac_ext >&53515sed 's/^/| /' conftest.$ac_ext >&5
30503516
3051{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile3517{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052See \`config.log' for more details." >&53518$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053echo "$as_me: error: cannot compute suffix of object files: cannot compile3519as_fn_error "cannot compute suffix of object files: cannot compile
3054See \`config.log' for more details." >&2;}3520See \`config.log' for more details." "$LINENO" 5; }
3055 { (exit 1); exit 1; }; }
3056fi3521fi
3057
3058rm -f conftest.$ac_cv_objext conftest.$ac_ext3522rm -f conftest.$ac_cv_objext conftest.$ac_ext
3059fi3523fi
3060{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&53524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3061echo "${ECHO_T}$ac_cv_objext" >&6; }3525$as_echo "$ac_cv_objext" >&6; }
3062OBJEXT=$ac_cv_objext3526OBJEXT=$ac_cv_objext
3063ac_objext=$OBJEXT3527ac_objext=$OBJEXT
3064{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&53528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3065echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }3529$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3066if test "${ac_cv_c_compiler_gnu+set}" = set; then3530if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3067 echo $ECHO_N "(cached) $ECHO_C" >&63531 $as_echo_n "(cached) " >&6
3068else3532else
3069 cat >conftest.$ac_ext <<_ACEOF3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070/* confdefs.h. */
3071_ACEOF
3072cat confdefs.h >>conftest.$ac_ext
3073cat >>conftest.$ac_ext <<_ACEOF
3074/* end confdefs.h. */3534/* end confdefs.h. */
30753535
3076int3536int
@@ -3084,54 +3544,34 @@
3084 return 0;3544 return 0;
3085}3545}
3086_ACEOF3546_ACEOF
3087rm -f conftest.$ac_objext3547if ac_fn_c_try_compile "$LINENO"; then :
3088if { (ac_try="$ac_compile"
3089case "(($ac_try" in
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3092esac
3093eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3095 ac_status=$?
3096 grep -v '^ *+' conftest.er1 >conftest.err
3097 rm -f conftest.er1
3098 cat conftest.err >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then
3104 ac_compiler_gnu=yes3548 ac_compiler_gnu=yes
3105else3549else
3106 echo "$as_me: failed program was:" >&53550 ac_compiler_gnu=no
3107sed 's/^/| /' conftest.$ac_ext >&5
3108
3109 ac_compiler_gnu=no
3110fi3551fi
3111
3112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext3552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113ac_cv_c_compiler_gnu=$ac_compiler_gnu3553ac_cv_c_compiler_gnu=$ac_compiler_gnu
31143554
3115fi3555fi
3116{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&53556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3117echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }3557$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3118GCC=`test $ac_compiler_gnu = yes && echo yes`3558if test $ac_compiler_gnu = yes; then
3559 GCC=yes
3560else
3561 GCC=
3562fi
3119ac_test_CFLAGS=${CFLAGS+set}3563ac_test_CFLAGS=${CFLAGS+set}
3120ac_save_CFLAGS=$CFLAGS3564ac_save_CFLAGS=$CFLAGS
3121{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&53565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3122echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }3566$as_echo_n "checking whether $CC accepts -g... " >&6; }
3123if test "${ac_cv_prog_cc_g+set}" = set; then3567if test "${ac_cv_prog_cc_g+set}" = set; then :
3124 echo $ECHO_N "(cached) $ECHO_C" >&63568 $as_echo_n "(cached) " >&6
3125else3569else
3126 ac_save_c_werror_flag=$ac_c_werror_flag3570 ac_save_c_werror_flag=$ac_c_werror_flag
3127 ac_c_werror_flag=yes3571 ac_c_werror_flag=yes
3128 ac_cv_prog_cc_g=no3572 ac_cv_prog_cc_g=no
3129 CFLAGS="-g"3573 CFLAGS="-g"
3130 cat >conftest.$ac_ext <<_ACEOF3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131/* confdefs.h. */
3132_ACEOF
3133cat confdefs.h >>conftest.$ac_ext
3134cat >>conftest.$ac_ext <<_ACEOF
3135/* end confdefs.h. */3575/* end confdefs.h. */
31363576
3137int3577int
@@ -3142,34 +3582,11 @@
3142 return 0;3582 return 0;
3143}3583}
3144_ACEOF3584_ACEOF
3145rm -f conftest.$ac_objext3585if ac_fn_c_try_compile "$LINENO"; then :
3146if { (ac_try="$ac_compile"
3147case "(($ac_try" in
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3150esac
3151eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3152 (eval "$ac_compile") 2>conftest.er1
3153 ac_status=$?
3154 grep -v '^ *+' conftest.er1 >conftest.err
3155 rm -f conftest.er1
3156 cat conftest.err >&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); } && {
3159 test -z "$ac_c_werror_flag" ||
3160 test ! -s conftest.err
3161 } && test -s conftest.$ac_objext; then
3162 ac_cv_prog_cc_g=yes3586 ac_cv_prog_cc_g=yes
3163else3587else
3164 echo "$as_me: failed program was:" >&53588 CFLAGS=""
3165sed 's/^/| /' conftest.$ac_ext >&53589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166
3167 CFLAGS=""
3168 cat >conftest.$ac_ext <<_ACEOF
3169/* confdefs.h. */
3170_ACEOF
3171cat confdefs.h >>conftest.$ac_ext
3172cat >>conftest.$ac_ext <<_ACEOF
3173/* end confdefs.h. */3590/* end confdefs.h. */
31743591
3175int3592int
@@ -3180,35 +3597,12 @@
3180 return 0;3597 return 0;
3181}3598}
3182_ACEOF3599_ACEOF
3183rm -f conftest.$ac_objext3600if ac_fn_c_try_compile "$LINENO"; then :
3184if { (ac_try="$ac_compile"3601
3185case "(($ac_try" in
3186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3187 *) ac_try_echo=$ac_try;;
3188esac
3189eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3190 (eval "$ac_compile") 2>conftest.er1
3191 ac_status=$?
3192 grep -v '^ *+' conftest.er1 >conftest.err
3193 rm -f conftest.er1
3194 cat conftest.err >&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); } && {
3197 test -z "$ac_c_werror_flag" ||
3198 test ! -s conftest.err
3199 } && test -s conftest.$ac_objext; then
3200 :
3201else3602else
3202 echo "$as_me: failed program was:" >&53603 ac_c_werror_flag=$ac_save_c_werror_flag
3203sed 's/^/| /' conftest.$ac_ext >&5
3204
3205 ac_c_werror_flag=$ac_save_c_werror_flag
3206 CFLAGS="-g"3604 CFLAGS="-g"
3207 cat >conftest.$ac_ext <<_ACEOF3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208/* confdefs.h. */
3209_ACEOF
3210cat confdefs.h >>conftest.$ac_ext
3211cat >>conftest.$ac_ext <<_ACEOF
3212/* end confdefs.h. */3606/* end confdefs.h. */
32133607
3214int3608int
@@ -3219,42 +3613,18 @@
3219 return 0;3613 return 0;
3220}3614}
3221_ACEOF3615_ACEOF
3222rm -f conftest.$ac_objext3616if ac_fn_c_try_compile "$LINENO"; then :
3223if { (ac_try="$ac_compile"
3224case "(($ac_try" in
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3227esac
3228eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3229 (eval "$ac_compile") 2>conftest.er1
3230 ac_status=$?
3231 grep -v '^ *+' conftest.er1 >conftest.err
3232 rm -f conftest.er1
3233 cat conftest.err >&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); } && {
3236 test -z "$ac_c_werror_flag" ||
3237 test ! -s conftest.err
3238 } && test -s conftest.$ac_objext; then
3239 ac_cv_prog_cc_g=yes3617 ac_cv_prog_cc_g=yes
3240else3618fi
3241 echo "$as_me: failed program was:" >&53619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242sed 's/^/| /' conftest.$ac_ext >&53620fi
32433621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32443622fi
3245fi
3246
3247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3248fi
3249
3250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3251fi
3252
3253rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext3623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3254 ac_c_werror_flag=$ac_save_c_werror_flag3624 ac_c_werror_flag=$ac_save_c_werror_flag
3255fi3625fi
3256{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&53626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3257echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3627$as_echo "$ac_cv_prog_cc_g" >&6; }
3258if test "$ac_test_CFLAGS" = set; then3628if test "$ac_test_CFLAGS" = set; then
3259 CFLAGS=$ac_save_CFLAGS3629 CFLAGS=$ac_save_CFLAGS
3260elif test $ac_cv_prog_cc_g = yes; then3630elif test $ac_cv_prog_cc_g = yes; then
@@ -3270,18 +3640,14 @@
3270 CFLAGS=3640 CFLAGS=
3271 fi3641 fi
3272fi3642fi
3273{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&53643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3274echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }3644$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3275if test "${ac_cv_prog_cc_c89+set}" = set; then3645if test "${ac_cv_prog_cc_c89+set}" = set; then :
3276 echo $ECHO_N "(cached) $ECHO_C" >&63646 $as_echo_n "(cached) " >&6
3277else3647else
3278 ac_cv_prog_cc_c89=no3648 ac_cv_prog_cc_c89=no
3279ac_save_CC=$CC3649ac_save_CC=$CC
3280cat >conftest.$ac_ext <<_ACEOF3650cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281/* confdefs.h. */
3282_ACEOF
3283cat confdefs.h >>conftest.$ac_ext
3284cat >>conftest.$ac_ext <<_ACEOF
3285/* end confdefs.h. */3651/* end confdefs.h. */
3286#include <stdarg.h>3652#include <stdarg.h>
3287#include <stdio.h>3653#include <stdio.h>
@@ -3338,31 +3704,9 @@
3338 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"3704 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3339do3705do
3340 CC="$ac_save_CC $ac_arg"3706 CC="$ac_save_CC $ac_arg"
3341 rm -f conftest.$ac_objext3707 if ac_fn_c_try_compile "$LINENO"; then :
3342if { (ac_try="$ac_compile"
3343case "(($ac_try" in
3344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3346esac
3347eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3348 (eval "$ac_compile") 2>conftest.er1
3349 ac_status=$?
3350 grep -v '^ *+' conftest.er1 >conftest.err
3351 rm -f conftest.er1
3352 cat conftest.err >&5
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); } && {
3355 test -z "$ac_c_werror_flag" ||
3356 test ! -s conftest.err
3357 } && test -s conftest.$ac_objext; then
3358 ac_cv_prog_cc_c89=$ac_arg3708 ac_cv_prog_cc_c89=$ac_arg
3359else
3360 echo "$as_me: failed program was:" >&5
3361sed 's/^/| /' conftest.$ac_ext >&5
3362
3363
3364fi3709fi
3365
3366rm -f core conftest.err conftest.$ac_objext3710rm -f core conftest.err conftest.$ac_objext
3367 test "x$ac_cv_prog_cc_c89" != "xno" && break3711 test "x$ac_cv_prog_cc_c89" != "xno" && break
3368done3712done
@@ -3373,17 +3717,19 @@
3373# AC_CACHE_VAL3717# AC_CACHE_VAL
3374case "x$ac_cv_prog_cc_c89" in3718case "x$ac_cv_prog_cc_c89" in
3375 x)3719 x)
3376 { echo "$as_me:$LINENO: result: none needed" >&53720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3377echo "${ECHO_T}none needed" >&6; } ;;3721$as_echo "none needed" >&6; } ;;
3378 xno)3722 xno)
3379 { echo "$as_me:$LINENO: result: unsupported" >&53723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3380echo "${ECHO_T}unsupported" >&6; } ;;3724$as_echo "unsupported" >&6; } ;;
3381 *)3725 *)
3382 CC="$CC $ac_cv_prog_cc_c89"3726 CC="$CC $ac_cv_prog_cc_c89"
3383 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&53727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3384echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3728$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3385esac3729esac
3730if test "x$ac_cv_prog_cc_c89" != xno; then :
33863731
3732fi
33873733
3388ac_ext=c3734ac_ext=c
3389ac_cpp='$CPP $CPPFLAGS'3735ac_cpp='$CPP $CPPFLAGS'
@@ -3398,44 +3744,44 @@
3398am_make=${MAKE-make}3744am_make=${MAKE-make}
3399cat > confinc << 'END'3745cat > confinc << 'END'
3400am__doit:3746am__doit:
3401 @echo done3747 @echo this is the am__doit target
3402.PHONY: am__doit3748.PHONY: am__doit
3403END3749END
3404# If we don't find an include directive, just comment out the code.3750# If we don't find an include directive, just comment out the code.
3405{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&53751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3406echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }3752$as_echo_n "checking for style of include used by $am_make... " >&6; }
3407am__include="#"3753am__include="#"
3408am__quote=3754am__quote=
3409_am_result=none3755_am_result=none
3410# First try GNU make style include.3756# First try GNU make style include.
3411echo "include confinc" > confmf3757echo "include confinc" > confmf
3412# We grep out `Entering directory' and `Leaving directory'3758# Ignore all kinds of additional output from `make'.
3413# messages which can occur if `w' ends up in MAKEFLAGS.3759case `$am_make -s -f confmf 2> /dev/null` in #(
3414# In particular we don't look at `^make:' because GNU make might3760*the\ am__doit\ target*)
3415# be invoked under some other name (usually "gmake"), in which3761 am__include=include
3416# case it prints its new name instead of `make'.3762 am__quote=
3417if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then3763 _am_result=GNU
3418 am__include=include3764 ;;
3419 am__quote=3765esac
3420 _am_result=GNU
3421fi
3422# Now try BSD make style include.3766# Now try BSD make style include.
3423if test "$am__include" = "#"; then3767if test "$am__include" = "#"; then
3424 echo '.include "confinc"' > confmf3768 echo '.include "confinc"' > confmf
3425 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then3769 case `$am_make -s -f confmf 2> /dev/null` in #(
3426 am__include=.include3770 *the\ am__doit\ target*)
3427 am__quote="\""3771 am__include=.include
3428 _am_result=BSD3772 am__quote="\""
3429 fi3773 _am_result=BSD
3774 ;;
3775 esac
3430fi3776fi
34313777
34323778
3433{ echo "$as_me:$LINENO: result: $_am_result" >&53779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3434echo "${ECHO_T}$_am_result" >&6; }3780$as_echo "$_am_result" >&6; }
3435rm -f confinc confmf3781rm -f confinc confmf
34363782
3437# Check whether --enable-dependency-tracking was given.3783# Check whether --enable-dependency-tracking was given.
3438if test "${enable_dependency_tracking+set}" = set; then3784if test "${enable_dependency_tracking+set}" = set; then :
3439 enableval=$enable_dependency_tracking;3785 enableval=$enable_dependency_tracking;
3440fi3786fi
34413787
@@ -3455,10 +3801,10 @@
34553801
3456depcc="$CC" am_compiler_list=3802depcc="$CC" am_compiler_list=
34573803
3458{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&53804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3459echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }3805$as_echo_n "checking dependency style of $depcc... " >&6; }
3460if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then3806if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3461 echo $ECHO_N "(cached) $ECHO_C" >&63807 $as_echo_n "(cached) " >&6
3462else3808else
3463 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then3809 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3464 # We make a subdir and do the tests there. Otherwise we can end up3810 # We make a subdir and do the tests there. Otherwise we can end up
@@ -3483,6 +3829,11 @@
3483 if test "$am_compiler_list" = ""; then3829 if test "$am_compiler_list" = ""; then
3484 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`3830 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3485 fi3831 fi
3832 am__universal=false
3833 case " $depcc " in #(
3834 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3835 esac
3836
3486 for depmode in $am_compiler_list; do3837 for depmode in $am_compiler_list; do
3487 # Setup a source with many dependencies, because some compilers3838 # Setup a source with many dependencies, because some compilers
3488 # like to wrap large dependency lists on column 80 (with \), and3839 # like to wrap large dependency lists on column 80 (with \), and
@@ -3500,7 +3851,17 @@
3500 done3851 done
3501 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf3852 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
35023853
3854 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3855 # mode. It turns out that the SunPro C++ compiler does not properly
3856 # handle `-M -o', and we need to detect this. Also, some Intel
3857 # versions had trouble with output in subdirs
3858 am__obj=sub/conftest.${OBJEXT-o}
3859 am__minus_obj="-o $am__obj"
3503 case $depmode in3860 case $depmode in
3861 gcc)
3862 # This depmode causes a compiler race in universal mode.
3863 test "$am__universal" = false || continue
3864 ;;
3504 nosideeffect)3865 nosideeffect)
3505 # after this tag, mechanisms are not by side-effect, so they'll3866 # after this tag, mechanisms are not by side-effect, so they'll
3506 # only be used when explicitly requested3867 # only be used when explicitly requested
@@ -3510,19 +3871,23 @@
3510 break3871 break
3511 fi3872 fi
3512 ;;3873 ;;
3874 msvisualcpp | msvcmsys)
3875 # This compiler won't grok `-c -o', but also, the minuso test has
3876 # not run yet. These depmodes are late enough in the game, and
3877 # so weak that their functioning should not be impacted.
3878 am__obj=conftest.${OBJEXT-o}
3879 am__minus_obj=
3880 ;;
3513 none) break ;;3881 none) break ;;
3514 esac3882 esac
3515 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3516 # mode. It turns out that the SunPro C++ compiler does not properly
3517 # handle `-M -o', and we need to detect this.
3518 if depmode=$depmode \3883 if depmode=$depmode \
3519 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \3884 source=sub/conftest.c object=$am__obj \
3520 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \3885 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3521 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \3886 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3522 >/dev/null 2>conftest.err &&3887 >/dev/null 2>conftest.err &&
3523 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&3888 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3524 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&3889 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3525 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&3890 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3526 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then3891 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3527 # icc doesn't choke on unknown options, it will just issue warnings3892 # icc doesn't choke on unknown options, it will just issue warnings
3528 # or remarks (even with -Werror). So we grep stderr for any message3893 # or remarks (even with -Werror). So we grep stderr for any message
@@ -3546,8 +3911,8 @@
3546fi3911fi
35473912
3548fi3913fi
3549{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&53914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3550echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }3915$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3551CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type3916CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
35523917
3553 if3918 if
@@ -3562,22 +3927,18 @@
35623927
35633928
3564if test "x$CC" != xcc; then3929if test "x$CC" != xcc; then
3565 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&53930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3566echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }3931$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3567else3932else
3568 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&53933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3569echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }3934$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3570fi3935fi
3571set dummy $CC; ac_cc=`echo $2 |3936set dummy $CC; ac_cc=`$as_echo "$2" |
3572 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`3937 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3573if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then3938if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
3574 echo $ECHO_N "(cached) $ECHO_C" >&63939 $as_echo_n "(cached) " >&6
3575else3940else
3576 cat >conftest.$ac_ext <<_ACEOF3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3577/* confdefs.h. */
3578_ACEOF
3579cat confdefs.h >>conftest.$ac_ext
3580cat >>conftest.$ac_ext <<_ACEOF
3581/* end confdefs.h. */3942/* end confdefs.h. */
35823943
3583int3944int
@@ -3593,58 +3954,63 @@
3593# existing .o file with -o, though they will create one.3954# existing .o file with -o, though they will create one.
3594ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'3955ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3595rm -f conftest2.*3956rm -f conftest2.*
3596if { (case "(($ac_try" in3957if { { case "(($ac_try" in
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;3959 *) ac_try_echo=$ac_try;;
3599esac3960esac
3600eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53961eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601 (eval "$ac_try") 2>&53962$as_echo "$ac_try_echo"; } >&5
3602 ac_status=$?3963 (eval "$ac_try") 2>&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&53964 ac_status=$?
3604 (exit $ac_status); } &&3965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605 test -f conftest2.$ac_objext && { (case "(($ac_try" in3966 test $ac_status = 0; } &&
3606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3967 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3607 *) ac_try_echo=$ac_try;;3968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608esac3969 *) ac_try_echo=$ac_try;;
3609eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53970esac
3610 (eval "$ac_try") 2>&53971eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3611 ac_status=$?3972$as_echo "$ac_try_echo"; } >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&53973 (eval "$ac_try") 2>&5
3613 (exit $ac_status); };3974 ac_status=$?
3975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3976 test $ac_status = 0; };
3614then3977then
3615 eval ac_cv_prog_cc_${ac_cc}_c_o=yes3978 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3616 if test "x$CC" != xcc; then3979 if test "x$CC" != xcc; then
3617 # Test first that cc exists at all.3980 # Test first that cc exists at all.
3618 if { ac_try='cc -c conftest.$ac_ext >&5'3981 if { ac_try='cc -c conftest.$ac_ext >&5'
3619 { (case "(($ac_try" in3982 { { case "(($ac_try" in
3620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621 *) ac_try_echo=$ac_try;;3984 *) ac_try_echo=$ac_try;;
3622esac3985esac
3623eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53986eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3987$as_echo "$ac_try_echo"; } >&5
3624 (eval "$ac_try") 2>&53988 (eval "$ac_try") 2>&5
3625 ac_status=$?3989 ac_status=$?
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&53990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3627 (exit $ac_status); }; }; then3991 test $ac_status = 0; }; }; then
3628 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'3992 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3629 rm -f conftest2.*3993 rm -f conftest2.*
3630 if { (case "(($ac_try" in3994 if { { case "(($ac_try" in
3631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3632 *) ac_try_echo=$ac_try;;3996 *) ac_try_echo=$ac_try;;
3633esac3997esac
3634eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53998eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3635 (eval "$ac_try") 2>&53999$as_echo "$ac_try_echo"; } >&5
3636 ac_status=$?4000 (eval "$ac_try") 2>&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&54001 ac_status=$?
3638 (exit $ac_status); } &&4002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639 test -f conftest2.$ac_objext && { (case "(($ac_try" in4003 test $ac_status = 0; } &&
3640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4004 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3641 *) ac_try_echo=$ac_try;;4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642esac4006 *) ac_try_echo=$ac_try;;
3643eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54007esac
3644 (eval "$ac_try") 2>&54008eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3645 ac_status=$?4009$as_echo "$ac_try_echo"; } >&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&54010 (eval "$ac_try") 2>&5
3647 (exit $ac_status); };4011 ac_status=$?
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; };
3648 then4014 then
3649 # cc works too.4015 # cc works too.
3650 :4016 :
@@ -3661,23 +4027,22 @@
36614027
3662fi4028fi
3663if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then4029if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3664 { echo "$as_me:$LINENO: result: yes" >&54030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3665echo "${ECHO_T}yes" >&6; }4031$as_echo "yes" >&6; }
3666else4032else
3667 { echo "$as_me:$LINENO: result: no" >&54033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668echo "${ECHO_T}no" >&6; }4034$as_echo "no" >&6; }
36694035
3670cat >>confdefs.h <<\_ACEOF4036$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3671#define NO_MINUS_C_MINUS_O 1
3672_ACEOF
36734037
3674fi4038fi
36754039
3676# FIXME: we rely on the cache variable name because4040# FIXME: we rely on the cache variable name because
3677# there is no other way.4041# there is no other way.
3678set dummy $CC4042set dummy $CC
3679ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`4043am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3680if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then4044eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4045if test "$am_t" != yes; then
3681 # Losing compiler, so override with the script.4046 # Losing compiler, so override with the script.
3682 # FIXME: It is wrong to rewrite CC.4047 # FIXME: It is wrong to rewrite CC.
3683 # But if we don't then we get into trouble of one sort or another.4048 # But if we don't then we get into trouble of one sort or another.
@@ -3689,20 +4054,21 @@
36894054
36904055
36914056
4057
3692ac_ext=c4058ac_ext=c
3693ac_cpp='$CPP $CPPFLAGS'4059ac_cpp='$CPP $CPPFLAGS'
3694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'4060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'4061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696ac_compiler_gnu=$ac_cv_c_compiler_gnu4062ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3698echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4064$as_echo_n "checking how to run the C preprocessor... " >&6; }
3699# On Suns, sometimes $CPP names a directory.4065# On Suns, sometimes $CPP names a directory.
3700if test -n "$CPP" && test -d "$CPP"; then4066if test -n "$CPP" && test -d "$CPP"; then
3701 CPP=4067 CPP=
3702fi4068fi
3703if test -z "$CPP"; then4069if test -z "$CPP"; then
3704 if test "${ac_cv_prog_CPP+set}" = set; then4070 if test "${ac_cv_prog_CPP+set}" = set; then :
3705 echo $ECHO_N "(cached) $ECHO_C" >&64071 $as_echo_n "(cached) " >&6
3706else4072else
3707 # Double quotes because CPP needs to be expanded4073 # Double quotes because CPP needs to be expanded
3708 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"4074 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
@@ -3716,11 +4082,7 @@
3716 # <limits.h> exists even on freestanding compilers.4082 # <limits.h> exists even on freestanding compilers.
3717 # On the NeXT, cc -E runs the code through the compiler's parser,4083 # On the NeXT, cc -E runs the code through the compiler's parser,
3718 # not just through cpp. "Syntax error" is here to catch this case.4084 # not just through cpp. "Syntax error" is here to catch this case.
3719 cat >conftest.$ac_ext <<_ACEOF4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720/* confdefs.h. */
3721_ACEOF
3722cat confdefs.h >>conftest.$ac_ext
3723cat >>conftest.$ac_ext <<_ACEOF
3724/* end confdefs.h. */4086/* end confdefs.h. */
3725#ifdef __STDC__4087#ifdef __STDC__
3726# include <limits.h>4088# include <limits.h>
@@ -3729,76 +4091,34 @@
3729#endif4091#endif
3730 Syntax error4092 Syntax error
3731_ACEOF4093_ACEOF
3732if { (ac_try="$ac_cpp conftest.$ac_ext"4094if ac_fn_c_try_cpp "$LINENO"; then :
3733case "(($ac_try" in4095
3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735 *) ac_try_echo=$ac_try;;
3736esac
3737eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3739 ac_status=$?
3740 grep -v '^ *+' conftest.er1 >conftest.err
3741 rm -f conftest.er1
3742 cat conftest.err >&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); } >/dev/null && {
3745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3746 test ! -s conftest.err
3747 }; then
3748 :
3749else4096else
3750 echo "$as_me: failed program was:" >&5
3751sed 's/^/| /' conftest.$ac_ext >&5
3752
3753 # Broken: fails on valid input.4097 # Broken: fails on valid input.
3754continue4098continue
3755fi4099fi
3756
3757rm -f conftest.err conftest.$ac_ext4100rm -f conftest.err conftest.$ac_ext
37584101
3759 # OK, works on sane cases. Now check whether nonexistent headers4102 # OK, works on sane cases. Now check whether nonexistent headers
3760 # can be detected and how.4103 # can be detected and how.
3761 cat >conftest.$ac_ext <<_ACEOF4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762/* confdefs.h. */
3763_ACEOF
3764cat confdefs.h >>conftest.$ac_ext
3765cat >>conftest.$ac_ext <<_ACEOF
3766/* end confdefs.h. */4105/* end confdefs.h. */
3767#include <ac_nonexistent.h>4106#include <ac_nonexistent.h>
3768_ACEOF4107_ACEOF
3769if { (ac_try="$ac_cpp conftest.$ac_ext"4108if ac_fn_c_try_cpp "$LINENO"; then :
3770case "(($ac_try" in
3771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3772 *) ac_try_echo=$ac_try;;
3773esac
3774eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3776 ac_status=$?
3777 grep -v '^ *+' conftest.er1 >conftest.err
3778 rm -f conftest.er1
3779 cat conftest.err >&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); } >/dev/null && {
3782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3783 test ! -s conftest.err
3784 }; then
3785 # Broken: success on invalid input.4109 # Broken: success on invalid input.
3786continue4110continue
3787else4111else
3788 echo "$as_me: failed program was:" >&5
3789sed 's/^/| /' conftest.$ac_ext >&5
3790
3791 # Passes both tests.4112 # Passes both tests.
3792ac_preproc_ok=:4113ac_preproc_ok=:
3793break4114break
3794fi4115fi
3795
3796rm -f conftest.err conftest.$ac_ext4116rm -f conftest.err conftest.$ac_ext
37974117
3798done4118done
3799# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.4119# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3800rm -f conftest.err conftest.$ac_ext4120rm -f conftest.err conftest.$ac_ext
3801if $ac_preproc_ok; then4121if $ac_preproc_ok; then :
3802 break4122 break
3803fi4123fi
38044124
@@ -3810,8 +4130,8 @@
3810else4130else
3811 ac_cv_prog_CPP=$CPP4131 ac_cv_prog_CPP=$CPP
3812fi4132fi
3813{ echo "$as_me:$LINENO: result: $CPP" >&54133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3814echo "${ECHO_T}$CPP" >&6; }4134$as_echo "$CPP" >&6; }
3815ac_preproc_ok=false4135ac_preproc_ok=false
3816for ac_c_preproc_warn_flag in '' yes4136for ac_c_preproc_warn_flag in '' yes
3817do4137do
@@ -3821,11 +4141,7 @@
3821 # <limits.h> exists even on freestanding compilers.4141 # <limits.h> exists even on freestanding compilers.
3822 # On the NeXT, cc -E runs the code through the compiler's parser,4142 # On the NeXT, cc -E runs the code through the compiler's parser,
3823 # not just through cpp. "Syntax error" is here to catch this case.4143 # not just through cpp. "Syntax error" is here to catch this case.
3824 cat >conftest.$ac_ext <<_ACEOF4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825/* confdefs.h. */
3826_ACEOF
3827cat confdefs.h >>conftest.$ac_ext
3828cat >>conftest.$ac_ext <<_ACEOF
3829/* end confdefs.h. */4145/* end confdefs.h. */
3830#ifdef __STDC__4146#ifdef __STDC__
3831# include <limits.h>4147# include <limits.h>
@@ -3834,83 +4150,40 @@
3834#endif4150#endif
3835 Syntax error4151 Syntax error
3836_ACEOF4152_ACEOF
3837if { (ac_try="$ac_cpp conftest.$ac_ext"4153if ac_fn_c_try_cpp "$LINENO"; then :
3838case "(($ac_try" in4154
3839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3840 *) ac_try_echo=$ac_try;;
3841esac
3842eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3844 ac_status=$?
3845 grep -v '^ *+' conftest.er1 >conftest.err
3846 rm -f conftest.er1
3847 cat conftest.err >&5
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); } >/dev/null && {
3850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3851 test ! -s conftest.err
3852 }; then
3853 :
3854else4155else
3855 echo "$as_me: failed program was:" >&5
3856sed 's/^/| /' conftest.$ac_ext >&5
3857
3858 # Broken: fails on valid input.4156 # Broken: fails on valid input.
3859continue4157continue
3860fi4158fi
3861
3862rm -f conftest.err conftest.$ac_ext4159rm -f conftest.err conftest.$ac_ext
38634160
3864 # OK, works on sane cases. Now check whether nonexistent headers4161 # OK, works on sane cases. Now check whether nonexistent headers
3865 # can be detected and how.4162 # can be detected and how.
3866 cat >conftest.$ac_ext <<_ACEOF4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867/* confdefs.h. */
3868_ACEOF
3869cat confdefs.h >>conftest.$ac_ext
3870cat >>conftest.$ac_ext <<_ACEOF
3871/* end confdefs.h. */4164/* end confdefs.h. */
3872#include <ac_nonexistent.h>4165#include <ac_nonexistent.h>
3873_ACEOF4166_ACEOF
3874if { (ac_try="$ac_cpp conftest.$ac_ext"4167if ac_fn_c_try_cpp "$LINENO"; then :
3875case "(($ac_try" in
3876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877 *) ac_try_echo=$ac_try;;
3878esac
3879eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3881 ac_status=$?
3882 grep -v '^ *+' conftest.er1 >conftest.err
3883 rm -f conftest.er1
3884 cat conftest.err >&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); } >/dev/null && {
3887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3888 test ! -s conftest.err
3889 }; then
3890 # Broken: success on invalid input.4168 # Broken: success on invalid input.
3891continue4169continue
3892else4170else
3893 echo "$as_me: failed program was:" >&5
3894sed 's/^/| /' conftest.$ac_ext >&5
3895
3896 # Passes both tests.4171 # Passes both tests.
3897ac_preproc_ok=:4172ac_preproc_ok=:
3898break4173break
3899fi4174fi
3900
3901rm -f conftest.err conftest.$ac_ext4175rm -f conftest.err conftest.$ac_ext
39024176
3903done4177done
3904# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.4178# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3905rm -f conftest.err conftest.$ac_ext4179rm -f conftest.err conftest.$ac_ext
3906if $ac_preproc_ok; then4180if $ac_preproc_ok; then :
3907 :4181
3908else4182else
3909 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check4183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3910See \`config.log' for more details." >&54184$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3911echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4185as_fn_error "C preprocessor \"$CPP\" fails sanity check
3912See \`config.log' for more details." >&2;}4186See \`config.log' for more details." "$LINENO" 5; }
3913 { (exit 1); exit 1; }; }
3914fi4187fi
39154188
3916ac_ext=c4189ac_ext=c
@@ -3920,45 +4193,40 @@
3920ac_compiler_gnu=$ac_cv_c_compiler_gnu4193ac_compiler_gnu=$ac_cv_c_compiler_gnu
39214194
39224195
3923{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&54196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3924echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }4197$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3925if test "${ac_cv_path_GREP+set}" = set; then4198if test "${ac_cv_path_GREP+set}" = set; then :
3926 echo $ECHO_N "(cached) $ECHO_C" >&64199 $as_echo_n "(cached) " >&6
3927else4200else
3928 # Extract the first word of "grep ggrep" to use in msg output4201 if test -z "$GREP"; then
3929if test -z "$GREP"; then
3930set dummy grep ggrep; ac_prog_name=$2
3931if test "${ac_cv_path_GREP+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3933else
3934 ac_path_GREP_found=false4202 ac_path_GREP_found=false
3935# Loop through the user's path and test for each of PROGNAME-LIST4203 # Loop through the user's path and test for each of PROGNAME-LIST
3936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin4205for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3938do4206do
3939 IFS=$as_save_IFS4207 IFS=$as_save_IFS
3940 test -z "$as_dir" && as_dir=.4208 test -z "$as_dir" && as_dir=.
3941 for ac_prog in grep ggrep; do4209 for ac_prog in grep ggrep; do
3942 for ac_exec_ext in '' $ac_executable_extensions; do4210 for ac_exec_ext in '' $ac_executable_extensions; do
3943 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4211 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3944 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4212 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3945 # Check for GNU ac_path_GREP and select it if it is found.4213# Check for GNU ac_path_GREP and select it if it is found.
3946 # Check for GNU $ac_path_GREP4214 # Check for GNU $ac_path_GREP
3947case `"$ac_path_GREP" --version 2>&1` in4215case `"$ac_path_GREP" --version 2>&1` in
3948*GNU*)4216*GNU*)
3949 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;4217 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3950*)4218*)
3951 ac_count=04219 ac_count=0
3952 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"4220 $as_echo_n 0123456789 >"conftest.in"
3953 while :4221 while :
3954 do4222 do
3955 cat "conftest.in" "conftest.in" >"conftest.tmp"4223 cat "conftest.in" "conftest.in" >"conftest.tmp"
3956 mv "conftest.tmp" "conftest.in"4224 mv "conftest.tmp" "conftest.in"
3957 cp "conftest.in" "conftest.nl"4225 cp "conftest.in" "conftest.nl"
3958 echo 'GREP' >> "conftest.nl"4226 $as_echo 'GREP' >> "conftest.nl"
3959 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break4227 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3960 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4228 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3961 ac_count=`expr $ac_count + 1`4229 as_fn_arith $ac_count + 1 && ac_count=$as_val
3962 if test $ac_count -gt ${ac_path_GREP_max-0}; then4230 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3963 # Best one so far, save it but keep looking for a better one4231 # Best one so far, save it but keep looking for a better one
3964 ac_cv_path_GREP="$ac_path_GREP"4232 ac_cv_path_GREP="$ac_path_GREP"
@@ -3970,77 +4238,61 @@
3970 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4238 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3971esac4239esac
39724240
39734241 $ac_path_GREP_found && break 3
3974 $ac_path_GREP_found && break 34242 done
3975 done4243 done
3976done4244 done
3977
3978done
3979IFS=$as_save_IFS4245IFS=$as_save_IFS
39804246 if test -z "$ac_cv_path_GREP"; then
39814247 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3982fi4248 fi
3983
3984GREP="$ac_cv_path_GREP"
3985if test -z "$GREP"; then
3986 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3987echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3988 { (exit 1); exit 1; }; }
3989fi
3990
3991else4249else
3992 ac_cv_path_GREP=$GREP4250 ac_cv_path_GREP=$GREP
3993fi4251fi
39944252
3995
3996fi4253fi
3997{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&54254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3998echo "${ECHO_T}$ac_cv_path_GREP" >&6; }4255$as_echo "$ac_cv_path_GREP" >&6; }
3999 GREP="$ac_cv_path_GREP"4256 GREP="$ac_cv_path_GREP"
40004257
40014258
4002{ echo "$as_me:$LINENO: checking for egrep" >&54259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4003echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4260$as_echo_n "checking for egrep... " >&6; }
4004if test "${ac_cv_path_EGREP+set}" = set; then4261if test "${ac_cv_path_EGREP+set}" = set; then :
4005 echo $ECHO_N "(cached) $ECHO_C" >&64262 $as_echo_n "(cached) " >&6
4006else4263else
4007 if echo a | $GREP -E '(a|b)' >/dev/null 2>&14264 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4008 then ac_cv_path_EGREP="$GREP -E"4265 then ac_cv_path_EGREP="$GREP -E"
4009 else4266 else
4010 # Extract the first word of "egrep" to use in msg output4267 if test -z "$EGREP"; then
4011if test -z "$EGREP"; then
4012set dummy egrep; ac_prog_name=$2
4013if test "${ac_cv_path_EGREP+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4015else
4016 ac_path_EGREP_found=false4268 ac_path_EGREP_found=false
4017# Loop through the user's path and test for each of PROGNAME-LIST4269 # Loop through the user's path and test for each of PROGNAME-LIST
4018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4019for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin4271for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4020do4272do
4021 IFS=$as_save_IFS4273 IFS=$as_save_IFS
4022 test -z "$as_dir" && as_dir=.4274 test -z "$as_dir" && as_dir=.
4023 for ac_prog in egrep; do4275 for ac_prog in egrep; do
4024 for ac_exec_ext in '' $ac_executable_extensions; do4276 for ac_exec_ext in '' $ac_executable_extensions; do
4025 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4277 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4026 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4278 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4027 # Check for GNU ac_path_EGREP and select it if it is found.4279# Check for GNU ac_path_EGREP and select it if it is found.
4028 # Check for GNU $ac_path_EGREP4280 # Check for GNU $ac_path_EGREP
4029case `"$ac_path_EGREP" --version 2>&1` in4281case `"$ac_path_EGREP" --version 2>&1` in
4030*GNU*)4282*GNU*)
4031 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;4283 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4032*)4284*)
4033 ac_count=04285 ac_count=0
4034 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"4286 $as_echo_n 0123456789 >"conftest.in"
4035 while :4287 while :
4036 do4288 do
4037 cat "conftest.in" "conftest.in" >"conftest.tmp"4289 cat "conftest.in" "conftest.in" >"conftest.tmp"
4038 mv "conftest.tmp" "conftest.in"4290 mv "conftest.tmp" "conftest.in"
4039 cp "conftest.in" "conftest.nl"4291 cp "conftest.in" "conftest.nl"
4040 echo 'EGREP' >> "conftest.nl"4292 $as_echo 'EGREP' >> "conftest.nl"
4041 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break4293 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4042 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4294 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4043 ac_count=`expr $ac_count + 1`4295 as_fn_arith $ac_count + 1 && ac_count=$as_val
4044 if test $ac_count -gt ${ac_path_EGREP_max-0}; then4296 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4045 # Best one so far, save it but keep looking for a better one4297 # Best one so far, save it but keep looking for a better one
4046 ac_cv_path_EGREP="$ac_path_EGREP"4298 ac_cv_path_EGREP="$ac_path_EGREP"
@@ -4052,46 +4304,31 @@
4052 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4304 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4053esac4305esac
40544306
40554307 $ac_path_EGREP_found && break 3
4056 $ac_path_EGREP_found && break 34308 done
4057 done4309 done
4058done4310 done
4059
4060done
4061IFS=$as_save_IFS4311IFS=$as_save_IFS
40624312 if test -z "$ac_cv_path_EGREP"; then
40634313 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4064fi4314 fi
4065
4066EGREP="$ac_cv_path_EGREP"
4067if test -z "$EGREP"; then
4068 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4069echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4070 { (exit 1); exit 1; }; }
4071fi
4072
4073else4315else
4074 ac_cv_path_EGREP=$EGREP4316 ac_cv_path_EGREP=$EGREP
4075fi4317fi
40764318
4077
4078 fi4319 fi
4079fi4320fi
4080{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4081echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4322$as_echo "$ac_cv_path_EGREP" >&6; }
4082 EGREP="$ac_cv_path_EGREP"4323 EGREP="$ac_cv_path_EGREP"
40834324
40844325
4085{ echo "$as_me:$LINENO: checking for ANSI C header files" >&54326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4086echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }4327$as_echo_n "checking for ANSI C header files... " >&6; }
4087if test "${ac_cv_header_stdc+set}" = set; then4328if test "${ac_cv_header_stdc+set}" = set; then :
4088 echo $ECHO_N "(cached) $ECHO_C" >&64329 $as_echo_n "(cached) " >&6
4089else4330else
4090 cat >conftest.$ac_ext <<_ACEOF4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091/* confdefs.h. */
4092_ACEOF
4093cat confdefs.h >>conftest.$ac_ext
4094cat >>conftest.$ac_ext <<_ACEOF
4095/* end confdefs.h. */4332/* end confdefs.h. */
4096#include <stdlib.h>4333#include <stdlib.h>
4097#include <stdarg.h>4334#include <stdarg.h>
@@ -4106,47 +4343,23 @@
4106 return 0;4343 return 0;
4107}4344}
4108_ACEOF4345_ACEOF
4109rm -f conftest.$ac_objext4346if ac_fn_c_try_compile "$LINENO"; then :
4110if { (ac_try="$ac_compile"
4111case "(($ac_try" in
4112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4113 *) ac_try_echo=$ac_try;;
4114esac
4115eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4116 (eval "$ac_compile") 2>conftest.er1
4117 ac_status=$?
4118 grep -v '^ *+' conftest.er1 >conftest.err
4119 rm -f conftest.er1
4120 cat conftest.err >&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); } && {
4123 test -z "$ac_c_werror_flag" ||
4124 test ! -s conftest.err
4125 } && test -s conftest.$ac_objext; then
4126 ac_cv_header_stdc=yes4347 ac_cv_header_stdc=yes
4127else4348else
4128 echo "$as_me: failed program was:" >&54349 ac_cv_header_stdc=no
4129sed 's/^/| /' conftest.$ac_ext >&5
4130
4131 ac_cv_header_stdc=no
4132fi4350fi
4133
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: