summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/aiccu/Makefile12
-rw-r--r--package/alix-switch/Makefile6
-rw-r--r--package/arpd/Makefile8
-rw-r--r--package/asterisk/Makefile9
-rw-r--r--package/atftp/Makefile9
-rw-r--r--package/aufs2-util/Makefile2
-rw-r--r--package/aufs2-util/patches/patch-Makefile8
-rw-r--r--package/avahi/Makefile2
-rw-r--r--package/axtls/Makefile4
-rw-r--r--package/bind/Makefile33
-rw-r--r--package/binutils/Makefile2
-rw-r--r--package/bitlbee/Makefile2
-rw-r--r--package/bzip2/Makefile3
-rw-r--r--package/cryptinit/Makefile4
-rw-r--r--package/cups/Makefile4
-rwxr-xr-xpackage/cutter/Makefile6
-rw-r--r--package/cxxtools/Makefile10
-rw-r--r--package/digitemp/Makefile2
-rw-r--r--package/dillo/Makefile5
-rw-r--r--package/e2fsprogs/Makefile10
-rw-r--r--package/eglibc/Makefile6
-rw-r--r--package/elinks/Makefile2
-rw-r--r--package/ether-wake/Makefile6
-rw-r--r--package/exmap/Makefile7
-rw-r--r--package/faad2/Makefile2
-rw-r--r--package/fakeidentd/Makefile6
-rw-r--r--package/ffmpeg/Makefile6
-rw-r--r--package/firefox/Makefile10
-rw-r--r--package/firefox/patches/patch-configure4
-rw-r--r--package/firefox/patches/patch-security_coreconf_Linux_mk15
-rw-r--r--package/firefox/patches/patch-security_coreconf_command_mk11
-rw-r--r--package/gatling/Makefile4
-rw-r--r--package/gcc/Makefile7
-rw-r--r--package/gdb/Makefile6
-rw-r--r--package/gpm/Makefile2
-rw-r--r--package/gpsd/Makefile8
-rw-r--r--package/haserl/Makefile2
-rw-r--r--package/heimdal/Makefile14
-rw-r--r--package/heimdal/patches/patch-lib_roken_Makefile_in2
-rw-r--r--package/httping/Makefile3
-rw-r--r--package/huawei/Makefile4
-rw-r--r--package/icecast/Makefile2
-rw-r--r--package/id3lib/Makefile6
-rw-r--r--package/igmpproxy/Makefile5
-rw-r--r--package/iperf/Makefile6
-rw-r--r--package/iproute2/Makefile4
-rw-r--r--package/ipset/Makefile5
-rw-r--r--package/ipset/patches/patch-Makefile36
-rw-r--r--package/iptraf/patches/patch-src_Makefile70
-rw-r--r--package/iptraf/patches/patch-support_Makefile9
-rw-r--r--package/iw/Makefile2
-rw-r--r--package/knock/Makefile1
-rw-r--r--package/krb5/Makefile2
-rw-r--r--package/libart/Makefile2
-rw-r--r--package/libevent/Makefile3
-rw-r--r--package/libhugetlbfs/Makefile6
-rw-r--r--package/libhugetlbfs/patches/patch-Makefile6
-rw-r--r--package/libhugetlbfs/patches/patch-morecore_c11
-rw-r--r--package/libhugetlbfs/patches/patch-version5
-rw-r--r--package/libiconv/Makefile2
-rw-r--r--package/libid3tag/Makefile2
-rw-r--r--package/libid3tag/patches/patch-configure14
-rw-r--r--package/libnet/Makefile1
-rw-r--r--package/libosip2/patches/patch-configure11
-rw-r--r--package/libowfat/Makefile2
-rw-r--r--package/libpcap/Makefile4
-rw-r--r--package/libpri/Makefile2
-rw-r--r--package/libpri/patches/patch-Makefile34
-rw-r--r--package/libupnp/Makefile2
-rw-r--r--package/libvirt/Makefile2
-rw-r--r--package/lighttpd/Makefile2
-rw-r--r--package/logrotate/Makefile2
-rw-r--r--package/lua/Makefile4
-rw-r--r--package/lynx/Makefile7
-rw-r--r--package/madplay/Makefile2
-rw-r--r--package/madplay/patches/patch-configure14
-rw-r--r--package/maradns/Makefile7
-rw-r--r--package/maradns/patches/cross-compile-fix.patch18
-rw-r--r--package/maradns/patches/patch-Makefile22
-rw-r--r--package/maradns/patches/patch-build_Makefile_linux8
-rw-r--r--package/maradns/patches/patch-dns_Makefile23
-rw-r--r--package/maradns/patches/patch-dns_Makefile_recursive21
-rw-r--r--package/maradns/patches/patch-libs_Makefile31
-rw-r--r--package/maradns/patches/patch-parse_Makefile80
-rw-r--r--package/maradns/patches/patch-qual_Makefile_threadsafe9
-rw-r--r--package/maradns/patches/patch-rng_rng-32bit-tables_h4
-rw-r--r--package/maradns/patches/patch-server_Makefile40
-rw-r--r--package/maradns/patches/patch-server_Makefile_recursive37
-rw-r--r--package/maradns/patches/patch-tcp_Makefile19
-rw-r--r--package/maradns/patches/patch-tcp_Makefile_recursive17
-rw-r--r--package/maradns/patches/patch-tools_Makefile_recursive25
-rw-r--r--package/mgetty/patches/patch-Makefile22
-rw-r--r--package/miax/Makefile6
-rw-r--r--package/microperl/Makefile2
-rw-r--r--package/microperl/patches/patch-Makefile_micro4
-rw-r--r--package/miredo/Makefile2
-rw-r--r--package/mksh/Makefile6
-rw-r--r--package/mpd/Makefile2
-rw-r--r--package/mplayer/Makefile4
-rw-r--r--package/mrd6/Makefile6
-rw-r--r--package/mt-daapd/Makefile2
-rw-r--r--package/mtd/Makefile4
-rw-r--r--package/mysql/Makefile26
-rw-r--r--package/mysql/patches/patch-include_config_h_in4
-rw-r--r--package/mysql/patches/patch-scripts_mysql_config_sh11
-rw-r--r--package/nand/Makefile6
-rw-r--r--package/ncurses/Makefile2
-rw-r--r--package/net-snmp/Makefile2
-rw-r--r--package/net-snmp/patches/patch-net-snmp-config_in15
-rw-r--r--package/nfs-utils/patches/patch-config_log5831
-rw-r--r--package/nfs-utils/patches/patch-utils_gssd_Makefile_in25
-rw-r--r--package/nmap/Makefile2
-rw-r--r--package/nspr/Makefile2
-rw-r--r--package/nss/Makefile12
-rw-r--r--package/ntpclient/Makefile2
-rw-r--r--package/nut/Makefile14
-rw-r--r--package/olsrd/Makefile2
-rw-r--r--package/openswan/patches/patch-Makefile_top11
-rw-r--r--package/openswan/patches/patch-lib_libdns_Makefile22
-rw-r--r--package/openswan/patches/patch-lib_libdns_Makefile_in20
-rw-r--r--package/openswan/patches/patch-lib_libisc_Makefile11
-rw-r--r--package/openswan/patches/patch-lib_libisc_Makefile_in23
-rw-r--r--package/osiris/Makefile2
-rw-r--r--package/osiris/patches/patch-configure23
-rw-r--r--package/osiris/patches/patch-src_osirisd_modules_Makefile_am11
-rw-r--r--package/osiris/patches/patch-src_osirisd_modules_Makefile_in11
-rw-r--r--package/owfs/Makefile2
-rw-r--r--package/palantir/Makefile6
-rw-r--r--package/palantir/patches/patch-server_Makefile26
-rw-r--r--package/palantir/patches/patch-server_libgsm_Makefile53
-rw-r--r--package/parprouted/Makefile4
-rw-r--r--package/pcre/Makefile2
-rw-r--r--package/php/Makefile2
-rw-r--r--package/picocom/Makefile1
-rw-r--r--package/picocom/patches/patch-Makefile18
-rw-r--r--package/pmacct/Makefile4
-rw-r--r--package/pmacct/patches/patch-configure41
-rw-r--r--package/pmacct/patches/patch-src_nfprobe_plugin_netflow9_c64
-rw-r--r--package/portmap/Makefile6
-rw-r--r--package/portsentry/Makefile2
-rw-r--r--package/ppp/Makefile4
-rw-r--r--package/ppp/patches/patch-chat_Makefile_linux52
-rw-r--r--package/ppp/patches/patch-configure84
-rw-r--r--package/ppp/patches/patch-linux_Makefile_top17
-rw-r--r--package/ppp/patches/patch-pppd_Makefile_linux224
-rw-r--r--package/ppp/patches/patch-pppd_ccp_c1362
-rw-r--r--package/ppp/patches/patch-pppd_ccp_h20
-rw-r--r--package/ppp/patches/patch-pppd_chap_ms_c22
-rw-r--r--package/ppp/patches/patch-pppd_plugins_Makefile_linux32
-rw-r--r--package/ppp/patches/patch-pppd_plugins_pppoatm_Makefile_linux50
-rw-r--r--package/ppp/patches/patch-pppd_plugins_pppol2tp_Makefile_linux36
-rw-r--r--package/ppp/patches/patch-pppd_plugins_radius_Makefile_linux88
-rw-r--r--package/ppp/patches/patch-pppd_plugins_rp-pppoe_Makefile_linux64
-rw-r--r--package/ppp/patches/patch-pppd_sys-linux_c16
-rw-r--r--package/ppp/patches/patch-pppdump_Makefile_linux37
-rw-r--r--package/ppp/patches/patch-pppstats_Makefile_linux48
-rw-r--r--package/ppp/src/linux/Makedefs.gcc21
-rw-r--r--package/ppp/src/makedefs.linux14
-rw-r--r--package/pptpd/Makefile2
-rw-r--r--package/privoxy/Makefile4
-rw-r--r--package/procmail/Makefile2
-rw-r--r--package/python/Makefile2
-rw-r--r--package/python2/Makefile2
-rw-r--r--package/python2/patches/patch-Makefile_pre267
-rw-r--r--package/python2/patches/patch-Makefile_pre_in11
-rw-r--r--package/qemu/Makefile4
-rw-r--r--package/rarpd/Makefile2
-rw-r--r--package/rarpd/patches/patch-Makefile_in18
-rw-r--r--package/rpcbind/Makefile2
-rw-r--r--package/rpm/Makefile7
-rw-r--r--package/rpm/patches/patch-configure11
-rw-r--r--package/rrdcollect/Makefile5
-rw-r--r--package/rrdtool/Makefile2
-rw-r--r--package/rtsp/Makefile5
-rw-r--r--package/samba/Makefile2
-rw-r--r--package/scsi-spin/Makefile6
-rw-r--r--package/serdisplib/Makefile7
-rw-r--r--package/setpwc/Makefile5
-rw-r--r--package/setserial/Makefile3
-rw-r--r--package/setserial/patches/patch-Makefile_in20
-rw-r--r--package/sqlite/Makefile6
-rw-r--r--package/stress/patches/patch-src_Makefile_in11
-rw-r--r--package/strongswan/patches/patch-configure19
-rw-r--r--package/syslinux/Makefile2
-rw-r--r--package/syslinux/patches/patch-MCONFIG19
-rw-r--r--package/syslinux/patches/patch-MCONFIG_build12
-rw-r--r--package/syslinux/patches/patch-com32_cmenu_complex_c32bin0 -> 74113 bytes
-rw-r--r--package/syslinux/patches/patch-com32_cmenu_display_c32bin0 -> 28995 bytes
-rw-r--r--package/syslinux/patches/patch-com32_cmenu_simple_c32bin0 -> 49545 bytes
-rw-r--r--package/syslinux/patches/patch-com32_cmenu_test2_c32bin0 -> 73558 bytes
-rw-r--r--package/syslinux/patches/patch-com32_cmenu_test_c32bin0 -> 71651 bytes
-rw-r--r--package/syslinux/patches/patch-com32_gfxboot_gfxboot_c32bin0 -> 44803 bytes
-rw-r--r--package/syslinux/patches/patch-com32_hdt_hdt_c32bin0 -> 474295 bytes
-rw-r--r--package/syslinux/patches/patch-com32_lib_MCONFIG27
-rw-r--r--package/syslinux/patches/patch-com32_libutil_libutil_com_abin0 -> 63705 bytes
-rw-r--r--package/syslinux/patches/patch-com32_libutil_libutil_lnx_abin0 -> 269249 bytes
-rw-r--r--package/syslinux/patches/patch-com32_lua_src_lua_c32bin0 -> 415545 bytes
-rw-r--r--package/syslinux/patches/patch-com32_mboot_mboot_c32bin0 -> 63379 bytes
-rw-r--r--package/syslinux/patches/patch-com32_menu_menu_c32bin0 -> 115544 bytes
-rw-r--r--package/syslinux/patches/patch-com32_menu_vesamenu_c32bin0 -> 269531 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_cat_c32bin0 -> 12237 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_chain_c32bin0 -> 36049 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_cmd_c32bin0 -> 1683 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_config_c32bin0 -> 10319 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_cpuid_c32bin0 -> 11473 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_cpuidtest_c32bin0 -> 22736 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_disk_c32bin0 -> 11360 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_dmitest_c32bin0 -> 69719 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_elf_c32bin0 -> 53553 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_ethersel_c32bin0 -> 54754 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_gpxecmd_c32bin0 -> 5022 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_host_c32bin0 -> 9590 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_ifcpu64_c32bin0 -> 2627 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_ifcpu_c32bin0 -> 28662 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_ifplop_c32bin0 -> 4982 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_kbdmap_c32bin0 -> 10637 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_linux_c32bin0 -> 34675 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_ls_c32bin0 -> 20023 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_meminfo_c32bin0 -> 11147 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_pcitest_c32bin0 -> 60465 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_pmload_c32bin0 -> 27073 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_pwd_c32bin0 -> 4106 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_sanboot_c32bin0 -> 5150 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_sdi_c32bin0 -> 47885 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_vesainfo_c32bin0 -> 11300 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_vpdtest_c32bin0 -> 12100 bytes
-rw-r--r--package/syslinux/patches/patch-com32_modules_whichsys_c32bin0 -> 5807 bytes
-rw-r--r--package/syslinux/patches/patch-com32_rosh_rosh_c32bin0 -> 39736 bytes
-rw-r--r--package/syslinux/patches/patch-com32_samples_advdump_c32bin0 -> 10637 bytes
-rw-r--r--package/syslinux/patches/patch-com32_samples_entrydump_c32bin0 -> 9941 bytes
-rw-r--r--package/syslinux/patches/patch-com32_samples_fancyhello_c32bin0 -> 17857 bytes
-rw-r--r--package/syslinux/patches/patch-com32_samples_fancyhello_lnxbin0 -> 25415 bytes
-rw-r--r--package/syslinux/patches/patch-com32_samples_hello_c32bin0 -> 10645 bytes
-rw-r--r--package/syslinux/patches/patch-com32_samples_keytest_c32bin0 -> 19824 bytes
-rw-r--r--package/syslinux/patches/patch-com32_samples_keytest_lnxbin0 -> 51699 bytes
-rw-r--r--package/syslinux/patches/patch-com32_samples_resolv_c32bin0 -> 9747 bytes
-rw-r--r--package/syslinux/patches/patch-com32_samples_serialinfo_c32bin0 -> 9802 bytes
-rw-r--r--package/syslinux/patches/patch-com32_sysdump_sysdump_c32bin0 -> 72542 bytes
-rw-r--r--package/tcl/Makefile2
-rw-r--r--package/tcsh/patches/patch-Makefile_in2
-rw-r--r--package/tinc/patches/patch-src_Makefile_in11
-rw-r--r--package/tntnet/Makefile6
-rw-r--r--package/traceroute/Makefile2
-rw-r--r--package/trafshow/Makefile5
-rw-r--r--package/trafshow/patches/patch-Makefile_in38
-rw-r--r--package/tslib/patches/autotool.patch2
-rw-r--r--package/tslib/patches/patch-ltmain_sh8416
-rw-r--r--package/ttcp/Makefile6
-rw-r--r--package/tzdata/Makefile2
-rw-r--r--package/tzdata/patches/patch-Makefile64
-rw-r--r--package/ulogd/Makefile2
-rw-r--r--package/ussp-push/Makefile4
-rw-r--r--package/util-linux-ng/Makefile8
-rw-r--r--package/uvd/Makefile6
-rw-r--r--package/valgrind/patches/patch-configure52
-rw-r--r--package/vnc-reflector/Makefile5
-rw-r--r--package/vnc-reflector/patches/patch-Makefile55
-rw-r--r--package/vnstat/patches/patch-src_Makefile9
-rw-r--r--package/weechat/Makefile6
-rw-r--r--package/wpa_supplicant/Makefile6
-rw-r--r--package/xbindkeys/patches/patch-Makefile_in13
-rw-r--r--package/xf86-input-evtouch/patches/patch-configure11
-rw-r--r--package/xfsprogs/Makefile2
-rw-r--r--package/xfsprogs/patches/patch-configure352
-rw-r--r--package/xfsprogs/patches/patch-copy_xfs_copy_c82
-rw-r--r--package/xfsprogs/patches/patch-fsr_xfs_fsr_c57
-rw-r--r--package/xfsprogs/patches/patch-libxfs_linux_c35
-rw-r--r--package/xinetd/patches/ar.patch72
-rw-r--r--package/xinetd/patches/patch-Makefile_in (renamed from package/xinetd/patches/destdir.patch)16
-rw-r--r--package/xinetd/patches/patch-libs_src_misc_Makefile_in11
-rw-r--r--package/xinetd/patches/patch-libs_src_portable_Makefile_in11
-rw-r--r--package/xinetd/patches/patch-libs_src_pset_Makefile_in11
-rw-r--r--package/xinetd/patches/patch-libs_src_sio_Makefile_in11
-rw-r--r--package/xinetd/patches/patch-libs_src_str_Makefile_in11
-rw-r--r--package/xinetd/patches/patch-libs_src_xlog_Makefile_in11
275 files changed, 8797 insertions, 10592 deletions
diff --git a/package/aiccu/Makefile b/package/aiccu/Makefile
index 5eeeac9..f9f12f0 100644
--- a/package/aiccu/Makefile
+++ b/package/aiccu/Makefile
@@ -20,13 +20,13 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,AICCU,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIG_STYLE:= manual
-INSTALL_STYLE:= manual
+CONFIG_STYLE:= manual
+INSTALL_STYLE:= manual
-TCFLAGS+= -D_REENTRANT -D_GNU_SOURCE -DAICCU_CONSOLE \
- -D_LINUX -DHAS_IFHEAD -DAICCU_TYPE=\"linux\"
-TLDFLAGS+= -pthread -lresolv
-MAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TCFLAGS}' LDFLAGS='${TLDFLAGS}'
+TARGET_CPPFLAGS+= -D_REENTRANT -D_GNU_SOURCE -DAICCU_CONSOLE \
+ -D_LINUX -DHAS_IFHEAD -DAICCU_TYPE=\"linux\"
+TARGET_LDFLAGS+= -pthread -lresolv
+MAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TARGET_CFLAGS}' LDFLAGS='${TARGET_LDFLAGS}'
do-install:
$(INSTALL_DIR) $(IDIR_AICCU)/usr/sbin $(IDIR_AICCU)/etc
diff --git a/package/alix-switch/Makefile b/package/alix-switch/Makefile
index 0317fdf..873594d 100644
--- a/package/alix-switch/Makefile
+++ b/package/alix-switch/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= alix-switch
PKG_VERSION:= 1.0
-PKG_RELEASE:= 3
+PKG_RELEASE:= 4
PKG_DESCR:= daemon listening on button events
PKG_SECTION:= base
PKG_URL:= http://openadk.org/
@@ -20,8 +20,10 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -Wall
+
do-build:
- ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} \
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
-o ${WRKBUILD}/alix-switchd ${WRKBUILD}/alix-switchd.c
do-install:
diff --git a/package/arpd/Makefile b/package/arpd/Makefile
index 722faae..32730f1 100644
--- a/package/arpd/Makefile
+++ b/package/arpd/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= arpd
PKG_VERSION:= 0.2
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= e2911fa9de1b92ef50deda1489ae944d
PKG_DESCR:= Generates ARP responses for IP address ranges
PKG_SECTION:= route
@@ -23,9 +23,9 @@ $(eval $(call PKG_template,ARPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_
CONFIGURE_ARGS+= --with-libdnet=${STAGING_TARGET_DIR}/usr \
--with-libevent=${STAGING_TARGET_DIR}/usr \
--with-libpcap=${STAGING_TARGET_DIR}/usr
-MAKE_FLAGS+= CFLAGS="${TCFLAGS}" \
- INCLS="-I. -I${STAGING_TARGET_DIR}/usr/include" \
- LIBS="-L${STAGING_TARGET_DIR}/usr/lib -lpcap -ldnet -levent"
+MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS}" \
+ INCLS="-I. ${TARGET_CPPFLAGS}" \
+ LIBS="-lpcap -ldnet -levent"
post-install:
${INSTALL_DIR} ${IDIR_ARPD}/usr/sbin
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index 2b1fc70..73ac40a 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -84,7 +84,7 @@ endif
ifneq (${ADK_PACKAGE_ASTERISK_FORMAT_VORBIS},)
CONFIGURE_ARGS+= --with-ogg=${STAGING_TARGET_DIR}/usr \
--with-vorbis=${STAGING_TARGET_DIR}/usr
-TLDFLAGS+= -logg
+TARGET_LDFLAGS+= -logg
endif
ifneq (${ADK_PACKAGE_ASTERISK_CURL},)
CONFIGURE_ARGS+= --with-libcurl=${STAGING_TARGET_DIR}/usr
@@ -99,12 +99,11 @@ endif
INSTALL_STYLE:= manual
-TLDFLAGS+= -lm
-MAKE_ENV= ASTCFLAGS="${TCPPFLAGS} -DHAVE_STRTOQ" \
- ASTLDFLAGS="${TLDFLAGS}"
+TARGET_LDFLAGS+= -lm
+MAKE_ENV= ASTCFLAGS="${TARGET_CPPFLAGS} -DHAVE_STRTOQ" \
+ ASTLDFLAGS="${TARGET_LDFLAGS}"
MAKE_FLAGS+= DESTDIR="$(WRKINST)" \
OPTIMIZE="${TARGET_OPTIMIZATION}" \
- STRIP="${TARGET_CROSS}strip" \
NOISY_BUILD=1
ALL_TARGET:= all install samples
diff --git a/package/atftp/Makefile b/package/atftp/Makefile
index 601e9ab..e7d7590 100644
--- a/package/atftp/Makefile
+++ b/package/atftp/Makefile
@@ -16,19 +16,20 @@ PKG_SITES:= ftp://ftp.mamalinux.com/pub/atftp/
PKG_SUBPKGS:= ATFTP ATFTPD
PKGSD_ATFTPD:= TFTP server
+PKGSS_ATFTPD:= libreadline libncurses
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ATFTP,atftp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,ATFTPD,atftpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_ATFTPD},${PKG_SECTION}))
-MAKE_FLAGS+= CFLAGS="${TCFLAGS} -Wall -D_REENTRANT -fno-inline"
+MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS} -Wall -D_REENTRANT -fno-inline"
-post-install:
- # atftp client
+atftp-install:
$(INSTALL_DIR) $(IDIR_ATFTP)/usr/bin
$(INSTALL_BIN) $(WRKBUILD)/atftp $(IDIR_ATFTP)/usr/bin
- # atftp server
+
+atftpd-install:
$(INSTALL_DIR) $(IDIR_ATFTPD)/usr/sbin
$(INSTALL_BIN) $(WRKBUILD)/atftpd $(IDIR_ATFTPD)/usr/sbin
diff --git a/package/aufs2-util/Makefile b/package/aufs2-util/Makefile
index f42767d..83e39c2 100644
--- a/package/aufs2-util/Makefile
+++ b/package/aufs2-util/Makefile
@@ -29,7 +29,7 @@ $(eval $(call PKG_template,AUFS2_UTIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},
$(eval $(call PKG_template,LIBAU,libau,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBAU},${PKG_SECTION}))
CONFIG_STYLE:= manual
-XAKE_FLAGS+= Install=install HOSTCPPFLAGS="-I${LINUX_HEADER_DIR}/include"
+XAKE_FLAGS+= Install=install CPPFLAGS_FOR_BUILD="-I${LINUX_HEADER_DIR}/include"
post-install:
$(INSTALL_DIR) $(IDIR_AUFS2_UTIL)/sbin
diff --git a/package/aufs2-util/patches/patch-Makefile b/package/aufs2-util/patches/patch-Makefile
index d77ea81..6a8f748 100644
--- a/package/aufs2-util/patches/patch-Makefile
+++ b/package/aufs2-util/patches/patch-Makefile
@@ -4,10 +4,10 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-+c2sh c2tmac: CC = ${HOSTCC}
-+c2sh c2tmac: CFLAGS= ${HOSTCFLAGS}
-+c2sh c2tmac: LDFLAGS= ${HOSTLDFLAGS}
-+c2sh c2tmac: CPPFLAGS= ${HOSTCPPFLAGS} -I./libau -I${LINUX_HEADER_DIR}/include
++c2sh c2tmac: CC = ${CC_FOR_BUILD}
++c2sh c2tmac: CFLAGS= ${CFLAGS_FOR_BUILD}
++c2sh c2tmac: LDFLAGS= ${LDFLAGS_FOR_BUILD}
++c2sh c2tmac: CPPFLAGS= ${CPPFLAGS_FOR_BUILD} -I./libau -I${LINUX_HEADER_DIR}/include
+
CFLAGS += -I./libau
CFLAGS += -O -Wall
diff --git a/package/avahi/Makefile b/package/avahi/Makefile
index ebd811c..05ef2a3 100644
--- a/package/avahi/Makefile
+++ b/package/avahi/Makefile
@@ -26,7 +26,7 @@ $(eval $(call PKG_template,AVAHI_DAEMON,avahi-daemon,${PKG_VERSION}-${PKG_RELEAS
$(eval $(call PKG_template,AVAHI_DNSCONFD,avahi-dnsconfd,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_AVAHI_DNSCONFD},${PKGSD_AVAHI_DNSCONFD},${PKG_SECTION}))
$(eval $(call PKG_template,LIBAVAHI,libavahi,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBAVAHI},${PKGSC_LIBAVAHI}))
-TLDFLAGS+= -lintl
+TARGET_LDFLAGS+= -lintl
CONFIGURE_ARGS+= --enable-glib \
--disable-qt3 \
--disable-qt4 \
diff --git a/package/axtls/Makefile b/package/axtls/Makefile
index 62dbb72..2d02e72 100644
--- a/package/axtls/Makefile
+++ b/package/axtls/Makefile
@@ -29,9 +29,7 @@ CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
XAKE_FLAGS+= STRIP='' \
- CC='${TARGET_CC}' \
- OPT_CFLAGS='${TARGET_CFLAGS} -fPIC' \
- OPT_LDFLAGS=""
+ CC='${TARGET_CC}'
do-configure:
${CP} ./files/config ${WRKBUILD}/config/.config
diff --git a/package/bind/Makefile b/package/bind/Makefile
index 278982c..2e44d78 100644
--- a/package/bind/Makefile
+++ b/package/bind/Makefile
@@ -51,45 +51,46 @@ else
CONFIGURE_ARGS+= --disable-ipv6
endif
-pre-build:
- ${MAKE} -C ${WRKBUILD}/lib/dns \
- BUILD_CC="${HOSTCC}" \
- CC="${HOSTCC}" \
- CFLAGS='${HOSTCFLAGS}' \
- gen
-
-post-install:
- # bind server
+CONFIGURE_ENV+= BUILD_CC="${CC_FOR_BUILD}" BUILD_CFLAGS='${CFLAGS_FOR_BUILD}'
+
+bind-server-install:
${INSTALL_DIR} ${IDIR_BIND_SERVER}/usr/sbin ${IDIR_BIND_SERVER}/etc
${INSTALL_BIN} ${WRKINST}/usr/sbin/named ${IDIR_BIND_SERVER}/usr/sbin/
${CP} ./files/bind ${IDIR_BIND_SERVER}/etc
- # nsupdate
+
+bind-client-install:
${INSTALL_DIR} ${IDIR_BIND_CLIENT}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/nsupdate ${IDIR_BIND_CLIENT}/usr/bin/
- # rndc
+
+bind-rndc-install:
${INSTALL_DIR} ${IDIR_BIND_RNDC}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/rndc ${IDIR_BIND_RNDC}/usr/sbin/
${INSTALL_BIN} ${WRKINST}/usr/sbin/rndc-confgen \
${IDIR_BIND_RNDC}/usr/sbin/
- # bind check
+
+bind-check-install:
${INSTALL_DIR} ${IDIR_BIND_CHECK}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/named-checkconf \
${IDIR_BIND_CHECK}/usr/sbin/
${INSTALL_BIN} ${WRKINST}/usr/sbin/named-checkzone \
${IDIR_BIND_CHECK}/usr/sbin/
- # dnsec tools
+
+bind-dnssec-install:
${INSTALL_DIR} ${IDIR_BIND_DNSSEC}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/dnssec-keygen \
${IDIR_BIND_DNSSEC}/usr/sbin/
${INSTALL_BIN} ${WRKINST}/usr/sbin/dnssec-signzone \
${IDIR_BIND_DNSSEC}/usr/sbin/
- # host
+
+bind-host-install:
${INSTALL_DIR} ${IDIR_BIND_HOST}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/host ${IDIR_BIND_HOST}/usr/bin/
- # dig
+
+bind-dig-install:
${INSTALL_DIR} ${IDIR_BIND_DIG}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/dig ${IDIR_BIND_DIG}/usr/bin/
- # bind lib
+
+libbind-install:
${INSTALL_DIR} ${IDIR_LIBBIND}/usr/lib
${CP} ${WRKINST}/usr/lib/libbind9.so.* ${IDIR_LIBBIND}/usr/lib/
${CP} ${WRKINST}/usr/lib/libdns.so.* ${IDIR_LIBBIND}/usr/lib/
diff --git a/package/binutils/Makefile b/package/binutils/Makefile
index b076323..dd970c6 100644
--- a/package/binutils/Makefile
+++ b/package/binutils/Makefile
@@ -19,7 +19,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BINUTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBBFD,libbfd,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBBFD},${PKGSC_LIBBFD}))
-TCFLAGS+= -fPIC
+TARGET_CFLAGS+= -fPIC
CONFIGURE_ARGS+= --disable-werror \
--host=$(REAL_GNU_TARGET_NAME) \
--target=$(REAL_GNU_TARGET_NAME)
diff --git a/package/bitlbee/Makefile b/package/bitlbee/Makefile
index 41b56a5..77bf224 100644
--- a/package/bitlbee/Makefile
+++ b/package/bitlbee/Makefile
@@ -19,7 +19,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BITLBEE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= minimal
-TCFLAGS+= -fPIC
+TARGET_CFLAGS+= -fPIC
CONFIGURE_ARGS:= --target=${REAL_GNU_TARGET_NAME} \
--prefix=/usr/ \
--bindir=/usr/sbin/ \
diff --git a/package/bzip2/Makefile b/package/bzip2/Makefile
index b94a290..990bf11 100644
--- a/package/bzip2/Makefile
+++ b/package/bzip2/Makefile
@@ -17,8 +17,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BZIP2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
-
-TCFLAGS+= -fPIC
+TARGET_CFLAGS+= -fPIC
XAKE_FLAGS+= PREFIX=${WRKINST}/usr
post-install:
diff --git a/package/cryptinit/Makefile b/package/cryptinit/Makefile
index 7a42d67..b63b877 100644
--- a/package/cryptinit/Makefile
+++ b/package/cryptinit/Makefile
@@ -24,8 +24,8 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
do-build:
- ${TARGET_CC} ${TCPPFLAGS} ${TCFLAGS} -c -o ${WRKBUILD}/cryptinit.o \
- ${WRKBUILD}/cryptinit.c
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} -c \
+ -o ${WRKBUILD}/cryptinit.o ${WRKBUILD}/cryptinit.c
( cd ${WRKBUILD}; \
${TARGET_CC} -static -o cryptinit cryptinit.o \
${STAGING_TARGET_DIR}/usr/lib/libcryptsetup.a \
diff --git a/package/cups/Makefile b/package/cups/Makefile
index aa3bea6..8f764ba 100644
--- a/package/cups/Makefile
+++ b/package/cups/Makefile
@@ -21,7 +21,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CUPS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_ENV+= ac_cv_func_sigset=no \
- OPTIM='-fPIC $(TARGET_CFLAGS)'
+ OPTIM='-fPIC'
CONFIGURE_ARGS+= --with-cups-user=cups \
--with-cups-group=cups \
@@ -42,7 +42,7 @@ CONFIGURE_ARGS+= --with-cups-user=cups \
--disable-ssl
FAKE_FLAGS+= DSTROOT="${WRKINST}" STRIP="/bin/true"
-XAKE_FLAGS+= OPTIM='-fPIC $(TARGET_CFLAGS)'
+XAKE_FLAGS+= OPTIM='-fPIC'
post-install:
${INSTALL_DIR} ${IDIR_CUPS}/usr/bin
diff --git a/package/cutter/Makefile b/package/cutter/Makefile
index 0cf8a1c..69af2e4 100755
--- a/package/cutter/Makefile
+++ b/package/cutter/Makefile
@@ -22,9 +22,11 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -Wall
+
do-build:
- ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} ${WRKBUILD}/cutter.c \
- -o ${WRKBUILD}/cutter
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
+ ${WRKBUILD}/cutter.c -o ${WRKBUILD}/cutter
do-install:
${INSTALL_DIR} ${IDIR_CUTTER}/usr/sbin
diff --git a/package/cxxtools/Makefile b/package/cxxtools/Makefile
index c67b735..fb1c36b 100644
--- a/package/cxxtools/Makefile
+++ b/package/cxxtools/Makefile
@@ -19,15 +19,15 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CXXTOOLS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
ifeq (${ADK_COMPILE_CXXTOOLS_WITH_UCLIBCXX},y)
-TCXXFLAGS+= -fno-builtin -nostdinc++ \
+TARGET_CXXFLAGS+= -fno-builtin -nostdinc++ \
-I${STAGING_TARGET_DIR}/usr/include/uClibc++ -Wl,-E
-TLDFLAGS+= -luClibc++ -liconv -lm -nodefaultlibs -shared
+TARGET_LDFLAGS+= -luClibc++ -liconv -lm -nodefaultlibs -shared
else
-TLDFLAGS+= -liconv -shared
+TARGET_LDFLAGS+= -liconv -shared
endif
-TCFLAGS+= -fPIC
-TCXXFLAGS+= -fPIC
+TARGET_CFLAGS+= -fPIC
+TARGET_CXXFLAGS+= -fPIC
CONFIGURE_ARGS+= --with-libiconv-prefix='${STAGING_TARGET_DIR}/usr'
post-install:
diff --git a/package/digitemp/Makefile b/package/digitemp/Makefile
index 390ac22..9e09098 100644
--- a/package/digitemp/Makefile
+++ b/package/digitemp/Makefile
@@ -21,7 +21,7 @@ $(eval $(call PKG_template,DIGITEMP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${
CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
-TCFLAGS+= -I./src -I./userial
+TARGET_CPPFLAGS+= -I./src -I./userial
ALL_TARGET= ds2490
do-install:
diff --git a/package/dillo/Makefile b/package/dillo/Makefile
index 1c2bcf5..56884de 100644
--- a/package/dillo/Makefile
+++ b/package/dillo/Makefile
@@ -24,11 +24,10 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DILLO,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TLDFLAGS+= -liconv
+TARGET_LDLFAGS+= -liconv
post-install:
$(INSTALL_DIR) $(IDIR_DILLO)/usr/bin
- $(INSTALL_BIN) $(WRKINST)/usr/bin/dillo \
- $(IDIR_DILLO)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/dillo $(IDIR_DILLO)/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/e2fsprogs/Makefile b/package/e2fsprogs/Makefile
index 7b22a92..3ce19d4 100644
--- a/package/e2fsprogs/Makefile
+++ b/package/e2fsprogs/Makefile
@@ -38,14 +38,14 @@ $(eval $(call PKG_template,E2FSCK_STATIC,e2fsck-static,${PKG_VERSION}-${PKG_RELE
CONFIGURE_ARGS+= --enable-elf-shlibs --disable-rpath
INSTALL_TARGET+= install-libs
-TLDFLAGS+= -lpthread
+TARGET_LDFLAGS+= -lpthread
pre-build:
${MAKE} -C ${WRKBUILD}/util \
- BUILDCC="${HOSTCC}" \
- CFLAGS="" \
- LDFLAGS="" \
- CPPFLAGS="" \
+ BUILDCC="${CC_FOR_BUILD}" \
+ CFLAGS="${CFLAGS_FOR_BUILD}" \
+ LDFLAGS="${LDFLAGS_FOR_BUILD}" \
+ CPPFLAGS="${CPPFLAGS_FOR_BUILD}" \
subst
post-build:
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile
index e360335..60d35f1 100644
--- a/package/eglibc/Makefile
+++ b/package/eglibc/Makefile
@@ -34,7 +34,8 @@ EGLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \
--enable-add-ons
EGLIBC_ENV:= PATH='${TARGET_PATH}' \
- BUILD_CC=${HOSTCC} \
+ GCC_HONOUR_COPTS=s \
+ BUILD_CC=${CC_FOR_BUILD} \
CFLAGS="$(TARGET_CFLAGS)" \
CC=${REAL_GNU_TARGET_NAME}-gcc \
CXX=${REAL_GNU_TARGET_NAME}-g++ \
@@ -100,8 +101,7 @@ eglibc-dev-install:
--with-headers=$(IDIR_EGLIBC_DEV)/usr/include \
${EGLIBC_CONFOPTS} \
);
- PATH='${TARGET_PATH}' \
- $(MAKE) -C $(WRKBUILD) \
+ PATH='${TARGET_PATH}' $(MAKE) -C $(WRKBUILD) \
install-headers install-bootstrap-headers=yes
@touch $(IDIR_EGLIBC_DEV)/usr/include/gnu/stubs.h
@find $(IDIR_EGLIBC_DEV) -name .install -exec rm {} \;
diff --git a/package/elinks/Makefile b/package/elinks/Makefile
index fe863ec..ee0e279 100644
--- a/package/elinks/Makefile
+++ b/package/elinks/Makefile
@@ -23,7 +23,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ELINKS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
INSTALL_STYLE:= manual
-TCFLAGS+= -fPIC
+TARGET_CFLAGS+= -fPIC
CONFIGURE_ENV+= $(shell echo ac_cv_file_./features.conf | tr [:blank:]-/. _)=yes
CONFIGURE_ENV+= $(shell echo ac_cv_file_${WRKBUILD}/features.conf | tr [:blank:]-/. _)=yes
CONFIGURE_ARGS+= --enable-small \
diff --git a/package/ether-wake/Makefile b/package/ether-wake/Makefile
index 39985ea..335b6f4 100644
--- a/package/ether-wake/Makefile
+++ b/package/ether-wake/Makefile
@@ -19,9 +19,11 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -Wall
+
do-build:
- ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} -o \
- ${WRKBUILD}/ether-wake ${WRKBUILD}/ether-wake.c
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
+ -o ${WRKBUILD}/ether-wake ${WRKBUILD}/ether-wake.c
do-install:
${INSTALL_DIR} ${IDIR_ETHER_WAKE}/usr/sbin
diff --git a/package/exmap/Makefile b/package/exmap/Makefile
index 9b3c577..ab6897d 100644
--- a/package/exmap/Makefile
+++ b/package/exmap/Makefile
@@ -33,12 +33,7 @@ CONFIGURE_ARGS+= --disable-doc
CONFIGURE_ENV+= LIBS="-lncurses"
pre-build:
- GCC_HONOUR_COPTS=s \
- KERNEL_PATH=${LINUX_DIR} \
- CROSS_COMPILE="${TARGET_CROSS}" \
- V=1 ARCH="${ARCH}" KERNELVERSION="2.6" \
- LDFLAGS="" \
- $(MAKE) -C ${WRKBUILD}/kernel
+ $(MAKE) -C ${WRKBUILD}/kernel $(KERNEL_MODULE_FLAGS)
post-install:
${INSTALL_DIR} ${IDIR_EXMAP_KMOD}/etc/modules.d/
diff --git a/package/faad2/Makefile b/package/faad2/Makefile
index 87a5f8e..dab8ab7 100644
--- a/package/faad2/Makefile
+++ b/package/faad2/Makefile
@@ -22,7 +22,7 @@ $(eval $(call PKG_template,LIBFAAD2,libfaad2,${PKG_VERSION}-${PKG_RELEASE},${PKG
CONFIGURE_ENV+= ac_cv_c99_lrintf=yes
CONFIGURE_ARGS+= --without-mpeg4ip \
--without-xmms
-TLDFLAGS+= -lm
+TARGET_LDFLAGS+= -lm
post-install:
${INSTALL_DIR} ${IDIR_LIBFAAD2}/usr/lib
diff --git a/package/fakeidentd/Makefile b/package/fakeidentd/Makefile
index d7180e6..876a1c5 100644
--- a/package/fakeidentd/Makefile
+++ b/package/fakeidentd/Makefile
@@ -22,9 +22,11 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -Wall
+
do-build:
- ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} -o \
- ${WRKBUILD}/fakeidentd ${WRKBUILD}/identd.c
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
+ -o ${WRKBUILD}/fakeidentd ${WRKBUILD}/identd.c
do-install:
${INSTALL_DIR} ${IDIR_FAKEIDENTD}/usr/sbin
diff --git a/package/ffmpeg/Makefile b/package/ffmpeg/Makefile
index 082bfe1..989393c 100644
--- a/package/ffmpeg/Makefile
+++ b/package/ffmpeg/Makefile
@@ -43,11 +43,7 @@ else
CONFIGURE_CPU_OPTS:= --disable-sse
endif
-# gcc 4.5 produces internal compiler error with -Os
-#TCFLAGS:=$(subst Os,O2,$(TCFLAGS))
-
CONFIG_STYLE:= minimal
-
CONFIGURE_ARGS:= --prefix=/usr \
--target-os=linux \
--arch=${CPU_ARCH} \
@@ -56,7 +52,7 @@ CONFIGURE_ARGS:= --prefix=/usr \
--source-path=${WRKSRC} \
--cross-prefix=${TARGET_CROSS} \
--cc=$(TARGET_CC) \
- --host-cc=$(HOSTCC) \
+ --host-cc=$(CC_FOR_BUILD) \
--disable-doc \
--disable-debug \
--disable-optimizations \
diff --git a/package/firefox/Makefile b/package/firefox/Makefile
index b5d0340..895a2c7 100644
--- a/package/firefox/Makefile
+++ b/package/firefox/Makefile
@@ -35,9 +35,12 @@ else
CONFIGURE_ARGS+= --enable-ipc
endif
-CONFIGURE_ENV+= CROSS_COMPILE=1 HOST_CC="${HOSTCC}" HOST_CFLAGS="${HOSTCFLAGS}" \
- HOST_CXX="${HOSTCXX}" HOST_CXXFLAGS="${HOSTCXXFLAGS}" \
- HOST_LIBIDL_CONFIG="${HOST_LIBIDL_CONFIG}" \
+CONFIGURE_ENV+= CROSS_COMPILE=1 \
+ HOST_CC="${CC_FOR_BUILD}" \
+ HOST_CFLAGS="${CFLAGS_FOR_BUILD}" \
+ HOST_CXX="${CXX_FOR_BUILD}" \
+ HOST_CXXFLAGS="${CXXFLAGS_FOR_BUILD}" \
+ BUILD_LIBIDL_CONFIG="${BUILD_LIBIDL_CONFIG}" \
PKG_HOSTLIB_DIR="${PKG_HOSTLIB_DIR}" \
HOST_RANLIB="ranlib" HOST_AR="ar" \
CPPFLAGS="-I${STAGING_TARGET_DIR}/usr/include/freetype2" \
@@ -67,6 +70,7 @@ CONFIGURE_ARGS+= --enable-application=browser \
--disable-crashreporter
XAKE_FLAGS+= OS_RELEASE="2.6"
+XAKE_FLAGS+= ARCHFLAG="${TARGET_CFLAGS} ${TARGET_CPPFLAGS} ${TARGET_LDFLAGS}"
post-install:
$(INSTALL_DIR) $(IDIR_FIREFOX)/usr/bin
diff --git a/package/firefox/patches/patch-configure b/package/firefox/patches/patch-configure
index 4a3499a..6ab49e7 100644
--- a/package/firefox/patches/patch-configure
+++ b/package/firefox/patches/patch-configure
@@ -42,8 +42,8 @@
- HOST_LIBIDL_LIBS="$LIBIDL_LIBS"
- fi
-fi
-+HOST_LIBIDL_CFLAGS=`env PKG_CONFIG_LIBDIR=${PKG_HOSTLIB_DIR} ${HOST_LIBIDL_CONFIG} --cflags`
-+HOST_LIBIDL_LIBS=`env PKG_CONFIG_LIBDIR=${PKG_HOSTLIB_DIR} ${HOST_LIBIDL_CONFIG} --libs`
++HOST_LIBIDL_CFLAGS=`env PKG_CONFIG_LIBDIR=${PKG_HOSTLIB_DIR} ${BUILD_LIBIDL_CONFIG} --cflags`
++HOST_LIBIDL_LIBS=`env PKG_CONFIG_LIBDIR=${PKG_HOSTLIB_DIR} ${BUILD_LIBIDL_CONFIG} --libs`
+
+echo "host libidl cflags: ${HOST_LIBIDL_CFLAGS}"
+echo "host libidl libs: ${HOST_LIBIDL_LIBS}"
diff --git a/package/firefox/patches/patch-security_coreconf_Linux_mk b/package/firefox/patches/patch-security_coreconf_Linux_mk
new file mode 100644
index 0000000..26a3dc8
--- /dev/null
+++ b/package/firefox/patches/patch-security_coreconf_Linux_mk
@@ -0,0 +1,15 @@
+--- mozilla-1.9.2.orig/security/coreconf/Linux.mk 2010-12-03 16:48:49.000000000 +0100
++++ mozilla-1.9.2/security/coreconf/Linux.mk 2011-01-20 20:18:26.904905227 +0100
+@@ -46,9 +46,9 @@ ifeq ($(USE_PTHREADS),1)
+ IMPL_STRATEGY = _PTH
+ endif
+
+-CC = gcc
+-CCC = g++
+-RANLIB = ranlib
++CC ?= gcc
++CCC ?= g++
++RANLIB ?= ranlib
+
+ DEFAULT_COMPILER = gcc
+
diff --git a/package/firefox/patches/patch-security_coreconf_command_mk b/package/firefox/patches/patch-security_coreconf_command_mk
new file mode 100644
index 0000000..fcf73b8
--- /dev/null
+++ b/package/firefox/patches/patch-security_coreconf_command_mk
@@ -0,0 +1,11 @@
+--- mozilla-1.9.2.orig/security/coreconf/command.mk 2010-12-03 16:48:49.000000000 +0100
++++ mozilla-1.9.2/security/coreconf/command.mk 2011-01-20 20:18:56.214904993 +0100
+@@ -48,7 +48,7 @@ LINK_EXE = $(LINK) $(OS_LFLAGS) $(L
+ CFLAGS = $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
+ $(XCFLAGS)
+ PERL = perl
+-RANLIB = echo
++RANLIB = ranlib
+ TAR = /bin/tar
+ #
+ # For purify
diff --git a/package/gatling/Makefile b/package/gatling/Makefile
index 034f86f..e6813c2 100644
--- a/package/gatling/Makefile
+++ b/package/gatling/Makefile
@@ -25,9 +25,9 @@ INSTALL_STYLE:= manual
MAKE_FILE:= GNUmakefile
ALL_TARGET:= gatling
-TCPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/owfat
+TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/owfat
XAKE_FLAGS+= CC='${TARGET_CC}' \
- CFLAGS='${TCPPFLAGS} ${TCFLAGS}' \
+ CFLAGS='${TARGET_CPPFLAGS} ${TARGET_CFLAGS}' \
ZLIB=0 DIET= prefix='${WRKINST}/usr'
do-install:
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index faf1f9e..fec6661 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -16,8 +16,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GCC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-TCFLAGS:= ''
-TCPPFLAGS:= ''
+TARGET_CFLAGS:= ''
+TARGET_CPPFLAGS:= ''
ifeq ($(ADK_LINUX_64),y)
CONFIGURE_ARGS+= --with-abi=64
@@ -39,6 +39,9 @@ CONFIGURE_ARGS+= --enable-languages=c,c++ \
--disable-libstdcxx-pch \
--enable-cxx-flags="${TARGET_LDFLAGS}"
+# disable honour cflags stuff
+XAKE_FLAGS+= GCC_HONOUR_COPTS:=s
+
post-install:
${INSTALL_DIR} ${IDIR_GCC}/usr/lib/gcc ${IDIR_GCC}/usr/bin
${INSTALL_DIR} ${IDIR_GCC}/lib ${IDIR_GCC}/usr/include/c++
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 5d3d608..5e9f706 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -16,13 +16,15 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= ${TCPPFLAGS} -fPIC
+TARGET_CFLAGS+= ${TARGET_CPPFLAGS} -fPIC
CONFIGURE_ARGS+= --without-uiout --enable-gdbmi \
--disable-tui --disable-gdbtk --without-x \
--without-included-gettext --disable-sim \
--enable-threads --with-curses --disable-werror \
--enable-static --without-python
-XAKE_FLAGS+= LDFLAGS='${TLDFLAGS}'
+XAKE_FLAGS+= LDFLAGS='${TARGET_LDFLAGS}'
+# disable honour cflags stuff
+XAKE_FLAGS+= GCC_HONOUR_COPTS:=s
post-install:
${INSTALL_DIR} ${IDIR_GDB}/usr/bin
diff --git a/package/gpm/Makefile b/package/gpm/Makefile
index 9d7df66..b20ec88 100644
--- a/package/gpm/Makefile
+++ b/package/gpm/Makefile
@@ -16,7 +16,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GPM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -I${WRKSRC}/src/headers
+TARGET_CPPFLAGS+= -I${WRKSRC}/src/headers
post-install:
${INSTALL_DIR} ${IDIR_GPM}/usr/sbin ${IDIR_GPM}/usr/lib
diff --git a/package/gpsd/Makefile b/package/gpsd/Makefile
index 24536e5..025e525 100644
--- a/package/gpsd/Makefile
+++ b/package/gpsd/Makefile
@@ -30,7 +30,7 @@ CONFIGURE_ENV+= EGREP="grep -E" \
ac_cv_func_strlcat=no \
ac_cv_lib_nsl_gethostbyname=no
CONFIGURE_ARGS+= --disable-dbus
-TCFLAGS+= -fPIC
+TARGET_CFLAGS+= -fPIC
LIBRARIES:=-nodefaultlibs -luClibc++
ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
@@ -38,11 +38,11 @@ LIBRARIES+=-lssp -lssp_nonshared
endif
ifeq ($(ADK_COMPILE_GPSD_WITH_UCLIBCXX),y)
-TCXXFLAGS+= -fno-rtti -nostdinc++ \
+TARGET_CXXFLAGS+= -fno-rtti -nostdinc++ \
-I${STAGING_TARGET_DIR}/usr/include/uClibc++
-TLDFLAGS+= $(LIBRARIES)
+TARGET_LDFLAGS+= $(LIBRARIES)
else
-TLDFLAGS+= -shared -pthread
+TARGET_LDFLAGS+= -shared -pthread
endif
ifeq (${ADK_COMPILE_GPSD_WITH_UCLIBCXX},y)
diff --git a/package/haserl/Makefile b/package/haserl/Makefile
index 7dbfd20..33cc8ad 100644
--- a/package/haserl/Makefile
+++ b/package/haserl/Makefile
@@ -16,7 +16,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,HASERL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -DMAX_UPLOAD_KB=8192
+TARGET_CPPFLAGS+= -DMAX_UPLOAD_KB=8192
post-install:
${INSTALL_DIR} ${IDIR_HASERL}/usr/bin
diff --git a/package/heimdal/Makefile b/package/heimdal/Makefile
index 9568237..0e027fe 100644
--- a/package/heimdal/Makefile
+++ b/package/heimdal/Makefile
@@ -69,7 +69,7 @@ CONFIGURE_OPTS+= --disable-pk-init \
--disable-kx509
endif
-TCFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/et -pthread
+TARGET_CFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/et -pthread
CONFIGURE_ARGS+= ${CONFIGURE_OPTS} --with-cross-tools=${STAGING_HOST_DIR}/bin
CONFIGURE_ENV+= cross_compiling=yes \
@@ -87,12 +87,12 @@ post-extract:
${MAKE} -C ${WRKBUILD}/lib/roken
${MAKE} -C ${WRKBUILD}/lib/vers
${MAKE} -C ${WRKBUILD}/lib/editline
- env CFLAGS="-static" LDFLAGS="-static" ${MAKE} -C ${WRKBUILD}/lib/com_err compile_et$(EXEEXT)
- env CFLAGS="-static" LDFLAGS="-static" ${MAKE} -C ${WRKBUILD}/lib/asn1 asn1_compile$(EXEEXT)
- env CFLAGS="-static" LDFLAGS="-static" ${MAKE} -C ${WRKBUILD}/lib/sl slc$(EXEEXT)
- ${MAKE} -C ${WRKBUILD}/lib/roken install
- ${MAKE} -C ${WRKBUILD}/lib/asn1 install
- ${MAKE} -C ${WRKBUILD}/lib/sl install
+ ${MAKE} -C ${WRKBUILD}/lib/com_err compile_et$(EXEEXT) LDFLAGS="-all-static"
+ ${MAKE} -C ${WRKBUILD}/lib/asn1 asn1_compile$(EXEEXT) LDFLAGS="-all-static"
+ ${MAKE} -C ${WRKBUILD}/lib/sl slc$(EXEEXT) LDFLAGS="-all-static"
+ ${MAKE} -C ${WRKBUILD}/lib/roken install LDFLAGS="-all-static"
+ ${MAKE} -C ${WRKBUILD}/lib/asn1 install LDFLAGS="-all-static"
+ ${MAKE} -C ${WRKBUILD}/lib/sl install LDFLAGS="-all-static"
$(CP) $(STAGING_HOST_DIR)/libexec/heimdal/{slc,asn1_compile} \
$(STAGING_HOST_DIR)/bin
${MAKE} -C ${WRKBUILD}/lib/sl clean
diff --git a/package/heimdal/patches/patch-lib_roken_Makefile_in b/package/heimdal/patches/patch-lib_roken_Makefile_in
index a702be6..a5b84a2 100644
--- a/package/heimdal/patches/patch-lib_roken_Makefile_in
+++ b/package/heimdal/patches/patch-lib_roken_Makefile_in
@@ -29,7 +29,7 @@
+ $(AWK) -f $(srcdir)/roken.awk $(srcdir)/roken.h.in > make-roken.c
+
+make-roken$(EXEEXT): make-roken.c
-+ $(HOSTCC) $(HOSTCFLAGS) -I$(top_builddir)/include -DHAVE_CONFIG_H \
++ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -I$(top_builddir)/include -DHAVE_CONFIG_H \
+ -o $@ $<
-@CROSS_COMPILE_TRUE@roken.h: $(top_srcdir)/cf/roken-h-process.pl roken.h.in
diff --git a/package/httping/Makefile b/package/httping/Makefile
index 2abf4d1..c7b8e8b 100644
--- a/package/httping/Makefile
+++ b/package/httping/Makefile
@@ -19,9 +19,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,HTTPING,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -D_GNU_SOURCE
-
CONFIG_STYLE:= manual
+TARGET_CFLAGS+= -D_GNU_SOURCE
post-install:
${INSTALL_DIR} ${IDIR_HTTPING}/usr/bin
diff --git a/package/huawei/Makefile b/package/huawei/Makefile
index 3b555a6..9d780f3 100644
--- a/package/huawei/Makefile
+++ b/package/huawei/Makefile
@@ -21,8 +21,10 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -Wall
+
do-build:
- ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} \
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
-o ${WRKBUILD}/huawei ${WRKBUILD}/huawei.c -lusb
do-install:
diff --git a/package/icecast/Makefile b/package/icecast/Makefile
index f37bc90..7c8a248 100644
--- a/package/icecast/Makefile
+++ b/package/icecast/Makefile
@@ -18,7 +18,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ICECAST,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/libxml2
+TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/libxml2
CONFIGURE_ARGS+= --disable-yp \
--with-curl="yes" \
--with-curl-config="${STAGING_TARGET_DIR}/usr/bin/curl-config" \
diff --git a/package/id3lib/Makefile b/package/id3lib/Makefile
index 3a20f34..370b407 100644
--- a/package/id3lib/Makefile
+++ b/package/id3lib/Makefile
@@ -20,7 +20,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ID3LIB,id3lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -fPIC
+TARGET_CFLAGS+= -fPIC
CONFIGURE_ARGS+= --enable-cxx-warnings=no
LIBRARIES:=-nodefaultlibs -luClibc++ -lz -lm -lc
@@ -29,11 +29,11 @@ LIBRARIES+=-lssp -fstack-protector
endif
ifeq ($(ADK_COMPILE_ID3LIB_WITH_UCLIBCXX),y)
-TCXXFLAGS+= -fno-builtin -fno-rtti -nostdinc++ \
+TARGET_CXXFLAGS+= -fno-builtin -fno-rtti -nostdinc++ \
-I${STAGING_TARGET_DIR}/usr/include/uClibc++
CONFIGURE_ENV+= LIBS="${LIBRARIES}"
else
-TLDFLAGS+= -shared
+TARGET_LDFLAGS+= -shared
endif
post-install:
diff --git a/package/igmpproxy/Makefile b/package/igmpproxy/Makefile
index d255fd1..d59cffe 100644
--- a/package/igmpproxy/Makefile
+++ b/package/igmpproxy/Makefile
@@ -19,12 +19,11 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IGMPPROXY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -std=gnu99
+TARGET_CFLAGS+= -std=gnu99
post-install:
${INSTALL_DIR} ${IDIR_IGMPPROXY}/usr/sbin ${IDIR_IGMPPROXY}/etc
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/igmpproxy \
- ${IDIR_IGMPPROXY}/usr/sbin/
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/igmpproxy ${IDIR_IGMPPROXY}/usr/sbin
${INSTALL_DATA} ${WRKINST}/etc/igmpproxy.conf ${IDIR_IGMPPROXY}/etc
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/iperf/Makefile b/package/iperf/Makefile
index a8db48d..b2d01f8 100644
--- a/package/iperf/Makefile
+++ b/package/iperf/Makefile
@@ -20,12 +20,12 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IPERF,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
-TLDFLAGS+= -lssp
+TARGET_LDFLAGS+= -lssp
endif
ifeq ($(ADK_COMPILE_IPERF_WITH_UCLIBCXX),y)
-TCXXFLAGS+= -fno-builtin -fno-rtti -nostdinc++
-TLDFLAGS+= -nodefaultlibs
+TARGET_CXXFLAGS+= -fno-builtin -fno-rtti -nostdinc++
+TARGET_LDFLAGS+= -nodefaultlibs
CONFIGURE_ENV+= LIBS="-luClibc++ -lc -lm -lgcc_s -lpthread"
else
CONFIGURE_ENV+= LIBS="-lc -lm -lgcc_s -lpthread"
diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile
index 8ce92d5..f2c4a84 100644
--- a/package/iproute2/Makefile
+++ b/package/iproute2/Makefile
@@ -42,8 +42,8 @@ $(eval $(call PKG_template,ROUTEL,routel,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_
$(eval $(call PKG_template,RTMON,rtmon,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_RTMON},${PKG_SECTION}))
$(eval $(call PKG_template,SS,ss,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_SS},${PKG_SECTION}))
-TCFLAGS+= -D_GNU_SOURCE
-XAKE_FLAGS+= CCOPTS="${TCFLAGS}" MFLAGS="CC=${TARGET_CC}" \
+TARGET_CFLAGS+= -D_GNU_SOURCE
+XAKE_FLAGS+= CCOPTS="${TARGET_CFLAGS}" MFLAGS="CC=${TARGET_CC}" \
HOSTCFLAGS="-I${LINUX_HEADER_DIR}/include"
CONFIGURE_ENV+= IPTC="${TARGET_CFLAGS}" IPTL="${TARGET_LDFLAGS}"
diff --git a/package/ipset/Makefile b/package/ipset/Makefile
index 01ba6a8..5710203 100644
--- a/package/ipset/Makefile
+++ b/package/ipset/Makefile
@@ -29,10 +29,7 @@ ALL_TARGET:= binaries
INSTALL_TARGET:= binaries_install
pre-build:
- V=1 ARCH=${ARCH} KERNEL_DIR=${LINUX_DIR} \
- PREFIX=/usr CROSS_COMPILE="${TARGET_CROSS}" \
- LD=$(TARGET_CROSS)gcc LDFLAGS="" \
- $(MAKE) -C ${WRKBUILD} modules
+ $(MAKE) -C ${WRKBUILD} $(KERNEL_MODULE_FLAGS) modules
post-install:
${INSTALL_DIR} ${IDIR_IPSET}/usr/sbin ${IDIR_IPSET}/usr/lib/ipset
diff --git a/package/ipset/patches/patch-Makefile b/package/ipset/patches/patch-Makefile
new file mode 100644
index 0000000..e97a5b6
--- /dev/null
+++ b/package/ipset/patches/patch-Makefile
@@ -0,0 +1,36 @@
+--- ipset-4.1.orig/Makefile 2009-11-11 20:22:42.000000000 +0100
++++ ipset-4.1/Makefile 2011-01-21 13:30:47.148658311 +0100
+@@ -64,9 +64,13 @@ ifndef NO_EXTRA_WARN_FLAGS
+ endif
+
+ ABI_FLAGS:=
+-CFLAGS:=$(ABI_FLAGS) $(COPT_FLAGS) $(WARN_FLAGS) -Ikernel/include -I. # -g -DIPSET_DEBUG
++CPPFLAGS?=
++CPPFLAGS+=-Ikernel/include -I.
++CFLAGS?=$(ABI_FLAGS) $(COPT_FLAGS) $(WARN_FLAGS)
+ SH_CFLAGS:=$(CFLAGS) -fPIC
+-LDFLAGS:=$(ABI_FLAGS)
++LDFLAGS?=$(ABI_FLAGS)
++LIBS?=
++LIBS+=-ldl
+ SETTYPES:=ipmap portmap macipmap
+ SETTYPES+=iptree iptreemap
+ SETTYPES+=iphash nethash ipporthash ipportiphash ipportnethash
+@@ -114,14 +118,14 @@ release: clean
+
+ #The ipset(8) self
+ ipset.o: ipset.c ipset.h
+- $(CC) $(CFLAGS) -DIPSET_VERSION=\"$(IPSET_VERSION)\" -DIPSET_LIB_DIR=\"$(IPSET_LIB_DIR)\" -c -o $@ $<
++ $(CC) $(CPPFLAGS) $(CFLAGS) -DIPSET_VERSION=\"$(IPSET_VERSION)\" -DIPSET_LIB_DIR=\"$(IPSET_LIB_DIR)\" -c -o $@ $<
+
+ ipset: ipset.o
+- $(CC) $(CFLAGS) $(LDFLAGS) -rdynamic -o $@ $^ -ldl
++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+
+ #Pooltypes
+ ipset_%.o: ipset_%.c ipset.h
+- $(CC) $(SH_CFLAGS) -o $@ -c $<
++ $(CC) $(CPPFLAGS) $(SH_CFLAGS) -o $@ -c $<
+
+ libipset_%.so: ipset_%.o
+ $(CC) -shared $(LDFLAGS) -o $@ $<
diff --git a/package/iptraf/patches/patch-src_Makefile b/package/iptraf/patches/patch-src_Makefile
index c65ad07..c73f684 100644
--- a/package/iptraf/patches/patch-src_Makefile
+++ b/package/iptraf/patches/patch-src_Makefile
@@ -1,23 +1,70 @@
$Id$
--- iptraf-3.0.0.orig/src/Makefile 2005-09-13 11:11:17.000000000 +0200
-+++ iptraf-3.0.0/src/Makefile 2010-10-05 10:07:10.000000000 +0200
-@@ -107,13 +107,13 @@ BINS = iptraf rvnamed rawtime
++++ iptraf-3.0.0/src/Makefile 2011-01-21 13:46:03.628658655 +0100
+@@ -18,7 +18,8 @@ VERSION = -DVERSION=\"$(VERNUMBER)\"
+ BINDIR = ../../iptraf-$(VERNUMBER).bin.$(ARCH)
+
+ CC = gcc
+-LIBS = -L../support -ltextbox -lpanel -lncurses # in this order!
++LIBS ?=
++LIBS += -ltextbox -lpanel -lncurses # in this order!
+
+ # comment this one out to omit debug code when done.
+
+@@ -31,15 +32,17 @@ PROF = #-pg
+ # options to be passed to the compiler. I don't believe they need to be
+ # modified (except for -m486 on non-Intel x86 platforms).
+
+-CFLAGS = -Wall #-O2 #-m486
++CFLAGS ?= -Wall #-O2 #-m486
+ DIRS = -DWORKDIR=\"$(WORKDIR)\" \
+ -DLOGDIR=\"$(LOGDIR)\" -DEXECDIR=\"$(TARGET)\"
+-LDOPTS = #-static
++LDFLAGS ?=
++LDFLAGS += -L../support
+
+ # you may want to change this to point to your ncurses include directory
+ # if the ncurses include files are not in the default location.
+
+-INCLUDEDIR = -I/usr/include/ncurses -I../support
++CPPFLAGS ?=
++CPPFLAGS += -I../support
+
+ # You can uncomment this one to disable the backspace key in input fields.
+ # This means you must use the Del key or Ctrl+H combination to erase the
+@@ -106,33 +109,31 @@ error.o log.o mode.o getpath.o bar.o par
+ BINS = iptraf rvnamed rawtime
all: $(BINS)
- @echo
+- @echo
- @size $(BINS)
-+ #@size $(BINS)
iptraf: $(OBJS) textlib
- $(CC) $(LDOPTS) $(PROF) -o iptraf $(OBJS) $(LIBS)
+- $(CC) $(LDOPTS) $(PROF) -o iptraf $(OBJS) $(LIBS)
++ $(CC) $(LDFLAGS) -o iptraf $(OBJS) $(LIBS)
textlib:
- make -C ../support
+ $(MAKE) -C ../support
%.o: %.c *.h version
- $(CC) $(CFLAGS) $(DIRS) $(INCLUDEDIR) $(VERSION) $(PLATFORM) $(PROF) $(DEBUG) $(EXECPERM) $(BSSETTING) -c -o $*.o $<
-@@ -132,7 +132,7 @@ rawtime: rawtime.c
+- $(CC) $(CFLAGS) $(DIRS) $(INCLUDEDIR) $(VERSION) $(PLATFORM) $(PROF) $(DEBUG) $(EXECPERM) $(BSSETTING) -c -o $*.o $<
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(DIRS) $(VERSION) $(PLATFORM) $(EXECPERM) $(BSSETTING) -c -o $*.o $<
+
+ rvnamed: rvnamed.o getpath.o
+- $(CC) $(LDOPTS) $(PROF) -o rvnamed rvnamed.o getpath.o
++ $(CC) $(LDFLAGS) -o $@ $^
+
+ rvnamed.o: rvnamed.c rvnamed.h
+- $(CC) $(CFLAGS) $(PROF) $(DEBUG) -c -o rvnamed.o rvnamed.c
++ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ rvnamed.c
+
+ rawtime: rawtime.c
+- $(CC) $(CFLAGS) $(LDOPTS) $(PROF) $(DEBUG) -o rawtime rawtime.c
++ $(CC) $(CFLAGS) $(LDFLAGS) -o rawtime rawtime.c
+
+
+ # rule to clear out all object files and the executables (pow!)
clean:
rm -f *.o *~ core $(BINS)
@@ -26,3 +73,12 @@ $Id$
# I just included this rule to clear out the .o files, leaving the
# executables, stripped and ready for packing.
+@@ -162,7 +163,7 @@ install:
+ # and the compiled programs for release as a ready-to-run distribution.
+
+ dist-bin: all
+- $(CC) $(LDOPTS) $(PROF) -o iptraf $(OBJS) -L../support -ltextbox /usr/lib/libpanel.a /usr/lib/libncurses.a
++ $(CC) $(LDFLAGS) -o iptraf $(OBJS) -L../support -ltextbox -lpanel -lncurses
+ rm -rf $(BINDIR)
+ mkdir $(BINDIR)
+ /bin/cp -p ../CHANGES ../LICENSE ../FAQ ../INSTALL ../README* \
diff --git a/package/iptraf/patches/patch-support_Makefile b/package/iptraf/patches/patch-support_Makefile
index c72b89e..fae8e39 100644
--- a/package/iptraf/patches/patch-support_Makefile
+++ b/package/iptraf/patches/patch-support_Makefile
@@ -1,7 +1,9 @@
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- iptraf-3.0.0.orig/support/Makefile 2002-07-19 18:31:48.000000000 +0200
-+++ iptraf-3.0.0/support/Makefile 2008-10-09 17:34:11.000000000 +0200
-@@ -3,16 +3,14 @@ INCLUDEDIR = -I/usr/include/ncurses
++++ iptraf-3.0.0/support/Makefile 2011-01-21 13:47:38.508658394 +0100
+@@ -1,18 +1,13 @@
+-INCLUDEDIR = -I/usr/include/ncurses
+-
OBJS = input.o menurt.o listbox.o winops.o labels.o \
msgboxes.o txbox.o
@@ -14,11 +16,10 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
-# gcc -shared -o libtextbox.so $(OBJS)
+ $(AR) cq libtextbox.a $(OBJS)
+ $(RANLIB) libtextbox.a
-+# $(CC) -shared -o libtextbox.so $(OBJS)
%.o: %.c *.h
- gcc -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
-+ $(CC) -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
++ $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c -o $*.o $<
clean:
rm -rf *.o *~ libtextbox.a libtextbox.so
diff --git a/package/iw/Makefile b/package/iw/Makefile
index 679377b..5515def 100644
--- a/package/iw/Makefile
+++ b/package/iw/Makefile
@@ -22,7 +22,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IW,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
-TCFLAGS+= $(TCPPFLAGS)
+TARGET_CFLAGS+= $(TARGET_CPPFLAGS)
post-install:
${INSTALL_DIR} ${IDIR_IW}/usr/sbin
diff --git a/package/knock/Makefile b/package/knock/Makefile
index c7978ec..7567fd8 100644
--- a/package/knock/Makefile
+++ b/package/knock/Makefile
@@ -22,7 +22,6 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,KNOCK,knock,${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,KNOCKD,knockd,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_KNOCKD},${PKGSD_KNOCKD},${PKG_SECTION}))
-TCXXFLAGS+= ${TCPPFLAGS} ${TCFLAGS}
CONFIGURE_ENV+= ac_cv_lib_pcap_pcap_open_live=yes
post-install:
diff --git a/package/krb5/Makefile b/package/krb5/Makefile
index c7ec995..fc4e8d8 100644
--- a/package/krb5/Makefile
+++ b/package/krb5/Makefile
@@ -27,7 +27,7 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,KRB5_SERVER,krb5-server,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBKRB5,libkrb5,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_LIBKRB5},${PKGSC_LIBKRB5}))
-TCFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/et
+TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/et
CONFIGURE_ARGS+= --disable-static \
--disable-profiled \
--with-system-ss \
diff --git a/package/libart/Makefile b/package/libart/Makefile
index b41a937..92b0da0 100644
--- a/package/libart/Makefile
+++ b/package/libart/Makefile
@@ -18,6 +18,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBART,libart,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+MAKE_ENV+= HOSTCC=$(CC_FOR_BUILD)
+
post-install:
${INSTALL_DIR} ${IDIR_LIBART}/usr/lib
${CP} ${WRKINST}/usr/lib/libart_lgpl_2.so* ${IDIR_LIBART}/usr/lib/
diff --git a/package/libevent/Makefile b/package/libevent/Makefile
index a11099a..25897ad 100644
--- a/package/libevent/Makefile
+++ b/package/libevent/Makefile
@@ -23,8 +23,7 @@ $(eval $(call PKG_template,LIBEVENT_DEV,libevent-dev,$(PKG_VERSION)-${PKG_RELEAS
post-install:
$(INSTALL_DIR) $(IDIR_LIBEVENT)/usr/lib
- $(CP) $(WRKINST)/usr/lib/libevent*.so* \
- $(IDIR_LIBEVENT)/usr/lib/
+ $(CP) $(WRKINST)/usr/lib/libevent*.so* $(IDIR_LIBEVENT)/usr/lib
libevent-dev-install:
${INSTALL_DIR} ${IDIR_LIBEVENT_DEV}/usr/include
diff --git a/package/libhugetlbfs/Makefile b/package/libhugetlbfs/Makefile
index 600d154..b412837 100644
--- a/package/libhugetlbfs/Makefile
+++ b/package/libhugetlbfs/Makefile
@@ -4,14 +4,16 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= libhugetlbfs
-PKG_VERSION:= 2.6
+PKG_VERSION:= 2.11
PKG_RELEASE:= 1
-PKG_MD5SUM:= cda489010e5bb89eb59994f689f8693e
+PKG_MD5SUM:= 35e68f16b704f2e339622a8ca07fdee0
PKG_DESCR:= easy hugepage access
PKG_SECTION:= libs
PKG_URL:= http://libhugetlbfs.ozlabs.org/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libhugetlbfs/}
+PKG_CFLINE_LIBHUGETLBFS:= depends on ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
+
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBHUGETLBFS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
diff --git a/package/libhugetlbfs/patches/patch-Makefile b/package/libhugetlbfs/patches/patch-Makefile
index 44deaba..b0b9199 100644
--- a/package/libhugetlbfs/patches/patch-Makefile
+++ b/package/libhugetlbfs/patches/patch-Makefile
@@ -1,8 +1,8 @@
- do not call uname -m, use passed ${ADK_ARCH} variable
- use ${CC} instead of hard-coded gcc
---- libhugetlbfs-2.6.orig/Makefile 2009-08-24 14:56:07.000000000 +0200
-+++ libhugetlbfs-2.6/Makefile 2011-01-17 15:17:03.942093253 +0100
-@@ -30,51 +30,51 @@ CFLAGS ?= -O2 -g
+--- libhugetlbfs-2.11.orig/Makefile 2010-12-16 18:38:22.000000000 +0100
++++ libhugetlbfs-2.11/Makefile 2011-01-22 21:09:48.008659615 +0100
+@@ -31,51 +31,51 @@ CFLAGS ?= -O2 -g
CFLAGS += -Wall -fPIC
CPPFLAGS += -D__LIBHUGETLBFS__
diff --git a/package/libhugetlbfs/patches/patch-morecore_c b/package/libhugetlbfs/patches/patch-morecore_c
new file mode 100644
index 0000000..61651fb
--- /dev/null
+++ b/package/libhugetlbfs/patches/patch-morecore_c
@@ -0,0 +1,11 @@
+--- libhugetlbfs-2.11.orig/morecore.c 2010-12-16 18:38:22.000000000 +0100
++++ libhugetlbfs-2.11/morecore.c 2011-01-22 21:18:44.018658436 +0100
+@@ -268,7 +268,7 @@ void hugetlbfs_setup_morecore(void)
+ INFO("setup_morecore(): heapaddr = 0x%lx\n", heapaddr);
+
+ heaptop = heapbase = (void *)heapaddr;
+- __morecore = &hugetlbfs_morecore;
++ morecore = &hugetlbfs_morecore;
+
+ /* Set some allocator options more appropriate for hugepages */
+
diff --git a/package/libhugetlbfs/patches/patch-version b/package/libhugetlbfs/patches/patch-version
new file mode 100644
index 0000000..08c11d1
--- /dev/null
+++ b/package/libhugetlbfs/patches/patch-version
@@ -0,0 +1,5 @@
+--- libhugetlbfs-2.11.orig/version 2010-12-16 19:14:12.000000000 +0100
++++ libhugetlbfs-2.11/version 2011-01-22 21:09:48.624905626 +0100
+@@ -1 +1 @@
+-2.11
++commit<f475340970f58d3643bdd7e3cec809dc1fa3e908>
diff --git a/package/libiconv/Makefile b/package/libiconv/Makefile
index c180fed..2da817c 100644
--- a/package/libiconv/Makefile
+++ b/package/libiconv/Makefile
@@ -20,7 +20,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBICONV,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-TCFLAGS+= -fPIC
+TARGET_CFLAGS+= -fPIC
FAKE_FLAGS+= libdir="${WRKINST}/usr/lib" \
includedir="${WRKINST}/usr/include" \
INSTALL_TARGET= install-lib
diff --git a/package/libid3tag/Makefile b/package/libid3tag/Makefile
index 1b1d376..972daf5 100644
--- a/package/libid3tag/Makefile
+++ b/package/libid3tag/Makefile
@@ -26,6 +26,6 @@ pre-install:
post-install:
${INSTALL_DIR} ${IDIR_LIBID3TAG}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libid3tag.so.* ${IDIR_LIBID3TAG}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libid3tag.so* ${IDIR_LIBID3TAG}/usr/lib/
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libid3tag/patches/patch-configure b/package/libid3tag/patches/patch-configure
new file mode 100644
index 0000000..d243b36
--- /dev/null
+++ b/package/libid3tag/patches/patch-configure
@@ -0,0 +1,14 @@
+--- libid3tag-0.15.1b.orig/configure 2004-02-05 10:35:25.000000000 +0100
++++ libid3tag-0.15.1b/configure 2011-01-21 14:17:04.434906188 +0100
+@@ -19038,10 +19038,7 @@ do
+ arch="$arch $1"
+ shift
+ ;;
+- -fomit-frame-pointer)
+- shift
+- ;;
+- -O*|-f*)
++ -O*)
+ optimize="$1"
+ shift
+ ;;
diff --git a/package/libnet/Makefile b/package/libnet/Makefile
index 5309c68..1e65aa7 100644
--- a/package/libnet/Makefile
+++ b/package/libnet/Makefile
@@ -31,7 +31,6 @@ $(eval $(call PKG_template,LIBNET,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PK
CONFIGURE_ENV+= ac_cv_libnet_endianess=${ENDIAN} \
ac_cv_lbl_unaligned_fail=no
-#CONFIGURE_ARGS+= --with-pf_packet=yes
post-install:
${INSTALL_DIR} ${IDIR_LIBNET}/usr/lib
diff --git a/package/libosip2/patches/patch-configure b/package/libosip2/patches/patch-configure
new file mode 100644
index 0000000..49b5fd9
--- /dev/null
+++ b/package/libosip2/patches/patch-configure
@@ -0,0 +1,11 @@
+--- libosip2-3.3.0.orig/configure 2009-03-04 12:18:53.000000000 +0100
++++ libosip2-3.3.0/configure 2011-01-21 14:27:29.384906610 +0100
+@@ -22308,7 +22308,7 @@ if test "x$Wpointer_arith_flag" = xyes;
+ CPPFLAGS="$CPPFLAGS -Wpointer-arith"
+ fi
+
+-SIP_CFLAGS="$SIP_CFLAGS $CFLAGS"
++SIP_CFLAGS="$SIP_CFLAGS"
+
+
+
diff --git a/package/libowfat/Makefile b/package/libowfat/Makefile
index d1b6150..3dd95ea 100644
--- a/package/libowfat/Makefile
+++ b/package/libowfat/Makefile
@@ -17,7 +17,7 @@ include ${TOPDIR}/mk/package.mk
CONFIG_STYLE:= manual
-TCFLAGS+= ${TCPPFLAGS}
+TARGET_CFLAGS+= ${TARGET_CPPFLAGS}
MAKE_FILE= GNUmakefile
MAKE_FLAGS+= DIET= CC='${TARGET_CC}' CROSS=${TARGET_CROSS} \
LDFLAGS='${TARGET_LDFLAGS}'
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index 209a337..eee7965 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -21,9 +21,9 @@ $(eval $(call PKG_template,LIBPCAP,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${P
CONFIGURE_ENV+= ac_cv_linux_vers=26
CONFIGURE_ARGS+= --disable-yydebug \
- --with-build-cc=$(HOSTCC) \
+ --with-build-cc=$(CC_FOR_BUILD) \
--with-pcap=linux
-TCFLAGS+= ${TCPPFLAGS}
+TARGET_CFLAGS+= ${TARGET_CPPFLAGS}
INSTALL_TARGET= install install-shared
MAKE_FLAGS+= STAGING_TARGET_DIR=$(STAGING_TARGET_DIR)
diff --git a/package/libpri/Makefile b/package/libpri/Makefile
index 101f82c..5c93c4c 100644
--- a/package/libpri/Makefile
+++ b/package/libpri/Makefile
@@ -18,7 +18,7 @@ $(eval $(call PKG_template,LIBPRI,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PK
CONFIG_STYLE:= manual
-MAKE_FLAGS+= CC='${TARGET_CC}' LDCONFIG=''
+MAKE_FLAGS+= CC='${TARGET_CC}' LDCONFIG='' ARCH=$(ARCH)
FAKE_FLAGS+= INSTALL_BASE=/usr
post-install:
diff --git a/package/libpri/patches/patch-Makefile b/package/libpri/patches/patch-Makefile
index e7e553e..7439240 100644
--- a/package/libpri/patches/patch-Makefile
+++ b/package/libpri/patches/patch-Makefile
@@ -1,6 +1,36 @@
--- libpri-1.4.10.2.orig/Makefile 2008-08-06 20:20:51.000000000 +0200
-+++ libpri-1.4.10.2/Makefile 2010-05-29 09:55:08.750000000 +0200
-@@ -146,7 +146,6 @@ $(STATIC_LIBRARY): $(STATIC_OBJS)
++++ libpri-1.4.10.2/Makefile 2011-01-21 14:32:08.278658337 +0100
+@@ -31,8 +31,8 @@ CC=gcc
+ GREP=grep
+ AWK=awk
+
+-OSARCH=$(shell uname -s)
+-PROC?=$(shell uname -m)
++OSARCH=Linux
++PROC?=$(ARCH)
+
+ # SONAME version; should be changed on every ABI change
+ # please don't change it needlessly; it's perfectly fine to have a SONAME
+@@ -43,7 +43,8 @@ STATIC_LIBRARY=libpri.a
+ DYNAMIC_LIBRARY:=libpri.so.$(SONAME)
+ STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o version.o
+ DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo version.lo
+-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS)
++CFLAGS?=
++CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC $(ALERTING) $(LIBPRI_COUNTERS)
+ INSTALL_PREFIX=$(DESTDIR)
+ INSTALL_BASE=/usr
+ libdir?=$(INSTALL_BASE)/lib
+@@ -135,7 +136,7 @@ pridump: pridump.o
+ MAKE_DEPS= -MD -MT $@ -MF .$(subst /,_,$@).d -MP
+
+ %.o: %.c
+- $(CC) $(CFLAGS) $(MAKE_DEPS) -c -o $@ $<
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(MAKE_DEPS) -c -o $@ $<
+
+ %.lo: %.c
+ $(CC) $(CFLAGS) $(MAKE_DEPS) -c -o $@ $<
+@@ -146,7 +147,6 @@ $(STATIC_LIBRARY): $(STATIC_OBJS)
$(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS)
$(CC) -shared $(SOFLAGS) -o $@ $(DYNAMIC_OBJS)
diff --git a/package/libupnp/Makefile b/package/libupnp/Makefile
index 25cbd85..7e4c593 100644
--- a/package/libupnp/Makefile
+++ b/package/libupnp/Makefile
@@ -19,7 +19,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBUPNP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -fPIC
+TARGET_CFLAGS+= -fPIC
CONFIGURE_ARGS+= --disable-samples
post-build:
diff --git a/package/libvirt/Makefile b/package/libvirt/Makefile
index 03ff483..df516c2 100644
--- a/package/libvirt/Makefile
+++ b/package/libvirt/Makefile
@@ -21,7 +21,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBVIRT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -std=c99
+TARGET_CFLAGS+= -std=c99
CONFIGURE_ARGS+= --without-xen \
--without-uml \
--without-esx \
diff --git a/package/lighttpd/Makefile b/package/lighttpd/Makefile
index 69bbdab..9222971 100644
--- a/package/lighttpd/Makefile
+++ b/package/lighttpd/Makefile
@@ -68,7 +68,7 @@ $(eval $(call PKG_mod_template,LIGHTTPD_MOD_STATUS,status))
$(eval $(call PKG_mod_template,LIGHTTPD_MOD_USERTRACK,usertrack))
$(eval $(call PKG_mod_template,LIGHTTPD_MOD_WEBDAV,webdav))
-TCPPFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/libxml2
+TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/libxml2
CONFIGURE_ENV+= PCRE_LIB="-lpcre"
CONFIGURE_ARGS+= \
--libdir=/usr/lib/lighttpd \
diff --git a/package/logrotate/Makefile b/package/logrotate/Makefile
index 884b2d0..1d0a69a 100644
--- a/package/logrotate/Makefile
+++ b/package/logrotate/Makefile
@@ -18,7 +18,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LOGROTATE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
-TCFLAGS+= -D_GNU_SOURCE -DVERSION=\"$(PKG_VERSION)\"
+TARGET_CFLAGS+= -D_GNU_SOURCE -DVERSION=\"$(PKG_VERSION)\"
post-install:
${INSTALL_DIR} ${IDIR_LOGROTATE}/usr/sbin
diff --git a/package/lua/Makefile b/package/lua/Makefile
index 59cb967..e764772 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -26,8 +26,8 @@ $(eval $(call PKG_template,LUAC,luac,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS
$(eval $(call PKG_template,LUA_EXAMPLES,lua-examples,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LUAEXAMPLES},${PKG_SECTION}))
CONFIG_STYLE:= manual
-MAKE_FLAGS+= CFLAGS="${TCFLAGS} ${TCPPFLAGS} -DLUA_USE_LINUX -fPIC" \
- MYLDFLAGS="${TLDFLAGS}" \
+MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS} ${TARGET_CPPFLAGS} -DLUA_USE_LINUX -fPIC" \
+ MYLDFLAGS="${TARGET_LDFLAGS}" \
CC="${TARGET_CC}" LD="${TARGET_CROSS}ld" \
AR="${TARGET_CROSS}ar rcu" \
RANLIB="${TARGET_CROSS}ranlib"
diff --git a/package/lynx/Makefile b/package/lynx/Makefile
index b71dcb2..0310b95 100644
--- a/package/lynx/Makefile
+++ b/package/lynx/Makefile
@@ -21,10 +21,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LYNX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCPPFLAGS+= -I${STAGING_TARGET_DIR}/include/openssl
-TCPPFLAGS+= -DUSE_OPENSSL_INCL -DUSE_X509_SUPPORT
-TLDFLAGS+= -lz
-
+TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/include/openssl
+TARGET_CPPFLAGS+= -DUSE_OPENSSL_INCL -DUSE_X509_SUPPORT
CONFIGURE_ENV+= ac_cv_path_TELNET=telnet \
ac_cv_path_TN3270=tn3270 \
ac_cv_path_RLOGIN=rlogin \
@@ -78,7 +76,6 @@ CONFIGURE_ARGS+= \
--disable-widec \
--disable-locale-charset \
--with-build-cppflags="-I/usr/include/ncurses"
-
MAKE_FILE:= makefile
post-install:
diff --git a/package/madplay/Makefile b/package/madplay/Makefile
index 01372dc..50187a2 100644
--- a/package/madplay/Makefile
+++ b/package/madplay/Makefile
@@ -19,7 +19,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MADPLAY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${HOST_CC} \
+CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${CC_FOR_BUILD} \
LIBS="-lz" \
ac_cv_linux_vers=2 \
td_cv_buggygetaddrinfo="no"
diff --git a/package/madplay/patches/patch-configure b/package/madplay/patches/patch-configure
new file mode 100644
index 0000000..b3d1b6c
--- /dev/null
+++ b/package/madplay/patches/patch-configure
@@ -0,0 +1,14 @@
+--- madplay-0.15.2b.orig/configure 2004-02-23 22:36:21.000000000 +0100
++++ madplay-0.15.2b/configure 2011-01-21 16:04:04.644909723 +0100
+@@ -19057,10 +19057,7 @@ do
+ arch="$arch $1"
+ shift
+ ;;
+- -fomit-frame-pointer)
+- shift
+- ;;
+- -O*|-f*)
++ -O*)
+ optimize="$1"
+ shift
+ ;;
diff --git a/package/maradns/Makefile b/package/maradns/Makefile
index f940c45..0974356 100644
--- a/package/maradns/Makefile
+++ b/package/maradns/Makefile
@@ -4,22 +4,21 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= maradns
-PKG_VERSION:= 1.4.03
+PKG_VERSION:= 1.4.05
PKG_RELEASE:= 1
-PKG_MD5SUM:= 9e715104234cc9bf01e2afaad27eb787
+PKG_MD5SUM:= aff277f6ba0e1ff46d32a60ab84f16cb
PKG_DESCR:= small and secure DNS server
PKG_SECTION:= dns
-PKG_NOPARALLEL:= 1
PKG_DEPENDS:= libpthread
PKG_URL:= http://www.maradns.org
PKG_SITES:= http://www.maradns.org/download/1.4/${PKG_VERSION}/
+PKG_NOPARALLEL:= 1
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MARADNS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
-
FAKE_FLAGS+= PREFIX="${WRKINST}/usr" \
RPM_BUILD_ROOT="${WRKINST}"
diff --git a/package/maradns/patches/cross-compile-fix.patch b/package/maradns/patches/cross-compile-fix.patch
index 8277956..384cd69 100644
--- a/package/maradns/patches/cross-compile-fix.patch
+++ b/package/maradns/patches/cross-compile-fix.patch
@@ -1,12 +1,20 @@
diff -urN maradns-1.0.26.old/rng/Makefile maradns-1.0.26.dev/rng/Makefile
---- maradns-1.4.03.orig/rng/Makefile 2006-01-02 17:59:33.000000000 +0100
-+++ maradns-1.4.03/rng/Makefile 2010-02-06 00:19:48.241836878 +0100
-@@ -25,7 +25,7 @@ rng-api-fst.o: rng-alg-fst.o rng-api-fst
- $(CC) -c $(FLAGS) -o rng-api-fst.o rng-api-fst.c
+--- maradns-1.4.05.orig/rng/Makefile 2006-01-02 17:59:33.000000000 +0100
++++ maradns-1.4.05/rng/Makefile 2011-01-21 16:47:29.318658272 +0100
+@@ -19,13 +19,13 @@ superclean:
+ rm -f $(ROBJECTS) core make_32bit_tables $(TABLES)
+
+ rng-alg-fst.o: rng-alg-fst.c rng-alg-fst.h $(TABLES)
+- $(CC) -c $(FLAGS) -o rng-alg-fst.o rng-alg-fst.c
++ $(CC) -c $(CFLAGS) -o rng-alg-fst.o rng-alg-fst.c
+
+ rng-api-fst.o: rng-alg-fst.o rng-api-fst.h
+- $(CC) -c $(FLAGS) -o rng-api-fst.o rng-api-fst.c
++ $(CC) -c $(CFLAGS) -o rng-api-fst.o rng-api-fst.c
make_32bit_tables: make_32bit_tables.c
- $(CC) -o make_32bit_tables make_32bit_tables.c
-+ $(HOSTCC) -o make_32bit_tables make_32bit_tables.c
++ $(CC_FOR_BUILD) -o make_32bit_tables make_32bit_tables.c
rng-32bit-tables.h: make_32bit_tables
./make_32bit_tables > rng-32bit-tables.h
diff --git a/package/maradns/patches/patch-Makefile b/package/maradns/patches/patch-Makefile
index d1fc651..c06bf9a 100644
--- a/package/maradns/patches/patch-Makefile
+++ b/package/maradns/patches/patch-Makefile
@@ -1,12 +1,12 @@
---- maradns-1.4.03.orig/Makefile 2006-01-02 17:59:33.000000000 +0100
-+++ maradns-1.4.03/Makefile 2010-02-06 00:19:48.471836901 +0100
+--- maradns-1.4.05.orig/Makefile 2006-01-02 17:59:33.000000000 +0100
++++ maradns-1.4.05/Makefile 2011-01-21 16:48:06.124913980 +0100
@@ -1,15 +1,82 @@
-# This is a wrapper that runs "./configure ; make"
-all:
- ./compile.sh
-+VERSION=1.4.03
-+COMPILED="Linux system at Sat Feb 6 00:19:48 CET 2010"
-+COMPILED_DEBUG="Linux system at Sat Feb 6 00:19:48 CET 2010 (Debug)"
++VERSION=1.4.05
++COMPILED="Linux system at Fri Jan 21 16:48:06 CET 2011"
++COMPILED_DEBUG="Linux system at Fri Jan 21 16:48:06 CET 2011 (Debug)"
+# Server objects
+SOBJECTS=server/MaraBigHash.o
+# js_string library (buffer overflow resistant string library) objects
@@ -34,23 +34,23 @@
+# LDFLAGS=-L/usr/ucblib -lucb -lxnet
+# end the Solaris section
+# Non-Solaris version of "M"
-+V="VERSION=$(VERSION)"
++VER="VERSION=$(VERSION)"
+Q="DEFINES=-DSELECT_PROBLEM"
+
+# Debug
+
-+FLAGS = -O2 -Wall -DSELECT_PROBLEM
-+M="CC=$(CC) $(FLAGS)"
-+D="CC=$(CC) $(FLAGS) -DDEBUG -DTHREADS"
++CFLAGS ?= -O2 -Wall -DSELECT_PROBLEM
++M="CC=$(CC)"
++D="CC=$(CC) -DDEBUG -DTHREADS"
+#FLAGS = -g
+
+all:
+ cd libs ; make $(M) ; cd ../dns ; make $(M) ; \
+ cd ../rng ; make $(M) ; cd ../parse ; make $(M) ; \
+ cd ../qual ; make $(M) ; cd ../server ; \
-+ make $(M) $(V) COMPILED=\"$(COMPILED)\" ; \
++ make $(M) $(VER) COMPILED=\"$(COMPILED)\" ; \
+ cd ../tools ; make $(M) ; \
-+ cd ../tcp ; make $(M) $(V) ; cat ../00README.FIRST
++ cd ../tcp ; make $(M) $(VER)
+
+debug:
+ cd libs ; make $(D) DEBUG="-DDEBUG -DTHREADS" ; \
diff --git a/package/maradns/patches/patch-build_Makefile_linux b/package/maradns/patches/patch-build_Makefile_linux
index 2e7dec5..44b68b5 100644
--- a/package/maradns/patches/patch-build_Makefile_linux
+++ b/package/maradns/patches/patch-build_Makefile_linux
@@ -1,5 +1,5 @@
---- maradns-1.4.03.orig/build/Makefile.linux 2006-11-24 12:44:29.000000000 +0100
-+++ maradns-1.4.03/build/Makefile.linux 2010-02-06 00:23:58.393084387 +0100
+--- maradns-1.4.05.orig/build/Makefile.linux 2006-11-24 12:44:29.000000000 +0100
++++ maradns-1.4.05/build/Makefile.linux 2011-01-21 16:36:23.968658279 +0100
@@ -23,23 +23,23 @@ EXECS=server/maradns
# LDFLAGS=-L/usr/ucblib -lucb -lxnet
# end the Solaris section
@@ -14,8 +14,8 @@
-M="CC=$(CC) $(FLAGS)"
-D="CC=$(CC) $(FLAGS) -DDEBUG -DTHREADS"
+CFLAGS ?= -O2 -Wall -DSELECT_PROBLEM
-+M="CC=$(CC) $(CFLAGS)"
-+D="CC=$(CC) $(CFLAGS) -DDEBUG -DTHREADS"
++M="CC=$(CC)"
++D="CC=$(CC) -DDEBUG -DTHREADS"
#FLAGS = -g
all:
diff --git a/package/maradns/patches/patch-dns_Makefile b/package/maradns/patches/patch-dns_Makefile
index 7071303..81855b3 100644
--- a/package/maradns/patches/patch-dns_Makefile
+++ b/package/maradns/patches/patch-dns_Makefile
@@ -1,5 +1,5 @@
---- maradns-1.4.03.orig/dns/Makefile 2005-12-20 11:10:40.000000000 +0100
-+++ maradns-1.4.03/dns/Makefile 2010-02-06 00:19:48.481829524 +0100
+--- maradns-1.4.05.orig/dns/Makefile 2005-12-20 11:10:40.000000000 +0100
++++ maradns-1.4.05/dns/Makefile 2011-01-21 16:48:06.144914132 +0100
@@ -3,7 +3,7 @@ JOBJS=../libs/JsStr.o ../libs/JsStrOS.o
MHOBJS=../libs/MaraHash.o
OBJECTS=$(DOBJECTS) $(JOBJS) $(MHOBJS)
@@ -9,3 +9,22 @@
#FLAGS = -g $(DEBUG)
all: Queries.o Compress.o bobbit.o Decompress.o
+@@ -12,14 +12,14 @@ clean:
+ rm -f Queries.o Compress.o bobbit.o Decompress.o
+
+ Queries.o: Queries.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o Queries.o Queries.c
++ $(CC) -c $(CFLAGS) -o Queries.o Queries.c
+
+ Compress.o: Compress.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o Compress.o Compress.c
++ $(CC) -c $(CFLAGS) -o Compress.o Compress.c
+
+ Decompress.o: Decompress.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o Decompress.o Decompress.c
++ $(CC) -c $(CFLAGS) -o Decompress.o Decompress.c
+
+ bobbit.o: bobbit.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o bobbit.o bobbit.c
++ $(CC) -c $(CFLAGS) -o bobbit.o bobbit.c
+
diff --git a/package/maradns/patches/patch-dns_Makefile_recursive b/package/maradns/patches/patch-dns_Makefile_recursive
new file mode 100644
index 0000000..3e83391
--- /dev/null
+++ b/package/maradns/patches/patch-dns_Makefile_recursive
@@ -0,0 +1,21 @@
+--- maradns-1.4.05.orig/dns/Makefile.recursive 2006-01-02 17:59:33.000000000 +0100
++++ maradns-1.4.05/dns/Makefile.recursive 2011-01-21 16:47:09.678658422 +0100
+@@ -12,14 +12,14 @@ clean:
+ rm -f Queries.o Compress.o bobbit.o Decompress.o
+
+ Queries.o: Queries.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o Queries.o Queries.c
++ $(CC) -c $(CFLAGS) -o Queries.o Queries.c
+
+ Compress.o: Compress.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o Compress.o Compress.c
++ $(CC) -c $(CFLAGS) -o Compress.o Compress.c
+
+ Decompress.o: Decompress.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o Decompress.o Decompress.c
++ $(CC) -c $(CFLAGS) -o Decompress.o Decompress.c
+
+ bobbit.o: bobbit.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o bobbit.o bobbit.c
++ $(CC) -c $(CFLAGS) -o bobbit.o bobbit.c
+
diff --git a/package/maradns/patches/patch-libs_Makefile b/package/maradns/patches/patch-libs_Makefile
new file mode 100644
index 0000000..4c8ec32
--- /dev/null
+++ b/package/maradns/patches/patch-libs_Makefile
@@ -0,0 +1,31 @@
+--- maradns-1.4.05.orig/libs/Makefile 2006-01-02 17:59:33.000000000 +0100
++++ maradns-1.4.05/libs/Makefile 2011-01-21 16:46:50.568579851 +0100
+@@ -9,22 +9,22 @@ clean:
+ rm -f core $(OBJECTS) tests mtest *.exe
+
+ MaraHash.o: JsStr.h MaraHash.c
+- $(CC) -c $(FLAGS) -o MaraHash.o MaraHash.c
++ $(CC) -c $(CFLAGS) -o MaraHash.o MaraHash.c
+
+ JsStr.o: JsStr.h JsStr.c
+- $(CC) -c $(FLAGS) -o JsStr.o JsStr.c
++ $(CC) -c $(CFLAGS) -o JsStr.o JsStr.c
+
+ JsStrOS.o: JsStr.h JsStrOS.c
+- $(CC) -c $(FLAGS) -o JsStrOS.o JsStrOS.c
++ $(CC) -c $(CFLAGS) -o JsStrOS.o JsStrOS.c
+
+ JsStrCP.o: JsStr.h JsStrCP.c
+- $(CC) -c $(FLAGS) -o JsStrCP.o JsStrCP.c
++ $(CC) -c $(CFLAGS) -o JsStrCP.o JsStrCP.c
+
+ mtest: mtest.c $(OBJECTS)
+- $(CC) $(FLAGS) -o mtest mtest.c $(OBJECTS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o mtest mtest.c $(OBJECTS)
+
+ tests: tests.c $(OBJECTS)
+- $(CC) $(FLAGS) -o tests tests.c $(OBJECTS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o tests tests.c $(OBJECTS)
+
+ #onetime: $(OBJECTS) kiwi.h config.h onetime.c do_scramble.o cryptdate.o
+ # $(CC) $(FLAGS) -o onetime onetime.c do_scramble.o cryptdate.o
diff --git a/package/maradns/patches/patch-parse_Makefile b/package/maradns/patches/patch-parse_Makefile
new file mode 100644
index 0000000..b7098c9
--- /dev/null
+++ b/package/maradns/patches/patch-parse_Makefile
@@ -0,0 +1,80 @@
+--- maradns-1.4.05.orig/parse/Makefile 2006-07-18 05:50:44.000000000 +0200
++++ maradns-1.4.05/parse/Makefile 2011-01-21 16:47:47.994913518 +0100
+@@ -8,8 +8,8 @@ DOBJECTS=../dns/Queries.o ../dns/Compres
+ OBJECTS=$(JOBJS) $(MHOBJS) $(POBJECTS) $(DOBJECTS) $(OUTOBJ)
+ EXECS=parsetest parsetest2
+
+-#FLAGS = -g -Wall $(DEBUG)
+-#FLAGS = -g $(DEBUG)
++#CFLAGS = -g -Wall $(DEBUG)
++#CFLAGS = -g $(DEBUG)
+
+ all: $(POBJECTS) $(OUTOBJ)
+
+@@ -20,50 +20,50 @@ clean:
+ cd libs ; make
+
+ ParseMaraRc.o: ParseMaraRc.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h ParseMaraRc_en.h
+- $(CC) -c $(FLAGS) -o ParseMaraRc.o ParseMaraRc.c
++ $(CC) -c $(CFLAGS) -o ParseMaraRc.o ParseMaraRc.c
+
+ ParseCsv1.o: ParseCsv1.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o ParseCsv1.o ParseCsv1.c
++ $(CC) -c $(CFLAGS) -o ParseCsv1.o ParseCsv1.c
+
+ ParseIpAcl.o: ParseIpAcl.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o ParseIpAcl.o ParseIpAcl.c
++ $(CC) -c $(CFLAGS) -o ParseIpAcl.o ParseIpAcl.c
+
+ Parse_ipv6.o: Parse_ipv6.c ../libs/MaraHash.h
+- $(CC) -c $(FLAGS) -o Parse_ipv6.o Parse_ipv6.c
++ $(CC) -c $(CFLAGS) -o Parse_ipv6.o Parse_ipv6.c
+
+ Csv2_esc_txt.o: Csv2_esc_txt.c ../libs/JsStr.h
+- $(CC) -c $(FLAGS) -o Csv2_esc_txt.o Csv2_esc_txt.c
++ $(CC) -c $(CFLAGS) -o Csv2_esc_txt.o Csv2_esc_txt.c
+
+ Csv2_main.o: Csv2_main.c ../libs/JsStr.h Csv2_read.h
+- $(CC) -c $(FLAGS) -o Csv2_main.o Csv2_main.c
++ $(CC) -c $(CFLAGS) -o Csv2_main.o Csv2_main.c
+
+ Csv2_read.o: Csv2_read.c ../libs/JsStr.h Csv2_read.h
+- $(CC) -c $(FLAGS) -o Csv2_read.o Csv2_read.c
++ $(CC) -c $(CFLAGS) -o Csv2_read.o Csv2_read.c
+
+ Csv2_parse.o: Csv2_parse.c ../libs/JsStr.h Csv2_read.h
+- $(CC) -c $(FLAGS) -o Csv2_parse.o Csv2_parse.c
++ $(CC) -c $(CFLAGS) -o Csv2_parse.o Csv2_parse.c
+
+ Csv2_rr_aaaa.o: Csv2_rr_aaaa.c ../libs/JsStr.h Csv2_read.h
+- $(CC) -c $(FLAGS) -o Csv2_rr_aaaa.o Csv2_rr_aaaa.c
++ $(CC) -c $(CFLAGS) -o Csv2_rr_aaaa.o Csv2_rr_aaaa.c
+
+ Csv2_rr_wks.o: Csv2_rr_wks.c ../libs/JsStr.h Csv2_read.h
+- $(CC) -c $(FLAGS) -o Csv2_rr_wks.o Csv2_rr_wks.c
++ $(CC) -c $(CFLAGS) -o Csv2_rr_wks.o Csv2_rr_wks.c
+
+ Csv2_rr_a.o: Csv2_rr_a.c ../libs/JsStr.h Csv2_read.h
+- $(CC) -c $(FLAGS) -o Csv2_rr_a.o Csv2_rr_a.c
++ $(CC) -c $(CFLAGS) -o Csv2_rr_a.o Csv2_rr_a.c
+
+ Csv2_rr_soa.o: Csv2_rr_soa.c ../libs/JsStr.h Csv2_read.h
+- $(CC) -c $(FLAGS) -o Csv2_rr_soa.o Csv2_rr_soa.c
++ $(CC) -c $(CFLAGS) -o Csv2_rr_soa.o Csv2_rr_soa.c
+
+ Csv2_rr_txt.o: Csv2_rr_txt.c ../libs/JsStr.h Csv2_read.h
+- $(CC) -c $(FLAGS) -o Csv2_rr_txt.o Csv2_rr_txt.c
++ $(CC) -c $(CFLAGS) -o Csv2_rr_txt.o Csv2_rr_txt.c
+
+ Csv2_database.o: Csv2_database.c ../libs/JsStr.h Csv2_read.h
+- $(CC) -c $(FLAGS) -o Csv2_database.o Csv2_database.c
++ $(CC) -c $(CFLAGS) -o Csv2_database.o Csv2_database.c
+
+ parsetest: parsetest.c $(OBJECTS)
+- $(CC) $(FLAGS) -o parsetest parsetest.c $(OBJECTS)
++ $(CC) $(CFLAGS) -o parsetest parsetest.c $(OBJECTS)
+
+ parsetest2: parsetest2.c $(OBJECTS)
+- $(CC) $(FLAGS) -o parsetest2 parsetest2.c $(OBJECTS)
++ $(CC) $(CFLAGS) -o parsetest2 parsetest2.c $(OBJECTS)
+
diff --git a/package/maradns/patches/patch-qual_Makefile_threadsafe b/package/maradns/patches/patch-qual_Makefile_threadsafe
new file mode 100644
index 0000000..81ef93c
--- /dev/null
+++ b/package/maradns/patches/patch-qual_Makefile_threadsafe
@@ -0,0 +1,9 @@
+--- maradns-1.4.05.orig/qual/Makefile.threadsafe 2006-01-22 06:22:01.000000000 +0100
++++ maradns-1.4.05/qual/Makefile.threadsafe 2011-01-21 16:48:40.348658539 +0100
+@@ -8,5 +8,5 @@ clean:
+ rm -f qual_timestamp.o
+
+ qual_timestamp.o: qual_timestamp.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o qual_timestamp.o qual_timestamp.c
++ $(CC) -c $(CFLAGS) -o qual_timestamp.o qual_timestamp.c
+
diff --git a/package/maradns/patches/patch-rng_rng-32bit-tables_h b/package/maradns/patches/patch-rng_rng-32bit-tables_h
index 61ebbff..2f46479 100644
--- a/package/maradns/patches/patch-rng_rng-32bit-tables_h
+++ b/package/maradns/patches/patch-rng_rng-32bit-tables_h
@@ -1,5 +1,5 @@
---- maradns-1.4.03.orig/rng/rng-32bit-tables.h 2010-02-02 18:12:47.000000000 +0100
-+++ maradns-1.4.03/rng/rng-32bit-tables.h 2010-02-06 00:19:49.965584207 +0100
+--- maradns-1.4.05.orig/rng/rng-32bit-tables.h 2010-09-25 16:14:04.000000000 +0200
++++ maradns-1.4.05/rng/rng-32bit-tables.h 2011-01-21 16:25:33.324914221 +0100
@@ -1,332 +1,332 @@
/* This file is automatically generated by the program make_32bit_tables.c */
diff --git a/package/maradns/patches/patch-server_Makefile b/package/maradns/patches/patch-server_Makefile
index 9659543..571fba3 100644
--- a/package/maradns/patches/patch-server_Makefile
+++ b/package/maradns/patches/patch-server_Makefile
@@ -1,5 +1,5 @@
---- maradns-1.4.03.orig/server/Makefile 2006-01-02 17:59:33.000000000 +0100
-+++ maradns-1.4.03/server/Makefile 2010-02-06 00:19:48.471836901 +0100
+--- maradns-1.4.05.orig/server/Makefile 2006-01-02 17:59:33.000000000 +0100
++++ maradns-1.4.05/server/Makefile 2011-01-21 16:45:45.307408698 +0100
@@ -1,11 +1,13 @@
-SOBJECTS=MaraBigHash.o recursive.o timestamp.o read_kvars.o MaraAnyChain.o
+SOBJECTS=MaraBigHash.o recursive.o timestamp.o read_kvars.o MaraAnyChain.o \
@@ -16,13 +16,37 @@
POBJECTS=../parse/ParseMaraRc.o ../parse/ParseCsv1.o $(POBJ4) $(POBJ5)
DOBJECTS=../dns/Queries.o ../dns/Compress.o ../dns/bobbit.o ../dns/Decompress.o
ROBJECTS=../rng/rng-api-fst.o ../rng/rng-alg-fst.o
-@@ -46,6 +48,9 @@ timestamp.o: timestamp.c MaraDNS_locale.
- MaraAnyChain.o: MaraAnyChain.c
- $(CC) -c $(FLAGS) -o MaraAnyChain.o MaraAnyChain.c
+@@ -32,23 +34,26 @@ libs/tests:
+ cd libs ; make
-+udpsuccess.o: udpsuccess.c
-+ $(CC) -c $(FLAGS) -o udpsuccess.o udpsuccess.c
+ read_kvars.o: read_kvars.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o read_kvars.o read_kvars.c
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o read_kvars.o read_kvars.c
+
+ MaraBigHash.o: MaraBigHash.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h MaraBigHash_locale.h
+- $(CC) -c $(FLAGS) -o MaraBigHash.o MaraBigHash.c
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o MaraBigHash.o MaraBigHash.c
+
+ recursive.o: recursive.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o recursive.o recursive.c
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o recursive.o recursive.c
+
+ timestamp.o: timestamp.c MaraDNS_locale.h
+- $(CC) -c $(FLAGS) -o timestamp.o timestamp.c
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o timestamp.o timestamp.c
+
+ MaraAnyChain.o: MaraAnyChain.c
+- $(CC) -c $(FLAGS) -o MaraAnyChain.o MaraAnyChain.c
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o MaraAnyChain.o MaraAnyChain.c
+
++udpsuccess.o: udpsuccess.c
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o udpsuccess.o udpsuccess.c
+
maradns: MaraDNS.c $(OBJECTS) MaraDNS_locale.h
- $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread
+- $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread
++ $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread
+
+ simple: simple.c $(XOBJECTS) MaraDNS_locale.h
+- $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o simple $(OBJECTS) simple.c
++ $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o simple $(OBJECTS) simple.c
diff --git a/package/maradns/patches/patch-server_Makefile_recursive b/package/maradns/patches/patch-server_Makefile_recursive
new file mode 100644
index 0000000..cb0d526
--- /dev/null
+++ b/package/maradns/patches/patch-server_Makefile_recursive
@@ -0,0 +1,37 @@
+--- maradns-1.4.05.orig/server/Makefile.recursive 2007-08-16 15:35:43.000000000 +0200
++++ maradns-1.4.05/server/Makefile.recursive 2011-01-21 16:45:30.748658697 +0100
+@@ -34,26 +34,26 @@ libs/tests:
+ cd libs ; make
+
+ read_kvars.o: read_kvars.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o read_kvars.o read_kvars.c
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o read_kvars.o read_kvars.c
+
+ MaraBigHash.o: MaraBigHash.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h MaraBigHash_locale.h
+- $(CC) -c $(FLAGS) -o MaraBigHash.o MaraBigHash.c
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o MaraBigHash.o MaraBigHash.c
+
+ recursive.o: recursive.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
+- $(CC) -c $(FLAGS) -o recursive.o recursive.c
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o recursive.o recursive.c
+
+ timestamp.o: timestamp.c MaraDNS_locale.h
+- $(CC) -c $(FLAGS) -o timestamp.o timestamp.c
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o timestamp.o timestamp.c
+
+ MaraAnyChain.o: MaraAnyChain.c
+- $(CC) -c $(FLAGS) -o MaraAnyChain.o MaraAnyChain.c
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o MaraAnyChain.o MaraAnyChain.c
+
+ udpsuccess.o: udpsuccess.c
+- $(CC) -c $(FLAGS) -o udpsuccess.o udpsuccess.c
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o udpsuccess.o udpsuccess.c
+
+ maradns: MaraDNS.c $(OBJECTS) MaraDNS_locale.h
+- $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread
++ $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread
+
+ simple: simple.c $(XOBJECTS) MaraDNS_locale.h
+- $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o simple $(OBJECTS) simple.c
++ $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o simple $(OBJECTS) simple.c
+
diff --git a/package/maradns/patches/patch-tcp_Makefile b/package/maradns/patches/patch-tcp_Makefile
index cbb673b..4b5d12c 100644
--- a/package/maradns/patches/patch-tcp_Makefile
+++ b/package/maradns/patches/patch-tcp_Makefile
@@ -1,5 +1,5 @@
---- maradns-1.4.03.orig/tcp/Makefile 2005-12-20 11:10:40.000000000 +0100
-+++ maradns-1.4.03/tcp/Makefile 2010-02-06 00:19:48.481829524 +0100
+--- maradns-1.4.05.orig/tcp/Makefile 2005-12-20 11:10:40.000000000 +0100
++++ maradns-1.4.05/tcp/Makefile 2011-01-21 16:41:10.254914344 +0100
@@ -2,10 +2,11 @@ JOBJS=../libs/JsStr.o ../libs/JsStrOS.o
MJOBJS=../qual/qual_timestamp.o
MHOBJS=../libs/MaraHash.o
@@ -22,3 +22,18 @@
#FLAGS = -g $(DEBUG)
all: $(EXECS)
+@@ -25,11 +26,11 @@ clean:
+ rm -f core $(EXECS) $(TCPOBJS) *.exe
+
+ getzone: getzone.c $(OBJECTS)
+- $(CC) $(FLAGS) -o getzone getzone.c $(OBJECTS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o getzone getzone.c $(OBJECTS)
+
+ fetchzone: fetchzone.c $(OBJECTS)
+- $(CC) $(FLAGS) -o fetchzone fetchzone.c $(OBJECTS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o fetchzone fetchzone.c $(OBJECTS)
+
+ zoneserver: zoneserver.c zoneserver_en.h $(OBJECTS)
+- $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -o zoneserver zoneserver.c $(OBJECTS) $(RNGOBJS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION=\"$(VERSION)\" -o zoneserver zoneserver.c $(OBJECTS) $(RNGOBJS)
+
diff --git a/package/maradns/patches/patch-tcp_Makefile_recursive b/package/maradns/patches/patch-tcp_Makefile_recursive
new file mode 100644
index 0000000..38a7a70
--- /dev/null
+++ b/package/maradns/patches/patch-tcp_Makefile_recursive
@@ -0,0 +1,17 @@
+--- maradns-1.4.05.orig/tcp/Makefile.recursive 2006-07-18 05:50:44.000000000 +0200
++++ maradns-1.4.05/tcp/Makefile.recursive 2011-01-21 16:40:56.008658167 +0100
+@@ -26,11 +26,11 @@ clean:
+ rm -f core $(EXECS) $(TCPOBJS) *.exe
+
+ getzone: getzone.c $(OBJECTS)
+- $(CC) $(FLAGS) -o getzone getzone.c $(OBJECTS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o getzone getzone.c $(OBJECTS)
+
+ fetchzone: fetchzone.c $(OBJECTS)
+- $(CC) $(FLAGS) -o fetchzone fetchzone.c $(OBJECTS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o fetchzone fetchzone.c $(OBJECTS)
+
+ zoneserver: zoneserver.c zoneserver_en.h $(OBJECTS)
+- $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -o zoneserver zoneserver.c $(OBJECTS) $(RNGOBJS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION=\"$(VERSION)\" -o zoneserver zoneserver.c $(OBJECTS) $(RNGOBJS)
+
diff --git a/package/maradns/patches/patch-tools_Makefile_recursive b/package/maradns/patches/patch-tools_Makefile_recursive
new file mode 100644
index 0000000..bf0f20d
--- /dev/null
+++ b/package/maradns/patches/patch-tools_Makefile_recursive
@@ -0,0 +1,25 @@
+--- maradns-1.4.05.orig/tools/Makefile.recursive 2006-01-02 17:59:33.000000000 +0100
++++ maradns-1.4.05/tools/Makefile.recursive 2011-01-21 16:42:58.874910569 +0100
+@@ -18,17 +18,17 @@ clean:
+ rm -f core $(EXECS) *.exe
+
+ askmara: askmara.c askmara_labels_en.h $(OBJECTS) $(Q) $(OUTOBJ)
+- $(CC) $(FLAGS) -o askmara askmara.c $(OBJECTS) $(Q) $(OUTOBJ)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o askmara askmara.c $(OBJECTS) $(Q) $(OUTOBJ)
+
+ askmara-tcp: askmara-tcp.c askmara_labels_en.h $(OBJECTS) $(ROBJECTS) $(POBJECTS)
+- $(CC) $(FLAGS) -o askmara-tcp askmara-tcp.c $(OBJECTS) $(ROBJECTS) $(POBJECTS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o askmara-tcp askmara-tcp.c $(OBJECTS) $(ROBJECTS) $(POBJECTS)
+
+ benchmark: benchmark.c askmara_labels_en.h $(OBJECTS) $(POBJECTS)
+- $(CC) $(FLAGS) -o benchmark benchmark.c $(OBJECTS) $(POBJECTS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o benchmark benchmark.c $(OBJECTS) $(POBJECTS)
+
+ duende: duende.c
+- $(CC) $(FLAGS) -o duende duende.c
++ $(CC) $(CFLAGS) $(LDFLAGS) -o duende duende.c
+
+ strip.control: strip.control.c
+- $(CC) $(FLAGS) -o strip.control strip.control.c
++ $(CC) $(CFLAGS) $(LDFLAGS) -o strip.control strip.control.c
+
diff --git a/package/mgetty/patches/patch-Makefile b/package/mgetty/patches/patch-Makefile
index 3fd5dfb..9741f0f 100644
--- a/package/mgetty/patches/patch-Makefile
+++ b/package/mgetty/patches/patch-Makefile
@@ -1,5 +1,23 @@
--- mgetty-1.1.36.orig/Makefile 2007-06-15 13:15:56.000000000 +0200
-+++ mgetty-1.1.36/Makefile 2009-08-28 15:17:14.235450692 +0200
++++ mgetty-1.1.36/Makefile 2011-01-21 17:07:06.158658312 +0100
+@@ -4,7 +4,7 @@
+ #
+ # this is the C compiler to use (on SunOS, the standard "cc" does not
+ # grok my code, so please use gcc there. On ISC 4.0, use "icc".).
+-CC=gcc
++CC?=gcc
+ #CC=cc
+ #
+ #### C Compiler Flags ####
+@@ -102,7 +102,7 @@ CC=gcc
+ # USTAT - ustat(), no statfs etc.
+ #
+ #CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL
+-CFLAGS=-O2 -Wall -pipe
++CFLAGS?=-O2 -Wall -pipe
+ #CFLAGS=-O -DSVR4
+ #CFLAGS=-O -DSVR4 -DSVR42
+ #CFLAGS=-O -DUSE_POLL
@@ -164,7 +164,9 @@ LIBS=
#
# if your systems doesn't have one, use the shell script that I provide
@@ -27,7 +45,7 @@
-mksed: mksed.c policy.h Makefile
+REALGCC:=/usr/bin/gcc
+mksed: mksed.c policy.h Makefile
-+ ( echo $(REALGCC); $(MAKE) "CC=$(REALGCC)" "CFLAGS=$(CFLAGS)" mksed-wrong;\
++ ( echo $(CC_FOR_BUILD); $(MAKE) "CC=$(CC_FOR_BUILD)" "CFLAGS=$(CFLAGS_FOR_BUILD)" mksed-wrong;\
+ );
+
+mksed-wrong: mksed.c policy.h Makefile
diff --git a/package/miax/Makefile b/package/miax/Makefile
index 276b202..40f08ae 100644
--- a/package/miax/Makefile
+++ b/package/miax/Makefile
@@ -25,9 +25,9 @@ CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
MAKE_FLAGS+= CC="${TARGET_CC}" \
- OFLAGS="${TCFLAGS}" \
- CPPFLAGS="${TCPPFLAGS}" \
- LDFLAGS="${TLDFLAGS}" \
+ OFLAGS="${TARGET_CFLAGS}" \
+ CPPFLAGS="${TARGET_CPPFLAGS}" \
+ LDFLAGS="${TARGET_LDFLAGS}"
do-install:
${INSTALL_DIR} ${IDIR_MIAX}/usr/bin
diff --git a/package/microperl/Makefile b/package/microperl/Makefile
index 7e02b75..040daa1 100644
--- a/package/microperl/Makefile
+++ b/package/microperl/Makefile
@@ -22,7 +22,7 @@ $(eval $(call PKG_template,MICROPERL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},$
CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
-MAKE_FLAGS+= CC="${TARGET_CC}" OPTIMIZE="${TCFLAGS}"
+MAKE_FLAGS+= CC="${TARGET_CC}" OPTIMIZE="${TARGET_CFLAGS}"
MAKE_FILE:= Makefile.micro
pre-configure:
diff --git a/package/microperl/patches/patch-Makefile_micro b/package/microperl/patches/patch-Makefile_micro
index 01bca8b..021e44a 100644
--- a/package/microperl/patches/patch-Makefile_micro
+++ b/package/microperl/patches/patch-Makefile_micro
@@ -24,10 +24,10 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
generate_uudmap$(_O): generate_uudmap.c
- $(CC) $(CCFLAGS) -o $@ $(CFLAGS) generate_uudmap.c
-+ $(HOSTCC) $(CCFLAGS) -o $@ $(HOSTCFLAGS) generate_uudmap.c
++ $(CC_FOR_BUILD) $(CCFLAGS) -o $@ $(CFLAGS_FOR_BUILD) generate_uudmap.c
generate_uudmap$(_X): generate_uudmap$(_O)
- $(LD) -o generate_uudmap $(LDFLAGS) generate_uudmap$(_O) $(LIBS)
-+ $(HOSTCC) -o generate_uudmap $(HOSTLDFLAGS) generate_uudmap$(_O) $(LIBS)
++ $(CC_FOR_BUILD) -o generate_uudmap $(LDFLAGS_FOR_BUILD) generate_uudmap$(_O) $(LIBS)
# That's it, folks!
diff --git a/package/miredo/Makefile b/package/miredo/Makefile
index 9df3511..9a70d0f 100644
--- a/package/miredo/Makefile
+++ b/package/miredo/Makefile
@@ -21,7 +21,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MIREDO,miredo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,MIREDO_SERVER,miredo-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -std=gnu99
+TARGET_CFLAGS+= -std=gnu99
CONFIGURE_ENV+= ac_cv_file__proc_self_maps=yes
CONFIGURE_ARGS+= --without-Judy \
--enable-teredo-client \
diff --git a/package/mksh/Makefile b/package/mksh/Makefile
index 84dee86..3b0a3c0 100644
--- a/package/mksh/Makefile
+++ b/package/mksh/Makefile
@@ -23,7 +23,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MKSH,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
ifeq ($(strip ${ADK_PACKAGE_MKSH_FULL}),)
-TCPPFLAGS+= -DMKSH_SMALL=1
+TARGET_CPPFLAGS+= -DMKSH_SMALL=1
endif
CONFIG_STYLE:= manual
@@ -31,8 +31,8 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
do-build:
- cd ${WRKBUILD} && CC='${TARGET_CC}' CFLAGS='${TCFLAGS}' \
- CPPFLAGS='${TCPPFLAGS}' LDFLAGS='${TLDFLAGS}' \
+ cd ${WRKBUILD} && CC='${TARGET_CC}' CFLAGS='${TARGET_CFLAGS}' \
+ CPPFLAGS='${TARGET_CPPFLAGS}' LDFLAGS='${TARGET_LDFLAGS}' \
TARGET_OS=Linux ${BASH} ${WRKSRC}/Build.sh -Q -r -combine
do-install:
diff --git a/package/mpd/Makefile b/package/mpd/Makefile
index b211386..ecfeb77 100644
--- a/package/mpd/Makefile
+++ b/package/mpd/Makefile
@@ -59,7 +59,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -std=gnu99
+TARGET_CFLAGS+= -std=gnu99
XAKE_FLAGS+= MPD_CFLAGS='-D_GNU_SOURCE'
CONFIGURE_ARGS+= --disable-httpd-output \
--disable-jack \
diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index 21ad004..8fa5927 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -44,7 +44,7 @@ endif
# related patch to allow configure to find out the DirectFB
# version number.
ifeq (${ADK_PACKAGE_MPLAYER_WITH_DIRECTFB},y)
-TCFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/directfb
+TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/directfb
endif
ifeq (${ADK_TARGET_CPU_WITH_MMX},y)
@@ -84,7 +84,7 @@ CONFIGURE_ARGS:= --prefix=/usr \
--enable-cross-compile \
--target=${ARCH}-linux \
--cc=$(TARGET_CC) \
- --host-cc=$(HOSTCC) \
+ --host-cc=$(CC_FOR_BUILD) \
--yasm='' \
--disable-mencoder \
--enable-fbdev \
diff --git a/package/mrd6/Makefile b/package/mrd6/Makefile
index 1638eaf..49a39ad 100644
--- a/package/mrd6/Makefile
+++ b/package/mrd6/Makefile
@@ -28,11 +28,11 @@ LIBRARIES+=-lssp -lssp_nonshared
endif
ifeq (${ADK_COMPILE_MRD6_WITH_UCLIBCXX},y)
-TCXXFLAGS+= -fno-builtin -nostdinc++ \
+TARGET_CXXFLAGS+= -fno-builtin -nostdinc++ \
-I${STAGING_TARGET_DIR}/usr/include/uClibc++
-TLDFLAGS+= -shared ${LIBRARIES}
+TARGET_LDFLAGS+= -shared ${LIBRARIES}
endif
-XAKE_FLAGS+= EXTRA_FLAGS="${TCFLAGS}"
+XAKE_FLAGS+= EXTRA_FLAGS="${TARGET_CFLAGS}"
post-install:
${INSTALL_DIR} ${IDIR_MRD6}/usr/sbin ${IDIR_MRD6}/etc
diff --git a/package/mt-daapd/Makefile b/package/mt-daapd/Makefile
index 5493cb7..f1cfa62 100644
--- a/package/mt-daapd/Makefile
+++ b/package/mt-daapd/Makefile
@@ -26,7 +26,7 @@ CONFIGURE_ARGS+= --enable-mdns \
--with-gdbm-includes="${STAGING_TARGET_DIR}/usr/include" \
--with-gdbm-libs="${STAGING_TARGET_DIR}/usr/lib" \
--without-static-libs
-TLDFLAGS+= -pthread
+TARGET_LDFLAGS+= -pthread
post-install:
${INSTALL_DIR} ${IDIR_MT_DAAPD}/etc ${IDIR_MT_DAAPD}/usr/{share,sbin}
diff --git a/package/mtd/Makefile b/package/mtd/Makefile
index c2875b1..ab3cbea 100644
--- a/package/mtd/Makefile
+++ b/package/mtd/Makefile
@@ -21,8 +21,10 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -Wall
+
do-build:
- ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} \
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
-o ${WRKBUILD}/mtd ${WRKBUILD}/mtd.c
do-install:
diff --git a/package/mysql/Makefile b/package/mysql/Makefile
index fb3d140..09aa971 100644
--- a/package/mysql/Makefile
+++ b/package/mysql/Makefile
@@ -25,7 +25,7 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
CONFIGURE_ENV+= OPTIMIZE_CFLAGS="${TARGET_CFLAGS}" \
- OPTIMIZE_CXXFLAGS="${TARGET_CFLAGS}" \
+ OPTIMIZE_CXXFLAGS="${TARGET_CXXFLAGS}" \
ac_cv_lib_nsl_gethostbyname_r=no \
ac_cv_lib_nsl_yp_get_default_domain=no \
ac_cv_sys_restartable_syscalls=yes \
@@ -50,16 +50,16 @@ CONFIGURE_ARGS+= --disable-assembler \
--without-docs \
--without-readline \
--with-machine-type=${CPU_ARCH}
-HOSTTOOLFLAGS= CC="${HOSTCC}" \
- CXX='c++' \
- CFLAGS='${HOSTCFLAGS} -DHOSTCOMPILE=1' \
- CXXFLAGS='${HOSTCFLAGS}' \
- LDFLAGS='${HOSTLDFLAGS}' \
- CPPFLAGS='${HOSTCPPFLAGS}' \
- CXXLINK='c++ ${HOSTCFLAGS} ${HOSTLDFLAGS} -o $$@' \
- LINK='${HOSTCC} ${HOSTCFLAGS} ${HOSTLDFLAGS} -o $$@'
+BUILD_LFLAGS= CC="${CC_FOR_BUILD}" \
+ CXX='${CXX_FOR_BUILD}' \
+ CFLAGS='${CFLAGS_FOR_BUILD} -DHOSTCOMPILE=1' \
+ CXXFLAGS='${CXXFLAGS_FOR_BUILD}' \
+ LDFLAGS='${LDFLAGS_FOR_BUILD}' \
+ CPPFLAGS='${CPPFLAGS_FOR_BUILD}' \
+ CXXLINK='${CXX_FOR_BUILD} ${CFLAGS_FOR_BUILD} ${LDFLAGS_FOR_BUILD} -o $$@' \
+ LINK='${CC_FOR_BUILD} ${CFLAGS_FOR_BUILD} ${LDFLAGS_FOR_BUILD} -o $$@'
ifneq (${OStype},Linux)
-HOSTTOOLFLAGS+= LIBS='-lm -lz'
+BUILD_FLAGS+= LIBS='-lm -lz'
endif
do-build:
@@ -68,8 +68,8 @@ do-build:
DESTDIR="${WRKINST}" \
all install
${MAKE} -C "${WRKBUILD}/libmysql" \
- LINK="${HOSTCC} -o conf_to_src -lc" \
- ${HOSTTOOLFLAGS} \
+ LINK="${CC_FOR_BUILD} -o conf_to_src -lc" \
+ ${BUILD_FLAGS} \
conf_to_src
${MAKE} -C "${WRKBUILD}" \
CFLAGS="${TARGET_CFLAGS}" \
@@ -87,5 +87,7 @@ do-install:
${INSTALL_DIR} ${IDIR_LIBMYSQLCLIENT}/usr/lib
${CP} ${WRKINST}/usr/lib/mysql/libmysqlclient.so* \
${IDIR_LIBMYSQLCLIENT}/usr/lib
+ $(SED) "s,\(^pkgincludedir='\)\(.*\),\1${STAGING_TARGET_DIR}\2," \
+ ${WRKINST}/usr/bin/mysql_config
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mysql/patches/patch-include_config_h_in b/package/mysql/patches/patch-include_config_h_in
index 361a8b6..d9b28c4 100644
--- a/package/mysql/patches/patch-include_config_h_in
+++ b/package/mysql/patches/patch-include_config_h_in
@@ -1,11 +1,11 @@
--- mysql-5.1.48.orig/include/config.h.in 2010-06-03 17:54:04.000000000 +0200
-+++ mysql-5.1.48/include/config.h.in 2011-01-15 13:01:30.000000000 +0100
++++ mysql-5.1.48/include/config.h.in 2011-01-21 00:08:19.737408555 +0100
@@ -856,7 +856,7 @@
/* Define to 1 if you have the `strtoull' function. */
#undef HAVE_STRTOULL
-/* Define to 1 if `st_rdev' is member of `struct stat'. */
-+/* Define to 1 if `st_rdev' is a member of `struct stat'. */
++/* Define to 1 if `struct stat' is a member of `st_rdev'. */
#undef HAVE_STRUCT_STAT_ST_RDEV
/* Define to 1 if your `struct stat' has `st_rdev'. Deprecated, use
diff --git a/package/mysql/patches/patch-scripts_mysql_config_sh b/package/mysql/patches/patch-scripts_mysql_config_sh
new file mode 100644
index 0000000..3e18331
--- /dev/null
+++ b/package/mysql/patches/patch-scripts_mysql_config_sh
@@ -0,0 +1,11 @@
+--- mysql-5.1.48.orig/scripts/mysql_config.sh 2010-06-03 17:50:21.000000000 +0200
++++ mysql-5.1.48/scripts/mysql_config.sh 2011-01-21 00:32:53.596454498 +0100
+@@ -119,7 +119,7 @@ if [ -r "$pkglibdir/libmygcc.a" ]; then
+ embedded_libs="$embedded_libs -lmygcc "
+ fi
+
+-cflags="-I$pkgincludedir @CFLAGS@ " #note: end space!
++cflags="-I$pkgincludedir" #note: end space!
+ include="-I$pkgincludedir"
+
+ # Remove some options that a client doesn't have to care about
diff --git a/package/nand/Makefile b/package/nand/Makefile
index cb62784..451e4c2 100644
--- a/package/nand/Makefile
+++ b/package/nand/Makefile
@@ -21,9 +21,11 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -Wall
+
do-build:
- ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} -o ${WRKBUILD}/nand \
- ${WRKBUILD}/nand.c
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
+ -o ${WRKBUILD}/nand ${WRKBUILD}/nand.c
do-install:
${INSTALL_DIR} ${IDIR_NAND}/sbin
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index 975cfa1..12259dd 100644
--- a/package/ncurses/Makefile
+++ b/package/ncurses/Makefile
@@ -53,7 +53,7 @@ pre-configure:
(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
./configure \
--with-shared \
- --with-build-cc=${HOSTCC} \
+ --with-build-cc=${CC_FOR_BUILD} \
--with-progs \
--without-debug \
--without-profile \
diff --git a/package/net-snmp/Makefile b/package/net-snmp/Makefile
index d32401d..0e21b9c 100644
--- a/package/net-snmp/Makefile
+++ b/package/net-snmp/Makefile
@@ -39,7 +39,7 @@ else
SNMP_TRANSPORTS_EXCLUDED:= TCPIPv6 UDPIPv6
endif
-TLDFLAGS+= -pthread
+TARGET_LDFLAGS+= -pthread
CONFIGURE_ARGS+= --with-defaults \
--with-persistent-directory=/etc/snmp \
--with-default-snmp-version=3 \
diff --git a/package/net-snmp/patches/patch-net-snmp-config_in b/package/net-snmp/patches/patch-net-snmp-config_in
new file mode 100644
index 0000000..2465be0
--- /dev/null
+++ b/package/net-snmp/patches/patch-net-snmp-config_in
@@ -0,0 +1,15 @@
+--- net-snmp-5.6.1.orig/net-snmp-config.in 2010-10-13 11:58:34.000000000 +0200
++++ net-snmp-5.6.1/net-snmp-config.in 2011-01-21 18:05:18.494919068 +0100
+@@ -127,10 +127,10 @@ else
+ ;;
+ #################################################### compile
+ --base-cflags)
+- echo @CFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
++ echo -I${NSC_INCLUDEDIR}
+ ;;
+ --cflags|--cf*)
+- echo @CFLAGS@ @DEVFLAGS@ @CPPFLAGS@ -I. -I${NSC_INCLUDEDIR}
++ echo @DEVFLAGS@ -I. -I${NSC_INCLUDEDIR}
+ ;;
+ --srcdir)
+ echo $NSC_SRCDIR
diff --git a/package/nfs-utils/patches/patch-config_log b/package/nfs-utils/patches/patch-config_log
new file mode 100644
index 0000000..f781209
--- /dev/null
+++ b/package/nfs-utils/patches/patch-config_log
@@ -0,0 +1,5831 @@
+--- nfs-utils-1.2.3.orig/config.log 2010-09-28 14:25:03.000000000 +0200
++++ nfs-utils-1.2.3/config.log 2011-01-21 17:33:44.714914032 +0100
+@@ -4,22 +4,22 @@ running configure, to aid debugging if c
+ It was created by linux nfs-utils configure 1.2.3, which was
+ generated by GNU Autoconf 2.65. Invocation command line was
+
+- $ ./configure --disable-gss
++ $ /home/wbx/adk/openadk/build_ibm-x40_i686_uclibc/w-nfs-utils-1.2.3-3/nfs-utils-1.2.3/configure --build=x86_64-linux-gnu --host=i686-openadk-linux --target=i686-openadk-linux --program-prefix= --program-suffix= --prefix=/usr --bindir=/usr/bin --datadir=/usr/share --mandir=/usr/share/man --libexecdir=/usr/libexec --localstatedir=/var --sysconfdir=/etc --disable-nls --enable-shared --enable-static --disable-dependency-tracking --disable-libtool-lock --enable-nfsv4 --with-krb5=/home/wbx/adk/openadk/target_i686_uclibc/usr/ --enable-gss --enable-tirpc --with-tirpcinclude=/home/wbx/adk/openadk/target_i686_uclibc/usr/include/tirpc --without-tcp-wrappers --with-rpcgen=internal --disable-uuid
+
+ ## --------- ##
+ ## Platform. ##
+ ## --------- ##
+
+-hostname = TopHat.home.4dicksons.org
++hostname = chrom
+ uname -m = x86_64
+-uname -r = 2.6.34.6-54.fc13.x86_64
++uname -r = 2.6.31-22-server
+ uname -s = Linux
+-uname -v = #1 SMP Sun Sep 5 17:16:27 UTC 2010
++uname -v = #70-Ubuntu SMP Thu Dec 2 00:00:57 UTC 2010
+
+ /usr/bin/uname -p = unknown
+ /bin/uname -X = unknown
+
+-/bin/arch = x86_64
++/bin/arch = unknown
+ /usr/bin/arch -k = unknown
+ /usr/convex/getsysinfo = unknown
+ /usr/bin/hostinfo = unknown
+@@ -27,23 +27,18 @@ uname -v = #1 SMP Sun Sep 5 17:16:27 UTC
+ /usr/bin/oslevel = unknown
+ /bin/universe = unknown
+
+-PATH: /usr/lib64/qt-3.3/bin
+-PATH: /usr/kerberos/sbin
+-PATH: /usr/kerberos/bin
+-PATH: /usr/lib64/ccache
+-PATH: /usr/local/bin
+-PATH: /bin
+-PATH: /usr/bin
++PATH: /home/wbx/adk/openadk/scripts
++PATH: /home/wbx/adk/openadk/bin/tools
++PATH: /home/wbx/adk/openadk/host_i686_uclibc/bin
++PATH: /home/wbx/adk/openadk/host_i686_uclibc/usr/bin
++PATH: /home/wbx/adk/openadk/target_i686_uclibc/scripts
+ PATH: /usr/local/sbin
++PATH: /usr/local/bin
+ PATH: /usr/sbin
+-PATH: /sbin
+-PATH: /sbin
+ PATH: /usr/bin
+-PATH: /usr/sbin
+-PATH: /usr/local/bin
+-PATH: /usr/local/kde/bin
+-PATH: /home/steved/bin
+-PATH: /home/steved/bin
++PATH: /sbin
++PATH: /bin
++PATH: /usr/games
+
+
+ ## ----------- ##
+@@ -51,17 +46,19 @@ PATH: /home/steved/bin
+ ## ----------- ##
+
+ configure:2864: checking build system type
+-configure:2878: result: x86_64-unknown-linux-gnu
++configure:2878: result: x86_64-pc-linux-gnu
+ configure:2898: checking host system type
+-configure:2911: result: x86_64-unknown-linux-gnu
++configure:2911: result: i686-openadk-linux-gnu
+ configure:2948: checking for a BSD-compatible install
+-configure:3016: result: /usr/bin/install -c
++configure:3016: result: /home/wbx/adk/openadk/scripts/install -c
+ configure:3027: checking whether build environment is sane
+ configure:3077: result: yes
++configure:3126: checking for i686-openadk-linux-strip
++configure:3153: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-strip
+ configure:3218: checking for a thread-safe mkdir -p
+ configure:3257: result: /bin/mkdir -p
+ configure:3270: checking for gawk
+-configure:3286: found /bin/gawk
++configure:3286: found /usr/bin/gawk
+ configure:3297: result: gawk
+ configure:3308: checking whether make sets $(MAKE)
+ configure:3330: result: yes
+@@ -69,70 +66,70 @@ configure:3413: checking whether to enab
+ configure:3422: result: no
+ configure:3727: checking for style of include used by make
+ configure:3755: result: GNU
+-configure:3825: checking for gcc
+-configure:3841: found /usr/lib64/ccache/gcc
+-configure:3852: result: gcc
++configure:3785: checking for i686-openadk-linux-gcc
++configure:3812: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc
+ configure:4081: checking for C compiler version
+-configure:4090: gcc --version >&5
+-gcc (GCC) 4.4.4 20100630 (Red Hat 4.4.4-10)
++configure:4090: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc --version >&5
++i686-openadk-linux-uclibc-gcc (GCC) 4.5.2
+ Copyright (C) 2010 Free Software Foundation, Inc.
+ This is free software; see the source for copying conditions. There is NO
+ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ configure:4101: $? = 0
+-configure:4090: gcc -v >&5
++configure:4090: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -v >&5
+ Using built-in specs.
+-Target: x86_64-redhat-linux
+-Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
++COLLECT_GCC=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc
++COLLECT_LTO_WRAPPER=/home/wbx/adk/openadk/host_i686_uclibc/libexec/gcc/i686-openadk-linux-uclibc/4.5.2/lto-wrapper
++Target: i686-openadk-linux-uclibc
++Configured with: /home/wbx/adk/openadk/toolchain_build_i686_uclibc/w-gcc-4.5.2-1/gcc-4.5.2/configure --prefix=/home/wbx/adk/openadk/host_i686_uclibc --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=i686-openadk-linux-uclibc --with-gmp=/home/wbx/adk/openadk/host_i686_uclibc --with-mpfr=/home/wbx/adk/openadk/host_i686_uclibc --with-libelf=/home/wbx/adk/openadk/host_i686_uclibc --disable-__cxa_atexit --with-gnu-ld --disable-libmudflap --disable-libgomp --disable-biarch --disable-decimal-float --disable-multilib --disable-sjlj-exceptions --disable-libstdcxx-pch --disable-ppl-version-check --disable-cloog-version-check --without-ppl --without-cloog --disable-nls --enable-libssp --enable-lto --enable-tls --enable-target-optspace --enable-languages=c,c++ --with-sysroot='/home/wbx/adk/openadk/host_i686_uclibc/../target_i686_uclibc' --with-slibdir=/home/wbx/adk/openadk/target_i686_uclibc/lib --enable-shared
+ Thread model: posix
+-gcc version 4.4.4 20100630 (Red Hat 4.4.4-10) (GCC)
++gcc version 4.5.2 (GCC)
+ configure:4101: $? = 0
+-configure:4090: gcc -V >&5
+-gcc: '-V' option must have argument
++configure:4090: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -V >&5
++i686-openadk-linux-uclibc-gcc: '-V' option must have argument
+ configure:4101: $? = 1
+-configure:4090: gcc -qversion >&5
+-gcc: unrecognized option '-qversion'
+-gcc: no input files
++configure:4090: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -qversion >&5
++i686-openadk-linux-uclibc-gcc: unrecognized option '-qversion'
++i686-openadk-linux-uclibc-gcc: no input files
+ configure:4101: $? = 1
+ configure:4121: checking whether the C compiler works
+-configure:4143: gcc conftest.c >&5
++configure:4143: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/librpcsecgss.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
+ configure:4147: $? = 0
+ configure:4196: result: yes
+ configure:4199: checking for C compiler default output file name
+ configure:4201: result: a.out
+ configure:4207: checking for suffix of executables
+-configure:4214: gcc -o conftest conftest.c >&5
++configure:4214: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/librpcsecgss.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
+ configure:4218: $? = 0
+ configure:4240: result:
+ configure:4262: checking whether we are cross compiling
+-configure:4270: gcc -o conftest conftest.c >&5
+-configure:4274: $? = 0
+-configure:4281: ./conftest
+-configure:4285: $? = 0
+-configure:4300: result: no
++configure:4300: result: yes
+ configure:4305: checking for suffix of object files
+-configure:4327: gcc -c conftest.c >&5
++configure:4327: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:4331: $? = 0
+ configure:4352: result: o
+ configure:4356: checking whether we are using the GNU C compiler
+-configure:4375: gcc -c conftest.c >&5
++configure:4375: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:4375: $? = 0
+ configure:4384: result: yes
+-configure:4393: checking whether gcc accepts -g
+-configure:4413: gcc -c -g conftest.c >&5
++configure:4393: checking whether /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc accepts -g
++configure:4413: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -g -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:4413: $? = 0
+ configure:4454: result: yes
+-configure:4471: checking for gcc option to accept ISO C89
+-configure:4535: gcc -c -g -O2 conftest.c >&5
++configure:4471: checking for /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc option to accept ISO C89
++configure:4535: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:4535: $? = 0
+ configure:4548: result: none needed
+-configure:4570: checking dependency style of gcc
+-configure:4680: result: gcc3
++configure:4570: checking dependency style of /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc
++configure:4680: result: none
+ configure:4701: checking how to run the C preprocessor
+-configure:4732: gcc -E conftest.c
++configure:4732: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c
+ configure:4732: $? = 0
+-configure:4746: gcc -E conftest.c
+-conftest.c:14:28: error: ac_nonexistent.h: No such file or directory
++configure:4746: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c
++conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory
++compilation terminated.
+ configure:4746: $? = 1
+ configure: failed program was:
+ | /* confdefs.h */
+@@ -147,13 +144,15 @@ configure: failed program was:
+ | #define START_STATD "/usr/sbin/start-statd"
+ | #define NFS3_SUPPORTED 1
+ | #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
+ | /* end confdefs.h. */
+ | #include <ac_nonexistent.h>
+-configure:4771: result: gcc -E
+-configure:4791: gcc -E conftest.c
++configure:4771: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E
++configure:4791: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c
+ configure:4791: $? = 0
+-configure:4805: gcc -E conftest.c
+-conftest.c:14:28: error: ac_nonexistent.h: No such file or directory
++configure:4805: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c
++conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory
++compilation terminated.
+ configure:4805: $? = 1
+ configure: failed program was:
+ | /* confdefs.h */
+@@ -168,6 +167,7 @@ configure: failed program was:
+ | #define START_STATD "/usr/sbin/start-statd"
+ | #define NFS3_SUPPORTED 1
+ | #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
+ | /* end confdefs.h. */
+ | #include <ac_nonexistent.h>
+ configure:4834: checking for grep that handles long lines and -e
+@@ -175,152 +175,5230 @@ configure:4892: result: /bin/grep
+ configure:4897: checking for egrep
+ configure:4959: result: /bin/grep -E
+ configure:4964: checking for ANSI C header files
+-configure:4984: gcc -c -g -O2 conftest.c >&5
++configure:4984: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:4984: $? = 0
+-configure:5057: gcc -o conftest -g -O2 conftest.c >&5
+-configure:5057: $? = 0
+-configure:5057: ./conftest
+-configure:5057: $? = 0
+ configure:5068: result: yes
+ configure:5081: checking for sys/types.h
+-configure:5081: gcc -c -g -O2 conftest.c >&5
++configure:5081: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:5081: $? = 0
+ configure:5081: result: yes
+ configure:5081: checking for sys/stat.h
+-configure:5081: gcc -c -g -O2 conftest.c >&5
++configure:5081: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:5081: $? = 0
+ configure:5081: result: yes
+ configure:5081: checking for stdlib.h
+-configure:5081: gcc -c -g -O2 conftest.c >&5
++configure:5081: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:5081: $? = 0
+ configure:5081: result: yes
+ configure:5081: checking for string.h
+-configure:5081: gcc -c -g -O2 conftest.c >&5
++configure:5081: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:5081: $? = 0
+ configure:5081: result: yes
+ configure:5081: checking for memory.h
+-configure:5081: gcc -c -g -O2 conftest.c >&5
++configure:5081: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:5081: $? = 0
+ configure:5081: result: yes
+ configure:5081: checking for strings.h
+-configure:5081: gcc -c -g -O2 conftest.c >&5
++configure:5081: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:5081: $? = 0
+ configure:5081: result: yes
+ configure:5081: checking for inttypes.h
+-configure:5081: gcc -c -g -O2 conftest.c >&5
++configure:5081: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:5081: $? = 0
+ configure:5081: result: yes
+ configure:5081: checking for stdint.h
+-configure:5081: gcc -c -g -O2 conftest.c >&5
++configure:5081: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:5081: $? = 0
+ configure:5081: result: yes
+ configure:5081: checking for unistd.h
+-configure:5081: gcc -c -g -O2 conftest.c >&5
++configure:5081: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:5081: $? = 0
+ configure:5081: result: yes
+ configure:5108: checking for clnt_tli_create in -ltirpc
+-configure:5133: gcc -o conftest -g -O2 conftest.c -ltirpc >&5
++configure:5133: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
+ configure:5133: $? = 0
+ configure:5142: result: yes
+-configure:5167: checking /usr/include/tirpc/netconfig.h usability
+-configure:5167: gcc -c -g -O2 conftest.c >&5
++configure:5167: checking /home/wbx/adk/openadk/target_i686_uclibc/usr/include/tirpc/netconfig.h usability
++configure:5167: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
+ configure:5167: $? = 0
+ configure:5167: result: yes
+-configure:5167: checking /usr/include/tirpc/netconfig.h presence
+-configure:5167: gcc -E conftest.c
++configure:5167: checking /home/wbx/adk/openadk/target_i686_uclibc/usr/include/tirpc/netconfig.h presence
++configure:5167: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c
++configure:5167: $? = 0
++configure:5167: result: yes
++configure:5167: checking for /home/wbx/adk/openadk/target_i686_uclibc/usr/include/tirpc/netconfig.h
++configure:5167: result: yes
++configure:5194: checking for prctl
++configure:5194: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:5194: $? = 0
++configure:5194: result: yes
++configure:5209: checking for cap_get_proc in -lcap
++configure:5234: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -lcap -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/host_i686_uclibc/lib/gcc/i686-openadk-linux-uclibc/4.5.2/../../../../i686-openadk-linux-uclibc/bin/ld: cannot find -lcap
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++collect2: ld returned 1 exit status
++configure:5234: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| /* end confdefs.h. */
++|
++| /* Override any GCC internal prototype to avoid an error.
++| Use char because int might match the return type of a GCC
++| builtin and then its argument prototype would still apply. */
++| #ifdef __cplusplus
++| extern "C"
++| #endif
++| char cap_get_proc ();
++| int
++| main ()
++| {
++| return cap_get_proc ();
++| ;
++| return 0;
++| }
++configure:5243: result: no
++configure:5252: checking sys/capability.h usability
++configure:5252: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
++conftest.c:60:28: fatal error: sys/capability.h: No such file or directory
++compilation terminated.
++configure:5252: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| #include <sys/capability.h>
++configure:5252: result: no
++configure:5252: checking sys/capability.h presence
++configure:5252: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c
++conftest.c:27:28: fatal error: sys/capability.h: No such file or directory
++compilation terminated.
++configure:5252: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| /* end confdefs.h. */
++| #include <sys/capability.h>
++configure:5252: result: no
++configure:5252: checking for sys/capability.h
++configure:5252: result: no
++configure:5362: checking for special C compiler options needed for large files
++configure:5407: result: no
++configure:5413: checking for _FILE_OFFSET_BITS value needed for large files
++configure:5438: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
++conftest.c:33:3: warning: left shift count >= width of type
++conftest.c:33:3: warning: left shift count >= width of type
++conftest.c:34:10: warning: left shift count >= width of type
++conftest.c:34:10: warning: left shift count >= width of type
++conftest.c:33:7: error: size of array 'off_t_is_large' is negative
++conftest.c:35:9: warning: variably modified 'off_t_is_large' at file scope
++configure:5438: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| /* end confdefs.h. */
++| #include <sys/types.h>
++| /* Check that off_t can represent 2**63 - 1 correctly.
++| We can't simply define LARGE_OFF_T to be 9223372036854775807,
++| since some C++ compilers masquerading as C compilers
++| incorrectly reject 9223372036854775807. */
++| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++| && LARGE_OFF_T % 2147483647 == 1)
++| ? 1 : -1];
++| int
++| main ()
++| {
++|
++| ;
++| return 0;
++| }
++configure:5462: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
++configure:5462: $? = 0
++configure:5470: result: 64
++configure:5671: checking for C++ compiler version
++configure:5680: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ --version >&5
++i686-openadk-linux-uclibc-g++ (GCC) 4.5.2
++Copyright (C) 2010 Free Software Foundation, Inc.
++This is free software; see the source for copying conditions. There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
++
++configure:5691: $? = 0
++configure:5680: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -v >&5
++Using built-in specs.
++COLLECT_GCC=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++
++COLLECT_LTO_WRAPPER=/home/wbx/adk/openadk/host_i686_uclibc/libexec/gcc/i686-openadk-linux-uclibc/4.5.2/lto-wrapper
++Target: i686-openadk-linux-uclibc
++Configured with: /home/wbx/adk/openadk/toolchain_build_i686_uclibc/w-gcc-4.5.2-1/gcc-4.5.2/configure --prefix=/home/wbx/adk/openadk/host_i686_uclibc --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=i686-openadk-linux-uclibc --with-gmp=/home/wbx/adk/openadk/host_i686_uclibc --with-mpfr=/home/wbx/adk/openadk/host_i686_uclibc --with-libelf=/home/wbx/adk/openadk/host_i686_uclibc --disable-__cxa_atexit --with-gnu-ld --disable-libmudflap --disable-libgomp --disable-biarch --disable-decimal-float --disable-multilib --disable-sjlj-exceptions --disable-libstdcxx-pch --disable-ppl-version-check --disable-cloog-version-check --without-ppl --without-cloog --disable-nls --enable-libssp --enable-lto --enable-tls --enable-target-optspace --enable-languages=c,c++ --with-sysroot='/home/wbx/adk/openadk/host_i686_uclibc/../target_i686_uclibc' --with-slibdir=/home/wbx/adk/openadk/target_i686_uclibc/lib --enable-shared
++Thread model: posix
++gcc version 4.5.2 (GCC)
++configure:5691: $? = 0
++configure:5680: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -V >&5
++i686-openadk-linux-uclibc-g++: '-V' option must have argument
++configure:5691: $? = 1
++configure:5680: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -qversion >&5
++i686-openadk-linux-uclibc-g++: unrecognized option '-qversion'
++i686-openadk-linux-uclibc-g++: no input files
++configure:5691: $? = 1
++configure:5695: checking whether we are using the GNU C++ compiler
++configure:5714: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -c -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.cpp >&5
++configure:5714: $? = 0
++configure:5723: result: yes
++configure:5732: checking whether /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ accepts -g
++configure:5752: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -c -g -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.cpp >&5
++configure:5752: $? = 0
++configure:5793: result: yes
++configure:5818: checking dependency style of /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++
++configure:5928: result: none
++configure:5951: checking for i686-openadk-linux-gcc
++configure:5978: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc
++configure:6247: checking for C compiler version
++configure:6256: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc --version >&5
++i686-openadk-linux-uclibc-gcc (GCC) 4.5.2
++Copyright (C) 2010 Free Software Foundation, Inc.
++This is free software; see the source for copying conditions. There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
++
++configure:6267: $? = 0
++configure:6256: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -v >&5
++Using built-in specs.
++COLLECT_GCC=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc
++COLLECT_LTO_WRAPPER=/home/wbx/adk/openadk/host_i686_uclibc/libexec/gcc/i686-openadk-linux-uclibc/4.5.2/lto-wrapper
++Target: i686-openadk-linux-uclibc
++Configured with: /home/wbx/adk/openadk/toolchain_build_i686_uclibc/w-gcc-4.5.2-1/gcc-4.5.2/configure --prefix=/home/wbx/adk/openadk/host_i686_uclibc --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=i686-openadk-linux-uclibc --with-gmp=/home/wbx/adk/openadk/host_i686_uclibc --with-mpfr=/home/wbx/adk/openadk/host_i686_uclibc --with-libelf=/home/wbx/adk/openadk/host_i686_uclibc --disable-__cxa_atexit --with-gnu-ld --disable-libmudflap --disable-libgomp --disable-biarch --disable-decimal-float --disable-multilib --disable-sjlj-exceptions --disable-libstdcxx-pch --disable-ppl-version-check --disable-cloog-version-check --without-ppl --without-cloog --disable-nls --enable-libssp --enable-lto --enable-tls --enable-target-optspace --enable-languages=c,c++ --with-sysroot='/home/wbx/adk/openadk/host_i686_uclibc/../target_i686_uclibc' --with-slibdir=/home/wbx/adk/openadk/target_i686_uclibc/lib --enable-shared
++Thread model: posix
++gcc version 4.5.2 (GCC)
++configure:6267: $? = 0
++configure:6256: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -V >&5
++i686-openadk-linux-uclibc-gcc: '-V' option must have argument
++configure:6267: $? = 1
++configure:6256: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -qversion >&5
++i686-openadk-linux-uclibc-gcc: unrecognized option '-qversion'
++i686-openadk-linux-uclibc-gcc: no input files
++configure:6267: $? = 1
++configure:6271: checking whether we are using the GNU C compiler
++configure:6299: result: yes
++configure:6308: checking whether /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc accepts -g
++configure:6369: result: yes
++configure:6386: checking for /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc option to accept ISO C89
++configure:6463: result: none needed
++configure:6485: checking dependency style of /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc
++configure:6595: result: none
++configure:6615: checking how to run the C preprocessor
++configure:6685: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E
++configure:6705: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c
++configure:6705: $? = 0
++configure:6719: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c
++conftest.c:28:28: fatal error: ac_nonexistent.h: No such file or directory
++compilation terminated.
++configure:6719: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| /* end confdefs.h. */
++| #include <ac_nonexistent.h>
++configure:6748: checking whether ln -s works
++configure:6752: result: yes
++configure:6759: checking whether make sets $(MAKE)
++configure:6781: result: yes
++configure:6815: checking for a sed that does not truncate output
++configure:6879: result: /home/wbx/adk/openadk/scripts/sed
++configure:6897: checking for fgrep
++configure:6959: result: /bin/grep -F
++configure:6994: checking for ld used by /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc
++configure:7061: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld
++configure:7068: checking if the linker (/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld) is GNU ld
++configure:7083: result: yes
++configure:7095: checking for BSD- or MS-compatible name lister (nm)
++configure:7144: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-nm
++configure:7262: checking the name lister (/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-nm) interface
++configure:7269: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
++configure:7272: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-nm "conftest.o"
++configure:7275: output
++00000000 B some_variable
++configure:7282: result: BSD nm
++configure:7286: checking the maximum length of command line arguments
++configure:7406: result: 3458764513820540925
++configure:7423: checking whether the shell understands some XSI constructs
++configure:7433: result: yes
++configure:7437: checking whether the shell understands "+="
++configure:7443: result: yes
++configure:7478: checking for /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld option to reload object files
++configure:7485: result: -r
++configure:7514: checking for i686-openadk-linux-objdump
++configure:7530: found /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-objdump
++configure:7541: result: i686-openadk-linux-objdump
++configure:7613: checking how to recognize dependent libraries
++configure:7809: result: pass_all
++configure:7829: checking for i686-openadk-linux-ar
++configure:7856: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ar
++configure:7934: checking for i686-openadk-linux-strip
++configure:7961: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-strip
++configure:8033: checking for i686-openadk-linux-ranlib
++configure:8060: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ranlib
++configure:8190: checking command to parse /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-nm output from /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc object
++configure:8308: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
++configure:8311: $? = 0
++configure:8315: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
++configure:8318: $? = 0
++configure:8372: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c conftstm.o >&5
++configure:8375: $? = 0
++configure:8413: result: ok
++configure:9218: checking for dlfcn.h
++configure:9218: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
++configure:9218: $? = 0
++configure:9218: result: yes
++configure:9343: checking for C++ compiler version
++configure:9352: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ --version >&5
++i686-openadk-linux-uclibc-g++ (GCC) 4.5.2
++Copyright (C) 2010 Free Software Foundation, Inc.
++This is free software; see the source for copying conditions. There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
++
++configure:9363: $? = 0
++configure:9352: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -v >&5
++Using built-in specs.
++COLLECT_GCC=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++
++COLLECT_LTO_WRAPPER=/home/wbx/adk/openadk/host_i686_uclibc/libexec/gcc/i686-openadk-linux-uclibc/4.5.2/lto-wrapper
++Target: i686-openadk-linux-uclibc
++Configured with: /home/wbx/adk/openadk/toolchain_build_i686_uclibc/w-gcc-4.5.2-1/gcc-4.5.2/configure --prefix=/home/wbx/adk/openadk/host_i686_uclibc --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=i686-openadk-linux-uclibc --with-gmp=/home/wbx/adk/openadk/host_i686_uclibc --with-mpfr=/home/wbx/adk/openadk/host_i686_uclibc --with-libelf=/home/wbx/adk/openadk/host_i686_uclibc --disable-__cxa_atexit --with-gnu-ld --disable-libmudflap --disable-libgomp --disable-biarch --disable-decimal-float --disable-multilib --disable-sjlj-exceptions --disable-libstdcxx-pch --disable-ppl-version-check --disable-cloog-version-check --without-ppl --without-cloog --disable-nls --enable-libssp --enable-lto --enable-tls --enable-target-optspace --enable-languages=c,c++ --with-sysroot='/home/wbx/adk/openadk/host_i686_uclibc/../target_i686_uclibc' --with-slibdir=/home/wbx/adk/openadk/target_i686_uclibc/lib --enable-shared
++Thread model: posix
++gcc version 4.5.2 (GCC)
++configure:9363: $? = 0
++configure:9352: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -V >&5
++i686-openadk-linux-uclibc-g++: '-V' option must have argument
++configure:9363: $? = 1
++configure:9352: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -qversion >&5
++i686-openadk-linux-uclibc-g++: unrecognized option '-qversion'
++i686-openadk-linux-uclibc-g++: no input files
++configure:9363: $? = 1
++configure:9367: checking whether we are using the GNU C++ compiler
++configure:9395: result: yes
++configure:9404: checking whether /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ accepts -g
++configure:9465: result: yes
++configure:9490: checking dependency style of /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++
++configure:9600: result: none
++configure:9623: checking how to run the C++ preprocessor
++configure:9650: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.cpp
++configure:9650: $? = 0
++configure:9664: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.cpp
++conftest.cpp:29:28: fatal error: ac_nonexistent.h: No such file or directory
++compilation terminated.
++configure:9664: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| /* end confdefs.h. */
++| #include <ac_nonexistent.h>
++configure:9689: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -E
++configure:9709: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.cpp
++configure:9709: $? = 0
++configure:9723: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.cpp
++conftest.cpp:29:28: fatal error: ac_nonexistent.h: No such file or directory
++compilation terminated.
++configure:9723: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| /* end confdefs.h. */
++| #include <ac_nonexistent.h>
++configure:9929: checking for objdir
++configure:9944: result: .libs
++configure:10240: checking if /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc supports -fno-rtti -fno-exceptions
++configure:10258: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -fno-rtti -fno-exceptions conftest.c >&5
++cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
++configure:10262: $? = 0
++configure:10275: result: no
++configure:10295: checking for /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc option to produce PIC
++configure:10567: result: -fPIC -DPIC
++configure:10579: checking if /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc PIC flag -fPIC -DPIC works
++configure:10597: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -fPIC -DPIC -DPIC conftest.c >&5
++configure:10601: $? = 0
++configure:10614: result: yes
++configure:10638: checking if /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc static flag -static works
++configure:10666: result: yes
++configure:10681: checking if /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc supports -c -o file.o
++configure:10702: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -o out/conftest2.o conftest.c >&5
++configure:10706: $? = 0
++configure:10728: result: yes
++configure:10736: checking if /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc supports -c -o file.o
++configure:10783: result: yes
++configure:10816: checking whether the /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc linker (/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld) supports shared libraries
++configure:11802: result: yes
++configure:11839: checking whether -lc should be explicitly linked in
++configure:11844: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c >&5
++configure:11847: $? = 0
++configure:11862: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
++configure:11865: $? = 0
++configure:11877: result: no
++configure:12041: checking dynamic linker characteristics
++configure:12474: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -Wl,-rpath -Wl,/foo conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:12474: $? = 0
++configure:12695: result: GNU/Linux ld.so
++configure:12797: checking how to hardcode library paths into programs
++configure:12822: result: immediate
++configure:13342: checking whether stripping libraries is possible
++configure:13347: result: yes
++configure:13382: checking if libtool supports shared libraries
++configure:13384: result: yes
++configure:13387: checking whether to build shared libraries
++configure:13408: result: yes
++configure:13411: checking whether to build static libraries
++configure:13415: result: yes
++configure:13565: checking for ld used by /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++
++configure:13632: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld
++configure:13639: checking if the linker (/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld) is GNU ld
++configure:13654: result: yes
++configure:13709: checking whether the /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ linker (/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld) supports shared libraries
++configure:14622: result: yes
++configure:14650: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -c -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.cpp >&5
++configure:14653: $? = 0
++configure:14835: checking for /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ option to produce PIC
++configure:15152: result: -fPIC -DPIC
++configure:15161: checking if /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ PIC flag -fPIC -DPIC works
++configure:15179: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -c -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -fPIC -DPIC -DPIC conftest.cpp >&5
++configure:15183: $? = 0
++configure:15196: result: yes
++configure:15217: checking if /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ static flag -static works
++configure:15245: result: yes
++configure:15257: checking if /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ supports -c -o file.o
++configure:15278: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -c -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -o out/conftest2.o conftest.cpp >&5
++configure:15282: $? = 0
++configure:15304: result: yes
++configure:15309: checking if /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ supports -c -o file.o
++configure:15356: result: yes
++configure:15386: checking whether the /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ linker (/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld) supports shared libraries
++configure:15412: result: yes
++configure:15549: checking dynamic linker characteristics
++configure:15930: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -o conftest -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -Wl,-rpath -Wl,/foo conftest.cpp -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:15930: $? = 0
++configure:16151: result: GNU/Linux ld.so
++configure:16202: checking how to hardcode library paths into programs
++configure:16227: result: immediate
++configure:16286: checking whether /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc and cc understand -c and -o together
++configure:16317: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c conftest.c -o conftest2.o >&5
++configure:16321: $? = 0
++configure:16327: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c conftest.c -o conftest2.o >&5
++configure:16331: $? = 0
++configure:16342: cc -c conftest.c >&5
++configure:16346: $? = 0
++configure:16354: cc -c conftest.c -o conftest2.o >&5
++configure:16358: $? = 0
++configure:16364: cc -c conftest.c -o conftest2.o >&5
++configure:16368: $? = 0
++configure:16386: result: yes
++configure:16423: checking for i686-openadk-linux-ar
++configure:16450: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ar
++configure:16515: checking for i686-openadk-linux-ld
++configure:16542: result: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld
++configure:16605: checking for ANSI C header files
++configure:16709: result: yes
++configure:16718: checking for GNU libc2
++configure:16732: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include conftest.c
++configure:16732: $? = 0
++configure:16740: result: yes
++configure:16748: checking for BSD signal semantics
++configure:16797: result: no
++configure:16805: checking for gethostbyname
++configure:16805: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/tmp/ccoPHc9A.o: In function `main':
++conftest.c:(.text+0x12): warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:16805: $? = 0
++configure:16805: result: yes
++configure:16853: checking for connect
++configure:16853: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:16853: $? = 0
++configure:16853: result: yes
++configure:16902: checking for getaddrinfo
++configure:16902: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:16902: $? = 0
++configure:16902: result: yes
++configure:16910: checking for getrpcbynumber
++configure:16910: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:16910: $? = 0
++configure:16910: result: yes
++configure:16918: checking for getservbyname
++configure:16918: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:16918: $? = 0
++configure:16918: result: yes
++configure:16926: checking for crypt in -lcrypt
++configure:16951: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -lcrypt -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:16951: $? = 0
++configure:16960: result: yes
++configure:16970: checking for event_dispatch in -levent
++configure:16995: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -levent -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:16995: $? = 0
++configure:17004: result: yes
++configure:17015: checking event.h usability
++configure:17015: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:17015: $? = 0
++configure:17015: result: yes
++configure:17015: checking event.h presence
++configure:17015: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:17015: $? = 0
++configure:17015: result: yes
++configure:17015: checking for event.h
++configure:17015: result: yes
++configure:17032: checking for nfs4_init_name_mapping in -lnfsidmap
++configure:17057: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -lnfsidmap -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libnfsidmap.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:17057: $? = 0
++configure:17066: result: yes
++configure:17077: checking nfsidmap.h usability
++configure:17077: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:17077: $? = 0
++configure:17077: result: yes
++configure:17077: checking nfsidmap.h presence
++configure:17077: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:17077: $? = 0
++configure:17077: result: yes
++configure:17077: checking for nfsidmap.h
++configure:17077: result: yes
++configure:17090: checking for nfs4_set_debug in -lnfsidmap
++configure:17115: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -lnfsidmap -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libnfsidmap.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:17115: $? = 0
++configure:17124: result: yes
++configure:17142: checking for i686-openadk-linux-pkg-config
++configure:17175: result: no
++configure:17185: checking for pkg-config
++configure:17203: found /usr/bin/pkg-config
++configure:17215: result: /usr/bin/pkg-config
++configure:17227: WARNING: using cross tools not prefixed with host triplet
++configure:17240: checking pkg-config is at least version 0.9.0
++configure:17243: result: yes
++configure:17256: checking for GSSGLUE
++configure:17263: $PKG_CONFIG --exists --print-errors "libgssglue >= 0.1"
++configure:17266: $? = 0
++configure:17279: $PKG_CONFIG --exists --print-errors "libgssglue >= 0.1"
++configure:17282: $? = 0
++configure:17336: result: yes
++configure:17590: checking for getnameinfo
++configure:17590: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:17590: $? = 0
++configure:17590: result: yes
++configure:17600: checking for nfs4_init_name_mapping in -lnfsidmap
++configure:17634: result: yes
++configure:17645: checking for nfsidmap.h
++configure:17645: result: yes
++configure:17658: checking for nfs4_set_debug in -lnfsidmap
++configure:17692: result: yes
++configure:17705: checking spkm3.h usability
++configure:17705: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c:69:19: fatal error: spkm3.h: No such file or directory
++compilation terminated.
++configure:17705: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| #include <spkm3.h>
++configure:17705: result: no
++configure:17705: checking spkm3.h presence
++configure:17705: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++conftest.c:36:19: fatal error: spkm3.h: No such file or directory
++compilation terminated.
++configure:17705: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| /* end confdefs.h. */
++| #include <spkm3.h>
++configure:17705: result: no
++configure:17705: checking for spkm3.h
++configure:17705: result: no
++configure:17712: WARNING: Could not locate SPKM3 header; will not have SPKM3 support
++configure:17720: checking for Kerberos v5
++configure:17791: result: /home/wbx/adk/openadk/target_i686_uclibc/usr/
++configure:17805: checking for gss_krb5_export_lucid_sec_context in -lgssapi_krb5
++configure:17830: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -lgssapi_krb5 -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib $(PROG_RPATH_FLAGS) -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -ltirpc -lrpcsecgss >&5
++i686-openadk-linux-uclibc-gcc: $(PROG_RPATH_FLAGS): No such file or directory
++configure:17830: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| /* end confdefs.h. */
++|
++| /* Override any GCC internal prototype to avoid an error.
++| Use char because int might match the return type of a GCC
++| builtin and then its argument prototype would still apply. */
++| #ifdef __cplusplus
++| extern "C"
++| #endif
++| char gss_krb5_export_lucid_sec_context ();
++| int
++| main ()
++| {
++| return gss_krb5_export_lucid_sec_context ();
++| ;
++| return 0;
++| }
++configure:17840: result: no
++configure:17850: checking for gss_krb5_set_allowable_enctypes in -lgssapi_krb5
++configure:17875: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -lgssapi_krb5 -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib $(PROG_RPATH_FLAGS) -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -ltirpc -lrpcsecgss >&5
++i686-openadk-linux-uclibc-gcc: $(PROG_RPATH_FLAGS): No such file or directory
++configure:17875: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| /* end confdefs.h. */
++|
++| /* Override any GCC internal prototype to avoid an error.
++| Use char because int might match the return type of a GCC
++| builtin and then its argument prototype would still apply. */
++| #ifdef __cplusplus
++| extern "C"
++| #endif
++| char gss_krb5_set_allowable_enctypes ();
++| int
++| main ()
++| {
++| return gss_krb5_set_allowable_enctypes ();
++| ;
++| return 0;
++| }
++configure:17885: result: no
++configure:17895: checking for gss_krb5_ccache_name in -lgssapi_krb5
++configure:17920: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -lgssapi_krb5 -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib $(PROG_RPATH_FLAGS) -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -ltirpc -lrpcsecgss >&5
++i686-openadk-linux-uclibc-gcc: $(PROG_RPATH_FLAGS): No such file or directory
++configure:17920: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| /* end confdefs.h. */
++|
++| /* Override any GCC internal prototype to avoid an error.
++| Use char because int might match the return type of a GCC
++| builtin and then its argument prototype would still apply. */
++| #ifdef __cplusplus
++| extern "C"
++| #endif
++| char gss_krb5_ccache_name ();
++| int
++| main ()
++| {
++| return gss_krb5_ccache_name ();
++| ;
++| return 0;
++| }
++configure:17930: result: no
++configure:17941: checking for krb5_get_error_message in -lgssapi_krb5
++configure:17966: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -lgssapi_krb5 -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib $(PROG_RPATH_FLAGS) -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -ltirpc -lrpcsecgss >&5
++i686-openadk-linux-uclibc-gcc: $(PROG_RPATH_FLAGS): No such file or directory
++configure:17966: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| /* end confdefs.h. */
++|
++| /* Override any GCC internal prototype to avoid an error.
++| Use char because int might match the return type of a GCC
++| builtin and then its argument prototype would still apply. */
++| #ifdef __cplusplus
++| extern "C"
++| #endif
++| char krb5_get_error_message ();
++| int
++| main ()
++| {
++| return krb5_get_error_message ();
++| ;
++| return 0;
++| }
++configure:17976: result: no
++configure:17987: checking for krb5_get_init_creds_opt_set_addressless in -lgssapi_krb5
++configure:18012: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -lgssapi_krb5 -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib $(PROG_RPATH_FLAGS) -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -ltirpc -lrpcsecgss >&5
++i686-openadk-linux-uclibc-gcc: $(PROG_RPATH_FLAGS): No such file or directory
++configure:18012: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| /* end confdefs.h. */
++|
++| /* Override any GCC internal prototype to avoid an error.
++| Use char because int might match the return type of a GCC
++| builtin and then its argument prototype would still apply. */
++| #ifdef __cplusplus
++| extern "C"
++| #endif
++| char krb5_get_init_creds_opt_set_addressless ();
++| int
++| main ()
++| {
++| return krb5_get_init_creds_opt_set_addressless ();
++| ;
++| return 0;
++| }
++configure:18022: result: no
++configure:18143: checking whether AI_ADDRCONFIG is declared
++configure:18143: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18143: $? = 0
++configure:18143: result: yes
++configure:18195: checking arpa/inet.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking arpa/inet.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for arpa/inet.h
++configure:18195: result: yes
++configure:18195: checking fcntl.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking fcntl.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for fcntl.h
++configure:18195: result: yes
++configure:18195: checking libintl.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking libintl.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for libintl.h
++configure:18195: result: yes
++configure:18195: checking limits.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking limits.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for limits.h
++configure:18195: result: yes
++configure:18195: checking malloc.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking malloc.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for malloc.h
++configure:18195: result: yes
++configure:18195: checking for memory.h
++configure:18195: result: yes
++configure:18195: checking netdb.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking netdb.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for netdb.h
++configure:18195: result: yes
++configure:18195: checking netinet/in.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking netinet/in.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for netinet/in.h
++configure:18195: result: yes
++configure:18195: checking paths.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking paths.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for paths.h
++configure:18195: result: yes
++configure:18195: checking for stdlib.h
++configure:18195: result: yes
++configure:18195: checking for string.h
++configure:18195: result: yes
++configure:18195: checking sys/file.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking sys/file.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for sys/file.h
++configure:18195: result: yes
++configure:18195: checking sys/ioctl.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking sys/ioctl.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for sys/ioctl.h
++configure:18195: result: yes
++configure:18195: checking sys/mount.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking sys/mount.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for sys/mount.h
++configure:18195: result: yes
++configure:18195: checking sys/param.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking sys/param.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for sys/param.h
++configure:18195: result: yes
++configure:18195: checking sys/socket.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking sys/socket.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for sys/socket.h
++configure:18195: result: yes
++configure:18195: checking sys/time.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking sys/time.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for sys/time.h
++configure:18195: result: yes
++configure:18195: checking sys/vfs.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking sys/vfs.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for sys/vfs.h
++configure:18195: result: yes
++configure:18195: checking syslog.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking syslog.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for syslog.h
++configure:18195: result: yes
++configure:18195: checking for unistd.h
++configure:18195: result: yes
++configure:18195: checking com_err.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c:92:21: fatal error: com_err.h: No such file or directory
++compilation terminated.
++configure:18195: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| #include <com_err.h>
++configure:18195: result: no
++configure:18195: checking com_err.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++conftest.c:59:21: fatal error: com_err.h: No such file or directory
++compilation terminated.
++configure:18195: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| /* end confdefs.h. */
++| #include <com_err.h>
++configure:18195: result: no
++configure:18195: checking for com_err.h
++configure:18195: result: no
++configure:18195: checking et/com_err.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking et/com_err.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for et/com_err.h
++configure:18195: result: yes
++configure:18195: checking ifaddrs.h usability
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking ifaddrs.h presence
++configure:18195: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:18195: $? = 0
++configure:18195: result: yes
++configure:18195: checking for ifaddrs.h
++configure:18195: result: yes
++configure:18207: checking for an ANSI C-conforming const
++configure:18272: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18272: $? = 0
++configure:18279: result: yes
++configure:18287: checking for uid_t in sys/types.h
++configure:18306: result: yes
++configure:18317: checking for inline
++configure:18333: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18333: $? = 0
++configure:18341: result: inline
++configure:18359: checking for off_t
++configure:18359: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18359: $? = 0
++configure:18359: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:97:20: error: expected expression before ')' token
++configure:18359: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| if (sizeof ((off_t)))
++| return 0;
++| ;
++| return 0;
++| }
++configure:18359: result: yes
++configure:18370: checking for pid_t
++configure:18370: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18370: $? = 0
++configure:18370: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:97:20: error: expected expression before ')' token
++configure:18370: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| if (sizeof ((pid_t)))
++| return 0;
++| ;
++| return 0;
++| }
++configure:18370: result: yes
++configure:18381: checking for size_t
++configure:18381: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18381: $? = 0
++configure:18381: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:97:21: error: expected expression before ')' token
++configure:18381: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| if (sizeof ((size_t)))
++| return 0;
++| ;
++| return 0;
++| }
++configure:18381: result: yes
++configure:18392: checking whether time.h and sys/time.h may both be included
++configure:18412: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18412: $? = 0
++configure:18419: result: yes
++configure:18427: checking whether struct tm is in sys/time.h or time.h
++configure:18447: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18447: $? = 0
++configure:18454: result: time.h
++configure:18465: checking for working alloca.h
++configure:18482: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:18482: $? = 0
++configure:18490: result: yes
++configure:18498: checking for alloca
++configure:18535: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:18535: $? = 0
++configure:18543: result: yes
++configure:18656: checking for dirent.h that defines DIR
++configure:18675: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:18675: $? = 0
++configure:18683: result: yes
++configure:18697: checking for library containing opendir
++configure:18728: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:18728: $? = 0
++configure:18745: result: none required
++configure:18812: checking whether closedir returns void
++configure:18846: result: yes
++configure:18854: checking for error_at_line
++configure:18870: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:18870: $? = 0
++configure:18878: result: yes
++configure:18891: checking vfork.h usability
++configure:18891: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c:99:19: fatal error: vfork.h: No such file or directory
++compilation terminated.
++configure:18891: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| #include <vfork.h>
++configure:18891: result: no
++configure:18891: checking vfork.h presence
++configure:18891: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++conftest.c:66:19: fatal error: vfork.h: No such file or directory
++compilation terminated.
++configure:18891: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| /* end confdefs.h. */
++| #include <vfork.h>
++configure:18891: result: no
++configure:18891: checking for vfork.h
++configure:18891: result: no
++configure:18904: checking for fork
++configure:18904: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++conftest.c:89:6: warning: conflicting types for built-in function 'fork'
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:18904: $? = 0
++configure:18904: result: yes
++configure:18904: checking for vfork
++configure:18904: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:18904: $? = 0
++configure:18904: result: yes
++configure:18915: checking for working fork
++configure:18947: result: cross
++configure:18963: WARNING: result yes guessed because of cross compilation
++configure:18968: checking for working vfork
++configure:19078: result: yes
++configure:19103: checking type of array argument to getgroups
++configure:19162: result: gid_t
++configure:19170: checking for getgroups
++configure:19170: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19170: $? = 0
++configure:19170: result: yes
++configure:19225: checking for working getgroups
++configure:19256: result: no
++configure:19270: checking for library containing getmntent
++configure:19301: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19301: $? = 0
++configure:19318: result: none required
++configure:19333: checking whether /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc needs -traditional
++configure:19367: result: no
++configure:19374: checking whether lstat correctly handles trailing slash
++configure:19417: result: no
++configure:19436: checking whether lstat accepts an empty string
++configure:19466: result: yes
++configure:19482: checking whether lstat correctly handles trailing slash
++configure:19525: result: no
++configure:19544: checking whether sys/types.h defines makedev
++configure:19560: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19560: $? = 0
++configure:19569: result: yes
++configure:19595: checking for working memcmp
++configure:19648: result: no
++configure:19661: checking sys/select.h usability
++configure:19661: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19661: $? = 0
++configure:19661: result: yes
++configure:19661: checking sys/select.h presence
++configure:19661: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c
++configure:19661: $? = 0
++configure:19661: result: yes
++configure:19661: checking for sys/select.h
++configure:19661: result: yes
++configure:19661: checking for sys/socket.h
++configure:19661: result: yes
++configure:19672: checking types of arguments for select
++configure:19700: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19700: $? = 0
++configure:19711: result: int,fd_set *,struct timeval *
++configure:19734: checking return type of signal handlers
++configure:19752: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:84:1: error: void value not ignored as it ought to be
++configure:19752: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| /* end confdefs.h. */
++| #include <sys/types.h>
++| #include <signal.h>
++|
++| int
++| main ()
++| {
++| return *(signal (0, 0)) (0) == 1;
++| ;
++| return 0;
++| }
++configure:19759: result: void
++configure:19767: checking whether stat accepts an empty string
++configure:19797: result: yes
++configure:19815: checking for vprintf
++configure:19815: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++conftest.c:103:6: warning: conflicting types for built-in function 'vprintf'
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19815: $? = 0
++configure:19815: result: yes
++configure:19821: checking for _doprnt
++configure:19821: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++/tmp/ccFobr1P.o: In function `main':
++conftest.c:(.text+0x12): undefined reference to `_doprnt'
++collect2: ld returned 1 exit status
++configure:19821: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| /* end confdefs.h. */
++| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
++| For example, HP-UX 11i <limits.h> declares gettimeofday. */
++| #define _doprnt innocuous__doprnt
++|
++| /* System header to define __stub macros and hopefully few prototypes,
++| which can conflict with char _doprnt (); below.
++| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++| <limits.h> exists even on freestanding compilers. */
++|
++| #ifdef __STDC__
++| # include <limits.h>
++| #else
++| # include <assert.h>
++| #endif
++|
++| #undef _doprnt
++|
++| /* Override any GCC internal prototype to avoid an error.
++| Use char because int might match the return type of a GCC
++| builtin and then its argument prototype would still apply. */
++| #ifdef __cplusplus
++| extern "C"
++| #endif
++| char _doprnt ();
++| /* The GNU C library defines this for functions which it implements
++| to always fail with ENOSYS. Some functions are actually named
++| something starting with __ and the normal name is an alias. */
++| #if defined __stub__doprnt || defined __stub____doprnt
++| choke me
++| #endif
++|
++| int
++| main ()
++| {
++| return _doprnt ();
++| ;
++| return 0;
++| }
++configure:19821: result: no
++configure:19840: checking for alarm
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for atexit
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for dup2
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for fdatasync
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for ftruncate
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for getcwd
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for gethostbyaddr
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/tmp/ccMsHpoy.o: In function `main':
++conftest.c:(.text+0x12): warning: gethostbyaddr is obsolescent, use getaddrinfo() instead.
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for gethostbyname
++configure:19840: result: yes
++configure:19840: checking for gethostname
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for getmntent
++configure:19840: result: yes
++configure:19840: checking for getnameinfo
++configure:19840: result: yes
++configure:19840: checking for getrpcbyname
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for getifaddrs
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for gettimeofday
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for hasmntopt
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for inet_ntoa
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for innetgr
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++/tmp/cc8RLUnr.o: In function `main':
++conftest.c:(.text+0x12): undefined reference to `innetgr'
++collect2: ld returned 1 exit status
++configure:19840: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| /* end confdefs.h. */
++| /* Define innetgr to an innocuous variant, in case <limits.h> declares innetgr.
++| For example, HP-UX 11i <limits.h> declares gettimeofday. */
++| #define innetgr innocuous_innetgr
++|
++| /* System header to define __stub macros and hopefully few prototypes,
++| which can conflict with char innetgr (); below.
++| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++| <limits.h> exists even on freestanding compilers. */
++|
++| #ifdef __STDC__
++| # include <limits.h>
++| #else
++| # include <assert.h>
++| #endif
++|
++| #undef innetgr
++|
++| /* Override any GCC internal prototype to avoid an error.
++| Use char because int might match the return type of a GCC
++| builtin and then its argument prototype would still apply. */
++| #ifdef __cplusplus
++| extern "C"
++| #endif
++| char innetgr ();
++| /* The GNU C library defines this for functions which it implements
++| to always fail with ENOSYS. Some functions are actually named
++| something starting with __ and the normal name is an alias. */
++| #if defined __stub_innetgr || defined __stub___innetgr
++| choke me
++| #endif
++|
++| int
++| main ()
++| {
++| return innetgr ();
++| ;
++| return 0;
++| }
++configure:19840: result: no
++configure:19840: checking for memset
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++conftest.c:120:6: warning: conflicting types for built-in function 'memset'
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for mkdir
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for pathconf
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for realpath
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for rmdir
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for select
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for socket
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for strcasecmp
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++conftest.c:127:6: warning: conflicting types for built-in function 'strcasecmp'
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for strchr
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++conftest.c:128:6: warning: conflicting types for built-in function 'strchr'
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for strdup
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++conftest.c:129:6: warning: conflicting types for built-in function 'strdup'
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for strerror
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for strrchr
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++conftest.c:131:6: warning: conflicting types for built-in function 'strrchr'
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for strtol
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for strtoul
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19840: checking for sigprocmask
++configure:19840: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -o conftest -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib conftest.c -ltirpc -lrpcsecgss >&5
++/home/wbx/adk/openadk/target_i686_uclibc/usr/lib/libtirpc.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
++configure:19840: $? = 0
++configure:19840: result: yes
++configure:19856: checking size of short
++configure:19861: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19861: $? = 0
++configure:19861: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:148:12: error: size of array 'test_array' is negative
++configure:19861: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19861: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:148:12: error: size of array 'test_array' is negative
++configure:19861: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19861: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19861: $? = 0
++configure:19861: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19861: $? = 0
++configure:19876: result: 2
++configure:19890: checking size of int
++configure:19895: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19895: $? = 0
++configure:19895: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:149:12: error: size of array 'test_array' is negative
++configure:19895: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| #define SIZEOF_SHORT 2
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19895: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:149:12: error: size of array 'test_array' is negative
++configure:19895: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| #define SIZEOF_SHORT 2
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19895: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:149:12: error: size of array 'test_array' is negative
++configure:19895: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| #define SIZEOF_SHORT 2
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19895: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19895: $? = 0
++configure:19895: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19895: $? = 0
++configure:19895: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19895: $? = 0
++configure:19910: result: 4
++configure:19924: checking size of long
++configure:19929: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19929: $? = 0
++configure:19929: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:150:12: error: size of array 'test_array' is negative
++configure:19929: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| #define SIZEOF_SHORT 2
++| #define SIZEOF_INT 4
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19929: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:150:12: error: size of array 'test_array' is negative
++configure:19929: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| #define SIZEOF_SHORT 2
++| #define SIZEOF_INT 4
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19929: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:150:12: error: size of array 'test_array' is negative
++configure:19929: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| #define SIZEOF_SHORT 2
++| #define SIZEOF_INT 4
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19929: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19929: $? = 0
++configure:19929: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19929: $? = 0
++configure:19929: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19929: $? = 0
++configure:19944: result: 4
++configure:19958: checking size of size_t
++configure:19963: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19963: $? = 0
++configure:19963: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:151:12: error: size of array 'test_array' is negative
++configure:19963: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| #define SIZEOF_SHORT 2
++| #define SIZEOF_INT 4
++| #define SIZEOF_LONG 4
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 0)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19963: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:151:12: error: size of array 'test_array' is negative
++configure:19963: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| #define SIZEOF_SHORT 2
++| #define SIZEOF_INT 4
++| #define SIZEOF_LONG 4
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 1)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19963: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:151:12: error: size of array 'test_array' is negative
++configure:19963: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| #define SIZEOF_SHORT 2
++| #define SIZEOF_INT 4
++| #define SIZEOF_LONG 4
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 3)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19963: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19963: $? = 0
++configure:19963: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19963: $? = 0
++configure:19963: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19963: $? = 0
++configure:19978: result: 4
++configure:19992: checking size of socklen_t
++configure:19997: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19997: $? = 0
++configure:19997: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:152:12: error: size of array 'test_array' is negative
++configure:19997: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| #define SIZEOF_SHORT 2
++| #define SIZEOF_INT 4
++| #define SIZEOF_LONG 4
++| #define SIZEOF_SIZE_T 4
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (socklen_t))) <= 0)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19997: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:152:12: error: size of array 'test_array' is negative
++configure:19997: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| #define SIZEOF_SHORT 2
++| #define SIZEOF_INT 4
++| #define SIZEOF_LONG 4
++| #define SIZEOF_SIZE_T 4
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (socklen_t))) <= 1)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19997: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++conftest.c: In function 'main':
++conftest.c:152:12: error: size of array 'test_array' is negative
++configure:19997: $? = 1
++configure: failed program was:
++| /* confdefs.h */
++| #define PACKAGE_NAME "linux nfs-utils"
++| #define PACKAGE_TARNAME "nfs-utils"
++| #define PACKAGE_VERSION "1.2.3"
++| #define PACKAGE_STRING "linux nfs-utils 1.2.3"
++| #define PACKAGE_BUGREPORT "linux-nfs@vger.kernel.org"
++| #define PACKAGE_URL ""
++| #define PACKAGE "nfs-utils"
++| #define VERSION "1.2.3"
++| #define START_STATD "/usr/sbin/start-statd"
++| #define NFS3_SUPPORTED 1
++| #define NFS4_SUPPORTED 1
++| #define GSS_SUPPORTED 1
++| #define STDC_HEADERS 1
++| #define HAVE_SYS_TYPES_H 1
++| #define HAVE_SYS_STAT_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_STRINGS_H 1
++| #define HAVE_INTTYPES_H 1
++| #define HAVE_STDINT_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_LIBTIRPC 1
++| #define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++| #define _FILE_OFFSET_BITS 64
++| #define HAVE_DLFCN_H 1
++| #define LT_OBJDIR ".libs/"
++| #define STDC_HEADERS 1
++| #define HAVE_EVENT_H 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define HAVE_NFSIDMAP_H 1
++| #define HAVE_NFS4_SET_DEBUG 1
++| #define KRB5_VERSION 181
++| #define HAVE_KRB5 1
++| #define HAVE_DECL_AI_ADDRCONFIG 1
++| #define HAVE_ARPA_INET_H 1
++| #define HAVE_FCNTL_H 1
++| #define HAVE_LIBINTL_H 1
++| #define HAVE_LIMITS_H 1
++| #define HAVE_MALLOC_H 1
++| #define HAVE_MEMORY_H 1
++| #define HAVE_NETDB_H 1
++| #define HAVE_NETINET_IN_H 1
++| #define HAVE_PATHS_H 1
++| #define HAVE_STDLIB_H 1
++| #define HAVE_STRING_H 1
++| #define HAVE_SYS_FILE_H 1
++| #define HAVE_SYS_IOCTL_H 1
++| #define HAVE_SYS_MOUNT_H 1
++| #define HAVE_SYS_PARAM_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define HAVE_SYS_TIME_H 1
++| #define HAVE_SYS_VFS_H 1
++| #define HAVE_SYSLOG_H 1
++| #define HAVE_UNISTD_H 1
++| #define HAVE_ET_COM_ERR_H 1
++| #define HAVE_IFADDRS_H 1
++| #define TIME_WITH_SYS_TIME 1
++| #define HAVE_ALLOCA_H 1
++| #define HAVE_ALLOCA 1
++| #define HAVE_DIRENT_H 1
++| #define CLOSEDIR_VOID 1
++| #define HAVE_FORK 1
++| #define HAVE_VFORK 1
++| #define HAVE_WORKING_VFORK 1
++| #define HAVE_WORKING_FORK 1
++| #define GETGROUPS_T gid_t
++| #define HAVE_GETMNTENT 1
++| #define HAVE_LSTAT_EMPTY_STRING_BUG 1
++| #define HAVE_SYS_SELECT_H 1
++| #define HAVE_SYS_SOCKET_H 1
++| #define SELECT_TYPE_ARG1 int
++| #define SELECT_TYPE_ARG234 (fd_set *)
++| #define SELECT_TYPE_ARG5 (struct timeval *)
++| #define RETSIGTYPE void
++| #define HAVE_STAT_EMPTY_STRING_BUG 1
++| #define HAVE_VPRINTF 1
++| #define HAVE_ALARM 1
++| #define HAVE_ATEXIT 1
++| #define HAVE_DUP2 1
++| #define HAVE_FDATASYNC 1
++| #define HAVE_FTRUNCATE 1
++| #define HAVE_GETCWD 1
++| #define HAVE_GETHOSTBYADDR 1
++| #define HAVE_GETHOSTBYNAME 1
++| #define HAVE_GETHOSTNAME 1
++| #define HAVE_GETMNTENT 1
++| #define HAVE_GETNAMEINFO 1
++| #define HAVE_GETRPCBYNAME 1
++| #define HAVE_GETIFADDRS 1
++| #define HAVE_GETTIMEOFDAY 1
++| #define HAVE_HASMNTOPT 1
++| #define HAVE_INET_NTOA 1
++| #define HAVE_MEMSET 1
++| #define HAVE_MKDIR 1
++| #define HAVE_PATHCONF 1
++| #define HAVE_REALPATH 1
++| #define HAVE_RMDIR 1
++| #define HAVE_SELECT 1
++| #define HAVE_SOCKET 1
++| #define HAVE_STRCASECMP 1
++| #define HAVE_STRCHR 1
++| #define HAVE_STRDUP 1
++| #define HAVE_STRERROR 1
++| #define HAVE_STRRCHR 1
++| #define HAVE_STRTOL 1
++| #define HAVE_STRTOUL 1
++| #define HAVE_SIGPROCMASK 1
++| #define SIZEOF_SHORT 2
++| #define SIZEOF_INT 4
++| #define SIZEOF_LONG 4
++| #define SIZEOF_SIZE_T 4
++| /* end confdefs.h. */
++| #include <stdio.h>
++| #ifdef HAVE_SYS_TYPES_H
++| # include <sys/types.h>
++| #endif
++| #ifdef HAVE_SYS_STAT_H
++| # include <sys/stat.h>
++| #endif
++| #ifdef STDC_HEADERS
++| # include <stdlib.h>
++| # include <stddef.h>
++| #else
++| # ifdef HAVE_STDLIB_H
++| # include <stdlib.h>
++| # endif
++| #endif
++| #ifdef HAVE_STRING_H
++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
++| # include <memory.h>
++| # endif
++| # include <string.h>
++| #endif
++| #ifdef HAVE_STRINGS_H
++| # include <strings.h>
++| #endif
++| #ifdef HAVE_INTTYPES_H
++| # include <inttypes.h>
++| #endif
++| #ifdef HAVE_STDINT_H
++| # include <stdint.h>
++| #endif
++| #ifdef HAVE_UNISTD_H
++| # include <unistd.h>
++| #endif
++| int
++| main ()
++| {
++| static int test_array [1 - 2 * !(((long int) (sizeof (socklen_t))) <= 3)];
++| test_array [0] = 0
++|
++| ;
++| return 0;
++| }
++configure:19997: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19997: $? = 0
++configure:19997: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19997: $? = 0
++configure:19997: /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -c -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE conftest.c >&5
++configure:19997: $? = 0
++configure:20012: result: 4
++configure:20234: creating ./config.status
++
++## ---------------------- ##
++## Running config.status. ##
++## ---------------------- ##
++
++This file was extended by linux nfs-utils config.status 1.2.3, which was
++generated by GNU Autoconf 2.65. Invocation command line was
++
++ CONFIG_FILES =
++ CONFIG_HEADERS =
++ CONFIG_LINKS =
++ CONFIG_COMMANDS =
++ $ ./config.status
++
++on chrom
++
++config.status:1313: creating Makefile
++config.status:1313: creating linux-nfs/Makefile
++config.status:1313: creating support/Makefile
++config.status:1313: creating support/export/Makefile
++config.status:1313: creating support/include/nfs/Makefile
++config.status:1313: creating support/include/rpcsvc/Makefile
++config.status:1313: creating support/include/sys/fs/Makefile
++config.status:1313: creating support/include/sys/Makefile
++config.status:1313: creating support/include/Makefile
++config.status:1313: creating support/misc/Makefile
++config.status:1313: creating support/nfs/Makefile
++config.status:1313: creating support/nsm/Makefile
++config.status:1313: creating tools/Makefile
++config.status:1313: creating tools/locktest/Makefile
++config.status:1313: creating tools/nlmtest/Makefile
++config.status:1313: creating tools/rpcdebug/Makefile
++config.status:1313: creating tools/rpcgen/Makefile
++config.status:1313: creating tools/mountstats/Makefile
++config.status:1313: creating tools/nfs-iostat/Makefile
++config.status:1313: creating utils/Makefile
++config.status:1313: creating utils/exportfs/Makefile
++config.status:1313: creating utils/gssd/Makefile
++config.status:1313: creating utils/idmapd/Makefile
++config.status:1313: creating utils/mount/Makefile
++config.status:1313: creating utils/mountd/Makefile
++config.status:1313: creating utils/nfsd/Makefile
++config.status:1313: creating utils/nfsstat/Makefile
++config.status:1313: creating utils/showmount/Makefile
++config.status:1313: creating utils/statd/Makefile
++config.status:1313: creating tests/Makefile
++config.status:1313: creating tests/nsm_client/Makefile
++config.status:1313: creating support/include/config.h
++config.status:1533: executing depfiles commands
++config.status:1533: executing libtool commands
++configure:22726: WARNING: unrecognized options: --disable-nls
+
+ ## ---------------- ##
+ ## Cache variables. ##
+ ## ---------------- ##
+
+-ac_cv_build=x86_64-unknown-linux-gnu
++ac_cv_build=x86_64-pc-linux-gnu
+ ac_cv_c_compiler_gnu=yes
++ac_cv_c_const=yes
++ac_cv_c_inline=inline
++ac_cv_cxx_compiler_gnu=yes
+ ac_cv_env_CCC_set=
+ ac_cv_env_CCC_value=
+-ac_cv_env_CC_set=
+-ac_cv_env_CC_value=
+-ac_cv_env_CFLAGS_set=
+-ac_cv_env_CFLAGS_value=
+-ac_cv_env_CPPFLAGS_set=
+-ac_cv_env_CPPFLAGS_value=
++ac_cv_env_CC_set=set
++ac_cv_env_CC_value=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc
++ac_cv_env_CFLAGS_set=set
++ac_cv_env_CFLAGS_value='-march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe'
++ac_cv_env_CPPFLAGS_set=set
++ac_cv_env_CPPFLAGS_value=-I/home/wbx/adk/openadk/target_i686_uclibc/usr/include
+ ac_cv_env_CPP_set=
+ ac_cv_env_CPP_value=
+ ac_cv_env_CXXCPP_set=
+ ac_cv_env_CXXCPP_value=
+-ac_cv_env_CXXFLAGS_set=
++ac_cv_env_CXXFLAGS_set=set
+ ac_cv_env_CXXFLAGS_value=
+-ac_cv_env_CXX_set=
+-ac_cv_env_CXX_value=
++ac_cv_env_CXX_set=set
++ac_cv_env_CXX_value=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++
+ ac_cv_env_GSSGLUE_CFLAGS_set=
+ ac_cv_env_GSSGLUE_CFLAGS_value=
+ ac_cv_env_GSSGLUE_LIBS_set=
+ ac_cv_env_GSSGLUE_LIBS_value=
+-ac_cv_env_LDFLAGS_set=
+-ac_cv_env_LDFLAGS_value=
+-ac_cv_env_LIBS_set=
+-ac_cv_env_LIBS_value=
++ac_cv_env_LDFLAGS_set=set
++ac_cv_env_LDFLAGS_value='-Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib'
++ac_cv_env_LIBS_set=set
++ac_cv_env_LIBS_value=-lrpcsecgss
+ ac_cv_env_PKG_CONFIG_set=
+ ac_cv_env_PKG_CONFIG_value=
+ ac_cv_env_RPCSECGSS_CFLAGS_set=
+ ac_cv_env_RPCSECGSS_CFLAGS_value=
+ ac_cv_env_RPCSECGSS_LIBS_set=
+ ac_cv_env_RPCSECGSS_LIBS_value=
+-ac_cv_env_build_alias_set=
+-ac_cv_env_build_alias_value=
+-ac_cv_env_host_alias_set=
+-ac_cv_env_host_alias_value=
+-ac_cv_env_target_alias_set=
+-ac_cv_env_target_alias_value=
++ac_cv_env_build_alias_set=set
++ac_cv_env_build_alias_value=x86_64-linux-gnu
++ac_cv_env_host_alias_set=set
++ac_cv_env_host_alias_value=i686-openadk-linux
++ac_cv_env_target_alias_set=set
++ac_cv_env_target_alias_value=i686-openadk-linux
++ac_cv_func__doprnt=no
++ac_cv_func_alarm=yes
++ac_cv_func_alloca_works=yes
++ac_cv_func_atexit=yes
++ac_cv_func_closedir_void=yes
++ac_cv_func_connect=yes
++ac_cv_func_dup2=yes
++ac_cv_func_fdatasync=yes
++ac_cv_func_fork=yes
++ac_cv_func_fork_works=yes
++ac_cv_func_ftruncate=yes
++ac_cv_func_getaddrinfo=yes
++ac_cv_func_getcwd=yes
++ac_cv_func_getgroups=yes
++ac_cv_func_getgroups_works=no
++ac_cv_func_gethostbyaddr=yes
++ac_cv_func_gethostbyname=yes
++ac_cv_func_gethostname=yes
++ac_cv_func_getifaddrs=yes
++ac_cv_func_getmntent=yes
++ac_cv_func_getnameinfo=yes
++ac_cv_func_getrpcbyname=yes
++ac_cv_func_getrpcbynumber=yes
++ac_cv_func_getservbyname=yes
++ac_cv_func_gettimeofday=yes
++ac_cv_func_hasmntopt=yes
++ac_cv_func_inet_ntoa=yes
++ac_cv_func_innetgr=no
++ac_cv_func_lstat_dereferences_slashed_symlink=no
++ac_cv_func_lstat_empty_string_bug=yes
++ac_cv_func_malloc_0_nonnull=yes
++ac_cv_func_memcmp_working=no
++ac_cv_func_memset=yes
++ac_cv_func_mkdir=yes
++ac_cv_func_pathconf=yes
++ac_cv_func_prctl=yes
++ac_cv_func_realloc_0_nonnull=yes
++ac_cv_func_realpath=yes
++ac_cv_func_rmdir=yes
++ac_cv_func_select=yes
++ac_cv_func_select_args='int,fd_set *,struct timeval *'
++ac_cv_func_sigprocmask=yes
++ac_cv_func_socket=yes
++ac_cv_func_stat_empty_string_bug=yes
++ac_cv_func_strcasecmp=yes
++ac_cv_func_strchr=yes
++ac_cv_func_strdup=yes
++ac_cv_func_strerror=yes
++ac_cv_func_strrchr=yes
++ac_cv_func_strtol=yes
++ac_cv_func_strtoul=yes
++ac_cv_func_vfork=yes
++ac_cv_func_vfork_works=yes
++ac_cv_func_vprintf=yes
++ac_cv_have_decl_AI_ADDRCONFIG=yes
++ac_cv_header__home_wbx_adk_openadk_target_i686_uclibc_usr_include_tirpc_netconfig_h=yes
++ac_cv_header_arpa_inet_h=yes
++ac_cv_header_com_err_h=no
++ac_cv_header_dirent_dirent_h=yes
++ac_cv_header_dlfcn_h=yes
++ac_cv_header_et_com_err_h=yes
++ac_cv_header_event_h=yes
++ac_cv_header_fcntl_h=yes
++ac_cv_header_ifaddrs_h=yes
+ ac_cv_header_inttypes_h=yes
++ac_cv_header_libintl_h=yes
++ac_cv_header_limits_h=yes
++ac_cv_header_malloc_h=yes
+ ac_cv_header_memory_h=yes
++ac_cv_header_netdb_h=yes
++ac_cv_header_netinet_in_h=yes
++ac_cv_header_nfsidmap_h=yes
++ac_cv_header_paths_h=yes
++ac_cv_header_spkm3_h=no
+ ac_cv_header_stdc=yes
+ ac_cv_header_stdint_h=yes
+ ac_cv_header_stdlib_h=yes
+ ac_cv_header_string_h=yes
+ ac_cv_header_strings_h=yes
++ac_cv_header_sys_capability_h=no
++ac_cv_header_sys_file_h=yes
++ac_cv_header_sys_ioctl_h=yes
++ac_cv_header_sys_mount_h=yes
++ac_cv_header_sys_param_h=yes
++ac_cv_header_sys_select_h=yes
++ac_cv_header_sys_socket_h=yes
+ ac_cv_header_sys_stat_h=yes
++ac_cv_header_sys_time_h=yes
+ ac_cv_header_sys_types_h=yes
++ac_cv_header_sys_types_h_makedev=yes
++ac_cv_header_sys_vfs_h=yes
++ac_cv_header_syslog_h=yes
++ac_cv_header_time=yes
+ ac_cv_header_unistd_h=yes
+-ac_cv_host=x86_64-unknown-linux-gnu
++ac_cv_header_vfork_h=no
++ac_cv_host=i686-openadk-linux-gnu
++ac_cv_lib_cap_cap_get_proc=no
++ac_cv_lib_crypt_crypt=yes
++ac_cv_lib_error_at_line=yes
++ac_cv_lib_event_event_dispatch=yes
++ac_cv_lib_gssapi_krb5___gss_krb5_ccache_name=no
++ac_cv_lib_gssapi_krb5___gss_krb5_export_lucid_sec_context=no
++ac_cv_lib_gssapi_krb5___gss_krb5_set_allowable_enctypes=no
++ac_cv_lib_gssapi_krb5___krb5_get_error_message=no
++ac_cv_lib_gssapi_krb5___krb5_get_init_creds_opt_set_addressless=no
++ac_cv_lib_nfsidmap_nfs4_init_name_mapping=yes
++ac_cv_lib_nfsidmap_nfs4_set_debug=yes
++ac_cv_lib_nsl_gethostbyname=no
+ ac_cv_lib_tirpc_clnt_tli_create=yes
+ ac_cv_objext=o
+ ac_cv_path_EGREP='/bin/grep -E'
++ac_cv_path_FGREP='/bin/grep -F'
+ ac_cv_path_GREP=/bin/grep
+-ac_cv_path_install='/usr/bin/install -c'
++ac_cv_path_SED=/home/wbx/adk/openadk/scripts/sed
++ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
++ac_cv_path_install='/home/wbx/adk/openadk/scripts/install -c'
+ ac_cv_path_mkdir=/bin/mkdir
++ac_cv_prog_AR=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ar
+ ac_cv_prog_AWK=gawk
+-ac_cv_prog_CPP='gcc -E'
+-ac_cv_prog_ac_ct_CC=gcc
++ac_cv_prog_CC=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc
++ac_cv_prog_CPP='/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E'
++ac_cv_prog_CXXCPP='/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -E'
++ac_cv_prog_LD=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld
++ac_cv_prog_OBJDUMP=i686-openadk-linux-objdump
++ac_cv_prog_RANLIB=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ranlib
++ac_cv_prog_STRIP=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-strip
++ac_cv_prog_cc__home_wbx_adk_openadk_host_i686_uclibc_bin_i686_openadk_linux_uclibc_gcc_c_o=yes
+ ac_cv_prog_cc_c89=
+ ac_cv_prog_cc_g=yes
++ac_cv_prog_cxx_g=yes
++ac_cv_prog_gcc_traditional=no
+ ac_cv_prog_make_make_set=yes
+-am_cv_CC_dependencies_compiler_type=gcc3
++ac_cv_search_getmntent='none required'
++ac_cv_search_opendir='none required'
++ac_cv_sizeof_int=4
++ac_cv_sizeof_long=4
++ac_cv_sizeof_short=2
++ac_cv_sizeof_size_t=4
++ac_cv_sizeof_socklen_t=4
++ac_cv_struct_tm=time.h
++ac_cv_sys_file_offset_bits=64
++ac_cv_sys_largefile_CC=no
++ac_cv_type_getgroups=gid_t
++ac_cv_type_off_t=yes
++ac_cv_type_pid_t=yes
++ac_cv_type_signal=void
++ac_cv_type_size_t=yes
++ac_cv_type_uid_t=yes
++ac_cv_working_alloca_h=yes
++am_cv_CC_dependencies_compiler_type=none
++am_cv_CXX_dependencies_compiler_type=none
++knfsd_cv_bsd_signals=no
++knfsd_cv_glibc2=yes
++lt_cv_deplibs_check_method=pass_all
++lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_ld_reload_flag=-r
++lt_cv_nm_interface='BSD nm'
++lt_cv_objdir=.libs
++lt_cv_path_LD=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld
++lt_cv_path_LDCXX=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld
++lt_cv_path_NM=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-nm
++lt_cv_prog_compiler_c_o=yes
++lt_cv_prog_compiler_c_o_CXX=yes
++lt_cv_prog_compiler_pic_works=yes
++lt_cv_prog_compiler_pic_works_CXX=yes
++lt_cv_prog_compiler_rtti_exceptions=no
++lt_cv_prog_compiler_static_works=yes
++lt_cv_prog_compiler_static_works_CXX=yes
++lt_cv_prog_gnu_ld=yes
++lt_cv_prog_gnu_ldcxx=yes
++lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
++lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
++lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
++lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
++lt_cv_sys_max_cmd_len=3458764513820540925
++pkg_cv_GSSGLUE_CFLAGS='-I/home/wbx/adk/openadk/target_i686_uclibc/usr/include/gssglue '
++pkg_cv_GSSGLUE_LIBS='-L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -lgssglue -ldl '
+
+ ## ----------------- ##
+ ## Output variables. ##
+ ## ----------------- ##
+
+-ACLOCAL='${SHELL} /tmp/nfs-utils-1.2.3/missing --run aclocal-1.11'
+-ACLOCAL_AMFLAGS=''
++ACLOCAL='${SHELL} /home/wbx/adk/openadk/build_ibm-x40_i686_uclibc/w-nfs-utils-1.2.3-3/nfs-utils-1.2.3/missing --run aclocal-1.11'
++ACLOCAL_AMFLAGS='-I $(ACLOCAL_FLAGS)'
+ ALLOCA=''
+-AMDEPBACKSLASH='\'
+-AMDEP_FALSE='#'
+-AMDEP_TRUE=''
+-AMTAR='${SHELL} /tmp/nfs-utils-1.2.3/missing --run tar'
+-AM_CFLAGS=''
+-AM_CPPFLAGS=''
+-AR=''
+-AUTOCONF='${SHELL} /tmp/nfs-utils-1.2.3/missing --run autoconf'
+-AUTOHEADER='${SHELL} /tmp/nfs-utils-1.2.3/missing --run autoheader'
+-AUTOMAKE='${SHELL} /tmp/nfs-utils-1.2.3/missing --run automake-1.11'
++AMDEPBACKSLASH=''
++AMDEP_FALSE=''
++AMDEP_TRUE='#'
++AMTAR='${SHELL} /home/wbx/adk/openadk/build_ibm-x40_i686_uclibc/w-nfs-utils-1.2.3-3/nfs-utils-1.2.3/missing --run tar'
++AM_CFLAGS='-Wall -Wextra -Wstrict-prototypes -pipe'
++AM_CPPFLAGS='-I/home/wbx/adk/openadk/target_i686_uclibc/usr/include/tirpc'
++AR='/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ar'
++AUTOCONF='${SHELL} /home/wbx/adk/openadk/build_ibm-x40_i686_uclibc/w-nfs-utils-1.2.3-3/nfs-utils-1.2.3/missing --run autoconf'
++AUTOHEADER='${SHELL} /home/wbx/adk/openadk/build_ibm-x40_i686_uclibc/w-nfs-utils-1.2.3-3/nfs-utils-1.2.3/missing --run autoheader'
++AUTOMAKE='${SHELL} /home/wbx/adk/openadk/build_ibm-x40_i686_uclibc/w-nfs-utils-1.2.3-3/nfs-utils-1.2.3/missing --run automake-1.11'
+ AWK='gawk'
+-CC='gcc'
+-CCDEPMODE='depmode=gcc3'
+-CC_FOR_BUILD=''
+-CFLAGS='-g -O2'
+-CFLAGS_FOR_BUILD=''
+-CONFIG_GSS_FALSE=''
+-CONFIG_GSS_TRUE='#'
++CC='/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc'
++CCDEPMODE='depmode=none'
++CC_FOR_BUILD='cc'
++CFLAGS='-march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe'
++CFLAGS_FOR_BUILD='-O2 -Wall'
++CONFIG_GSS_FALSE='#'
++CONFIG_GSS_TRUE=''
+ CONFIG_IPV6_FALSE=''
+ CONFIG_IPV6_TRUE='#'
+ CONFIG_MOUNT_FALSE='#'
+@@ -329,18 +5407,18 @@ CONFIG_NFSV41_FALSE=''
+ CONFIG_NFSV41_TRUE='#'
+ CONFIG_NFSV4_FALSE='#'
+ CONFIG_NFSV4_TRUE=''
+-CONFIG_RPCGEN_FALSE=''
+-CONFIG_RPCGEN_TRUE='#'
+-CPP='gcc -E'
+-CPPFLAGS=''
+-CPPFLAGS_FOR_BUILD=''
+-CXX=''
+-CXXCPP=''
+-CXXDEPMODE=''
++CONFIG_RPCGEN_FALSE='#'
++CONFIG_RPCGEN_TRUE=''
++CPP='/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc -E'
++CPPFLAGS='-I/home/wbx/adk/openadk/target_i686_uclibc/usr/include -D_GNU_SOURCE'
++CPPFLAGS_FOR_BUILD=' -D_GNU_SOURCE'
++CXX='/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++'
++CXXCPP='/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++ -E'
++CXXDEPMODE='depmode=none'
+ CXXFLAGS=''
+ CXXFLAGS_FOR_BUILD=''
+ CYGPATH_W='echo'
+-DEFS=''
++DEFS='-DHAVE_CONFIG_H'
+ DEPDIR='.deps'
+ DSYMUTIL=''
+ DUMPBIN=''
+@@ -349,11 +5427,11 @@ ECHO_N='-n'
+ ECHO_T=''
+ EGREP='/bin/grep -E'
+ EXEEXT=''
+-FGREP=''
++FGREP='/bin/grep -F'
+ GREP='/bin/grep'
+-GSSD=''
+-GSSGLUE_CFLAGS=''
+-GSSGLUE_LIBS=''
++GSSD='gssd'
++GSSGLUE_CFLAGS='-I/home/wbx/adk/openadk/target_i686_uclibc/usr/include/gssglue '
++GSSGLUE_LIBS='-L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -lgssglue -ldl '
+ HAVE_LIBWRAP=''
+ HAVE_TCP_WRAPPER=''
+ IDMAPD='idmapd'
+@@ -361,37 +5439,37 @@ INSTALL_DATA='${INSTALL} -m 644'
+ INSTALL_PROGRAM='${INSTALL}'
+ INSTALL_SCRIPT='${INSTALL}'
+ INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
+-K5VERS=''
+-KRBCFLAGS=''
+-KRBDIR=''
+-KRBLDFLAGS=''
+-KRBLIBS=''
+-LD=''
+-LDFLAGS=''
++K5VERS='181'
++KRBCFLAGS='-I/home/wbx/adk/openadk/target_i686_uclibc/usr/include'
++KRBDIR='/home/wbx/adk/openadk/target_i686_uclibc/usr/'
++KRBLDFLAGS='-Wl,-rpath=/home/wbx/adk/openadk/target_i686_uclibc/usr//lib'
++KRBLIBS='-L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib $(PROG_RPATH_FLAGS) -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl'
++LD='/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ld'
++LDFLAGS='-Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib'
+ LDFLAGS_FOR_BUILD=''
+ LIBBLKID=''
+ LIBBSD=''
+ LIBCAP=''
+-LIBCRYPT=''
++LIBCRYPT='-lcrypt'
+ LIBNSL=''
+-LIBOBJS=''
+-LIBS='-ltirpc '
++LIBOBJS=' ${LIBOBJDIR}lstat$U.o ${LIBOBJDIR}memcmp$U.o ${LIBOBJDIR}stat$U.o'
++LIBS='-ltirpc -lrpcsecgss'
+ LIBSOCKET=''
+-LIBTOOL=''
++LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+ LIBWRAP=''
+ LIPO=''
+-LN_S=''
+-LTLIBOBJS=''
++LN_S='ln -s'
++LTLIBOBJS=' ${LIBOBJDIR}lstat$U.lo ${LIBOBJDIR}memcmp$U.lo ${LIBOBJDIR}stat$U.lo'
+ MAINT='#'
+ MAINTAINER_MODE_FALSE=''
+ MAINTAINER_MODE_TRUE='#'
+-MAKEINFO='${SHELL} /tmp/nfs-utils-1.2.3/missing --run makeinfo'
++MAKEINFO='${SHELL} /home/wbx/adk/openadk/build_ibm-x40_i686_uclibc/w-nfs-utils-1.2.3-3/nfs-utils-1.2.3/missing --run makeinfo'
+ MKDIR_P='/bin/mkdir -p'
+ MOUNT_CONFIG_FALSE=''
+ MOUNT_CONFIG_TRUE='#'
+-NM=''
++NM='/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-nm'
+ NMEDIT=''
+-OBJDUMP=''
++OBJDUMP='i686-openadk-linux-objdump'
+ OBJEXT='o'
+ OTOOL64=''
+ OTOOL=''
+@@ -403,80 +5481,80 @@ PACKAGE_TARNAME='nfs-utils'
+ PACKAGE_URL=''
+ PACKAGE_VERSION='1.2.3'
+ PATH_SEPARATOR=':'
+-PKG_CONFIG=''
+-RANLIB=''
++PKG_CONFIG='/usr/bin/pkg-config'
++RANLIB='/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ranlib'
+ RELEASE='1'
+-RPCGEN_PATH='/usr/bin/rpcgen'
++RPCGEN_PATH=''
+ RPCSECGSS_CFLAGS=''
+ RPCSECGSS_LIBS=''
+-SED=''
++SED='/home/wbx/adk/openadk/scripts/sed'
+ SET_MAKE=''
+-SHELL='/bin/sh'
+-STRIP=''
+-SVCGSSD=''
++SHELL='/bin/bash'
++STRIP='/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-strip'
++SVCGSSD='svcgssd'
+ VERSION='1.2.3'
+-ac_ct_CC='gcc'
++ac_ct_CC=''
+ ac_ct_CXX=''
+ ac_ct_DUMPBIN=''
+ am__EXEEXT_FALSE=''
+-am__EXEEXT_TRUE=''
+-am__fastdepCC_FALSE='#'
+-am__fastdepCC_TRUE=''
++am__EXEEXT_TRUE='#'
++am__fastdepCC_FALSE=''
++am__fastdepCC_TRUE='#'
+ am__fastdepCXX_FALSE=''
+-am__fastdepCXX_TRUE=''
++am__fastdepCXX_TRUE='#'
+ am__include='include'
+ am__isrc=''
+ am__leading_dot='.'
+ am__quote=''
+ am__tar='${AMTAR} chof - "$$tardir"'
+ am__untar='${AMTAR} xf -'
+-bindir='${exec_prefix}/bin'
+-build='x86_64-unknown-linux-gnu'
+-build_alias=''
++bindir='/usr/bin'
++build='x86_64-pc-linux-gnu'
++build_alias='x86_64-linux-gnu'
+ build_cpu='x86_64'
+ build_os='linux-gnu'
+-build_vendor='unknown'
+-datadir='${datarootdir}'
++build_vendor='pc'
++datadir='/usr/share'
+ datarootdir='${prefix}/share'
+ docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+ dvidir='${docdir}'
+-enable_gss=''
++enable_gss='yes'
+ enable_ipv6=''
+ enable_mountconfig=''
+ enable_nfsv3='yes'
+ enable_nfsv41=''
+ enable_nfsv4='yes'
+-exec_prefix='NONE'
+-host='x86_64-unknown-linux-gnu'
+-host_alias=''
+-host_cpu='x86_64'
++exec_prefix='${prefix}'
++host='i686-openadk-linux-gnu'
++host_alias='i686-openadk-linux'
++host_cpu='i686'
+ host_os='linux-gnu'
+-host_vendor='unknown'
++host_vendor='openadk'
+ htmldir='${docdir}'
+ includedir='${prefix}/include'
+ infodir='${datarootdir}/info'
+-install_sh='${SHELL} /tmp/nfs-utils-1.2.3/install-sh'
++install_sh='${SHELL} /home/wbx/adk/openadk/build_ibm-x40_i686_uclibc/w-nfs-utils-1.2.3-3/nfs-utils-1.2.3/install-sh'
+ kprefix=''
+ libdir='${exec_prefix}/lib'
+-libexecdir='${exec_prefix}/libexec'
++libexecdir='/usr/libexec'
+ localedir='${datarootdir}/locale'
+-localstatedir='${prefix}/var'
++localstatedir='/var'
+ lt_ECHO='echo'
+-mandir='${datarootdir}/man'
++mandir='/usr/share/man'
+ mkdir_p='/bin/mkdir -p'
+ mountfile=''
+ oldincludedir='/usr/include'
+ pdfdir='${docdir}'
+-prefix='NONE'
+-program_transform_name='s,x,x,'
++prefix='/usr'
++program_transform_name='s&$$&&;s&^&&'
+ psdir='${docdir}'
+ sbindir='${exec_prefix}/sbin'
+ sharedstatedir='${prefix}/com'
+ startstatd='/usr/sbin/start-statd'
+-statduser='rpcuser'
++statduser='nobody'
+ statedir='/var/lib/nfs'
+-sysconfdir='${prefix}/etc'
+-target_alias=''
++sysconfdir='/etc'
++target_alias='i686-openadk-linux'
+
+ ## ----------- ##
+ ## confdefs.h. ##
+@@ -494,6 +5572,7 @@ target_alias=''
+ #define START_STATD "/usr/sbin/start-statd"
+ #define NFS3_SUPPORTED 1
+ #define NFS4_SUPPORTED 1
++#define GSS_SUPPORTED 1
+ #define STDC_HEADERS 1
+ #define HAVE_SYS_TYPES_H 1
+ #define HAVE_SYS_STAT_H 1
+@@ -505,6 +5584,97 @@ target_alias=''
+ #define HAVE_STDINT_H 1
+ #define HAVE_UNISTD_H 1
+ #define HAVE_LIBTIRPC 1
++#define HAVE__HOME_WBX_ADK_OPENADK_TARGET_I686_UCLIBC_USR_INCLUDE_TIRPC_NETCONFIG_H 1
++#define _FILE_OFFSET_BITS 64
++#define HAVE_DLFCN_H 1
++#define LT_OBJDIR ".libs/"
++#define STDC_HEADERS 1
++#define HAVE_EVENT_H 1
++#define HAVE_NFSIDMAP_H 1
++#define HAVE_NFS4_SET_DEBUG 1
++#define HAVE_NFSIDMAP_H 1
++#define HAVE_NFS4_SET_DEBUG 1
++#define KRB5_VERSION 181
++#define HAVE_KRB5 1
++#define HAVE_DECL_AI_ADDRCONFIG 1
++#define HAVE_ARPA_INET_H 1
++#define HAVE_FCNTL_H 1
++#define HAVE_LIBINTL_H 1
++#define HAVE_LIMITS_H 1
++#define HAVE_MALLOC_H 1
++#define HAVE_MEMORY_H 1
++#define HAVE_NETDB_H 1
++#define HAVE_NETINET_IN_H 1
++#define HAVE_PATHS_H 1
++#define HAVE_STDLIB_H 1
++#define HAVE_STRING_H 1
++#define HAVE_SYS_FILE_H 1
++#define HAVE_SYS_IOCTL_H 1
++#define HAVE_SYS_MOUNT_H 1
++#define HAVE_SYS_PARAM_H 1
++#define HAVE_SYS_SOCKET_H 1
++#define HAVE_SYS_TIME_H 1
++#define HAVE_SYS_VFS_H 1
++#define HAVE_SYSLOG_H 1
++#define HAVE_UNISTD_H 1
++#define HAVE_ET_COM_ERR_H 1
++#define HAVE_IFADDRS_H 1
++#define TIME_WITH_SYS_TIME 1
++#define HAVE_ALLOCA_H 1
++#define HAVE_ALLOCA 1
++#define HAVE_DIRENT_H 1
++#define CLOSEDIR_VOID 1
++#define HAVE_FORK 1
++#define HAVE_VFORK 1
++#define HAVE_WORKING_VFORK 1
++#define HAVE_WORKING_FORK 1
++#define GETGROUPS_T gid_t
++#define HAVE_GETMNTENT 1
++#define HAVE_LSTAT_EMPTY_STRING_BUG 1
++#define HAVE_SYS_SELECT_H 1
++#define HAVE_SYS_SOCKET_H 1
++#define SELECT_TYPE_ARG1 int
++#define SELECT_TYPE_ARG234 (fd_set *)
++#define SELECT_TYPE_ARG5 (struct timeval *)
++#define RETSIGTYPE void
++#define HAVE_STAT_EMPTY_STRING_BUG 1
++#define HAVE_VPRINTF 1
++#define HAVE_ALARM 1
++#define HAVE_ATEXIT 1
++#define HAVE_DUP2 1
++#define HAVE_FDATASYNC 1
++#define HAVE_FTRUNCATE 1
++#define HAVE_GETCWD 1
++#define HAVE_GETHOSTBYADDR 1
++#define HAVE_GETHOSTBYNAME 1
++#define HAVE_GETHOSTNAME 1
++#define HAVE_GETMNTENT 1
++#define HAVE_GETNAMEINFO 1
++#define HAVE_GETRPCBYNAME 1
++#define HAVE_GETIFADDRS 1
++#define HAVE_GETTIMEOFDAY 1
++#define HAVE_HASMNTOPT 1
++#define HAVE_INET_NTOA 1
++#define HAVE_MEMSET 1
++#define HAVE_MKDIR 1
++#define HAVE_PATHCONF 1
++#define HAVE_REALPATH 1
++#define HAVE_RMDIR 1
++#define HAVE_SELECT 1
++#define HAVE_SOCKET 1
++#define HAVE_STRCASECMP 1
++#define HAVE_STRCHR 1
++#define HAVE_STRDUP 1
++#define HAVE_STRERROR 1
++#define HAVE_STRRCHR 1
++#define HAVE_STRTOL 1
++#define HAVE_STRTOUL 1
++#define HAVE_SIGPROCMASK 1
++#define SIZEOF_SHORT 2
++#define SIZEOF_INT 4
++#define SIZEOF_LONG 4
++#define SIZEOF_SIZE_T 4
++#define SIZEOF_SOCKLEN_T 4
++#define NFS_STATEDIR "/var/lib/nfs"
+
+-configure: caught signal 2
+-configure: exit 1
++configure: exit 0
diff --git a/package/nfs-utils/patches/patch-utils_gssd_Makefile_in b/package/nfs-utils/patches/patch-utils_gssd_Makefile_in
new file mode 100644
index 0000000..7c9f303
--- /dev/null
+++ b/package/nfs-utils/patches/patch-utils_gssd_Makefile_in
@@ -0,0 +1,25 @@
+--- nfs-utils-1.2.3.orig/utils/gssd/Makefile.in 2010-09-28 14:32:33.000000000 +0200
++++ nfs-utils-1.2.3/utils/gssd/Makefile.in 2011-01-21 17:35:20.288658843 +0100
+@@ -351,7 +351,7 @@ gssd_LDADD = ../../support/nfs/libnfs.a
+ $(RPCSECGSS_LIBS) $(GSSGLUE_LIBS) $(KRBLIBS)
+
+ gssd_LDFLAGS = $(KRBLDFLAGS)
+-gssd_CFLAGS = $(AM_CFLAGS) $(CFLAGS) \
++gssd_CFLAGS = $(AM_CFLAGS) \
+ $(RPCSECGSS_CFLAGS) $(GSSGLUE_CFLAGS) $(KRBCFLAGS)
+
+ svcgssd_SOURCES = \
+@@ -369,11 +369,11 @@ svcgssd_LDADD = \
+ $(KRBLIBS)
+
+ svcgssd_LDFLAGS = $(KRBLDFLAGS)
+-svcgssd_CFLAGS = $(AM_CFLAGS) $(CFLAGS) \
++svcgssd_CFLAGS = $(AM_CFLAGS) \
+ $(RPCSECGSS_CFLAGS) $(GSSGLUE_CFLAGS) $(KRBCFLAGS)
+
+ gss_clnt_send_err_SOURCES = gss_clnt_send_err.c
+-gss_clnt_send_err_CFLAGS = $(AM_CFLAGS) $(CFLAGS) \
++gss_clnt_send_err_CFLAGS = $(AM_CFLAGS) \
+ $(RPCSECGSS_CFLAGS) $(GSSGLUE_CFLAGS) $(KRBCFLAGS)
+
+ MAINTAINERCLEANFILES = Makefile.in
diff --git a/package/nmap/Makefile b/package/nmap/Makefile
index 14d7110..c26a53c 100644
--- a/package/nmap/Makefile
+++ b/package/nmap/Makefile
@@ -27,7 +27,7 @@ ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
LIBRARIES+=-lssp -lssp_nonshared
endif
-TCPPFLAGS+= -DNOLUA
+TARGET_CPPFLAGS+= -DNOLUA
ifeq ($(ADK_COMPILE_NMAP_WITH_UCLIBCXX),y)
CONFIGURE_ENV+= CXXFLAGS="-fno-threadsafe-statics -fno-builtin -fno-rtti -nostdinc++ \
-I${STAGING_TARGET_DIR}/usr/include/uClibc++" \
diff --git a/package/nspr/Makefile b/package/nspr/Makefile
index 2564077..d25ea2d 100644
--- a/package/nspr/Makefile
+++ b/package/nspr/Makefile
@@ -20,7 +20,7 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,NSPR,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_ENV+= OS_TARGET="Linux" HOST_CC="${HOSTCC}" HOST_CFLAGS="${HOSTCFLAGS}" \
+CONFIGURE_ENV+= OS_TARGET="Linux" HOST_CC="${CC_FOR_BUILD}" HOST_CFLAGS="${CFLAGS_FOR_BUILD}" \
cross_compiling=yes
ifeq (${ADK_LINUX_64},y)
diff --git a/package/nss/Makefile b/package/nss/Makefile
index 6c4bf7c..5b3dce6 100644
--- a/package/nss/Makefile
+++ b/package/nss/Makefile
@@ -26,17 +26,17 @@ $(eval $(call PKG_template,NSS,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_D
CONFIG_STYLE:= manual
ifeq ($(ADK_LINUX_64),y)
-TCFLAGS+= -DUSE_64
+TARGET_CFLAGS+= -DUSE_64
XAKE_FLAGS+= USE_64=1
endif
-MAKE_FLAGS+= NATIVE_CC="${HOSTCC}" NATIVE_FLAGS="${HOSTCFLAGS}"
-TCPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/nspr
-TCFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/nspr
-TLDFLAGS+= -ldl
+MAKE_FLAGS+= NATIVE_CC="${CC_FOR_BUILD}" NATIVE_FLAGS="${CFLAGS_FOR_BUILD}"
+TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/nspr
+TARGET_CFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/nspr
+TARGET_LDFLAGS+= -ldl
XAKE_FLAGS+= SOURCE_MD_DIR=${WRKDIST}/dist DIST=${WRKDIST}/dist
-XAKE_FLAGS+= ARCHFLAG="${TCFLAGS} ${TCPPFLAGS} -ldl"
+XAKE_FLAGS+= ARCHFLAG="${TARGET_CFLAGS} ${TARGET_CPPFLAGS} ${TARGET_LDFLAGS}"
XAKE_FLAGS+= OS_TEST=${CPU_ARCH} NSS_DISABLE_DBM=1 OS_TARGET=Linux OS_RELEASE=2.6 OS_ARCH=Linux
XAKE_FLAGS+= ARTOOL="${TARGET_CROSS}ar" RANLIB="${TARGET_CROSS}ranlib"
ALL_TARGET:= build_coreconf all
diff --git a/package/ntpclient/Makefile b/package/ntpclient/Makefile
index 1a7f5e6..baa7d48 100644
--- a/package/ntpclient/Makefile
+++ b/package/ntpclient/Makefile
@@ -23,7 +23,7 @@ $(eval $(call PKG_template,NTPCLIENT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},$
CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
-MAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TCFLAGS}'
+MAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TARGET_CFLAGS}'
ALL_TARGET:=
do-install:
diff --git a/package/nut/Makefile b/package/nut/Makefile
index 6af495c..5cf4406 100644
--- a/package/nut/Makefile
+++ b/package/nut/Makefile
@@ -81,20 +81,14 @@ CONFIGURE_ARGS+= --with-linux-hiddev=${LINUX_DIR}/include/linux/hiddev.h \
ifneq (${ADK_PACKAGE_NUT_WITH_SSL},)
CONFIGURE_ARGS+= --with-ssl
-CONFIGURE_ENV+= CPPFLAGS="${TCPPFLAGS} ${TLDFLAGS}"
-MAKE_FLAGS+= SSL_CFLAGS="${TCPPFLAGS}" SSL_LDFLAGS="${TLDFLAGS} -lssl -lcrypto"
+CONFIGURE_ENV+= CPPFLAGS="${TARGET_CPPFLAGS} ${TARGET_LDFLAGS}"
+MAKE_FLAGS+= SSL_CFLAGS="${TARGET_CPPFLAGS}" SSL_LDFLAGS="${TARGET_LDFLAGS} -lssl -lcrypto"
endif
-
-ALL_TARGET:= all
-INSTALL_TARGET:= install
-
ifneq (${ADK_PACKAGE_NUT_WITH_USB},)
-ALL_TARGET+= usb
-INSTALL_TARGET+= install-usb
+CONFIGURE_ARGS+= --with-usb
endif
ifneq (${ADK_PACKAGE_NUT_WITH_SNMP},)
-ALL_TARGET+= snmp
-INSTALL_TARGET+= install-snmp
+CONFIGURE_ARGS+= --with-snmp
endif
post-install:
diff --git a/package/olsrd/Makefile b/package/olsrd/Makefile
index 256cf92..b16497b 100644
--- a/package/olsrd/Makefile
+++ b/package/olsrd/Makefile
@@ -41,7 +41,7 @@ $(eval $(call PKG_mod_template,OLSRD_MOD_TAS,tas))
CONFIG_STYLE:= manual
-TCFLAGS+= -fPIC
+TARGET_CFLAGS+= -fPIC
ALL_TARGET+= libs
INSTALL_TARGET+= install_libs
MAKE_ENV+= OS="linux" NODEBUG=1 STRIP="true" OFLAGS="${TARGET_CFLAGS}"
diff --git a/package/openswan/patches/patch-Makefile_top b/package/openswan/patches/patch-Makefile_top
new file mode 100644
index 0000000..e3edd3b
--- /dev/null
+++ b/package/openswan/patches/patch-Makefile_top
@@ -0,0 +1,11 @@
+--- openswan-2.6.28.orig/Makefile.top 2010-07-29 20:45:59.000000000 +0200
++++ openswan-2.6.28/Makefile.top 2011-01-21 19:00:28.518658360 +0100
+@@ -29,7 +29,7 @@ ERRCHECK=${MAKEUTILS}/errcheck
+ KVUTIL=${MAKEUTILS}/kernelversion
+ KVSHORTUTIL=${MAKEUTILS}/kernelversion-short
+
+-SUBDIRS?=doc lib programs testing
++SUBDIRS?=lib programs
+
+ clean::
+ -(cd ${OPENSWANSRCDIR} && $(MAKE) modclean && $(MAKE) mod26clean)
diff --git a/package/openswan/patches/patch-lib_libdns_Makefile b/package/openswan/patches/patch-lib_libdns_Makefile
index bfb1743..ec4c4ef 100644
--- a/package/openswan/patches/patch-lib_libdns_Makefile
+++ b/package/openswan/patches/patch-lib_libdns_Makefile
@@ -1,10 +1,20 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- openswan-2.6.18.orig/lib/libdns/Makefile 2008-10-06 18:52:49.000000000 +0200
-+++ openswan-2.6.18/lib/libdns/Makefile 2008-10-14 13:08:03.000000000 +0200
-@@ -102,5 +102,5 @@ code.h: gen
+--- openswan-2.6.28.orig/lib/libdns/Makefile 2010-07-29 20:45:59.000000000 +0200
++++ openswan-2.6.28/lib/libdns/Makefile 2011-01-21 19:15:22.484901748 +0100
+@@ -53,7 +53,7 @@ SRCS += time.c key.c lib.c
+ programs all: ${LIB}.a
+
+ version.o: version.c
+- ${LIBTOOL} --mode=compile ${CC} ${ALL_CFLAGS} \
++ ${CC} ${CFLAGS} ${ALL_CFLAGS} \
+ -DVERSION=\"${VERSION}\" \
+ -DLIBINTERFACE=${LIBINTERFACE} \
+ -DLIBREVISION=${LIBREVISION} \
+@@ -100,7 +100,6 @@ code.h: gen
+
+ # this program is to be built on the host, and should not be
# cross-compiled!
- HOSTCC?=cc
+-HOSTCC?=cc
gen: gen.c
- ${HOSTCC} ${HOSTCINCLUDES} ${LDFLAGS} -o $@ ${srcdir}gen.c ${LIBS}
-+ ${HOSTCC} ${HOSTCINCLUDES} -o $@ ${srcdir}gen.c ${LIBS}
++ ${CC_FOR_BUILD} ${HOSTCINCLUDES} -o $@ ${srcdir}gen.c ${LIBS}
diff --git a/package/openswan/patches/patch-lib_libdns_Makefile_in b/package/openswan/patches/patch-lib_libdns_Makefile_in
new file mode 100644
index 0000000..dcef159
--- /dev/null
+++ b/package/openswan/patches/patch-lib_libdns_Makefile_in
@@ -0,0 +1,20 @@
+--- openswan-2.6.28.orig/lib/libdns/Makefile.in 2010-07-29 20:45:59.000000000 +0200
++++ openswan-2.6.28/lib/libdns/Makefile.in 2011-01-21 19:01:49.208658272 +0100
+@@ -103,7 +103,7 @@ DEPENDEXTRA = ./gen -F include/dns/rdata
+ @BIND9_MAKE_RULES@
+
+ version.@O@: version.c
+- ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
++ ${CC} ${CFLAGS} ${ALL_CFLAGS} \
+ -DVERSION=\"${VERSION}\" \
+ -DLIBINTERFACE=${LIBINTERFACE} \
+ -DLIBREVISION=${LIBREVISION} \
+@@ -160,7 +160,7 @@ code.h: gen
+ ./gen -s ${srcdir} > code.h
+
+ gen: gen.c
+- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
++ ${CC_FOR_BUILD} ${ALL_CFLAGS} ${CFLAGS_FOR_BUILD} -o $@ ${srcdir}/gen.c ${LIBS}
+
+ rbtdb64.@O@: rbtdb.c
+
diff --git a/package/openswan/patches/patch-lib_libisc_Makefile b/package/openswan/patches/patch-lib_libisc_Makefile
new file mode 100644
index 0000000..77844c0
--- /dev/null
+++ b/package/openswan/patches/patch-lib_libisc_Makefile
@@ -0,0 +1,11 @@
+--- openswan-2.6.28.orig/lib/libisc/Makefile 2010-07-29 20:45:59.000000000 +0200
++++ openswan-2.6.28/lib/libisc/Makefile 2011-01-21 19:10:30.838658764 +0100
+@@ -50,7 +50,7 @@ SRCS += rwlock.c random.c inet_aton.c i
+ programs all: ${LIB}.a
+
+ version.o: version.c
+- ${LIBTOOL} --mode=compile ${CC} ${ALL_CFLAGS} \
++ ${CC} ${CFLAGS} ${ALL_CFLAGS} \
+ -DVERSION=\"${VERSION}\" \
+ -DLIBINTERFACE=${LIBINTERFACE} \
+ -DLIBREVISION=${LIBREVISION} \
diff --git a/package/openswan/patches/patch-lib_libisc_Makefile_in b/package/openswan/patches/patch-lib_libisc_Makefile_in
new file mode 100644
index 0000000..4cde48e
--- /dev/null
+++ b/package/openswan/patches/patch-lib_libisc_Makefile_in
@@ -0,0 +1,23 @@
+--- openswan-2.6.28.orig/lib/libisc/Makefile.in 2010-07-29 20:45:59.000000000 +0200
++++ openswan-2.6.28/lib/libisc/Makefile.in 2011-01-21 19:04:37.798658397 +0100
+@@ -82,7 +82,7 @@ TARGETS = timestamp
+ @BIND9_MAKE_RULES@
+
+ version.@O@: version.c
+- ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
++ ${CC} ${CFLAGS} ${ALL_CFLAGS} \
+ -DVERSION=\"${VERSION}\" \
+ -DLIBINTERFACE=${LIBINTERFACE} \
+ -DLIBREVISION=${LIBREVISION} \
+@@ -94,10 +94,7 @@ libisc.@SA@: ${OBJS}
+ ${RANLIB} $@
+
+ libisc.la: ${OBJS}
+- ${LIBTOOL_MODE_LINK} \
+- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc.la -rpath ${libdir} \
+- -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
+- ${OBJS} ${LIBS}
++ ${CC} ${CFLAGS} ${ALL_CFLAGS} ${LDFLAGS} -o libisc.la ${OBJS} ${LIBS}
+
+ timestamp: libisc.@A@
+ touch timestamp
diff --git a/package/osiris/Makefile b/package/osiris/Makefile
index 01049ac..6722f4e 100644
--- a/package/osiris/Makefile
+++ b/package/osiris/Makefile
@@ -26,7 +26,7 @@ CONFIGURE_ARGS+= --with-osiris-user=root \
--with-readline=no
XAKE_FLAGS+= ar=${TARGET_CROSS}ar \
INTERACTIVE=0
-TCFLAGS+= -DOPENSSL_NO_RIPEMD
+TARGET_CFLAGS+= -DOPENSSL_NO_RIPEMD
post-configure:
(cd ${WRKDIST}/src/osirisd/modules && ./genmods.sh);
diff --git a/package/osiris/patches/patch-configure b/package/osiris/patches/patch-configure
index b9ae74f..6dce9a8 100644
--- a/package/osiris/patches/patch-configure
+++ b/package/osiris/patches/patch-configure
@@ -1,13 +1,6 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- osiris-4.2.3.orig/configure 2006-07-28 01:57:51.000000000 +0200
-+++ osiris-4.2.3/configure 2011-01-16 15:16:06.000000000 +0100
-@@ -1,4 +1,5 @@
- #! /bin/sh
-+set -x
- # Guess values for system-dependent variables and create Makefiles.
- # Generated by GNU Autoconf 2.59.
- #
-@@ -3403,7 +3404,7 @@ else
++++ osiris-4.2.3/configure 2011-01-21 20:40:11.234913757 +0100
+@@ -3403,7 +3403,7 @@ else
fi
@@ -16,7 +9,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
AUTOHEADER=echo
if test "x$prefix" = "xNONE" ; then
-@@ -3573,7 +3574,6 @@ else
+@@ -3573,7 +3573,6 @@ else
for ssldir in $tryssldir "" /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do
CPPFLAGS="$saved_CPPFLAGS"
@@ -24,7 +17,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
# GOD DAMN FUCKING STATIC BINARIES ON SOLARIS CAN EAT MY ASS.
-@@ -3596,29 +3596,6 @@ else
+@@ -3596,29 +3595,6 @@ else
if test ! -z "$ssldir" -a ! -d "$ssldir" ; then
continue;
fi
@@ -54,7 +47,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
# Basic test to check for compatible version and correct linking
-@@ -3694,34 +3671,6 @@ fi
+@@ -3694,34 +3670,6 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_openssldir" >&5
echo "${ECHO_T}$ac_cv_openssldir" >&6
@@ -89,7 +82,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
case "$OS_NAME" in
SunOS*)
LIBS="$saved_LIBS $ssldir/lib/libssl.a $ssldir/lib/libcrypto.a"
-@@ -3738,7 +3687,7 @@ CYGWIN*)
+@@ -3738,7 +3686,7 @@ CYGWIN*)
esac
@@ -98,7 +91,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
case "${OS_NAME}" in
MINGW32*)
-@@ -4448,11 +4397,6 @@ cat >>confdefs.h <<_ACEOF
+@@ -4448,11 +4396,6 @@ cat >>confdefs.h <<_ACEOF
#define SYSTEM_LINUX 1
_ACEOF
@@ -110,7 +103,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
;;
BSD*)
-@@ -11394,7 +11338,6 @@ chmod ug+x src/install/install.sh
+@@ -11394,7 +11337,6 @@ chmod ug+x src/install/install.sh
echo " Osiris MD Directory: ${with_md_root_dir}"
echo " Osiris MD user: ${with_osiris_md_user}"
echo " Osiris MD config dir: ${with_md_conf_dir}"
diff --git a/package/osiris/patches/patch-src_osirisd_modules_Makefile_am b/package/osiris/patches/patch-src_osirisd_modules_Makefile_am
new file mode 100644
index 0000000..332a866
--- /dev/null
+++ b/package/osiris/patches/patch-src_osirisd_modules_Makefile_am
@@ -0,0 +1,11 @@
+--- osiris-4.2.3.orig/src/osirisd/modules/Makefile.am 2006-07-28 01:57:51.000000000 +0200
++++ osiris-4.2.3/src/osirisd/modules/Makefile.am 2011-01-21 20:47:14.568658281 +0100
+@@ -11,7 +11,7 @@ INCLUDES = -I$(top_srcdir)/src \
+ noinst_SCRIPTS = modules
+
+ unused.o:
+- $(CC) -c unused.c
++ $(CC) $(CFLAGS) -c unused.c
+
+ libmodules_a_DEPENDENCIES = unused.o
+
diff --git a/package/osiris/patches/patch-src_osirisd_modules_Makefile_in b/package/osiris/patches/patch-src_osirisd_modules_Makefile_in
new file mode 100644
index 0000000..459702d
--- /dev/null
+++ b/package/osiris/patches/patch-src_osirisd_modules_Makefile_in
@@ -0,0 +1,11 @@
+--- osiris-4.2.3.orig/src/osirisd/modules/Makefile.in 2006-07-28 01:57:51.000000000 +0200
++++ osiris-4.2.3/src/osirisd/modules/Makefile.in 2011-01-21 20:47:02.618658788 +0100
+@@ -254,7 +254,7 @@ uninstall-am: uninstall-info-am
+
+
+ unused.o:
+- $(CC) -c unused.c
++ $(CC) $(CFLAGS) -c unused.c
+
+ modules:
+ ./genmods.sh
diff --git a/package/owfs/Makefile b/package/owfs/Makefile
index 24d3594..567d355 100644
--- a/package/owfs/Makefile
+++ b/package/owfs/Makefile
@@ -17,7 +17,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,OWFS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -ldl -lrt
+TARGET_CFLAGS+= -ldl -lrt
CONFIGURE_ARGS+= --enable-owfs \
--enable-usb \
--disable-swig \
diff --git a/package/palantir/Makefile b/package/palantir/Makefile
index 18143c0..5deb3c8 100644
--- a/package/palantir/Makefile
+++ b/package/palantir/Makefile
@@ -24,15 +24,17 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -Wall
+TARGET_CPPFLAGS+= -D_REENTRANT
+
do-build:
mkdir -p ${WRKINST}/usr
${MAKE} -C ${WRKBUILD}/server/libgsm \
${TARGET_CONFIGURE_OPTS} \
- CCINC="${TCPPFLAGS}" \
+ CCINC="${TARGET_CPPFLAGS}" \
lib/libgsm.a
${MAKE} -C ${WRKBUILD}/server \
${TARGET_CONFIGURE_OPTS} \
- CFLAGS="-Wall -D_REENTRANT ${TCFLAGS} ${TCPPFLAGS} ${TLDFLAGS}" \
palantir
do-install:
diff --git a/package/palantir/patches/patch-server_Makefile b/package/palantir/patches/patch-server_Makefile
new file mode 100644
index 0000000..a9bc819
--- /dev/null
+++ b/package/palantir/patches/patch-server_Makefile
@@ -0,0 +1,26 @@
+--- palantir-2.7.orig/server/Makefile 2007-05-19 01:31:36.000000000 +0200
++++ palantir-2.7/server/Makefile 2011-01-20 15:24:19.478658283 +0100
+@@ -47,10 +47,11 @@ ENABLE_X11MON= 0
+ .PHONY : tools man
+
+
+-CFLAGS= -Wall -D_REENTRANT -O2 -g
++CFLAGS?= -Wall -D_REENTRANT -O2 -g
+ # -O3
+-CC= gcc
+-libjpeg= -ljpeg
++CC?= gcc
++LIBS?=
++LIBS+= -ljpeg -lpthread
+
+ ifeq ($(TARGET),mips)
+ BROADCOM_SRC= /usr/local/broadcom/src
+@@ -86,7 +87,7 @@ SRCS= *.c
+ libgsm= libgsm/lib/libgsm.a
+
+ palantir: $(libgsm) $(OBJ) tools man
+- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) $(libgsm) $(libjpeg) -lpthread -o palantir
++ $(CC) $(LDFLAGS) $(OBJ) $(libgsm) $(LIBS) -o palantir
+
+ mips:
+ make TARGET=mips palantir
diff --git a/package/palantir/patches/patch-server_libgsm_Makefile b/package/palantir/patches/patch-server_libgsm_Makefile
new file mode 100644
index 0000000..079e9a8
--- /dev/null
+++ b/package/palantir/patches/patch-server_libgsm_Makefile
@@ -0,0 +1,53 @@
+--- palantir-2.7.orig/server/libgsm/Makefile 2007-03-31 11:50:49.000000000 +0200
++++ palantir-2.7/server/libgsm/Makefile 2011-01-20 15:22:46.318658281 +0100
+@@ -49,11 +49,11 @@ WAV49 = -DWAV49
+ # CCFLAGS = -c -O
+
+ ifndef CC
+-CC = gcc
++CC ?= gcc
+ endif
+
+-CC += -ansi -pedantic
+-CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1
++CFLAGS += -ansi -pedantic
++CPPFLAGS ?= -DNeedFunctionPrototypes=1
+
+ LD = $(CC)
+
+@@ -80,7 +80,7 @@ SHELL = /bin/sh
+ LN = ln
+ BASENAME = basename
+ ifndef AR
+-AR = ar
++AR ?= ar
+ endif
+ ARFLAGS = cr
+ RMFLAGS =
+@@ -89,7 +89,7 @@ COMPRESS = compress
+ COMPRESSFLAGS =
+ # RANLIB = true
+ ifndef RANLIB
+-RANLIB = ranlib
++RANLIB ?= ranlib
+ endif
+
+ #
+@@ -109,7 +109,7 @@ INC = $(ROOT)/inc
+ # DEBUG = -DNDEBUG
+ ######### Remove -DNDEBUG to enable assertions.
+
+-CFLAGS = $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
++CFLAGS += $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
+ $(WAV49) $(CCINC) -I$(INC)
+ ######### It's $(CC) $(CFLAGS)
+
+@@ -177,7 +177,7 @@ GSM_OBJECTS = $(SRC)/add.o \
+ # Default rules
+
+ .c.o:
+- $(CC) $(CFLAGS) $?
++ $(CC) $(CPPFLAGS) $(CFLAGS) -c $?
+ @-mv `$(BASENAME) $@` $@ > /dev/null 2>&1
+
+ # Target rules
diff --git a/package/parprouted/Makefile b/package/parprouted/Makefile
index 118f1ee..62046d2 100644
--- a/package/parprouted/Makefile
+++ b/package/parprouted/Makefile
@@ -21,8 +21,8 @@ CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
MAKE_FLAGS+= CC="${TARGET_CC}" \
- CFLAGS="${TCFLAGS}" \
- LDFLAGS=""
+ CFLAGS="${TARGET_CFLAGS}" \
+ LDFLAGS="${TARGET_LDFLAGS}"
do-install:
${INSTALL_DIR} ${IDIR_PARPROUTED}/usr/sbin
diff --git a/package/pcre/Makefile b/package/pcre/Makefile
index 9f6d88f..af07844 100644
--- a/package/pcre/Makefile
+++ b/package/pcre/Makefile
@@ -19,7 +19,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBPCRE,libpcre,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_ARGS+= --disable-cpp
-XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} CFLAGS='${TCFLAGS}'
+XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS}
post-install:
${INSTALL_DIR} ${IDIR_LIBPCRE}/usr/lib
diff --git a/package/php/Makefile b/package/php/Makefile
index 2cfb676..900ab42 100644
--- a/package/php/Makefile
+++ b/package/php/Makefile
@@ -172,7 +172,7 @@ $(eval $(call PKG_mod_template,PHP_MOD_XML,xml))
INSTALL_STYLE:= manual
-TLDFLAGS+= -L$(STAGING_TARGET_DIR)/usr/lib/mysql
+TARGET_LDFLAGS+= -L$(STAGING_TARGET_DIR)/usr/lib/mysql
CONFIGURE_ENV+= LIBS="-ldl"
CONFIGURE_ARGS+= $(PKG_CONFIGURE_OPTS)
diff --git a/package/picocom/Makefile b/package/picocom/Makefile
index 592a6be..34277e6 100644
--- a/package/picocom/Makefile
+++ b/package/picocom/Makefile
@@ -18,7 +18,6 @@ $(eval $(call PKG_template,PICOCOM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${P
CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
-
ALL_TARGET:= picocom
do-install:
diff --git a/package/picocom/patches/patch-Makefile b/package/picocom/patches/patch-Makefile
new file mode 100644
index 0000000..621e7c2
--- /dev/null
+++ b/package/picocom/patches/patch-Makefile
@@ -0,0 +1,18 @@
+--- picocom-1.4.orig/Makefile 2004-08-13 13:18:38.000000000 +0200
++++ picocom-1.4/Makefile 2011-01-21 21:02:02.096749132 +0100
+@@ -2,11 +2,12 @@
+ VERSION=1.4
+
+ # CC = gcc
+-CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
+-CFLAGS = -Wall -g
++CPPFLAGS ?=
++CPPFLAGS += -DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
++CFLAGS ?= -Wall -g
+
+ # LD = gcc
+-LDFLAGS = -g
++LDFLAGS ?= -g
+ LDLIBS =
+
+ picocom : picocom.o term.o
diff --git a/package/pmacct/Makefile b/package/pmacct/Makefile
index 1b22217..523218a 100644
--- a/package/pmacct/Makefile
+++ b/package/pmacct/Makefile
@@ -4,9 +4,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= pmacct
-PKG_VERSION:= 0.12.3
+PKG_VERSION:= 0.12.5
PKG_RELEASE:= 1
-PKG_MD5SUM:= 7e4196c0f87f1382a8eed4eb1bdecdc1
+PKG_MD5SUM:= 3d10f9301a17f034a0f221490a99a5d0
PKG_DESCR:= IP accounting daemons
PKG_SECTION:= net/misc
PKG_DEPENDS:= libpcap
diff --git a/package/pmacct/patches/patch-configure b/package/pmacct/patches/patch-configure
new file mode 100644
index 0000000..0c7310b
--- /dev/null
+++ b/package/pmacct/patches/patch-configure
@@ -0,0 +1,41 @@
+--- pmacct-0.12.5.orig/configure 2010-12-28 17:26:21.000000000 +0100
++++ pmacct-0.12.5/configure 2011-01-21 21:15:15.478658080 +0100
+@@ -1006,7 +1006,6 @@ fi
+
+ ac_test_CFLAGS="${CFLAGS+set}"
+ ac_save_CFLAGS="$CFLAGS"
+-CFLAGS=
+ echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
+ echo "configure:1012: checking whether ${CC-cc} accepts -g" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
+@@ -1022,22 +1021,6 @@ rm -f conftest*
+
+ fi
+
+-echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
+-if test "$ac_test_CFLAGS" = set; then
+- CFLAGS="$ac_save_CFLAGS"
+-elif test $ac_cv_prog_cc_g = yes; then
+- if test "$GCC" = yes; then
+- CFLAGS="-g -O2"
+- else
+- CFLAGS="-g"
+- fi
+-else
+- if test "$GCC" = yes; then
+- CFLAGS="-O2"
+- else
+- CFLAGS=
+- fi
+-fi
+
+ host_os=`uname`
+ host_cpu=`uname -m`
+@@ -1083,7 +1066,6 @@ fi
+
+
+ if test "x$ac_cv_prog_gcc" = xyes ; then
+- CFLAGS="-O2"
+ case "$host_os" in
+ IRIX*)
+ CFLAGS="-mabi=n32 -fno-builtins ${CFLAGS}"
diff --git a/package/pmacct/patches/patch-src_nfprobe_plugin_netflow9_c b/package/pmacct/patches/patch-src_nfprobe_plugin_netflow9_c
deleted file mode 100644
index a0f757c..0000000
--- a/package/pmacct/patches/patch-src_nfprobe_plugin_netflow9_c
+++ /dev/null
@@ -1,64 +0,0 @@
---- pmacct-0.12.2.orig/src/nfprobe_plugin/netflow9.c 2010-04-21 16:53:36.000000000 +0200
-+++ pmacct-0.12.2/src/nfprobe_plugin/netflow9.c 2010-07-15 15:11:23.575859230 +0200
-@@ -396,8 +396,8 @@ nf9_init_template(void)
- */
-
- rcount = 0;
-- bzero(&v4_template, sizeof(v4_template));
-- bzero(&v4_int_template, sizeof(v4_int_template));
-+ memset(&v4_template, 0, sizeof(v4_template));
-+ memset(&v4_int_template, 0, sizeof(v4_int_template));
-
- v4_template.r[rcount].type = htons(NF9_LAST_SWITCHED);
- v4_template.r[rcount].length = htons(4);
-@@ -588,8 +588,8 @@ nf9_init_template(void)
- v4_int_template.tot_rec_len += v4_int_template.r[idx].length;
-
- rcount = 0;
-- bzero(&v6_template, sizeof(v6_template));
-- bzero(&v6_int_template, sizeof(v6_int_template));
-+ memset(&v6_template, 0, sizeof(v6_template));
-+ memset(&v6_int_template, 0, sizeof(v6_int_template));
-
- v6_template.r[rcount].type = htons(NF9_LAST_SWITCHED);
- v6_template.r[rcount].length = htons(4);
-@@ -786,8 +786,8 @@ nf9_init_options_template(void)
- int rcount, idx;
-
- rcount = 0;
-- bzero(&options_template, sizeof(options_template));
-- bzero(&options_int_template, sizeof(options_int_template));
-+ memset(&options_template, 0, sizeof(options_template));
-+ memset(&options_int_template, 0, sizeof(options_int_template));
-
- options_template.r[rcount].type = htons(NF9_OPT_SCOPE_SYSTEM);
- options_template.r[rcount].length = htons(0);
-@@ -826,8 +826,8 @@ nf_flow_to_flowset(const struct FLOW *fl
- char *ftoft_ptr_0 = ftoft_buf_0;
- char *ftoft_ptr_1 = ftoft_buf_1;
-
-- bzero(ftoft_buf_0, sizeof(ftoft_buf_0));
-- bzero(ftoft_buf_1, sizeof(ftoft_buf_1));
-+ memset(ftoft_buf_0, 0, sizeof(ftoft_buf_0));
-+ memset(ftoft_buf_1, 0, sizeof(ftoft_buf_1));
- *len_used = nflows = ret_len = 0;
-
- rec32 = htonl(timeval_sub_ms(&flow->flow_last, system_boot_time));
-@@ -916,7 +916,7 @@ nf_options_to_flowset(u_char *packet, u_
- u_int8_t rec8;
- char *ftoft_ptr_0 = ftoft_buf_0;
-
-- bzero(ftoft_buf_0, sizeof(ftoft_buf_0));
-+ memset(ftoft_buf_0, 0, sizeof(ftoft_buf_0));
- *len_used = nflows = ret_len = 0;
-
- rec8 = 1; /* NF9_FLOW_SAMPLER_ID */
-@@ -975,7 +975,7 @@ send_netflow_v9(struct FLOW **flows, int
-
- last_valid = num_packets = 0;
- for (j = 0; j < num_flows;) {
-- bzero(packet, sizeof(packet));
-+ memset(packet, 0, sizeof(packet));
- nf9 = (struct NF9_HEADER *)packet;
-
- nf9->version = htons(9);
diff --git a/package/portmap/Makefile b/package/portmap/Makefile
index 67eb793..0e3eddb 100644
--- a/package/portmap/Makefile
+++ b/package/portmap/Makefile
@@ -27,10 +27,10 @@ MAKE_FLAGS+= WRAP_LIB='-L${STAGING_TARGET_DIR}/usr/lib -lwrap'
else
MAKE_FLAGS+= NO_TCP_WRAPPER=1
endif
-TCPPFLAGS+= -DDAEMON_UID=20 -DDAEMON_GID=20
-TCFLAGS+= -fPIC
+TARGET_CPPFLAGS+= -DDAEMON_UID=20 -DDAEMON_GID=20
+TARGET_CFLAGS+= -fPIC
MAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} \
- CFLAGS='${TCFLAGS}'
+ CFLAGS='${TARGET_CFLAGS}'
do-install:
${INSTALL_DIR} ${IDIR_PORTMAP}/usr/sbin
diff --git a/package/portsentry/Makefile b/package/portsentry/Makefile
index ef2d0d7..43898e4 100644
--- a/package/portsentry/Makefile
+++ b/package/portsentry/Makefile
@@ -22,7 +22,7 @@ CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
ALL_TARGET:= linux
-MAKE_FLAGS+= CC="${TARGET_CC}" CFLAGS="${TCFLAGS}"
+MAKE_FLAGS+= CC="${TARGET_CC}" CFLAGS="${TARGET_CFLAGS}"
do-install:
${INSTALL_DIR} ${IDIR_PORTSENTRY}/usr/bin ${IDIR_PORTSENTRY}/etc
diff --git a/package/ppp/Makefile b/package/ppp/Makefile
index 85386cb..d6e6043 100644
--- a/package/ppp/Makefile
+++ b/package/ppp/Makefile
@@ -30,9 +30,11 @@ $(eval $(call PKG_template,PPP_MOD_PPPDUMP,ppp-mod-pppdump,${PKG_VERSION}-${PKG_
$(eval $(call PKG_template,PPP_MOD_PPPSTATS,ppp-mod-pppstats,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,PPP_MOD_PPPUMTS,ppp-mod-pppumts,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_UMTS},${PKG_DESCR},${PKG_SECTION}))
+CONFIG_STYLE:= minimal
+CONFIGURE_ARGS+= --system=Linux
CONFIGURE_ENV+= UNAME_S="Linux"
XAKE_FLAGS+= STAGING_TARGET_DIR=${STAGING_TARGET_DIR} \
- DESTDIR="${WRKINST}/usr" \
+ DESTDIR="${WRKINST}/usr" STRIP='' \
TARGET_AR='${TARGET_CROSS}ar'
post-install:
diff --git a/package/ppp/patches/patch-chat_Makefile_linux b/package/ppp/patches/patch-chat_Makefile_linux
index 3d0c3fd..07f1a31 100644
--- a/package/ppp/patches/patch-chat_Makefile_linux
+++ b/package/ppp/patches/patch-chat_Makefile_linux
@@ -1,31 +1,51 @@
--- ppp-2.4.5.orig/chat/Makefile.linux 2009-11-16 23:26:07.000000000 +0100
-+++ ppp-2.4.5/chat/Makefile.linux 2011-01-16 15:56:59.000000000 +0100
-@@ -10,22 +10,23 @@ CDEF3= -UNO_SLEEP # Use the usleep fun
- CDEF4= -DFNDELAY=O_NDELAY # Old name value
- CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4)
++++ ppp-2.4.5/chat/Makefile.linux 2011-01-21 21:29:57.958658254 +0100
+@@ -1,32 +1,27 @@
+ # $Id: Makefile.linux,v 1.15 2006/06/04 05:07:46 paulus Exp $
+
+-DESTDIR = $(INSTROOT)@DESTDIR@
+-BINDIR = $(DESTDIR)/sbin
+-MANDIR = $(DESTDIR)/share/man/man8
+-
+-CDEF1= -DTERMIOS # Use the termios structure
+-CDEF2= -DSIGTYPE=void # Standard definition
+-CDEF3= -UNO_SLEEP # Use the usleep function
+-CDEF4= -DFNDELAY=O_NDELAY # Old name value
+-CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4)
++include ../Makedefs.com
-COPTS= -O2 -g -pipe
-CFLAGS= $(COPTS) $(CDEFS)
-+CPPFLAGS?=
-+CFLAGS?=-O2 -g -pipe
-+LDFLAGS?=
++CDEF1=-DTERMIOS # Use the termios structure
++CDEF2=-DSIGTYPE=void # Standard definition
++CDEF3=-UNO_SLEEP # Use the usleep function
++CDEF4=-DFNDELAY=O_NDELA # Old name value
++CDEFS=$(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4)
- INSTALL= install
+-INSTALL= install
++CPPFLAGS += $(CDEFS)
- all: chat
+-all: chat
++PROG = chat
++OBJS = chat.o
- chat: chat.o
+-chat: chat.o
- $(CC) -o chat chat.o
-+ $(CC) $(LDFLAGS) -o chat chat.o
++all: $(PROG)
- chat.o: chat.c
+-chat.o: chat.c
- $(CC) -c $(CFLAGS) -o chat.o chat.c
-+ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o chat.o chat.c
++$(PROG): $(OBJS)
- install: chat
- mkdir -p $(BINDIR) $(MANDIR)
+-install: chat
+- mkdir -p $(BINDIR) $(MANDIR)
- $(INSTALL) -s -c chat $(BINDIR)
-+ $(INSTALL) -c chat $(BINDIR)
++install: $(PROG)
++ $(INSTALL) -d -m 755 $(BINDIR)
++ $(INSTALL) -d -m 755 $(MANDIR)
++ $(INSTALL) $(STRIP) -c $(PROG) $(BINDIR)
$(INSTALL) -c -m 644 chat.8 $(MANDIR)
clean:
+- rm -f chat.o chat *~
++ rm -f $(OBJS) $(PROG) *~
diff --git a/package/ppp/patches/patch-configure b/package/ppp/patches/patch-configure
index 4ec084e..b4be911 100644
--- a/package/ppp/patches/patch-configure
+++ b/package/ppp/patches/patch-configure
@@ -1,15 +1,87 @@
---- ppp-2.4.4.orig/configure 2005-07-09 02:23:05.000000000 +0200
-+++ ppp-2.4.4/configure 2009-06-05 19:12:00.000000000 +0200
-@@ -8,9 +8,9 @@ SYSCONF=/etc
+--- ppp-2.4.5.orig/configure 2009-11-16 23:26:07.000000000 +0100
++++ ppp-2.4.5/configure 2011-01-21 21:29:57.977408326 +0100
+@@ -5,12 +5,42 @@
+ DESTDIR=/usr/local
+ SYSCONF=/etc
+
++# Parse arguments
++while [ $# -gt 0 ]; do
++ arg=$1
++ val=
++ shift
++ case $arg in
++ *=*)
++ val=`expr "x$arg" : 'x[^=]*=\(.*\)'`
++ arg=`expr "x$arg" : 'x\([^=]*\)=.*'`
++ ;;
++ --prefix|--sysconf|--system|--arch|--release)
++ if [ $# -eq 0 ]; then
++ echo "error: the $arg argument requires a value" 1>&2
++ exit 1
++ fi
++ val=$1
++ shift
++ ;;
++ esac
++ case $arg in
++ --prefix) DESTDIR=$val ;;
++ --sysconfdir) SYSCONF=$val ;;
++ --system) system=$val ;;
++ --release) release=$val ;;
++ --arch) arch=$val ;;
++ esac
++done
++
++echo "DESTDIR is $DESTDIR"
++
# if [ -d /NextApps ]; then
# system="NeXTStep"
# else
- system=`uname -s`
- release=`uname -r`
- arch=`uname -m`
-+ system=${UNAME_S:-`uname -s`}
-+ release=${UNAME_R:-`uname -r`}
-+ arch=${UNAME_M:-`uname -m`}
++if [ -z "$system" ];then system=`uname -s`;fi
++if [ -z "$release" ];then release=`uname -r`;fi
++if [ -z "$arch" ];then arch=`uname -m`;fi
# fi
state="unknown"
+@@ -18,6 +48,7 @@ case $system in
+ Linux)
+ makext="linux";
+ ksrc="linux";
++ compiletype=.gcc;
+ state="known";;
+ SunOS)
+ karch=`/usr/bin/isainfo -k`
+@@ -156,30 +187,6 @@ case $state in
+ echo "Configuring for $system";;
+ esac
+
+-# Parse arguments
+-while [ $# -gt 0 ]; do
+- arg=$1
+- val=
+- shift
+- case $arg in
+- *=*)
+- val=`expr "x$arg" : 'x[^=]*=\(.*\)'`
+- arg=`expr "x$arg" : 'x\([^=]*\)=.*'`
+- ;;
+- --prefix|--sysconf)
+- if [ $# -eq 0 ]; then
+- echo "error: the $arg argument requires a value" 1>&2
+- exit 1
+- fi
+- val=$1
+- shift
+- ;;
+- esac
+- case $arg in
+- --prefix) DESTDIR=$val ;;
+- --sysconfdir) SYSCONF=$val ;;
+- esac
+-done
+
+ mkmkf() {
+ rm -f $2
diff --git a/package/ppp/patches/patch-linux_Makefile_top b/package/ppp/patches/patch-linux_Makefile_top
new file mode 100644
index 0000000..b433c4d
--- /dev/null
+++ b/package/ppp/patches/patch-linux_Makefile_top
@@ -0,0 +1,17 @@
+--- ppp-2.4.5.orig/linux/Makefile.top 2009-11-16 23:26:07.000000000 +0100
++++ ppp-2.4.5/linux/Makefile.top 2011-01-21 21:29:58.018658307 +0100
+@@ -1,13 +1,6 @@
+ # PPP top-level Makefile for Linux.
+
+-DESTDIR = $(INSTROOT)@DESTDIR@
+-BINDIR = $(DESTDIR)/sbin
+-INCDIR = $(DESTDIR)/include
+-MANDIR = $(DESTDIR)/share/man
+-ETCDIR = $(INSTROOT)@SYSCONF@/ppp
+-
+-# uid 0 = root
+-INSTALL= install
++include Makedefs.com
+
+ all:
+ cd chat; $(MAKE) $(MFLAGS) all
diff --git a/package/ppp/patches/patch-pppd_Makefile_linux b/package/ppp/patches/patch-pppd_Makefile_linux
index a447ae1..0096f70 100644
--- a/package/ppp/patches/patch-pppd_Makefile_linux
+++ b/package/ppp/patches/patch-pppd_Makefile_linux
@@ -1,109 +1,215 @@
--- ppp-2.4.5.orig/pppd/Makefile.linux 2009-11-16 23:26:07.000000000 +0100
-+++ ppp-2.4.5/pppd/Makefile.linux 2011-01-16 17:09:40.000000000 +0100
-@@ -2,12 +2,7 @@
- # pppd makefile for Linux
++++ ppp-2.4.5/pppd/Makefile.linux 2011-01-21 21:40:47.384898388 +0100
+@@ -3,11 +3,7 @@
# $Id: Makefile.linux,v 1.70 2007/06/19 02:08:34 carlsonj Exp $
#
--
+
-# Default installation locations
-DESTDIR = $(INSTROOT)@DESTDIR@
-BINDIR = $(DESTDIR)/sbin
-MANDIR = $(DESTDIR)/share/man/man8
-INCDIR = $(DESTDIR)/include
-+include ../makedefs.linux
++include ../Makedefs.com
TARGETS = pppd
-@@ -30,10 +25,6 @@ ifeq (.depend,$(wildcard .depend))
- include .depend
- endif
+@@ -24,17 +20,6 @@ PPPDOBJS = main.o magic.o fsm.o lcp.o ip
+ ecp.o auth.o options.o demand.o utils.o sys-linux.o ipxcp.o tty.o \
+ eap.o chap-md5.o session.o
+-#
+-# include dependencies if present
+-ifeq (.depend,$(wildcard .depend))
+-include .depend
+-endif
+-
-# CC = gcc
-#
-COPTS = -O2 -pipe -Wall -g
-LIBS =
-
+-
# Uncomment the next 2 lines to include support for Microsoft's
# MS-CHAP authentication protocol. Also, edit plugins/radius/Makefile.linux.
-@@ -48,7 +39,7 @@ MPPE=y
- # Uncomment the next line to include support for PPP packet filtering.
- # This requires that the libpcap library and headers be installed
- # and that the kernel driver support PPP packet filtering.
--FILTER=y
-+#FILTER=y
-
- # Uncomment the next line to enable multilink PPP (enabled by default)
- # Linux distributions: Please leave multilink ENABLED in your builds
-@@ -58,9 +49,9 @@ HAVE_MULTILINK=y
- # Uncomment the next line to enable the TDB database (enabled by default.)
- # If you enable multilink, then TDB is automatically enabled also.
- # Linux distributions: Please leave TDB ENABLED in your builds.
--USE_TDB=y
-+#USE_TDB=y
-
--HAS_SHADOW=y
-+#HAS_SHADOW=y
- #USE_PAM=y
- #HAVE_INET6=y
-
-@@ -75,11 +66,10 @@ PLUGIN=y
+ CHAPMS=y
+@@ -75,28 +60,25 @@ PLUGIN=y
MAXOCTETS=y
-INCLUDE_DIRS= -I../include
-
-COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
-+CPPFLAGS += -I../include
-+CPPFLAGS += -DHAVE_PATHS_H -DHAVE_MMAP
-
+-
-CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"'
-+CFLAGS+= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"'
++CPPFLAGS += -I../include
++CPPFLAGS += -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP '-DDESTDIR="@DESTDIR@"'
ifdef CHAPMS
- CFLAGS += -DCHAPMS=1
-@@ -99,7 +89,7 @@ ifdef USE_SRP
- CFLAGS += -DUSE_SRP -DOPENSSL -I/usr/local/ssl/include
+-CFLAGS += -DCHAPMS=1
++CPPFLAGS += -DCHAPMS=1
+ NEEDDES=y
+ PPPDOBJS += md4.o chap_ms.o
+ HEADERS += md4.h chap_ms.h
+ ifdef MSLANMAN
+-CFLAGS += -DMSLANMAN=1
++CPPFLAGS += -DMSLANMAN=1
+ endif
+ ifdef MPPE
+-CFLAGS += -DMPPE=1
++CPPFLAGS += -DMPPE=1
+ endif
+ endif
+
+ # EAP SRP-SHA1
+ ifdef USE_SRP
+-CFLAGS += -DUSE_SRP -DOPENSSL -I/usr/local/ssl/include
++CPPFLAGS += -DUSE_SRP -DOPENSSL -I/usr/local/ssl/include
LIBS += -lsrp -L/usr/local/ssl/lib -lcrypto
TARGETS += srp-entry
--EXTRAINSTALL = $(INSTALL) -s -c -m 555 srp-entry $(BINDIR)/srp-entry
-+EXTRAINSTALL = $(INSTALL) -c -m 555 srp-entry $(BINDIR)/srp-entry
- MANPAGES += srp-entry.8
- EXTRACLEAN += srp-entry.o
- NEEDDES=y
-@@ -117,10 +107,8 @@ CFLAGS += -DHAS_SHADOW
+ EXTRAINSTALL = $(INSTALL) -s -c -m 555 srp-entry $(BINDIR)/srp-entry
+@@ -113,12 +95,12 @@ PPPDOBJS += sha1.o
+ endif
+
+ ifdef HAS_SHADOW
+-CFLAGS += -DHAS_SHADOW
++CPPFLAGS += -DHAS_SHADOW
#LIBS += -lshadow $(LIBS)
endif
--ifneq ($(wildcard /usr/include/crypt.h),)
- CFLAGS += -DHAVE_CRYPT_H=1
+ ifneq ($(wildcard /usr/include/crypt.h),)
+-CFLAGS += -DHAVE_CRYPT_H=1
++CPPFLAGS += -DHAVE_CRYPT_H=1
LIBS += -lcrypt
--endif
+ endif
- ifdef NEEDDES
+@@ -126,7 +108,7 @@ ifdef NEEDDES
ifndef USE_CRYPT
-@@ -200,16 +188,16 @@ all: $(TARGETS)
+ LIBS += -ldes $(LIBS)
+ else
+-CFLAGS += -DUSE_CRYPT=1
++CPPFLAGS += -DUSE_CRYPT=1
+ endif
+ PPPDOBJS += pppcrypt.o
+ HEADERS += pppcrypt.h
+@@ -134,36 +116,36 @@ endif
+
+ # For "Pluggable Authentication Modules", see ftp.redhat.com:/pub/pam/.
+ ifdef USE_PAM
+-CFLAGS += -DUSE_PAM
++CPPFLAGS += -DUSE_PAM
+ LIBS += -lpam -ldl
+ endif
+
+ # Multi-linnk
+ ifdef HAVE_MULTILINK
+- # Multilink implies the use of TDB
+- USE_TDB=y
++# Multilink implies the use of TDB
++USE_TDB=y
+
+- CFLAGS += -DHAVE_MULTILINK
+- PPPDSRCS += multilink.c
+- PPPDOBJS += multilink.o
++CPPFLAGS += -DHAVE_MULTILINK
++PPPDSRCS += multilink.c
++PPPDOBJS += multilink.o
+ endif
+
+ # TDB
+ ifdef USE_TDB
+- CFLAGS += -DUSE_TDB=1
+- PPPDSRCS += tdb.c spinlock.c
+- PPPDOBJS += tdb.o spinlock.o
+- HEADERS += tdb.h spinlock.h
++CPPFLAGS += -DUSE_TDB=1
++PPPDSRCS += tdb.c spinlock.c
++PPPDOBJS += tdb.o spinlock.o
++HEADERS += tdb.h spinlock.h
+ endif
+
+ # Lock library binary for Linux is included in 'linux' subdirectory.
+ ifdef LOCKLIB
+ LIBS += -llock
+-CFLAGS += -DLOCKLIB=1
++CPPFLAGS += -DLOCKLIB=1
+ endif
+
+ ifdef PLUGIN
+-CFLAGS += -DPLUGIN
++CPPFLAGS += -DPLUGIN
+ LDFLAGS += -Wl,-E
+ LIBS += -ldl
+ endif
+@@ -171,52 +153,51 @@ endif
+ ifdef FILTER
+ ifneq ($(wildcard /usr/include/pcap-bpf.h),)
+ LIBS += -lpcap
+-CFLAGS += -DPPP_FILTER
++CPPFLAGS += -DPPP_FILTER
+ endif
+ endif
+
+ ifdef HAVE_INET6
+- PPPDSRCS += ipv6cp.c eui64.c
+- HEADERS += ipv6cp.h eui64.h
+- PPPDOBJS += ipv6cp.o eui64.o
+- CFLAGS += -DINET6=1
++PPPDSRCS += ipv6cp.c eui64.c
++HEADERS += ipv6cp.h eui64.h
++PPPDOBJS += ipv6cp.o eui64.o
++CPPFLAGS += -DINET6=1
+ endif
+
+ ifdef CBCP
+- PPPDSRCS += cbcp.c
+- PPPDOBJS += cbcp.o
+- CFLAGS += -DCBCP_SUPPORT
+- HEADERS += cbcp.h
++PPPDSRCS += cbcp.c
++PPPDOBJS += cbcp.o
++CPPFLAGS += -DCBCP_SUPPORT
++HEADERS += cbcp.h
+ endif
+
+ ifdef MAXOCTETS
+- CFLAGS += -DMAXOCTETS
++CPPFLAGS += -DMAXOCTETS
+ endif
+
+-INSTALL= install
+-
+ all: $(TARGETS)
+
++# generate dependencies
++#include $(PPPDSRCS:.c=.d)
++
install: pppd
- mkdir -p $(BINDIR) $(MANDIR)
+- mkdir -p $(BINDIR) $(MANDIR)
++ $(INSTALL) -d -m 755 $(BINDIR)
++ $(INSTALL) -d -m 755 $(MANDIR)
$(EXTRAINSTALL)
- $(INSTALL) -s -c -m 555 pppd $(BINDIR)/pppd
-+ $(INSTALL) -c -m 555 pppd $(BINDIR)/pppd
++ $(INSTALL) $(STRIP) -c -m 555 pppd $(BINDIR)/pppd
if chgrp pppusers $(BINDIR)/pppd 2>/dev/null; then \
chmod o-rx,u+s $(BINDIR)/pppd; fi
$(INSTALL) -c -m 444 pppd.8 $(MANDIR)
pppd: $(PPPDOBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
-+ $(CC) $(LDFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
- srp-entry: srp-entry.c
+-srp-entry: srp-entry.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ srp-entry.c $(LIBS)
-+ $(CC) $(LDFLAGS) -o $@ srp-entry.c $(LIBS)
++srp-entry: srp-entry.o
++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
install-devel:
- mkdir -p $(INCDIR)/pppd
-@@ -219,4 +207,4 @@ clean:
- rm -f $(PPPDOBJS) $(EXTRACLEAN) $(TARGETS) *~ #* core
+- mkdir -p $(INCDIR)/pppd
++ $(INSTALL) -d -m 755 $(INCDIR)/pppd
+ $(INSTALL) -c -m 644 $(HEADERS) $(INCDIR)/pppd
- depend:
+ clean:
+- rm -f $(PPPDOBJS) $(EXTRACLEAN) $(TARGETS) *~ #* core
+-
+-depend:
- $(CPP) -M $(CFLAGS) $(PPPDSRCS) >.depend
-+ $(CPP) -M $(CPPFLAGS) $(CFLAGS) $(PPPDSRCS) >.depend
++ rm -f $(PPPDOBJS) $(EXTRACLEAN) $(TARGETS) *.d *~ #* core
diff --git a/package/ppp/patches/patch-pppd_ccp_c b/package/ppp/patches/patch-pppd_ccp_c
deleted file mode 100644
index 66b76b0..0000000
--- a/package/ppp/patches/patch-pppd_ccp_c
+++ /dev/null
@@ -1,1362 +0,0 @@
---- ppp-2.4.4.orig/pppd/ccp.c 2005-07-09 02:23:05.000000000 +0200
-+++ ppp-2.4.4/pppd/ccp.c 2009-06-05 19:12:00.000000000 +0200
-@@ -62,12 +62,10 @@ static int setdeflate __P((char **));
- static char bsd_value[8];
- static char deflate_value[8];
-
--/*
-- * Option variables.
-- */
- #ifdef MPPE
--bool refuse_mppe_stateful = 1; /* Allow stateful mode? */
--#endif
-+static int setmppe(char **);
-+static int setnomppe(void);
-+#endif /* MPPE */
-
- static option_t ccp_option_list[] = {
- { "noccp", o_bool, &ccp_protent.enabled_flag,
-@@ -108,54 +106,36 @@ static option_t ccp_option_list[] = {
- "don't allow Predictor-1", OPT_ALIAS | OPT_PRIOSUB | OPT_A2CLR,
- &ccp_allowoptions[0].predictor_1 },
-
--#ifdef MPPE
-- /* MPPE options are symmetrical ... we only set wantoptions here */
-- { "require-mppe", o_bool, &ccp_wantoptions[0].mppe,
-- "require MPPE encryption",
-- OPT_PRIO | MPPE_OPT_40 | MPPE_OPT_128 },
-- { "+mppe", o_bool, &ccp_wantoptions[0].mppe,
-- "require MPPE encryption",
-- OPT_ALIAS | OPT_PRIO | MPPE_OPT_40 | MPPE_OPT_128 },
-- { "nomppe", o_bool, &ccp_wantoptions[0].mppe,
-- "don't allow MPPE encryption", OPT_PRIO },
-- { "-mppe", o_bool, &ccp_wantoptions[0].mppe,
-- "don't allow MPPE encryption", OPT_ALIAS | OPT_PRIO },
--
-- /* We use ccp_allowoptions[0].mppe as a junk var ... it is reset later */
-- { "require-mppe-40", o_bool, &ccp_allowoptions[0].mppe,
-- "require MPPE 40-bit encryption", OPT_PRIO | OPT_A2OR | MPPE_OPT_40,
-- &ccp_wantoptions[0].mppe },
-- { "+mppe-40", o_bool, &ccp_allowoptions[0].mppe,
-- "require MPPE 40-bit encryption", OPT_PRIO | OPT_A2OR | MPPE_OPT_40,
-- &ccp_wantoptions[0].mppe },
-- { "nomppe-40", o_bool, &ccp_allowoptions[0].mppe,
-- "don't allow MPPE 40-bit encryption",
-- OPT_PRIOSUB | OPT_A2CLRB | MPPE_OPT_40, &ccp_wantoptions[0].mppe },
-- { "-mppe-40", o_bool, &ccp_allowoptions[0].mppe,
-- "don't allow MPPE 40-bit encryption",
-- OPT_ALIAS | OPT_PRIOSUB | OPT_A2CLRB | MPPE_OPT_40,
-- &ccp_wantoptions[0].mppe },
--
-- { "require-mppe-128", o_bool, &ccp_allowoptions[0].mppe,
-- "require MPPE 128-bit encryption", OPT_PRIO | OPT_A2OR | MPPE_OPT_128,
-- &ccp_wantoptions[0].mppe },
-- { "+mppe-128", o_bool, &ccp_allowoptions[0].mppe,
-- "require MPPE 128-bit encryption",
-- OPT_ALIAS | OPT_PRIO | OPT_A2OR | MPPE_OPT_128,
-- &ccp_wantoptions[0].mppe },
-- { "nomppe-128", o_bool, &ccp_allowoptions[0].mppe,
-- "don't allow MPPE 128-bit encryption",
-- OPT_PRIOSUB | OPT_A2CLRB | MPPE_OPT_128, &ccp_wantoptions[0].mppe },
-- { "-mppe-128", o_bool, &ccp_allowoptions[0].mppe,
-- "don't allow MPPE 128-bit encryption",
-- OPT_ALIAS | OPT_PRIOSUB | OPT_A2CLRB | MPPE_OPT_128,
-- &ccp_wantoptions[0].mppe },
-+ { "lzs", o_bool, &ccp_wantoptions[0].lzs,
-+ "request Stac LZS", 1, &ccp_allowoptions[0].lzs, OPT_PRIO },
-+ { "+lzs", o_bool, &ccp_wantoptions[0].lzs,
-+ "request Stac LZS", 1, &ccp_allowoptions[0].lzs, OPT_ALIAS | OPT_PRIO },
-+ { "nolzs", o_bool, &ccp_wantoptions[0].lzs,
-+ "don't allow Stac LZS", OPT_PRIOSUB | OPT_A2CLR,
-+ &ccp_allowoptions[0].lzs },
-+ { "-lzs", o_bool, &ccp_wantoptions[0].lzs,
-+ "don't allow Stac LZS", OPT_ALIAS | OPT_PRIOSUB | OPT_A2CLR,
-+ &ccp_allowoptions[0].lzs },
-
-- /* strange one; we always request stateless, but will we allow stateful? */
-- { "mppe-stateful", o_bool, &refuse_mppe_stateful,
-- "allow MPPE stateful mode", OPT_PRIO },
-- { "nomppe-stateful", o_bool, &refuse_mppe_stateful,
-- "disallow MPPE stateful mode", OPT_PRIO | 1 },
-+#ifdef MPPE
-+ { "mppc", o_bool, &ccp_wantoptions[0].mppc,
-+ "request MPPC compression", 1, &ccp_allowoptions[0].mppc },
-+ { "+mppc", o_bool, &ccp_wantoptions[0].mppc,
-+ "request MPPC compression", 1, &ccp_allowoptions[0].mppc, OPT_ALIAS },
-+ { "nomppc", o_bool, &ccp_wantoptions[0].mppc,
-+ "don't allow MPPC compression", OPT_PRIOSUB | OPT_A2CLR,
-+ &ccp_allowoptions[0].mppc },
-+ { "-mppc", o_bool, &ccp_wantoptions[0].mppc,
-+ "don't allow MPPC compression", OPT_ALIAS | OPT_PRIOSUB | OPT_A2CLR,
-+ &ccp_allowoptions[0].mppc },
-+ { "mppe", o_special, (void *)setmppe,
-+ "request MPPE encryption" },
-+ { "+mppe", o_special, (void *)setmppe,
-+ "request MPPE encryption" },
-+ { "nomppe", o_special_noarg, (void *)setnomppe,
-+ "don't allow MPPE encryption" },
-+ { "-mppe", o_special_noarg, (void *)setnomppe,
-+ "don't allow MPPE encryption" },
- #endif /* MPPE */
-
- { NULL }
-@@ -241,7 +221,7 @@ static fsm_callbacks ccp_callbacks = {
- */
- #define ANY_COMPRESS(opt) ((opt).deflate || (opt).bsd_compress \
- || (opt).predictor_1 || (opt).predictor_2 \
-- || (opt).mppe)
-+ || (opt).lzs || (opt).mppc || (opt).mppe)
-
- /*
- * Local state (mainly for handling reset-reqs and reset-acks).
-@@ -344,6 +324,100 @@ setdeflate(argv)
- return 1;
- }
-
-+#ifdef MPPE
-+/*
-+ * Functions called from config options
-+ */
-+/*
-+ MPPE suboptions:
-+ required - require MPPE; disconnect if peer doesn't support it
-+ stateless - use stateless mode
-+ no40 - disable 40 bit keys
-+ no56 - disable 56 bit keys
-+ no128 - disable 128 bit keys
-+*/
-+int setmppe(char **argv)
-+{
-+ int i;
-+ char *str, cmdbuf[16];
-+
-+ ccp_allowoptions[0].mppe = 1;
-+ ccp_allowoptions[0].mppe_40 = 1;
-+ ccp_allowoptions[0].mppe_56 = 1;
-+ ccp_allowoptions[0].mppe_128 = 1;
-+ ccp_allowoptions[0].mppe_stateless = 0;
-+ ccp_wantoptions[0].mppe = 0;
-+
-+ str = *argv;
-+
-+ while (1) {
-+ i = 0;
-+ memset(cmdbuf, '\0', 16);
-+ while ((i < 16) && (*str != ',') && (*str != '\0'))
-+ cmdbuf[i++] = *str++;
-+ cmdbuf[i] = '\0';
-+ if (!strncasecmp(cmdbuf, "no40", strlen("no40"))) {
-+ ccp_allowoptions[0].mppe_40 = 0;
-+ goto next_param;
-+ } else if (!strncasecmp(cmdbuf, "no56", strlen("no56"))) {
-+ ccp_allowoptions[0].mppe_56 = 0;
-+ goto next_param;
-+ } else if (!strncasecmp(cmdbuf, "no128", strlen("no128"))) {
-+ ccp_allowoptions[0].mppe_128 = 0;
-+ goto next_param;
-+ } else if (!strncasecmp(cmdbuf, "stateless", strlen("stateless"))) {
-+ ccp_allowoptions[0].mppe_stateless = 1;
-+ goto next_param;
-+ } else if (!strncasecmp(cmdbuf, "required", strlen("required"))) {
-+ ccp_wantoptions[0].mppe = 1;
-+ goto next_param;
-+ } else {
-+ option_error("invalid parameter '%s' for mppe option", cmdbuf);
-+ return 0;
-+ }
-+
-+ next_param:
-+ if (*str == ',') {
-+ str++;
-+ continue;
-+ }
-+ if (*str == '\0') {
-+ if (!(ccp_allowoptions[0].mppe_40 || ccp_allowoptions[0].mppe_56 ||
-+ ccp_allowoptions[0].mppe_128)) {
-+ if (ccp_wantoptions[0].mppe == 1) {
-+ option_error("You require MPPE but you have switched off "
-+ "all encryption key lengths.");
-+ return 0;
-+ }
-+ ccp_wantoptions[0].mppe = ccp_allowoptions[0].mppe = 0;
-+ ccp_wantoptions[0].mppe_stateless =
-+ ccp_allowoptions[0].mppe_stateless = 0;
-+ } else {
-+ ccp_allowoptions[0].mppe = 1;
-+ ccp_wantoptions[0].mppe_stateless =
-+ ccp_allowoptions[0].mppe_stateless;
-+ if (ccp_wantoptions[0].mppe == 1) {
-+ ccp_wantoptions[0].mppe_40 = ccp_allowoptions[0].mppe_40;
-+ ccp_wantoptions[0].mppe_56 = ccp_allowoptions[0].mppe_56;
-+ ccp_wantoptions[0].mppe_128 = ccp_allowoptions[0].mppe_128;
-+ }
-+ }
-+ return 1;
-+ }
-+ }
-+}
-+
-+int setnomppe(void)
-+{
-+ ccp_wantoptions[0].mppe = ccp_allowoptions[0].mppe = 0;
-+ ccp_wantoptions[0].mppe_40 = ccp_allowoptions[0].mppe_40 = 0;
-+ ccp_wantoptions[0].mppe_56 = ccp_allowoptions[0].mppe_56 = 0;
-+ ccp_wantoptions[0].mppe_128 = ccp_allowoptions[0].mppe_128 = 0;
-+ ccp_wantoptions[0].mppe_stateless = ccp_allowoptions[0].mppe_stateless = 0;
-+ return 1;
-+}
-+#endif /* MPPE */
-+
- /*
- * ccp_init - initialize CCP.
- */
-@@ -378,6 +452,30 @@ ccp_init(unit)
- ccp_allowoptions[0].bsd_bits = BSD_MAX_BITS;
-
- ccp_allowoptions[0].predictor_1 = 1;
-+
-+ ccp_wantoptions[0].lzs = 0; /* Stac LZS - will be enabled in the future */
-+ ccp_wantoptions[0].lzs_mode = LZS_MODE_SEQ;
-+ ccp_wantoptions[0].lzs_hists = 1;
-+ ccp_allowoptions[0].lzs = 0; /* Stac LZS - will be enabled in the future */
-+ ccp_allowoptions[0].lzs_mode = LZS_MODE_SEQ;
-+ ccp_allowoptions[0].lzs_hists = 1;
-+
-+#ifdef MPPE
-+ /* by default allow and request MPPC... */
-+ ccp_wantoptions[0].mppc = ccp_allowoptions[0].mppc = 1;
-+
-+ /* ... and allow but don't request MPPE */
-+ ccp_allowoptions[0].mppe = 1;
-+ ccp_allowoptions[0].mppe_40 = 1;
-+ ccp_allowoptions[0].mppe_56 = 1;
-+ ccp_allowoptions[0].mppe_128 = 1;
-+ ccp_allowoptions[0].mppe_stateless = 1;
-+ ccp_wantoptions[0].mppe = 0;
-+ ccp_wantoptions[0].mppe_40 = 0;
-+ ccp_wantoptions[0].mppe_56 = 0;
-+ ccp_wantoptions[0].mppe_128 = 0;
-+ ccp_wantoptions[0].mppe_stateless = 0;
-+#endif /* MPPE */
- }
-
- /*
-@@ -455,11 +553,11 @@ ccp_input(unit, p, len)
- if (oldstate == OPENED && p[0] == TERMREQ && f->state != OPENED) {
- notice("Compression disabled by peer.");
- #ifdef MPPE
-- if (ccp_gotoptions[unit].mppe) {
-+ if (ccp_wantoptions[unit].mppe) {
- error("MPPE disabled, closing LCP");
- lcp_close(unit, "MPPE disabled by peer");
- }
--#endif
-+#endif /* MPPE */
- }
-
- /*
-@@ -487,6 +585,15 @@ ccp_extcode(f, code, id, p, len)
- break;
- /* send a reset-ack, which the transmitter will see and
- reset its compression state. */
-+
-+ /* In case of MPPE/MPPC or LZS we shouldn't send CCP_RESETACK,
-+ but we do it in order to reset compressor; CCP_RESETACK is
-+ then silently discarded. See functions ppp_send_frame and
-+ ppp_ccp_peek in ppp_generic.c (Linux only !!!). All the
-+ confusion is caused by the fact that CCP code is splited
-+ into two parts - one part is handled by pppd, the other one
-+ is handled by kernel. */
-+
- fsm_sdata(f, CCP_RESETACK, id, NULL, 0);
- break;
-
-@@ -515,12 +622,11 @@ ccp_protrej(unit)
- fsm_lowerdown(&ccp_fsm[unit]);
-
- #ifdef MPPE
-- if (ccp_gotoptions[unit].mppe) {
-+ if (ccp_wantoptions[unit].mppe) {
- error("MPPE required but peer negotiation failed");
- lcp_close(unit, "MPPE required but peer negotiation failed");
- }
--#endif
--
-+#endif /* MPPE */
- }
-
- /*
-@@ -537,7 +643,7 @@ ccp_resetci(f)
- all_rejected[f->unit] = 0;
-
- #ifdef MPPE
-- if (go->mppe) {
-+ if (go->mppe || go->mppc) {
- ccp_options *ao = &ccp_allowoptions[f->unit];
- int auth_mschap_bits = auth_done[f->unit];
- int numbits;
-@@ -551,80 +657,109 @@ ccp_resetci(f)
- * NB: If MPPE is required, all other compression opts are invalid.
- * So, we return right away if we can't do it.
- */
-+ if (ccp_wantoptions[f->unit].mppe) {
-+ /* Leave only the mschap auth bits set */
-+ auth_mschap_bits &= (CHAP_MS_WITHPEER | CHAP_MS_PEER |
-+ CHAP_MS2_WITHPEER | CHAP_MS2_PEER);
-+ /* Count the mschap auths */
-+ auth_mschap_bits >>= CHAP_MS_SHIFT;
-+ numbits = 0;
-+ do {
-+ numbits += auth_mschap_bits & 1;
-+ auth_mschap_bits >>= 1;
-+ } while (auth_mschap_bits);
-+ if (numbits > 1) {
-+ error("MPPE required, but auth done in both directions.");
-+ lcp_close(f->unit, "MPPE required but not available");
-+ return;
-+ }
-+ if (!numbits) {
-+ error("MPPE required, but MS-CHAP[v2] auth not performed.");
-+ lcp_close(f->unit, "MPPE required but not available");
-+ return;
-+ }
-
-- /* Leave only the mschap auth bits set */
-- auth_mschap_bits &= (CHAP_MS_WITHPEER | CHAP_MS_PEER |
-- CHAP_MS2_WITHPEER | CHAP_MS2_PEER);
-- /* Count the mschap auths */
-- auth_mschap_bits >>= CHAP_MS_SHIFT;
-- numbits = 0;
-- do {
-- numbits += auth_mschap_bits & 1;
-- auth_mschap_bits >>= 1;
-- } while (auth_mschap_bits);
-- if (numbits > 1) {
-- error("MPPE required, but auth done in both directions.");
-- lcp_close(f->unit, "MPPE required but not available");
-- return;
-- }
-- if (!numbits) {
-- error("MPPE required, but MS-CHAP[v2] auth not performed.");
-- lcp_close(f->unit, "MPPE required but not available");
-- return;
-+ /* A plugin (eg radius) may not have obtained key material. */
-+ if (!mppe_keys_set) {
-+ error("MPPE required, but keys are not available. "
-+ "Possible plugin problem?");
-+ lcp_close(f->unit, "MPPE required but not available");
-+ return;
-+ }
- }
-
-- /* A plugin (eg radius) may not have obtained key material. */
-- if (!mppe_keys_set) {
-- error("MPPE required, but keys are not available. "
-- "Possible plugin problem?");
-- lcp_close(f->unit, "MPPE required but not available");
-- return;
-+ /*
-+ * Check whether the kernel knows about the various
-+ * compression methods we might request. Key material
-+ * unimportant here.
-+ */
-+ if (go->mppc) {
-+ opt_buf[0] = CI_MPPE;
-+ opt_buf[1] = CILEN_MPPE;
-+ opt_buf[2] = 0;
-+ opt_buf[3] = 0;
-+ opt_buf[4] = 0;
-+ opt_buf[5] = MPPE_MPPC;
-+ if (ccp_test(f->unit, opt_buf, CILEN_MPPE, 0) <= 0)
-+ go->mppc = 0;
- }
--
-- /* LM auth not supported for MPPE */
-- if (auth_done[f->unit] & (CHAP_MS_WITHPEER | CHAP_MS_PEER)) {
-- /* This might be noise */
-- if (go->mppe & MPPE_OPT_40) {
-- notice("Disabling 40-bit MPPE; MS-CHAP LM not supported");
-- go->mppe &= ~MPPE_OPT_40;
-- ccp_wantoptions[f->unit].mppe &= ~MPPE_OPT_40;
-- }
-+ if (go->mppe_40) {
-+ opt_buf[0] = CI_MPPE;
-+ opt_buf[1] = CILEN_MPPE;
-+ opt_buf[2] = MPPE_STATELESS;
-+ opt_buf[3] = 0;
-+ opt_buf[4] = 0;
-+ opt_buf[5] = MPPE_40BIT;
-+ if (ccp_test(f->unit, opt_buf, CILEN_MPPE + MPPE_MAX_KEY_LEN, 0) <= 0)
-+ go->mppe_40 = 0;
- }
--
-- /* Last check: can we actually negotiate something? */
-- if (!(go->mppe & (MPPE_OPT_40 | MPPE_OPT_128))) {
-- /* Could be misconfig, could be 40-bit disabled above. */
-- error("MPPE required, but both 40-bit and 128-bit disabled.");
-- lcp_close(f->unit, "MPPE required but not available");
-- return;
-+ if (go->mppe_56) {
-+ opt_buf[0] = CI_MPPE;
-+ opt_buf[1] = CILEN_MPPE;
-+ opt_buf[2] = MPPE_STATELESS;
-+ opt_buf[3] = 0;
-+ opt_buf[4] = 0;
-+ opt_buf[5] = MPPE_56BIT;
-+ if (ccp_test(f->unit, opt_buf, CILEN_MPPE + MPPE_MAX_KEY_LEN, 0) <= 0)
-+ go->mppe_56 = 0;
-+ }
-+ if (go->mppe_128) {
-+ opt_buf[0] = CI_MPPE;
-+ opt_buf[1] = CILEN_MPPE;
-+ opt_buf[2] = MPPE_STATELESS;
-+ opt_buf[3] = 0;
-+ opt_buf[4] = 0;
-+ opt_buf[5] = MPPE_128BIT;
-+ if (ccp_test(f->unit, opt_buf, CILEN_MPPE + MPPE_MAX_KEY_LEN, 0) <= 0)
-+ go->mppe_128 = 0;
-+ }
-+ if (!go->mppe_40 && !go->mppe_56 && !go->mppe_128) {
-+ if (ccp_wantoptions[f->unit].mppe) {
-+ error("MPPE required, but kernel has no support.");
-+ lcp_close(f->unit, "MPPE required but not available");
-+ }
-+ go->mppe = go->mppe_stateless = 0;
-+ } else {
-+ /* MPPE is not compatible with other compression types */
-+ if (ccp_wantoptions[f->unit].mppe) {
-+ ao->bsd_compress = go->bsd_compress = 0;
-+ ao->predictor_1 = go->predictor_1 = 0;
-+ ao->predictor_2 = go->predictor_2 = 0;
-+ ao->deflate = go->deflate = 0;
-+ ao->lzs = go->lzs = 0;
-+ }
- }
--
-- /* sync options */
-- ao->mppe = go->mppe;
-- /* MPPE is not compatible with other compression types */
-- ao->bsd_compress = go->bsd_compress = 0;
-- ao->predictor_1 = go->predictor_1 = 0;
-- ao->predictor_2 = go->predictor_2 = 0;
-- ao->deflate = go->deflate = 0;
- }
- #endif /* MPPE */
--
-- /*
-- * Check whether the kernel knows about the various
-- * compression methods we might request.
-- */
--#ifdef MPPE
-- if (go->mppe) {
-- opt_buf[0] = CI_MPPE;
-- opt_buf[1] = CILEN_MPPE;
-- MPPE_OPTS_TO_CI(go->mppe, &opt_buf[2]);
-- /* Key material unimportant here. */
-- if (ccp_test(f->unit, opt_buf, CILEN_MPPE + MPPE_MAX_KEY_LEN, 0) <= 0) {
-- error("MPPE required, but kernel has no support.");
-- lcp_close(f->unit, "MPPE required but not available");
-- }
-+ if (go->lzs) {
-+ opt_buf[0] = CI_LZS;
-+ opt_buf[1] = CILEN_LZS;
-+ opt_buf[2] = go->lzs_hists >> 8;
-+ opt_buf[3] = go->lzs_hists & 0xff;
-+ opt_buf[4] = LZS_MODE_SEQ;
-+ if (ccp_test(f->unit, opt_buf, CILEN_LZS, 0) <= 0)
-+ go->lzs = 0;
- }
--#endif
- if (go->bsd_compress) {
- opt_buf[0] = CI_BSD_COMPRESS;
- opt_buf[1] = CILEN_BSD_COMPRESS;
-@@ -679,7 +814,8 @@ ccp_cilen(f)
- + (go->deflate? CILEN_DEFLATE: 0)
- + (go->predictor_1? CILEN_PREDICTOR_1: 0)
- + (go->predictor_2? CILEN_PREDICTOR_2: 0)
-- + (go->mppe? CILEN_MPPE: 0);
-+ + (go->lzs? CILEN_LZS: 0)
-+ + ((go->mppe || go->mppc)? CILEN_MPPE: 0);
- }
-
- /*
-@@ -693,6 +829,8 @@ ccp_addci(f, p, lenp)
- {
- int res;
- ccp_options *go = &ccp_gotoptions[f->unit];
-+ ccp_options *ao = &ccp_allowoptions[f->unit];
-+ ccp_options *wo = &ccp_wantoptions[f->unit];
- u_char *p0 = p;
-
- /*
-@@ -701,22 +839,43 @@ ccp_addci(f, p, lenp)
- * in case it gets Acked.
- */
- #ifdef MPPE
-- if (go->mppe) {
-+ if (go->mppe || go->mppc || (!wo->mppe && ao->mppe)) {
- u_char opt_buf[CILEN_MPPE + MPPE_MAX_KEY_LEN];
-
-- p[0] = opt_buf[0] = CI_MPPE;
-- p[1] = opt_buf[1] = CILEN_MPPE;
-- MPPE_OPTS_TO_CI(go->mppe, &p[2]);
-- MPPE_OPTS_TO_CI(go->mppe, &opt_buf[2]);
-+ p[0] = CI_MPPE;
-+ p[1] = CILEN_MPPE;
-+ p[2] = (go->mppe_stateless ? MPPE_STATELESS : 0);
-+ p[3] = 0;
-+ p[4] = 0;
-+ p[5] = (go->mppe_40 ? MPPE_40BIT : 0) | (go->mppe_56 ? MPPE_56BIT : 0) |
-+ (go->mppe_128 ? MPPE_128BIT : 0) | (go->mppc ? MPPE_MPPC : 0);
-+
-+ BCOPY(p, opt_buf, CILEN_MPPE);
- BCOPY(mppe_recv_key, &opt_buf[CILEN_MPPE], MPPE_MAX_KEY_LEN);
- res = ccp_test(f->unit, opt_buf, CILEN_MPPE + MPPE_MAX_KEY_LEN, 0);
-- if (res > 0)
-+ if (res > 0) {
- p += CILEN_MPPE;
-- else
-+ } else {
- /* This shouldn't happen, we've already tested it! */
-- lcp_close(f->unit, "MPPE required but not available in kernel");
-+ go->mppe = go->mppe_40 = go->mppe_56 = go->mppe_128 =
-+ go->mppe_stateless = go->mppc = 0;
-+ if (ccp_wantoptions[f->unit].mppe)
-+ lcp_close(f->unit, "MPPE required but not available in kernel");
-+ }
-+ }
-+#endif /* MPPE */
-+ if (go->lzs) {
-+ p[0] = CI_LZS;
-+ p[1] = CILEN_LZS;
-+ p[2] = go->lzs_hists >> 8;
-+ p[3] = go->lzs_hists & 0xff;
-+ p[4] = LZS_MODE_SEQ;
-+ res = ccp_test(f->unit, p, CILEN_LZS, 0);
-+ if (res > 0) {
-+ p += CILEN_LZS;
-+ } else
-+ go->lzs = 0;
- }
--#endif
- if (go->deflate) {
- p[0] = go->deflate_correct? CI_DEFLATE: CI_DEFLATE_DRAFT;
- p[1] = CILEN_DEFLATE;
-@@ -802,7 +961,7 @@ ccp_addci(f, p, lenp)
-
- /*
- * ccp_ackci - process a received configure-ack, and return
-- * 1 iff the packet was OK.
-+ * 1 if the packet was OK.
- */
- static int
- ccp_ackci(f, p, len)
-@@ -811,24 +970,44 @@ ccp_ackci(f, p, len)
- int len;
- {
- ccp_options *go = &ccp_gotoptions[f->unit];
-+ ccp_options *ao = &ccp_allowoptions[f->unit];
-+ ccp_options *wo = &ccp_wantoptions[f->unit];
- u_char *p0 = p;
-
- #ifdef MPPE
-- if (go->mppe) {
-- u_char opt_buf[CILEN_MPPE];
--
-- opt_buf[0] = CI_MPPE;
-- opt_buf[1] = CILEN_MPPE;
-- MPPE_OPTS_TO_CI(go->mppe, &opt_buf[2]);
-- if (len < CILEN_MPPE || memcmp(opt_buf, p, CILEN_MPPE))
-+ if (go->mppe || go->mppc || (!wo->mppe && ao->mppe)) {
-+ if (len < CILEN_MPPE
-+ || p[1] != CILEN_MPPE || p[0] != CI_MPPE
-+ || p[2] != (go->mppe_stateless ? MPPE_STATELESS : 0)
-+ || p[3] != 0
-+ || p[4] != 0
-+ || (p[5] != ((go->mppe_40 ? MPPE_40BIT : 0) |
-+ (go->mppc ? MPPE_MPPC : 0))
-+ && p[5] != ((go->mppe_56 ? MPPE_56BIT : 0) |
-+ (go->mppc ? MPPE_MPPC : 0))
-+ && p[5] != ((go->mppe_128 ? MPPE_128BIT : 0) |
-+ (go->mppc ? MPPE_MPPC : 0))))
- return 0;
-+ if (go->mppe_40 || go->mppe_56 || go->mppe_128)
-+ go->mppe = 1;
- p += CILEN_MPPE;
- len -= CILEN_MPPE;
-+ /* Cope with first/fast ack */
-+ if (p == p0 && len == 0)
-+ return 1;
-+ }
-+#endif /* MPPE */
-+ if (go->lzs) {
-+ if (len < CILEN_LZS || p[0] != CI_LZS || p[1] != CILEN_LZS
-+ || p[2] != go->lzs_hists>>8 || p[3] != (go->lzs_hists&0xff)
-+ || p[4] != LZS_MODE_SEQ)
-+ return 0;
-+ p += CILEN_LZS;
-+ len -= CILEN_LZS;
- /* XXX Cope with first/fast ack */
-- if (len == 0)
-+ if (p == p0 && len == 0)
- return 1;
- }
--#endif
- if (go->deflate) {
- if (len < CILEN_DEFLATE
- || p[0] != (go->deflate_correct? CI_DEFLATE: CI_DEFLATE_DRAFT)
-@@ -891,7 +1070,7 @@ ccp_ackci(f, p, len)
-
- /*
- * ccp_nakci - process received configure-nak.
-- * Returns 1 iff the nak was OK.
-+ * Returns 1 if the nak was OK.
- */
- static int
- ccp_nakci(f, p, len, treat_as_reject)
-@@ -901,6 +1080,8 @@ ccp_nakci(f, p, len, treat_as_reject)
- int treat_as_reject;
- {
- ccp_options *go = &ccp_gotoptions[f->unit];
-+ ccp_options *ao = &ccp_allowoptions[f->unit];
-+ ccp_options *wo = &ccp_wantoptions[f->unit];
- ccp_options no; /* options we've seen already */
- ccp_options try; /* options to ask for next time */
-
-@@ -908,28 +1089,100 @@ ccp_nakci(f, p, len, treat_as_reject)
- try = *go;
-
- #ifdef MPPE
-- if (go->mppe && len >= CILEN_MPPE
-- && p[0] == CI_MPPE && p[1] == CILEN_MPPE) {
-- no.mppe = 1;
-- /*
-- * Peer wants us to use a different strength or other setting.
-- * Fail if we aren't willing to use his suggestion.
-- */
-- MPPE_CI_TO_OPTS(&p[2], try.mppe);
-- if ((try.mppe & MPPE_OPT_STATEFUL) && refuse_mppe_stateful) {
-- error("Refusing MPPE stateful mode offered by peer");
-- try.mppe = 0;
-- } else if (((go->mppe | MPPE_OPT_STATEFUL) & try.mppe) != try.mppe) {
-- /* Peer must have set options we didn't request (suggest) */
-- try.mppe = 0;
-+ if ((go->mppe || go->mppc || (!wo->mppe && ao->mppe)) &&
-+ len >= CILEN_MPPE && p[0] == CI_MPPE && p[1] == CILEN_MPPE) {
-+
-+ if (go->mppc) {
-+ no.mppc = 1;
-+ if (!(p[5] & MPPE_MPPC))
-+ try.mppc = 0;
- }
-
-- if (!try.mppe) {
-- error("MPPE required but peer negotiation failed");
-- lcp_close(f->unit, "MPPE required but peer negotiation failed");
-+ if (go->mppe)
-+ no.mppe = 1;
-+ if (go->mppe_40)
-+ no.mppe_40 = 1;
-+ if (go->mppe_56)
-+ no.mppe_56 = 1;
-+ if (go->mppe_128)
-+ no.mppe_128 = 1;
-+ if (go->mppe_stateless)
-+ no.mppe_stateless = 1;
-+
-+ if (ao->mppe_40) {
-+ if ((p[5] & MPPE_40BIT))
-+ try.mppe_40 = 1;
-+ else
-+ try.mppe_40 = (p[5] == 0) ? 1 : 0;
- }
-+ if (ao->mppe_56) {
-+ if ((p[5] & MPPE_56BIT))
-+ try.mppe_56 = 1;
-+ else
-+ try.mppe_56 = (p[5] == 0) ? 1 : 0;
-+ }
-+ if (ao->mppe_128) {
-+ if ((p[5] & MPPE_128BIT))
-+ try.mppe_128 = 1;
-+ else
-+ try.mppe_128 = (p[5] == 0) ? 1 : 0;
-+ }
-+
-+ if (ao->mppe_stateless) {
-+ if ((p[2] & MPPE_STATELESS) || wo->mppe_stateless)
-+ try.mppe_stateless = 1;
-+ else
-+ try.mppe_stateless = 0;
-+ }
-+
-+ if (!try.mppe_56 && !try.mppe_40 && !try.mppe_128) {
-+ try.mppe = try.mppe_stateless = 0;
-+ if (wo->mppe) {
-+ /* we require encryption, but peer doesn't support it
-+ so we close connection */
-+ wo->mppc = wo->mppe = wo->mppe_stateless = wo->mppe_40 =
-+ wo->mppe_56 = wo->mppe_128 = 0;
-+ lcp_close(f->unit, "MPPE required but cannot negotiate MPPE "
-+ "key length");
-+ }
-+ }
-+ if (wo->mppe && (wo->mppe_40 != try.mppe_40) &&
-+ (wo->mppe_56 != try.mppe_56) && (wo->mppe_128 != try.mppe_128)) {
-+ /* cannot negotiate key length */
-+ wo->mppc = wo->mppe = wo->mppe_stateless = wo->mppe_40 =
-+ wo->mppe_56 = wo->mppe_128 = 0;
-+ lcp_close(f->unit, "Cannot negotiate MPPE key length");
-+ }
-+ if (try.mppe_40 && try.mppe_56 && try.mppe_128)
-+ try.mppe_40 = try.mppe_56 = 0;
-+ else
-+ if (try.mppe_56 && try.mppe_128)
-+ try.mppe_56 = 0;
-+ else
-+ if (try.mppe_40 && try.mppe_128)
-+ try.mppe_40 = 0;
-+ else
-+ if (try.mppe_40 && try.mppe_56)
-+ try.mppe_40 = 0;
-+
-+ p += CILEN_MPPE;
-+ len -= CILEN_MPPE;
- }
- #endif /* MPPE */
-+
-+ if (go->lzs && len >= CILEN_LZS && p[0] == CI_LZS && p[1] == CILEN_LZS) {
-+ no.lzs = 1;
-+ if (((p[2]<<8)|p[3]) > 1 || (p[4] != LZS_MODE_SEQ &&
-+ p[4] != LZS_MODE_EXT))
-+ try.lzs = 0;
-+ else {
-+ try.lzs_mode = p[4];
-+ try.lzs_hists = (p[2] << 8) | p[3];
-+ }
-+ p += CILEN_LZS;
-+ len -= CILEN_LZS;
-+ }
-+
- if (go->deflate && len >= CILEN_DEFLATE
- && p[0] == (go->deflate_correct? CI_DEFLATE: CI_DEFLATE_DRAFT)
- && p[1] == CILEN_DEFLATE) {
-@@ -1002,14 +1255,50 @@ ccp_rejci(f, p, len)
- return -1;
-
- #ifdef MPPE
-- if (go->mppe && len >= CILEN_MPPE
-+ if ((go->mppe || go->mppc) && len >= CILEN_MPPE
- && p[0] == CI_MPPE && p[1] == CILEN_MPPE) {
-- error("MPPE required but peer refused");
-- lcp_close(f->unit, "MPPE required but peer refused");
-+ ccp_options *wo = &ccp_wantoptions[f->unit];
-+ if (p[2] != (go->mppe_stateless ? MPPE_STATELESS : 0) ||
-+ p[3] != 0 ||
-+ p[4] != 0 ||
-+ p[5] != ((go->mppe_40 ? MPPE_40BIT : 0) |
-+ (go->mppe_56 ? MPPE_56BIT : 0) |
-+ (go->mppe_128 ? MPPE_128BIT : 0) |
-+ (go->mppc ? MPPE_MPPC : 0)))
-+ return 0;
-+ if (go->mppc)
-+ try.mppc = 0;
-+ if (go->mppe) {
-+ try.mppe = 0;
-+ if (go->mppe_40)
-+ try.mppe_40 = 0;
-+ if (go->mppe_56)
-+ try.mppe_56 = 0;
-+ if (go->mppe_128)
-+ try.mppe_128 = 0;
-+ if (go->mppe_stateless)
-+ try.mppe_stateless = 0;
-+ if (!try.mppe_56 && !try.mppe_40 && !try.mppe_128)
-+ try.mppe = try.mppe_stateless = 0;
-+ if (wo->mppe) { /* we want MPPE but cannot negotiate key length */
-+ wo->mppc = wo->mppe = wo->mppe_stateless = wo->mppe_40 =
-+ wo->mppe_56 = wo->mppe_128 = 0;
-+ lcp_close(f->unit, "MPPE required but cannot negotiate MPPE "
-+ "key length");
-+ }
-+ }
- p += CILEN_MPPE;
- len -= CILEN_MPPE;
- }
--#endif
-+#endif /* MPPE */
-+ if (go->lzs && len >= CILEN_LZS && p[0] == CI_LZS && p[1] == CILEN_LZS) {
-+ if (p[2] != go->lzs_hists>>8 || p[3] != (go->lzs_hists&0xff)
-+ || p[4] != go->lzs_mode)
-+ return 0;
-+ try.lzs = 0;
-+ p += CILEN_LZS;
-+ len -= CILEN_LZS;
-+ }
- if (go->deflate_correct && len >= CILEN_DEFLATE
- && p[0] == CI_DEFLATE && p[1] == CILEN_DEFLATE) {
- if (p[2] != DEFLATE_MAKE_OPT(go->deflate_size)
-@@ -1073,14 +1362,15 @@ ccp_reqci(f, p, lenp, dont_nak)
- int dont_nak;
- {
- int ret, newret, res;
-- u_char *p0, *retp;
-+ u_char *p0, *retp, p2, p5;
- int len, clen, type, nb;
- ccp_options *ho = &ccp_hisoptions[f->unit];
- ccp_options *ao = &ccp_allowoptions[f->unit];
-+ ccp_options *wo = &ccp_wantoptions[f->unit];
- #ifdef MPPE
-- bool rej_for_ci_mppe = 1; /* Are we rejecting based on a bad/missing */
-- /* CI_MPPE, or due to other options? */
--#endif
-+ u_char opt_buf[CILEN_MPPE + MPPE_MAX_KEY_LEN];
-+/* int mtu; */
-+#endif /* MPPE */
-
- ret = CONFACK;
- retp = p0 = p;
-@@ -1103,106 +1393,307 @@ ccp_reqci(f, p, lenp, dont_nak)
- switch (type) {
- #ifdef MPPE
- case CI_MPPE:
-- if (!ao->mppe || clen != CILEN_MPPE) {
-+ if ((!ao->mppc && !ao->mppe) || clen != CILEN_MPPE) {
- newret = CONFREJ;
- break;
- }
-- MPPE_CI_TO_OPTS(&p[2], ho->mppe);
-
-- /* Nak if anything unsupported or unknown are set. */
-- if (ho->mppe & MPPE_OPT_UNSUPPORTED) {
-- newret = CONFNAK;
-- ho->mppe &= ~MPPE_OPT_UNSUPPORTED;
-- }
-- if (ho->mppe & MPPE_OPT_UNKNOWN) {
-+ p2 = p[2];
-+ p5 = p[5];
-+ /* not sure what they want, tell 'em what we got */
-+ if (((p[2] & ~MPPE_STATELESS) != 0 || p[3] != 0 || p[4] != 0 ||
-+ (p[5] & ~(MPPE_40BIT | MPPE_56BIT | MPPE_128BIT |
-+ MPPE_MPPC)) != 0 || p[5] == 0) ||
-+ (p[2] == 0 && p[3] == 0 && p[4] == 0 && p[5] == 0)) {
- newret = CONFNAK;
-- ho->mppe &= ~MPPE_OPT_UNKNOWN;
-+ p[2] = (wo->mppe_stateless ? MPPE_STATELESS : 0);
-+ p[3] = 0;
-+ p[4] = 0;
-+ p[5] = (wo->mppe_40 ? MPPE_40BIT : 0) |
-+ (wo->mppe_56 ? MPPE_56BIT : 0) |
-+ (wo->mppe_128 ? MPPE_128BIT : 0) |
-+ (wo->mppc ? MPPE_MPPC : 0);
-+ break;
- }
-
-- /* Check state opt */
-- if (ho->mppe & MPPE_OPT_STATEFUL) {
-- /*
-- * We can Nak and request stateless, but it's a
-- * lot easier to just assume the peer will request
-- * it if he can do it; stateful mode is bad over
-- * the Internet -- which is where we expect MPPE.
-- */
-- if (refuse_mppe_stateful) {
-- error("Refusing MPPE stateful mode offered by peer");
-+ if ((p[5] & MPPE_MPPC)) {
-+ if (ao->mppc) {
-+ ho->mppc = 1;
-+ BCOPY(p, opt_buf, CILEN_MPPE);
-+ opt_buf[2] = opt_buf[3] = opt_buf[4] = 0;
-+ opt_buf[5] = MPPE_MPPC;
-+ if (ccp_test(f->unit, opt_buf, CILEN_MPPE, 1) <= 0) {
-+ ho->mppc = 0;
-+ p[5] &= ~MPPE_MPPC;
-+ newret = CONFNAK;
-+ }
-+ } else {
- newret = CONFREJ;
-- break;
-+ if (wo->mppe || ao->mppe) {
-+ p[5] &= ~MPPE_MPPC;
-+ newret = CONFNAK;
-+ }
- }
- }
-
-- /* Find out which of {S,L} are set. */
-- if ((ho->mppe & MPPE_OPT_128)
-- && (ho->mppe & MPPE_OPT_40)) {
-- /* Both are set, negotiate the strongest. */
-+ if (ao->mppe)
-+ ho->mppe = 1;
-+
-+ if ((p[2] & MPPE_STATELESS)) {
-+ if (ao->mppe_stateless) {
-+ if (wo->mppe_stateless)
-+ ho->mppe_stateless = 1;
-+ else {
-+ newret = CONFNAK;
-+ if (!dont_nak)
-+ p[2] &= ~MPPE_STATELESS;
-+ }
-+ } else {
-+ newret = CONFNAK;
-+ if (!dont_nak)
-+ p[2] &= ~MPPE_STATELESS;
-+ }
-+ } else {
-+ if (wo->mppe_stateless && !dont_nak) {
-+ wo->mppe_stateless = 0;
-+ newret = CONFNAK;
-+ p[2] |= MPPE_STATELESS;
-+ }
-+ }
-+
-+ if ((p[5] & ~MPPE_MPPC) == (MPPE_40BIT|MPPE_56BIT|MPPE_128BIT)) {
- newret = CONFNAK;
-- if (ao->mppe & MPPE_OPT_128)
-- ho->mppe &= ~MPPE_OPT_40;
-- else if (ao->mppe & MPPE_OPT_40)
-- ho->mppe &= ~MPPE_OPT_128;
-- else {
-- newret = CONFREJ;
-- break;
-+ if (ao->mppe_128) {
-+ ho->mppe_128 = 1;
-+ p[5] &= ~(MPPE_40BIT|MPPE_56BIT);
-+ BCOPY(p, opt_buf, CILEN_MPPE);
-+ BCOPY(mppe_send_key, &opt_buf[CILEN_MPPE],
-+ MPPE_MAX_KEY_LEN);
-+ if (ccp_test(f->unit, opt_buf, CILEN_MPPE +
-+ MPPE_MAX_KEY_LEN, 1) <= 0) {
-+ ho->mppe_128 = 0;
-+ p[5] |= (MPPE_40BIT|MPPE_56BIT);
-+ p[5] &= ~MPPE_128BIT;
-+ goto check_mppe_56_40;
-+ }
-+ goto check_mppe;
- }
-- } else if (ho->mppe & MPPE_OPT_128) {
-- if (!(ao->mppe & MPPE_OPT_128)) {
-- newret = CONFREJ;
-- break;
-+ p[5] &= ~MPPE_128BIT;
-+ goto check_mppe_56_40;
-+ }
-+ if ((p[5] & ~MPPE_MPPC) == (MPPE_56BIT|MPPE_128BIT)) {
-+ newret = CONFNAK;
-+ if (ao->mppe_128) {
-+ ho->mppe_128 = 1;
-+ p[5] &= ~MPPE_56BIT;
-+ BCOPY(p, opt_buf, CILEN_MPPE);
-+ BCOPY(mppe_send_key, &opt_buf[CILEN_MPPE],
-+ MPPE_MAX_KEY_LEN);
-+ if (ccp_test(f->unit, opt_buf, CILEN_MPPE +
-+ MPPE_MAX_KEY_LEN, 1) <= 0) {
-+ ho->mppe_128 = 0;
-+ p[5] |= MPPE_56BIT;
-+ p[5] &= ~MPPE_128BIT;
-+ goto check_mppe_56;
-+ }
-+ goto check_mppe;
- }
-- } else if (ho->mppe & MPPE_OPT_40) {
-- if (!(ao->mppe & MPPE_OPT_40)) {
-- newret = CONFREJ;
-- break;
-+ p[5] &= ~MPPE_128BIT;
-+ goto check_mppe_56;
-+ }
-+ if ((p[5] & ~MPPE_MPPC) == (MPPE_40BIT|MPPE_128BIT)) {
-+ newret = CONFNAK;
-+ if (ao->mppe_128) {
-+ ho->mppe_128 = 1;
-+ p[5] &= ~MPPE_40BIT;
-+ BCOPY(p, opt_buf, CILEN_MPPE);
-+ BCOPY(mppe_send_key, &opt_buf[CILEN_MPPE],
-+ MPPE_MAX_KEY_LEN);
-+ if (ccp_test(f->unit, opt_buf, CILEN_MPPE +
-+ MPPE_MAX_KEY_LEN, 1) <= 0) {
-+ ho->mppe_128 = 0;
-+ p[5] |= MPPE_40BIT;
-+ p[5] &= ~MPPE_128BIT;
-+ goto check_mppe_40;
-+ }
-+ goto check_mppe;
-+ }
-+ p[5] &= ~MPPE_128BIT;
-+ goto check_mppe_40;
-+ }
-+ if ((p[5] & ~MPPE_MPPC) == MPPE_128BIT) {
-+ if (ao->mppe_128) {
-+ ho->mppe_128 = 1;
-+ BCOPY(p, opt_buf, CILEN_MPPE);
-+ BCOPY(mppe_send_key, &opt_buf[CILEN_MPPE],
-+ MPPE_MAX_KEY_LEN);
-+ if (ccp_test(f->unit, opt_buf, CILEN_MPPE +
-+ MPPE_MAX_KEY_LEN, 1) <= 0) {
-+ ho->mppe_128 = 0;
-+ p[5] &= ~MPPE_128BIT;
-+ newret = CONFNAK;
-+ }
-+ goto check_mppe;
-+ }
-+ p[5] &= ~MPPE_128BIT;
-+ newret = CONFNAK;
-+ goto check_mppe;
-+ }
-+ check_mppe_56_40:
-+ if ((p[5] & ~MPPE_MPPC) == (MPPE_40BIT|MPPE_56BIT)) {
-+ newret = CONFNAK;
-+ if (ao->mppe_56) {
-+ ho->mppe_56 = 1;
-+ p[5] &= ~MPPE_40BIT;
-+ BCOPY(p, opt_buf, CILEN_MPPE);
-+ BCOPY(mppe_send_key, &opt_buf[CILEN_MPPE],
-+ MPPE_MAX_KEY_LEN);
-+ if (ccp_test(f->unit, opt_buf, CILEN_MPPE +
-+ MPPE_MAX_KEY_LEN, 1) <= 0) {
-+ ho->mppe_56 = 0;
-+ p[5] |= MPPE_40BIT;
-+ p[5] &= ~MPPE_56BIT;
-+ newret = CONFNAK;
-+ goto check_mppe_40;
-+ }
-+ goto check_mppe;
-+ }
-+ p[5] &= ~MPPE_56BIT;
-+ goto check_mppe_40;
-+ }
-+ check_mppe_56:
-+ if ((p[5] & ~MPPE_MPPC) == MPPE_56BIT) {
-+ if (ao->mppe_56) {
-+ ho->mppe_56 = 1;
-+ BCOPY(p, opt_buf, CILEN_MPPE);
-+ BCOPY(mppe_send_key, &opt_buf[CILEN_MPPE],
-+ MPPE_MAX_KEY_LEN);
-+ if (ccp_test(f->unit, opt_buf, CILEN_MPPE +
-+ MPPE_MAX_KEY_LEN, 1) <= 0) {
-+ ho->mppe_56 = 0;
-+ p[5] &= ~MPPE_56BIT;
-+ newret = CONFNAK;
-+ }
-+ goto check_mppe;
-+ }
-+ p[5] &= ~MPPE_56BIT;
-+ newret = CONFNAK;
-+ goto check_mppe;
-+ }
-+ check_mppe_40:
-+ if ((p[5] & ~MPPE_MPPC) == MPPE_40BIT) {
-+ if (ao->mppe_40) {
-+ ho->mppe_40 = 1;
-+ BCOPY(p, opt_buf, CILEN_MPPE);
-+ BCOPY(mppe_send_key, &opt_buf[CILEN_MPPE],
-+ MPPE_MAX_KEY_LEN);
-+ if (ccp_test(f->unit, opt_buf, CILEN_MPPE +
-+ MPPE_MAX_KEY_LEN, 1) <= 0) {
-+ ho->mppe_40 = 0;
-+ p[5] &= ~MPPE_40BIT;
-+ newret = CONFNAK;
-+ }
-+ goto check_mppe;
-+ }
-+ p[5] &= ~MPPE_40BIT;
-+ }
-+
-+ check_mppe:
-+ if (!ho->mppe_40 && !ho->mppe_56 && !ho->mppe_128) {
-+ if (wo->mppe_40 || wo->mppe_56 || wo->mppe_128) {
-+ newret = CONFNAK;
-+ p[2] |= (wo->mppe_stateless ? MPPE_STATELESS : 0);
-+ p[5] |= (wo->mppe_40 ? MPPE_40BIT : 0) |
-+ (wo->mppe_56 ? MPPE_56BIT : 0) |
-+ (wo->mppe_128 ? MPPE_128BIT : 0) |
-+ (wo->mppc ? MPPE_MPPC : 0);
-+ } else {
-+ ho->mppe = ho->mppe_stateless = 0;
- }
- } else {
-- /* Neither are set. */
-- /* We cannot accept this. */
-+ /* MPPE is not compatible with other compression types */
-+ if (wo->mppe) {
-+ ao->bsd_compress = 0;
-+ ao->predictor_1 = 0;
-+ ao->predictor_2 = 0;
-+ ao->deflate = 0;
-+ ao->lzs = 0;
-+ }
-+ }
-+ if ((!ho->mppc || !ao->mppc) && !ho->mppe) {
-+ p[2] = p2;
-+ p[5] = p5;
- newret = CONFNAK;
- /* Give the peer our idea of what can be used,
- so it can choose and confirm */
- ho->mppe = ao->mppe;
- }
-
-- /* rebuild the opts */
-- MPPE_OPTS_TO_CI(ho->mppe, &p[2]);
-- if (newret == CONFACK) {
-- u_char opt_buf[CILEN_MPPE + MPPE_MAX_KEY_LEN];
-- int mtu;
--
-- BCOPY(p, opt_buf, CILEN_MPPE);
-- BCOPY(mppe_send_key, &opt_buf[CILEN_MPPE],
-- MPPE_MAX_KEY_LEN);
-- if (ccp_test(f->unit, opt_buf,
-- CILEN_MPPE + MPPE_MAX_KEY_LEN, 1) <= 0) {
-- /* This shouldn't happen, we've already tested it! */
-- error("MPPE required, but kernel has no support.");
-- lcp_close(f->unit, "MPPE required but not available");
-- newret = CONFREJ;
-- break;
-- }
-- /*
-- * We need to decrease the interface MTU by MPPE_PAD
-- * because MPPE frames **grow**. The kernel [must]
-- * allocate MPPE_PAD extra bytes in xmit buffers.
-- */
-- mtu = netif_get_mtu(f->unit);
-- if (mtu)
-- netif_set_mtu(f->unit, mtu - MPPE_PAD);
-- else
-- newret = CONFREJ;
-- }
-+ /*
-+ * I have commented the code below because according to RFC1547
-+ * MTU is only information for higher level protocols about
-+ * "the maximum allowable length for a packet (q.v.) transmitted
-+ * over a point-to-point link without incurring network layer
-+ * fragmentation." Of course a PPP implementation should be able
-+ * to handle overhead added by MPPE - in our case apropriate code
-+ * is located in drivers/net/ppp_generic.c in the kernel sources.
-+ *
-+ * According to RFC1661:
-+ * - when negotiated MRU is less than 1500 octets, a PPP
-+ * implementation must still be able to receive at least 1500
-+ * octets,
-+ * - when PFC is negotiated, a PPP implementation is still
-+ * required to receive frames with uncompressed protocol field.
-+ *
-+ * So why not to handle MPPE overhead without changing MTU value?
-+ * I am sure that RFC3078, unfortunately silently, assumes that.
-+ */
-
- /*
-- * We have accepted MPPE or are willing to negotiate
-- * MPPE parameters. A CONFREJ is due to subsequent
-- * (non-MPPE) processing.
-+ * We need to decrease the interface MTU by MPPE_PAD
-+ * because MPPE frames **grow**. The kernel [must]
-+ * allocate MPPE_PAD extra bytes in xmit buffers.
- */
-- rej_for_ci_mppe = 0;
-+/*
-+ mtu = netif_get_mtu(f->unit);
-+ if (mtu) {
-+ netif_set_mtu(f->unit, mtu - MPPE_PAD);
-+ } else {
-+ newret = CONFREJ;
-+ if (ccp_wantoptions[f->unit].mppe) {
-+ error("Cannot adjust MTU needed by MPPE.");
-+ lcp_close(f->unit, "Cannot adjust MTU needed by MPPE.");
-+ }
-+ }
-+*/
- break;
- #endif /* MPPE */
-+
-+ case CI_LZS:
-+ if (!ao->lzs || clen != CILEN_LZS) {
-+ newret = CONFREJ;
-+ break;
-+ }
-+
-+ ho->lzs = 1;
-+ ho->lzs_hists = (p[2] << 8) | p[3];
-+ ho->lzs_mode = p[4];
-+ if ((ho->lzs_hists != ao->lzs_hists) ||
-+ (ho->lzs_mode != ao->lzs_mode)) {
-+ newret = CONFNAK;
-+ if (!dont_nak) {
-+ p[2] = ao->lzs_hists >> 8;
-+ p[3] = ao->lzs_hists & 0xff;
-+ p[4] = ao->lzs_mode;
-+ } else
-+ break;
-+ }
-+
-+ if (p == p0 && ccp_test(f->unit, p, CILEN_LZS, 1) <= 0) {
-+ newret = CONFREJ;
-+ }
-+ break;
-+
- case CI_DEFLATE:
- case CI_DEFLATE_DRAFT:
- if (!ao->deflate || clen != CILEN_DEFLATE
-@@ -1344,12 +1835,6 @@ ccp_reqci(f, p, lenp, dont_nak)
- else
- *lenp = retp - p0;
- }
--#ifdef MPPE
-- if (ret == CONFREJ && ao->mppe && rej_for_ci_mppe) {
-- error("MPPE required but peer negotiation failed");
-- lcp_close(f->unit, "MPPE required but peer negotiation failed");
-- }
--#endif
- return ret;
- }
-
-@@ -1371,24 +1856,35 @@ method_name(opt, opt2)
- char *p = result;
- char *q = result + sizeof(result); /* 1 past result */
-
-- slprintf(p, q - p, "MPPE ");
-- p += 5;
-- if (opt->mppe & MPPE_OPT_128) {
-- slprintf(p, q - p, "128-bit ");
-- p += 8;
-- }
-- if (opt->mppe & MPPE_OPT_40) {
-- slprintf(p, q - p, "40-bit ");
-- p += 7;
-- }
-- if (opt->mppe & MPPE_OPT_STATEFUL)
-- slprintf(p, q - p, "stateful");
-- else
-- slprintf(p, q - p, "stateless");
--
-+ if (opt->mppe) {
-+ if (opt->mppc) {
-+ slprintf(p, q - p, "MPPC/MPPE ");
-+ p += 10;
-+ } else {
-+ slprintf(p, q - p, "MPPE ");
-+ p += 5;
-+ }
-+ if (opt->mppe_128) {
-+ slprintf(p, q - p, "128-bit ");
-+ p += 8;
-+ } else if (opt->mppe_56) {
-+ slprintf(p, q - p, "56-bit ");
-+ p += 7;
-+ } else if (opt->mppe_40) {
-+ slprintf(p, q - p, "40-bit ");
-+ p += 7;
-+ }
-+ if (opt->mppe_stateless)
-+ slprintf(p, q - p, "stateless");
-+ else
-+ slprintf(p, q - p, "stateful");
-+ } else if (opt->mppc)
-+ slprintf(p, q - p, "MPPC");
- break;
- }
--#endif
-+#endif /* MPPE */
-+ case CI_LZS:
-+ return "Stac LZS";
- case CI_DEFLATE:
- case CI_DEFLATE_DRAFT:
- if (opt2 != NULL && opt2->deflate_size != opt->deflate_size)
-@@ -1444,12 +1940,12 @@ ccp_up(f)
- } else if (ANY_COMPRESS(*ho))
- notice("%s transmit compression enabled", method_name(ho, NULL));
- #ifdef MPPE
-- if (go->mppe) {
-+ if (go->mppe || go->mppc) {
- BZERO(mppe_recv_key, MPPE_MAX_KEY_LEN);
- BZERO(mppe_send_key, MPPE_MAX_KEY_LEN);
- continue_networks(f->unit); /* Bring up IP et al */
- }
--#endif
-+#endif /* MPPE */
- }
-
- /*
-@@ -1472,7 +1968,7 @@ ccp_down(f)
- lcp_close(f->unit, "MPPE disabled");
- }
- }
--#endif
-+#endif /* MPPE */
- }
-
- /*
-@@ -1532,24 +2028,28 @@ ccp_printpkt(p, plen, printer, arg)
- #ifdef MPPE
- case CI_MPPE:
- if (optlen >= CILEN_MPPE) {
-- u_char mppe_opts;
--
-- MPPE_CI_TO_OPTS(&p[2], mppe_opts);
-- printer(arg, "mppe %s %s %s %s %s %s%s",
-- (p[2] & MPPE_H_BIT)? "+H": "-H",
-- (p[5] & MPPE_M_BIT)? "+M": "-M",
-- (p[5] & MPPE_S_BIT)? "+S": "-S",
-- (p[5] & MPPE_L_BIT)? "+L": "-L",
-+ printer(arg, "mppe %s %s %s %s %s %s",
-+ (p[2] & MPPE_STATELESS)? "+H": "-H",
-+ (p[5] & MPPE_56BIT)? "+M": "-M",
-+ (p[5] & MPPE_128BIT)? "+S": "-S",
-+ (p[5] & MPPE_40BIT)? "+L": "-L",
- (p[5] & MPPE_D_BIT)? "+D": "-D",
-- (p[5] & MPPE_C_BIT)? "+C": "-C",
-- (mppe_opts & MPPE_OPT_UNKNOWN)? " +U": "");
-- if (mppe_opts & MPPE_OPT_UNKNOWN)
-+ (p[5] & MPPE_MPPC)? "+C": "-C");
-+ if ((p[5] & ~(MPPE_56BIT | MPPE_128BIT | MPPE_40BIT |
-+ MPPE_D_BIT | MPPE_MPPC)) ||
-+ (p[2] & ~MPPE_STATELESS))
- printer(arg, " (%.2x %.2x %.2x %.2x)",
- p[2], p[3], p[4], p[5]);
- p += CILEN_MPPE;
- }
- break;
--#endif
-+#endif /* MPPE */
-+ case CI_LZS:
-+ if (optlen >= CILEN_LZS) {
-+ printer(arg, "lzs %.2x %.2x %.2x", p[2], p[3], p[4]);
-+ p += CILEN_LZS;
-+ }
-+ break;
- case CI_DEFLATE:
- case CI_DEFLATE_DRAFT:
- if (optlen >= CILEN_DEFLATE) {
-@@ -1635,6 +2135,7 @@ ccp_datainput(unit, pkt, len)
- error("Lost compression sync: disabling compression");
- ccp_close(unit, "Lost compression sync");
- #ifdef MPPE
-+ /* My module dosn't need this. J.D., 2003-07-06 */
- /*
- * If we were doing MPPE, we must also take the link down.
- */
-@@ -1642,9 +2143,18 @@ ccp_datainput(unit, pkt, len)
- error("Too many MPPE errors, closing LCP");
- lcp_close(unit, "Too many MPPE errors");
- }
--#endif
-+#endif /* MPPE */
- } else {
- /*
-+ * When LZS or MPPE/MPPC is negotiated we just send CCP_RESETREQ
-+ * and don't wait for CCP_RESETACK
-+ */
-+ if ((ccp_gotoptions[f->unit].method == CI_LZS) ||
-+ (ccp_gotoptions[f->unit].method == CI_MPPE)) {
-+ fsm_sdata(f, CCP_RESETREQ, f->reqid = ++f->id, NULL, 0);
-+ return;
-+ }
-+ /*
- * Send a reset-request to reset the peer's compressor.
- * We don't do that if we are still waiting for an
- * acknowledgement to a previous reset-request.
-@@ -1675,4 +2185,3 @@ ccp_rack_timeout(arg)
- } else
- ccp_localstate[f->unit] &= ~RACK_PENDING;
- }
--
diff --git a/package/ppp/patches/patch-pppd_ccp_h b/package/ppp/patches/patch-pppd_ccp_h
deleted file mode 100644
index fe2c387..0000000
--- a/package/ppp/patches/patch-pppd_ccp_h
+++ /dev/null
@@ -1,20 +0,0 @@
---- ppp-2.4.4.orig/pppd/ccp.h 2004-11-04 11:02:26.000000000 +0100
-+++ ppp-2.4.4/pppd/ccp.h 2009-06-05 19:12:00.000000000 +0200
-@@ -37,9 +37,17 @@ typedef struct ccp_options {
- bool predictor_2; /* do Predictor-2? */
- bool deflate_correct; /* use correct code for deflate? */
- bool deflate_draft; /* use draft RFC code for deflate? */
-+ bool lzs; /* do Stac LZS? */
-+ bool mppc; /* do MPPC? */
- bool mppe; /* do MPPE? */
-+ bool mppe_40; /* allow 40 bit encryption? */
-+ bool mppe_56; /* allow 56 bit encryption? */
-+ bool mppe_128; /* allow 128 bit encryption? */
-+ bool mppe_stateless; /* allow stateless encryption */
- u_short bsd_bits; /* # bits/code for BSD Compress */
- u_short deflate_size; /* lg(window size) for Deflate */
-+ u_short lzs_mode; /* LZS check mode */
-+ u_short lzs_hists; /* number of LZS histories */
- short method; /* code for chosen compression method */
- } ccp_options;
-
diff --git a/package/ppp/patches/patch-pppd_chap_ms_c b/package/ppp/patches/patch-pppd_chap_ms_c
deleted file mode 100644
index b829221..0000000
--- a/package/ppp/patches/patch-pppd_chap_ms_c
+++ /dev/null
@@ -1,22 +0,0 @@
---- ppp-2.4.5.orig/pppd/chap_ms.c 2009-11-16 23:26:07.000000000 +0100
-+++ ppp-2.4.5/pppd/chap_ms.c 2011-01-16 15:51:05.000000000 +0100
-@@ -898,13 +898,17 @@ set_mppe_enc_types(int policy, int types
- /*
- * Disable undesirable encryption types. Note that we don't ENABLE
- * any encryption types, to avoid overriding manual configuration.
-+ *
-+ * It seems that 56 bit keys are unsupported in MS-RADIUS (see RFC 2548)
- */
- switch(types) {
- case MPPE_ENC_TYPES_RC4_40:
-- ccp_wantoptions[0].mppe &= ~MPPE_OPT_128; /* disable 128-bit */
-+ ccp_wantoptions[0].mppe_128 = 0; /* disable 128-bit */
-+ ccp_wantoptions[0].mppe_56 = 0; /* disable 56-bit */
- break;
- case MPPE_ENC_TYPES_RC4_128:
-- ccp_wantoptions[0].mppe &= ~MPPE_OPT_40; /* disable 40-bit */
-+ ccp_wantoptions[0].mppe_56 = 0; /* disable 56-bit */
-+ ccp_wantoptions[0].mppe_40 = 0; /* disable 40-bit */
- break;
- default:
- break;
diff --git a/package/ppp/patches/patch-pppd_plugins_Makefile_linux b/package/ppp/patches/patch-pppd_plugins_Makefile_linux
index 9f78f3d..8351654 100644
--- a/package/ppp/patches/patch-pppd_plugins_Makefile_linux
+++ b/package/ppp/patches/patch-pppd_plugins_Makefile_linux
@@ -1,29 +1,47 @@
--- ppp-2.4.5.orig/pppd/plugins/Makefile.linux 2009-11-16 23:26:07.000000000 +0100
-+++ ppp-2.4.5/pppd/plugins/Makefile.linux 2011-01-16 17:14:34.000000000 +0100
-@@ -1,13 +1,8 @@
++++ ppp-2.4.5/pppd/plugins/Makefile.linux 2011-01-21 21:29:58.118658260 +0100
+@@ -1,13 +1,13 @@
-#CC = gcc
-COPTS = -O2 -g
-CFLAGS = $(COPTS) -I.. -I../../include -fPIC
-LDFLAGS = -shared
-INSTALL = install
-+include ../../makedefs.linux
++#
++# makefile for pppd/plugins
++#
++VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../patchlevel.h)
-DESTDIR = $(INSTROOT)@DESTDIR@
-BINDIR = $(DESTDIR)/sbin
-MANDIR = $(DESTDIR)/share/man/man8
-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
++include ../../Makedefs.com
++
+CPPFLAGS += -I.. -I../../include
-+CFLAGS += -fPIC
++CFLAGS += -fPIC
+LDFLAGS += -shared
SUBDIRS := rp-pppoe pppoatm pppol2tp
# Uncomment the next line to include the radius authentication plugin
-@@ -23,7 +18,7 @@ all: $(PLUGINS)
+@@ -23,12 +23,10 @@ all: $(PLUGINS)
for d in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$d all; done
%.so: %.c
- $(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^
-+ $(CC) -o $@ $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) $^
+-
+-VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../patchlevel.h)
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^
- VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../patchlevel.h)
+ install: $(PLUGINS)
+- $(INSTALL) -d $(LIBDIR)
++ $(INSTALL) -d -m 755 $(LIBDIR)
+ $(INSTALL) $? $(LIBDIR)
+ for d in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$d install; done
+@@ -37,5 +35,4 @@ clean:
+ for d in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$d clean; done
+
+ depend:
+- $(CPP) -M $(CFLAGS) *.c >.depend
+- for d in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$d depend; done
++ $(CPP) -M $(CPPFLAGS) *.c >.depend
diff --git a/package/ppp/patches/patch-pppd_plugins_pppoatm_Makefile_linux b/package/ppp/patches/patch-pppd_plugins_pppoatm_Makefile_linux
index e7fb3f5..32a86ea 100644
--- a/package/ppp/patches/patch-pppd_plugins_pppoatm_Makefile_linux
+++ b/package/ppp/patches/patch-pppd_plugins_pppoatm_Makefile_linux
@@ -1,36 +1,60 @@
--- ppp-2.4.5.orig/pppd/plugins/pppoatm/Makefile.linux 2009-11-16 23:26:07.000000000 +0100
-+++ ppp-2.4.5/pppd/plugins/pppoatm/Makefile.linux 2011-01-16 21:12:55.000000000 +0100
-@@ -1,13 +1,10 @@
++++ ppp-2.4.5/pppd/plugins/pppoatm/Makefile.linux 2011-01-21 21:29:58.177408277 +0100
+@@ -1,15 +1,16 @@
-#CC = gcc
-COPTS = -O2 -g
-CFLAGS = $(COPTS) -I../.. -I../../../include -fPIC
-LDFLAGS = -shared
-INSTALL = install
-+include ../../../makedefs.linux
++VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
-#***********************************************************************
-+CPPFLAGS += -I../.. -I../../../include
-+CFLAGS += -fPIC
-+LDFLAGS += -shared
++include ../../../Makedefs.com
-DESTDIR = $(INSTROOT)@DESTDIR@
-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
++CPPFLAGS += -I../.. -I../../../include
++ifeq (,$(filter -fPIC,$(CFLAGS)))
++CFLAGS += -fPIC
++endif
++ifeq (,$(filter -shared,$(LDFLAGS)))
++LDFLAGS += -shared
++endif
+
+-VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
+#***********************************************************************
- VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
+ PLUGIN := pppoatm.so
+ PLUGIN_OBJS := pppoatm.o
+@@ -22,25 +23,22 @@ PLUGIN_OBJS := pppoatm.o
+ #HAVE_LIBATM=yes
+
+ ifdef HAVE_LIBATM
+-LIBS := -latm
++LIBS += -latm
+ else
+-CFLAGS += -I.
++CPPFLAGS += -I.
+ PLUGIN_OBJS += text2qos.o text2atm.o misc.o ans.o
+-LIBS := -lresolv
++LIBS += -lresolv
+ endif
-@@ -33,7 +30,7 @@ endif
+ #*********
all: $(PLUGIN)
$(PLUGIN): $(PLUGIN_OBJS)
- $(CC) $(CFLAGS) -o $@ -shared $^ $(LIBS)
+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
- install: all
+-install: all
++install: $(PLUGIN)
$(INSTALL) -d -m 755 $(LIBDIR)
-@@ -43,4 +40,4 @@ clean:
- rm -f *.o *.so
+- $(INSTALL) -c -m 4550 $(PLUGIN) $(LIBDIR)
++ $(INSTALL) $(STRIP) -c -m 4550 $(PLUGIN) $(LIBDIR)
- %.o: %.c
+ clean:
+ rm -f *.o *.so
+-
+-%.o: %.c
- $(CC) $(CFLAGS) -c -o $@ $<
-+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
diff --git a/package/ppp/patches/patch-pppd_plugins_pppol2tp_Makefile_linux b/package/ppp/patches/patch-pppd_plugins_pppol2tp_Makefile_linux
index 4c46c59..481f1e4 100644
--- a/package/ppp/patches/patch-pppd_plugins_pppol2tp_Makefile_linux
+++ b/package/ppp/patches/patch-pppd_plugins_pppol2tp_Makefile_linux
@@ -1,41 +1,45 @@
--- ppp-2.4.5.orig/pppd/plugins/pppol2tp/Makefile.linux 2009-11-16 23:26:07.000000000 +0100
-+++ ppp-2.4.5/pppd/plugins/pppol2tp/Makefile.linux 2011-01-16 21:32:19.000000000 +0100
-@@ -1,13 +1,10 @@
++++ ppp-2.4.5/pppd/plugins/pppol2tp/Makefile.linux 2011-01-21 21:30:05.208658673 +0100
+@@ -1,29 +1,27 @@
-#CC = gcc
-COPTS = -O2 -g
-CFLAGS = $(COPTS) -I. -I../.. -I../../../include -fPIC
-LDFLAGS = -shared
-INSTALL = install
-+include ../../../makedefs.linux
++VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
-#***********************************************************************
-+CPPFLAGS += -I. -I../.. -I../../../include
-+#CFLAGS += -fPIC
-+#LDFLAGS += -shared
++include ../../../Makedefs.com
-DESTDIR = @DESTDIR@
-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
++CPPFLAGS += -I. -I../.. -I../../../include
++ifeq (,$(filter -fPIC,$(CFLAGS)))
++CFLAGS += -fPIC
++endif
++ifeq (,$(filter -shared,$(LDFLAGS)))
++LDFLAGS += -shared
++endif
+
+-VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
+#***********************************************************************
- VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
+ PLUGINS := pppol2tp.so openl2tp.so
-@@ -16,7 +13,11 @@ PLUGINS := pppol2tp.so openl2tp.so
all: $(PLUGINS)
%.so: %.o
- $(CC) $(CFLAGS) -o $@ -shared $^ $(LIBS)
+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
-+ echo $(LDFLAGS)
-+
-+%.o: %.c
-+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
- install: all
+-install: all
++install: $(PLUGINS)
$(INSTALL) -d -m 755 $(LIBDIR)
-@@ -25,5 +26,4 @@ install: all
+- $(INSTALL) -c -m 4550 $(PLUGINS) $(LIBDIR)
++ $(INSTALL) $(STRIP) -c -m 755 $(PLUGINS) $(LIBDIR)
+
clean:
rm -f *.o *.so
-
+-
-%.o: %.c
- $(CC) $(CFLAGS) -c -o $@ $<
-+.PHONY: clean
diff --git a/package/ppp/patches/patch-pppd_plugins_radius_Makefile_linux b/package/ppp/patches/patch-pppd_plugins_radius_Makefile_linux
index d01aeb8..4c71232 100644
--- a/package/ppp/patches/patch-pppd_plugins_radius_Makefile_linux
+++ b/package/ppp/patches/patch-pppd_plugins_radius_Makefile_linux
@@ -1,58 +1,94 @@
--- ppp-2.4.5.orig/pppd/plugins/radius/Makefile.linux 2009-11-16 23:26:07.000000000 +0100
-+++ ppp-2.4.5/pppd/plugins/radius/Makefile.linux 2011-01-16 21:35:47.000000000 +0100
-@@ -1,18 +1,14 @@
++++ ppp-2.4.5/pppd/plugins/radius/Makefile.linux 2011-01-21 21:29:58.278658282 +0100
+@@ -1,18 +1,20 @@
# Makefile for RADIUS plugin
- #
- # Copyright 2002 Roaring Penguin Software Inc.
-#
+ # Copyright 2002 Roaring Penguin Software Inc.
+ #
-DESTDIR = $(INSTROOT)@DESTDIR@
-MANDIR = $(DESTDIR)/share/man/man8
-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
-+include ../../../makedefs.linux
-
--VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
-+CPPFLAGS+=-I. -I../.. -I../../../include -DRC_LOG_FACILITY=LOG_DAEMON
+-
+ VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
-INSTALL = install
-+VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
++include ../../../Makedefs.com
- PLUGIN=radius.so radattr.so radrealms.so
+-PLUGIN=radius.so radattr.so radrealms.so
-CFLAGS=-I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
++CPPFLAGS += -I. -I../.. -I../../../include -DRC_LOG_FACILITY=LOG_DAEMON
++ifeq (,$(filter -fPIC,$(CFLAGS)))
++CFLAGS += -fPIC
++endif
++ifeq (,$(filter -shared,$(LDFLAGS)))
++LDFLAGS += -shared
++endif
++
++PLUGINS = radius.so radattr.so radrealms.so
# Uncomment the next line to include support for Microsoft's
# MS-CHAP authentication protocol.
-@@ -36,25 +32,26 @@ all: $(PLUGIN)
+@@ -23,43 +25,40 @@ MPPE=y
+ MAXOCTETS=y
+
+ ifdef CHAPMS
+-CFLAGS += -DCHAPMS=1
++CPPFLAGS += -DCHAPMS=1
+ ifdef MPPE
+-CFLAGS += -DMPPE=1
++CPPFLAGS += -DMPPE=1
+ endif
+ endif
+ ifdef MAXOCTETS
+-CFLAGS += -DMAXOCTETS=1
++CPPFLAGS += -DMAXOCTETS=1
+ endif
+
+-all: $(PLUGIN)
++CLIENTOBJS = avpair.o buildreq.o config.o dict.o ip_util.o \
++ clientid.o sendserver.o lock.o util.o md5.o
- install: all
- $(INSTALL) -d -m 755 $(LIBDIR)
+-install: all
+- $(INSTALL) -d -m 755 $(LIBDIR)
- $(INSTALL) -s -c -m 755 radius.so $(LIBDIR)
- $(INSTALL) -s -c -m 755 radattr.so $(LIBDIR)
- $(INSTALL) -s -c -m 755 radrealms.so $(LIBDIR)
-+ $(INSTALL) -c -m 755 radius.so $(LIBDIR)
-+ $(INSTALL) -c -m 755 radattr.so $(LIBDIR)
-+ $(INSTALL) -c -m 755 radrealms.so $(LIBDIR)
- $(INSTALL) -c -m 444 pppd-radius.8 $(MANDIR)
- $(INSTALL) -c -m 444 pppd-radattr.8 $(MANDIR)
+- $(INSTALL) -c -m 444 pppd-radius.8 $(MANDIR)
+- $(INSTALL) -c -m 444 pppd-radattr.8 $(MANDIR)
++all: $(PLUGINS)
radius.so: radius.o libradiusclient.a
- $(CC) -o radius.so -shared radius.o libradiusclient.a
-+ $(CC) $(LDFLAGS) -o radius.so radius.o libradiusclient.a
++ $(CC) $(LDFLAGS) -o $@ $^
radattr.so: radattr.o
- $(CC) -o radattr.so -shared radattr.o
-+ $(CC) $(LDFLAGS) -o radattr.so radattr.o
++ $(CC) $(LDFLAGS) -o $@ $^
radrealms.so: radrealms.o
- $(CC) -o radrealms.so -shared radrealms.o
-+ $(CC) $(LDFLAGS) -o radrealms.so radrealms.o
++ $(CC) $(LDFLAGS) -o $@ $^
- CLIENTOBJS = avpair.o buildreq.o config.o dict.o ip_util.o \
- clientid.o sendserver.o lock.o util.o md5.o
-+
+-CLIENTOBJS = avpair.o buildreq.o config.o dict.o ip_util.o \
+- clientid.o sendserver.o lock.o util.o md5.o
libradiusclient.a: $(CLIENTOBJS)
- $(AR) rv $@ $?
-+ $(TARGET_AR) rcsv $@ $?
++ $(AR) $(ARFLAGS) $@ $?
+
+-clean:
+- rm -f *.o *.so *.a
++install: $(PLUGINS)
++ $(INSTALL) -d -m 755 $(LIBDIR)
++ $(INSTALL) -d -m 755 $(MANDIR)
++ $(INSTALL) $(STRIP) -c -m 755 radius.so $(LIBDIR)
++ $(INSTALL) $(STRIP) -c -m 755 radattr.so $(LIBDIR)
++ $(INSTALL) $(STRIP) -c -m 755 radrealms.so $(LIBDIR)
++ $(INSTALL) -c -m 444 pppd-radius.8 $(MANDIR)
++ $(INSTALL) -c -m 444 pppd-radattr.8 $(MANDIR)
- clean:
+-distclean:
++clean:
rm -f *.o *.so *.a
+-
+-dist-clean: distclean
diff --git a/package/ppp/patches/patch-pppd_plugins_rp-pppoe_Makefile_linux b/package/ppp/patches/patch-pppd_plugins_rp-pppoe_Makefile_linux
index 09d845f..844525b 100644
--- a/package/ppp/patches/patch-pppd_plugins_rp-pppoe_Makefile_linux
+++ b/package/ppp/patches/patch-pppd_plugins_rp-pppoe_Makefile_linux
@@ -1,50 +1,51 @@
--- ppp-2.4.5.orig/pppd/plugins/rp-pppoe/Makefile.linux 2009-11-16 23:26:07.000000000 +0100
-+++ ppp-2.4.5/pppd/plugins/rp-pppoe/Makefile.linux 2011-01-16 21:38:08.000000000 +0100
-@@ -1,6 +1,3 @@
++++ ppp-2.4.5/pppd/plugins/rp-pppoe/Makefile.linux 2011-01-21 21:29:58.318658312 +0100
+@@ -1,6 +1,4 @@
-# Generated automatically from Makefile.in by configure.
--#***********************************************************************
+ #***********************************************************************
-#
# Makefile
#
# Makefile for Roaring Penguin's Linux PPPoE plugin.
-@@ -13,52 +10,50 @@
- #
+@@ -14,51 +12,35 @@
# $Id: Makefile.linux,v 1.8 2008/06/09 08:34:23 paulus Exp $
#***********************************************************************
--
+
-DESTDIR = $(INSTROOT)@DESTDIR@
-BINDIR = $(DESTDIR)/sbin
-LIBDIR = $(DESTDIR)/lib/pppd/$(PPPDVERSION)
-
-PPPDVERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
--
++VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
+
-INSTALL = install
-+include ../../../makedefs.linux
++include ../../../Makedefs.com
# Version is set ONLY IN THE MAKEFILE! Don't delete this!
RP_VERSION=3.8p
-COPTS=-O2 -g
-CFLAGS=$(COPTS) -I../../../include '-DRP_VERSION="$(RP_VERSION)"'
-+CPPFLAGS += -I../../.. -I../../../include '-DRP_VERSION="$(RP_VERSION)"'
++CPPFLAGS += -I../../../include -I../../..
++CPPFLAGS += '-DRP_VERSION="$(RP_VERSION)"'
++ifeq (,$(filter -fPIC,$(CFLAGS)))
+CFLAGS += -fPIC
++endif
++ifeq (,$(filter -shared,$(LDFLAGS)))
+LDFLAGS += -shared
-+
-+VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
++endif
+
all: rp-pppoe.so pppoe-discovery
pppoe-discovery: pppoe-discovery.o debug.o
- $(CC) -o pppoe-discovery pppoe-discovery.o debug.o
-+ $(CC) $(LDFLAGS) -o pppoe-discovery pppoe-discovery.o debug.o
-
- pppoe-discovery.o: pppoe-discovery.c
+-
+-pppoe-discovery.o: pppoe-discovery.c
- $(CC) $(CFLAGS) -c -o pppoe-discovery.o pppoe-discovery.c
-+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $^
-
- debug.o: debug.c
+-
+-debug.o: debug.c
- $(CC) $(CFLAGS) -c -o debug.o debug.c
-+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $^
++ $(CC) $(LDFLAGS) -o $@ $^
rp-pppoe.so: plugin.o discovery.o if.o common.o
- $(CC) -o rp-pppoe.so -shared plugin.o discovery.o if.o common.o
@@ -53,28 +54,23 @@
install: all
$(INSTALL) -d -m 755 $(LIBDIR)
- $(INSTALL) -s -c -m 4550 rp-pppoe.so $(LIBDIR)
-+ $(INSTALL) -c -m 4550 rp-pppoe.so $(LIBDIR)
++ $(INSTALL) $(STRIP) -c -m 4550 rp-pppoe.so $(LIBDIR)
$(INSTALL) -d -m 755 $(BINDIR)
- $(INSTALL) -s -c -m 555 pppoe-discovery $(BINDIR)
-+ $(INSTALL) -c -m 555 pppoe-discovery $(BINDIR)
++ $(INSTALL) $(STRIP) -c -m 555 pppoe-discovery $(BINDIR)
clean:
rm -f *.o *.so pppoe-discovery
-
- plugin.o: plugin.c
+-
+-plugin.o: plugin.c
- $(CC) $(CFLAGS) -I../../.. -c -o plugin.o -fPIC plugin.c
-+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o plugin.o plugin.c
-
- discovery.o: discovery.c
+-
+-discovery.o: discovery.c
- $(CC) $(CFLAGS) -I../../.. -c -o discovery.o -fPIC discovery.c
-+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o discovery.o discovery.c
-
- if.o: if.c
+-
+-if.o: if.c
- $(CC) $(CFLAGS) -I../../.. -c -o if.o -fPIC if.c
-+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o if.o if.c
-
- common.o: common.c
+-
+-common.o: common.c
- $(CC) $(CFLAGS) -I../../.. -c -o common.o -fPIC common.c
-+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o common.o common.c
-
-+.PHONY: clean
+-
diff --git a/package/ppp/patches/patch-pppd_sys-linux_c b/package/ppp/patches/patch-pppd_sys-linux_c
deleted file mode 100644
index 94c9e7a..0000000
--- a/package/ppp/patches/patch-pppd_sys-linux_c
+++ /dev/null
@@ -1,16 +0,0 @@
---- ppp-2.4.4.orig/pppd/sys-linux.c 2005-08-27 00:44:35.000000000 +0200
-+++ ppp-2.4.4/pppd/sys-linux.c 2009-06-05 19:12:00.000000000 +0200
-@@ -453,6 +453,13 @@ int generic_establish_ppp (int fd)
- if (new_style_driver) {
- int flags;
-
-+ /* if a ppp_fd is already open, close it first */
-+ if(ppp_fd > 0) {
-+ close(ppp_fd);
-+ remove_fd(ppp_fd);
-+ ppp_fd = -1;
-+ }
-+
- /* Open an instance of /dev/ppp and connect the channel to it */
- if (ioctl(fd, PPPIOCGCHAN, &chindex) == -1) {
- error("Couldn't get channel number: %m");
diff --git a/package/ppp/patches/patch-pppdump_Makefile_linux b/package/ppp/patches/patch-pppdump_Makefile_linux
index 796548a..3c44233 100644
--- a/package/ppp/patches/patch-pppdump_Makefile_linux
+++ b/package/ppp/patches/patch-pppdump_Makefile_linux
@@ -1,33 +1,40 @@
--- ppp-2.4.5.orig/pppdump/Makefile.linux 2009-11-16 23:26:07.000000000 +0100
-+++ ppp-2.4.5/pppdump/Makefile.linux 2011-01-16 16:58:39.000000000 +0100
-@@ -1,21 +1,19 @@
++++ ppp-2.4.5/pppdump/Makefile.linux 2011-01-21 21:29:58.380124461 +0100
+@@ -1,21 +1,24 @@
-DESTDIR = $(INSTROOT)@DESTDIR@
-BINDIR = $(DESTDIR)/sbin
-MANDIR = $(DESTDIR)/share/man/man8
-+include ../makedefs.linux
++#
++# pppdump makefile
++# $id$
++#
-CFLAGS= -O -I../include/net
-+CPPFLAGS+= -I../include/net
- OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
+-OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
++include ../Makedefs.com
-INSTALL= install
--
- all: pppdump
++CPPFLAGS += -I../include/net
- pppdump: $(OBJS)
+-all: pppdump
++PROG = pppdump
++OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
+
+-pppdump: $(OBJS)
- $(CC) -o pppdump $(OBJS)
--
++all: $(PROG)
+
-clean:
- rm -f pppdump $(OBJS) *~
-+ $(CC) $(LDFLAGS) -o pppdump $(OBJS)
++$(PROG): $(OBJS)
install:
- mkdir -p $(BINDIR) $(MANDIR)
+- mkdir -p $(BINDIR) $(MANDIR)
- $(INSTALL) -s -c pppdump $(BINDIR)
-+ $(INSTALL) -c pppdump $(BINDIR)
++ $(INSTALL) -d -m 755 $(BINDIR)
++ $(INSTALL) -d -m 755 $(MANDIR)
++ $(INSTALL) $(STRIP) -c $(PROG) $(BINDIR)
$(INSTALL) -c -m 444 pppdump.8 $(MANDIR)
+
+clean:
-+ rm -f pppdump $(OBJS) *~
-+
-+.PHONY: clean
++ rm -f $(PROG) $(OBJS) *~
diff --git a/package/ppp/patches/patch-pppstats_Makefile_linux b/package/ppp/patches/patch-pppstats_Makefile_linux
index 81dfd92..d08bab0 100644
--- a/package/ppp/patches/patch-pppstats_Makefile_linux
+++ b/package/ppp/patches/patch-pppstats_Makefile_linux
@@ -1,48 +1,50 @@
--- ppp-2.4.5.orig/pppstats/Makefile.linux 2009-11-16 23:26:07.000000000 +0100
-+++ ppp-2.4.5/pppstats/Makefile.linux 2011-01-16 17:11:22.000000000 +0100
-@@ -1,36 +1,27 @@
- #
++++ ppp-2.4.5/pppstats/Makefile.linux 2011-01-21 21:29:58.437408223 +0100
+@@ -2,35 +2,26 @@
# pppstats makefile
# $Id: Makefile.linux,v 1.9 2006/06/04 05:07:46 paulus Exp $
--#
+ #
-DESTDIR = $(INSTROOT)@DESTDIR@
-BINDIR = $(DESTDIR)/sbin
-MANDIR = $(DESTDIR)/share/man/man8
-+include ../makedefs.linux
-+
-+CPPFLAGS += -I../include
- PPPSTATSRCS = pppstats.c
- PPPSTATOBJS = pppstats.o
+-PPPSTATSRCS = pppstats.c
+-PPPSTATOBJS = pppstats.o
++include ../Makedefs.com
-#CC = gcc
-COPTS = -O
-COMPILE_FLAGS = -I../include
-LIBS =
--
++CPPFLAGS += -I../include
+
-INSTALL= install
--
++PROG = pppstats
++OBJS = pppstats.o
++SRCS = pppstats.c
+
-CFLAGS = $(COPTS) $(COMPILE_FLAGS)
--
- all: pppstats
++all: $(PROG)
+
+-all: pppstats
++$(PROG): $(OBJS)
-+pppstats: $(PPPSTATSRCS)
-+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDLAGS) -o pppstats pppstats.c $(LIBS)
-+
- install: pppstats
- -mkdir -p $(MANDIR)
+-install: pppstats
+- -mkdir -p $(MANDIR)
- $(INSTALL) -s -c pppstats $(BINDIR)
-+ $(INSTALL) -c pppstats $(BINDIR)
++install: $(PROG)
++ $(INSTALL) -d -m 755 $(MANDIR) $(BINDIR)
++ $(INSTALL) $(STRIP) -c $(PROG) $(BINDIR)
$(INSTALL) -c -m 444 pppstats.8 $(MANDIR)
-pppstats: $(PPPSTATSRCS)
- $(CC) $(CFLAGS) -o pppstats pppstats.c $(LIBS)
-
clean:
- rm -f pppstats *~ #* core
+- rm -f pppstats *~ #* core
++ rm -f $(PROG) $(OBJS) *~ #* core
depend:
- cpp -M $(CFLAGS) $(PPPSTATSRCS) >.depend
+- cpp -M $(CFLAGS) $(PPPSTATSRCS) >.depend
-# makedepend $(CFLAGS) $(PPPSTATSRCS)
-+
-+.PHONY: clean
++ $(CPP) -M $(CPPFLAGS) $(CFLAGS) $(SRCS) >.depend
diff --git a/package/ppp/src/linux/Makedefs.gcc b/package/ppp/src/linux/Makedefs.gcc
new file mode 100644
index 0000000..618eabc
--- /dev/null
+++ b/package/ppp/src/linux/Makedefs.gcc
@@ -0,0 +1,21 @@
+CPPFLAGS ?=
+CFLAGS ?= -O2 -pipe
+LDFLAGS ?=
+LIBS ?=
+ARFLAGS ?= rv
+
+INSTALL ?= install
+STRIP ?= -s
+
+DESTDIR ?= $(INSTROOT)@DESTDIR@
+BINDIR = $(DESTDIR)/sbin
+MANDIR = $(DESTDIR)/share/man/man8
+LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
+INCDIR = $(DESTDIR)/include
+ETCDIR = $(DESTDIR)@SYSCONF@/ppp
+
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
diff --git a/package/ppp/src/makedefs.linux b/package/ppp/src/makedefs.linux
deleted file mode 100644
index 061efab..0000000
--- a/package/ppp/src/makedefs.linux
+++ /dev/null
@@ -1,14 +0,0 @@
-CC ?= gcc
-CPPFLAGS ?=
-CFLAGS ?= -O -pipe
-LDFLAGS ?=
-LIBS ?=
-
-INSTALL ?= install
-
-# Default installation locations
-DESTDIR = $(INSTROOT)/usr
-BINDIR = $(DESTDIR)/sbin
-MANDIR = $(DESTDIR)/share/man/man8
-INCDIR = $(DESTDIR)/include
-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
diff --git a/package/pptpd/Makefile b/package/pptpd/Makefile
index f2875b0..20f7d77 100644
--- a/package/pptpd/Makefile
+++ b/package/pptpd/Makefile
@@ -17,7 +17,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PPTPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -fPIC -DSBINDIR='\\\"/usr/sbin\\\"'
+TARGET_CFLAGS+= -fPIC -DSBINDIR='\\\"/usr/sbin\\\"'
FAKE_FLAGS+= INSTALL="install"
post-install:
diff --git a/package/privoxy/Makefile b/package/privoxy/Makefile
index ef55349..7e83f76 100644
--- a/package/privoxy/Makefile
+++ b/package/privoxy/Makefile
@@ -22,14 +22,14 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PRIVOXY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TLDFLAGS+= -pthread
+TARGET_LDFLAGS+= -pthread
CONFIGURE_ARGS+= --disable-editor \
--disable-jar-files \
--sysconfdir=/etc/privoxy
# uClibc setpgrp does not take arguments
CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes \
ac_cv_lib_nsl_gethostbyname=no
-MAKE_FLAGS+= SPECIAL_CFLAGS='${TLDFLAGS}'
+MAKE_FLAGS+= SPECIAL_CFLAGS='${TARGET_LDFLAGS}'
MAKE_FILE:= GNUmakefile
post-install:
diff --git a/package/procmail/Makefile b/package/procmail/Makefile
index 3bd2b7d..8841add 100644
--- a/package/procmail/Makefile
+++ b/package/procmail/Makefile
@@ -20,7 +20,7 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
-TCFLAGS+= -DPROCMAIL
+TARGET_CPPFLAGS+= -DPROCMAIL
do-build:
${MAKE} -C ${WRKBUILD}/src -f ../Makefile.new
diff --git a/package/python/Makefile b/package/python/Makefile
index 0e81cd1..b41a7f3 100644
--- a/package/python/Makefile
+++ b/package/python/Makefile
@@ -31,7 +31,7 @@ CONFIGURE_ARGS:= --with-threads \
post-extract:
(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
- OPT="$(HOSTCFLAGS)" \
+ OPT="$(CFLAGS_FOR_BUILD)" \
./configure --without-cxx-main --without-threads \
--prefix=$(STAGING_HOST_DIR) \
);
diff --git a/package/python2/Makefile b/package/python2/Makefile
index dc9092d..60cb0c7 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -38,7 +38,7 @@ CONFIGURE_ARGS:= --with-threads \
post-extract:
$(CP) ./files/python-config.in ${WRKBUILD}/Misc/python-config.in
(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
- OPT="$(HOSTCFLAGS)" \
+ OPT="$(CFLAGS_FOR_BUILD)" \
./configure --without-cxx-main --without-threads \
--prefix=$(STAGING_HOST_DIR)/usr \
);
diff --git a/package/python2/patches/patch-Makefile_pre b/package/python2/patches/patch-Makefile_pre
new file mode 100644
index 0000000..e12bc29
--- /dev/null
+++ b/package/python2/patches/patch-Makefile_pre
@@ -0,0 +1,267 @@
+--- Python-2.7.1.orig/Makefile.pre 2011-01-20 22:14:19.477398102 +0100
++++ Python-2.7.1/Makefile.pre 2011-01-20 22:11:27.957401058 +0100
+@@ -28,12 +28,12 @@ VERSION= 2.7
+ srcdir= .
+
+
+-CC= gcc
+-CXX= g++
++CC= /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc
++CXX= /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-g++
+ MAINCC= $(CC)
+ LINKCC= $(PURIFY) $(MAINCC)
+-AR= ar
+-RANLIB= ranlib
++AR= /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ar
++RANLIB= /home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-ranlib
+ SVNVERSION= svnversion $(srcdir)
+
+ GNULD= yes
+@@ -57,21 +57,21 @@ INSTALL_SHARED= ${INSTALL} -m 555
+ MAKESETUP= $(srcdir)/Modules/makesetup
+
+ # Compiler options
+-OPT= -DNDEBUG -O2 -Wall
++OPT= -DNDEBUG -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe
+ BASECFLAGS= -fno-strict-aliasing
+-CFLAGS= $(BASECFLAGS) -g -O2 $(OPT) $(EXTRA_CFLAGS)
++CFLAGS= $(BASECFLAGS) -march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe $(OPT) $(EXTRA_CFLAGS)
+ # Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to
+ # be able to build extension modules using the directories specified in the
+ # environment variables
+-CPPFLAGS= -I. -IInclude -I$(srcdir)/Include
+-LDFLAGS=
++CPPFLAGS= -I. -IInclude -I$(srcdir)/Include -I/home/wbx/adk/openadk/target_i686_uclibc/usr/include
++LDFLAGS= -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib
+ LDLAST=
+ SGI_ABI=
+ CCSHARED= -fPIC
+ LINKFORSHARED= -Xlinker -export-dynamic
+ ARFLAGS= rc
+ # Extra C flags added for building the interpreter object files.
+-CFLAGSFORSHARED=
++CFLAGSFORSHARED=$(CCSHARED)
+ # C flags used for building the interpreter object files
+ PY_CFLAGS= $(CFLAGS) $(CPPFLAGS) $(CFLAGSFORSHARED) -DPy_BUILD_CORE
+
+@@ -80,7 +80,7 @@ PY_CFLAGS= $(CFLAGS) $(CPPFLAGS) $(CFLAG
+ MACHDEP= linux2
+
+ # Install prefix for architecture-independent files
+-prefix= /home/wbx/adk/openadk/host_i686_uclibc/usr
++prefix= /usr
+
+ # Install prefix for architecture-dependent files
+ exec_prefix= ${prefix}
+@@ -89,9 +89,9 @@ exec_prefix= ${prefix}
+ datarootdir= ${prefix}/share
+
+ # Expanded directories
+-BINDIR= ${exec_prefix}/bin
++BINDIR= /usr/bin
+ LIBDIR= ${exec_prefix}/lib
+-MANDIR= ${datarootdir}/man
++MANDIR= /usr/share/man
+ INCLUDEDIR= ${prefix}/include
+ CONFINCLUDEDIR= $(exec_prefix)/include
+ SCRIPTDIR= $(prefix)/lib
+@@ -130,7 +130,7 @@ MACOSX_DEPLOYMENT_TARGET=
+ OTHER_LIBTOOL_OPT=
+
+ # Environment to run shared python without installed libraries
+-RUNSHARED=
++RUNSHARED= LD_LIBRARY_PATH=/home/wbx/adk/openadk/build_ibm-x40_i686_uclibc/w-python2-2.7.1-1/Python-2.7.1:
+
+ # Modes for directories, executables and data files created by the
+ # install process. Default to user-only-writable for all file types.
+@@ -139,7 +139,7 @@ EXEMODE= 755
+ FILEMODE= 644
+
+ # configure script arguments
+-CONFIG_ARGS= '--without-cxx-main' '--without-threads' '--prefix=/home/wbx/adk/openadk/host_i686_uclibc/usr'
++CONFIG_ARGS= '--build=x86_64-linux-gnu' '--host=i686-openadk-linux' '--target=i686-openadk-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sysconfdir=/etc' '--disable-nls' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--with-threads' '--disable-toolbox-glue' '--with-system-ffi' '--without-cxx-main' 'build_alias=x86_64-linux-gnu' 'host_alias=i686-openadk-linux' 'target_alias=i686-openadk-linux' 'CC=/home/wbx/adk/openadk/host_i686_uclibc/bin/i686-openadk-linux-uclibc-gcc' 'CFLAGS=-march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' 'LDFLAGS=-Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/adk/openadk/target_i686_uclibc/usr/lib -L/home/wbx/adk/openadk/target_i686_uclibc/lib -L/home/wbx/adk/openadk/target_i686_uclibc/usr/lib' 'LIBS=' 'CPPFLAGS=-I/home/wbx/adk/openadk/target_i686_uclibc/usr/include'
+
+
+ # Subdirectories with code
+@@ -156,20 +156,20 @@ DIST= $(DISTFILES) $(DISTDIRS)
+
+
+ LIBRARY= libpython$(VERSION).a
+-LDLIBRARY= libpython$(VERSION).a
+-BLDLIBRARY= $(LDLIBRARY)
++LDLIBRARY= libpython$(VERSION).so
++BLDLIBRARY= -L. -lpython$(VERSION)
+ DLLLIBRARY=
+ LDLIBRARYDIR=
+-INSTSONAME= $(LDLIBRARY)
++INSTSONAME= libpython$(VERSION).so.1.0
+
+
+-LIBS= -ldl -lutil
++LIBS= -lpthread -ldl -lpthread -lutil
+ LIBM= -lm
+ LIBC=
+ SYSLIBS= $(LIBM) $(LIBC)
+ SHLIBS= $(LIBS)
+
+-THREADOBJ=
++THREADOBJ= Python/thread.o
+ DLINCLDIR= .
+ DYNLOADFILE= dynload_shlib.o
+ MACHDEP_OBJS=
+@@ -179,6 +179,7 @@ UNICODE_OBJS= Objects/unicodeobject.o
+
+ PYTHON= python$(EXE)
+ BUILDPYTHON= python$(BUILDEXE)
++HOSTPYTHON?= $(BUILDPYTHON)
+
+ # The task to run while instrument when building the profile-opt target
+ PROFILE_TASK= $(srcdir)/Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck
+@@ -206,11 +207,12 @@ GRAMMAR_C= $(srcdir)/Python/graminit.c
+ GRAMMAR_INPUT= $(srcdir)/Grammar/Grammar
+
+
+-LIBFFI_INCLUDEDIR=
++LIBFFI_INCLUDEDIR= /home/wbx/adk/openadk/target_i686_uclibc/usr/include
+
+ ##########################################################################
+ # Parser
+ PGEN= Parser/pgen$(EXE)
++HOSTPGEN?= $(PGEN)$(EXE)
+
+ POBJS= \
+ Parser/acceler.o \
+@@ -380,7 +382,7 @@ build_all_generate_profile:
+ $(MAKE) all CFLAGS="$(CFLAGS) -fprofile-generate" LIBS="$(LIBS) -lgcov"
+
+ run_profile_task:
+- ./$(BUILDPYTHON) $(PROFILE_TASK)
++ $(HOSTPYTHON) $(PROFILE_TASK)
+
+ build_all_use_profile:
+ $(MAKE) all CFLAGS="$(CFLAGS) -fprofile-use"
+@@ -398,14 +400,14 @@ $(BUILDPYTHON): Modules/python.o $(LIBRA
+ $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
+
+ platform: $(BUILDPYTHON)
+- $(RUNSHARED) ./$(BUILDPYTHON) -E -c 'import sys ; from sysconfig import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
++ $(RUNSHARED) $(HOSTPYTHON) -E -c 'import sys ; from sysconfig import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
+
+
+ # Build the shared modules
+ sharedmods: $(BUILDPYTHON)
+ @case $$MAKEFLAGS in \
+- *s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py -q build;; \
+- *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py build;; \
++ *s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' $(HOSTPYTHON) -E $(srcdir)/setup.py -q build;; \
++ *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' $(HOSTPYTHON) -E $(srcdir)/setup.py build;; \
+ esac
+
+ # Build static library
+@@ -538,7 +540,7 @@ Modules/python.o: $(srcdir)/Modules/pyth
+
+ $(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
+ -@$(INSTALL) -d Include
+- -$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
++ -$(HOSTPGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
+
+ $(PGEN): $(PGENOBJS)
+ $(CC) $(OPT) $(LDFLAGS) $(PGENOBJS) $(LIBS) -o $(PGEN)
+@@ -702,7 +704,7 @@ $(LIBRARY_OBJS) $(MODOBJS) Modules/pytho
+
+ TESTOPTS= -l $(EXTRATESTOPTS)
+ TESTPROG= $(srcdir)/Lib/test/regrtest.py
+-TESTPYTHON= $(RUNSHARED) ./$(BUILDPYTHON) -Wd -3 -E -tt $(TESTPYTHONOPTS)
++TESTPYTHON= $(RUNSHARED) $(HOSTPYTHON) -Wd -3 -E -tt $(TESTPYTHONOPTS)
+ test: all platform
+ -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
+ -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
+@@ -725,7 +727,7 @@ testuniversal: all platform
+ -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
+ -$(TESTPYTHON) $(TESTPROG) -uall $(TESTOPTS)
+ $(TESTPYTHON) $(TESTPROG) -uall $(TESTOPTS)
+- $(RUNSHARED) /usr/libexec/oah/translate ./$(BUILDPYTHON) -E -tt $(TESTPROG) -uall $(TESTOPTS)
++ $(RUNSHARED) /usr/libexec/oah/translate $(HOSTPYTHON) -E -tt $(TESTPROG) -uall $(TESTOPTS)
+
+
+ # Like testall, but with a single pass only
+@@ -920,26 +922,26 @@ libinstall: build_all $(srcdir)/Lib/$(PL
+ done; \
+ done
+ $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
+- PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+- ./$(BUILDPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \
++ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
++ $(HOSTPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \
+ -d $(LIBDEST) -f \
+ -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
+ $(DESTDIR)$(LIBDEST)
+- PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+- ./$(BUILDPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \
++ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
++ $(HOSTPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \
+ -d $(LIBDEST) -f \
+ -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
+ $(DESTDIR)$(LIBDEST)
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+- ./$(BUILDPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \
++ $(HOSTPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \
+ -d $(LIBDEST)/site-packages -f \
+ -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+- ./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \
++ $(HOSTPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \
+ -d $(LIBDEST)/site-packages -f \
+ -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+- ./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"
++ $(HOSTPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"
+
+ # Create the PLATDIR source directory, if one wasn't distributed..
+ $(srcdir)/Lib/$(PLATDIR):
+@@ -1044,7 +1046,8 @@ libainstall: all python-config
+ # Install the dynamically loadable modules
+ # This goes into $(exec_prefix)
+ sharedinstall: sharedmods
+- $(RUNSHARED) ./$(BUILDPYTHON) -E $(srcdir)/setup.py install \
++ CROSS_COMPILE='$(CROSS_COMPILE)' \
++ $(RUNSHARED) $(HOSTPYTHON) -E $(srcdir)/setup.py install \
+ --prefix=$(prefix) \
+ --install-scripts=$(BINDIR) \
+ --install-platlib=$(DESTSHARED) \
+@@ -1082,7 +1085,7 @@ frameworkinstallstructure: $(LDLIBRARY)
+ fi; \
+ done
+ $(LN) -fsn include/python$(VERSION) $(DESTDIR)$(prefix)/Headers
+- sed 's/%VERSION%/'"`$(RUNSHARED) ./$(BUILDPYTHON) -c 'import platform; print platform.python_version()'`"'/g' < $(RESSRCDIR)/Info.plist > $(DESTDIR)$(prefix)/Resources/Info.plist
++ sed 's/%VERSION%/'"`$(RUNSHARED) $(HOSTPYTHON) -c 'import platform; print platform.python_version()'`"'/g' < $(RESSRCDIR)/Info.plist > $(DESTDIR)$(prefix)/Resources/Info.plist
+ $(LN) -fsn $(VERSION) $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/Current
+ $(LN) -fsn Versions/Current/$(PYTHONFRAMEWORK) $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/$(PYTHONFRAMEWORK)
+ $(LN) -fsn Versions/Current/Headers $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Headers
+@@ -1117,7 +1120,7 @@ frameworkinstallextras:
+ # This installs a few of the useful scripts in Tools/scripts
+ scriptsinstall:
+ SRCDIR=$(srcdir) $(RUNSHARED) \
+- ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/setup.py install \
++ $(HOSTPYTHON) $(srcdir)/Tools/scripts/setup.py install \
+ --prefix=$(prefix) \
+ --install-scripts=$(BINDIR) \
+ --root=/$(DESTDIR)
+@@ -1139,7 +1142,7 @@ config.status: $(srcdir)/configure
+
+ # Run reindent on the library
+ reindent:
+- ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/reindent.py -r $(srcdir)/Lib
++ $(HOSTPYTHON) $(srcdir)/Tools/scripts/reindent.py -r $(srcdir)/Lib
+
+ # Rerun configure with the same options as it was run last time,
+ # provided the config.status script exists
+@@ -1242,7 +1245,7 @@ funny:
+
+ # Perform some verification checks on any modified files.
+ patchcheck:
+- $(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/patchcheck.py
++ $(RUNSHARED) $(HOSTPYTHON) $(srcdir)/Tools/scripts/patchcheck.py
+
+ # Dependencies
+
diff --git a/package/python2/patches/patch-Makefile_pre_in b/package/python2/patches/patch-Makefile_pre_in
index 5fec2d1..d3737ae 100644
--- a/package/python2/patches/patch-Makefile_pre_in
+++ b/package/python2/patches/patch-Makefile_pre_in
@@ -1,6 +1,15 @@
diff -Nur Python-2.7.1.orig/Makefile.pre.in Python-2.7.1/Makefile.pre.in
--- Python-2.7.1.orig/Makefile.pre.in 2010-10-14 13:37:30.000000000 +0200
-+++ Python-2.7.1/Makefile.pre.in 2010-12-27 21:06:29.000000000 +0100
++++ Python-2.7.1/Makefile.pre.in 2011-01-20 22:13:22.464906869 +0100
+@@ -59,7 +59,7 @@ MAKESETUP= $(srcdir)/Modules/makese
+ # Compiler options
+ OPT= @OPT@
+ BASECFLAGS= @BASECFLAGS@
+-CFLAGS= $(BASECFLAGS) @CFLAGS@ $(OPT) $(EXTRA_CFLAGS)
++CFLAGS= $(BASECFLAGS) @CFLAGS@ $(EXTRA_CFLAGS)
+ # Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to
+ # be able to build extension modules using the directories specified in the
+ # environment variables
@@ -179,6 +179,7 @@ UNICODE_OBJS= @UNICODE_OBJS@
PYTHON= python$(EXE)
diff --git a/package/qemu/Makefile b/package/qemu/Makefile
index 4b8c33c..1210172 100644
--- a/package/qemu/Makefile
+++ b/package/qemu/Makefile
@@ -19,13 +19,13 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,QEMU,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= minimal
-CONFIGURE_ARGS+= --host-cc=$(HOSTCC) \
+CONFIGURE_ARGS+= --host-cc=$(CC_FOR_BUILD) \
--cross-prefix=$(TARGET_CROSS) \
--disable-user \
--prefix=/usr \
--sysconfdir=/etc \
--bindir=/usr/bin
-TLDFLAGS+= -pthread -lrt
+TARGET_LDFLAGS+= -pthread -lrt
post-install:
$(INSTALL_DIR) $(IDIR_QEMU)/usr/share/qemu
diff --git a/package/rarpd/Makefile b/package/rarpd/Makefile
index 8769658..16e7a78 100644
--- a/package/rarpd/Makefile
+++ b/package/rarpd/Makefile
@@ -19,7 +19,7 @@ $(eval $(call PKG_template,RARPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG
CONFIGURE_ARGS+= --with-libnet="${STAGING_TARGET_DIR}/usr" \
--with-pcap="${STAGING_TARGET_DIR}/usr"
-TCFLAGS+= -DNEW_LIBNET_INTERFACE
+TARGET_CPPFLAGS+= -DNEW_LIBNET_INTERFACE
post-install:
${INSTALL_DIR} ${IDIR_RARPD}/usr/sbin
diff --git a/package/rarpd/patches/patch-Makefile_in b/package/rarpd/patches/patch-Makefile_in
index 58be90d..f846712 100644
--- a/package/rarpd/patches/patch-Makefile_in
+++ b/package/rarpd/patches/patch-Makefile_in
@@ -1,6 +1,20 @@
--- rarpd-1.1.orig/Makefile.in 1999-10-20 22:57:13.000000000 +0200
-+++ rarpd-1.1/Makefile.in 2010-07-16 14:34:08.453125000 +0200
-@@ -13,5 +13,5 @@ rarpd: rarpd.o @LIBOBJS@
++++ rarpd-1.1/Makefile.in 2011-01-20 15:06:00.144913893 +0100
+@@ -1,17 +1,18 @@
+ INSTALL = @srcdir@/install.sh
+ CC = @CC@
+ CFLAGS = @CFLAGS@ @DEFS@
++CPPFLAGS = @CPPFLAGS@
+ ENSUREDIR = @srcdir@/ensure-dir.sh
+ SBINDIR = @sbindir@
+
+ all: rarpd
+
+ .c.o:
+- $(CC) $(CFLAGS) -c $< -o $@
++ $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+
+ rarpd: rarpd.o @LIBOBJS@
$(CC) @LDFLAGS@ -o $@ rarpd.o @LIBOBJS@ @LIBS@
install: rarpd
diff --git a/package/rpcbind/Makefile b/package/rpcbind/Makefile
index a175dbf..f87c21f 100644
--- a/package/rpcbind/Makefile
+++ b/package/rpcbind/Makefile
@@ -20,7 +20,7 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RPCBIND,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/tirpc
+TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/tirpc
CONFIGURE_ARGS+= --disable-libwrap
post-install:
diff --git a/package/rpm/Makefile b/package/rpm/Makefile
index 5c23deb..566b562 100644
--- a/package/rpm/Makefile
+++ b/package/rpm/Makefile
@@ -4,14 +4,15 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= rpm
-PKG_VERSION:= 5.3.3
+PKG_VERSION:= 5.3.5
PKG_RELEASE:= 1
-PKG_MD5SUM:= 08027af2368ecad8060f9f5bf46c2bd9
+PKG_MD5SUM:= 7a5112fd208bfda7a1cab20b9ce17a02
PKG_DESCR:= Package Manager
PKG_SECTION:= base
PKG_URL:= http://www.rpm.org/
PKG_SITES:= http://rpm5.org/files/rpm/rpm-5.3/
+PKG_CFLINE_RPM:= depends on ADK_BROKEN
PKG_HOST_DEPENDS:= !cygwin !darwin
PKG_ARCH_DEPENDS:= !cris
@@ -22,7 +23,7 @@ $(eval $(call PKG_template,RPM,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_D
CONFIGURE_ENV+= ac_cv_va_copy=no
CONFIGURE_ARGS+= --with-usecrypto=BeeCrypt \
--with-beecrypt=internal \
- --with-dbapi=db \
+ --with-db=external \
--with-sqlite=none \
--without-python \
--without-perl \
diff --git a/package/rpm/patches/patch-configure b/package/rpm/patches/patch-configure
new file mode 100644
index 0000000..e5e2a85
--- /dev/null
+++ b/package/rpm/patches/patch-configure
@@ -0,0 +1,11 @@
+--- rpm-5.3.5.orig/configure 2010-10-25 18:35:18.000000000 +0200
++++ rpm-5.3.5/configure 2011-01-21 22:37:21.147399617 +0100
+@@ -17673,7 +17673,7 @@ if test "${enable_build_debug+set}" = se
+ fi
+
+ if test ".`$CC --version 2>&1 | grep 'GCC'`" != .; then
+- for c in -fno-delete-null-pointer-checks -D_FORTIFY_SOURCE=2 -fstack-protector -fexceptions -fnested-functions
++ for c in -fno-delete-null-pointer-checks -D_FORTIFY_SOURCE=2 -fexceptions -fnested-functions
+ do
+ my_save_cflags="$CFLAGS"
+ CFLAGS=$c
diff --git a/package/rrdcollect/Makefile b/package/rrdcollect/Makefile
index f4d562e..3eb9820 100644
--- a/package/rrdcollect/Makefile
+++ b/package/rrdcollect/Makefile
@@ -26,9 +26,8 @@ CONFIGURE_ENV+= LIBS="${RRDTOOL_LIBS} -lz" \
CONFIGURE_ARGS+= --enable-exec \
--without-rrdtool \
--with-librrd \
- --without-libpcre \
- --without-libpcap
-TCFLAGS+= -DSOCKET_COMM
+ --without-libpcre
+TARGET_CPPFLAGS+= -DSOCKET_COMM
post-install:
${INSTALL_DIR} ${IDIR_RRDCOLLECT}/usr/sbin
diff --git a/package/rrdtool/Makefile b/package/rrdtool/Makefile
index bf3ed8c..a047f03 100644
--- a/package/rrdtool/Makefile
+++ b/package/rrdtool/Makefile
@@ -33,7 +33,7 @@ CONFIGURE_ARGS+= --enable-rrdcgi \
--disable-python \
--without-x \
--with-rrd-default-font=/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf
-TCPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/freetype2
+TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/freetype2
post-install:
${INSTALL_DIR} ${IDIR_RRDTOOL}/usr/bin
diff --git a/package/rtsp/Makefile b/package/rtsp/Makefile
index bc11f10..098b77c 100644
--- a/package/rtsp/Makefile
+++ b/package/rtsp/Makefile
@@ -22,10 +22,7 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
pre-build:
- ARCH=${ARCH} KERNELDIR=${LINUX_DIR} \
- PREFIX=/usr CROSS_COMPILE="${TARGET_CROSS}" \
- LD=$(TARGET_CROSS)gcc LDFLAGS="" CFLAGS="-Wall" \
- $(MAKE) -C ${WRKBUILD} debug V=1
+ $(MAKE) -C ${WRKBUILD} $(KERNEL_MODULE_FLAGS) all
do-install:
${INSTALL_DIR} ${IDIR_RTSP_KMOD}/etc/modules.d/
diff --git a/package/samba/Makefile b/package/samba/Makefile
index 67f9924..273d846 100644
--- a/package/samba/Makefile
+++ b/package/samba/Makefile
@@ -22,7 +22,7 @@ $(eval $(call PKG_template,SAMBA,samba,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPEN
$(eval $(call PKG_template,SAMBA_CLIENT,samba-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,SAMBA_PASSWD,samba-passwd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TLDFLAGS+= -Wl,-rpath -Wl,/usr/lib/samba -lintl
+TARGET_LDFLAGS+= -Wl,-rpath -Wl,/usr/lib/samba -lintl
CONFIGURE_ENV+= samba_cv_CC_NEGATIVE_ENUM_VALUES=no \
samba_cv_USE_SETRESUID=no \
ac_cv_lib_ext_nsl_connect=no \
diff --git a/package/scsi-spin/Makefile b/package/scsi-spin/Makefile
index a7abd2b..a46dd81 100644
--- a/package/scsi-spin/Makefile
+++ b/package/scsi-spin/Makefile
@@ -20,9 +20,11 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -Wall
+
do-build:
- ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} -o ${WRKBUILD}/scsi-spin \
- ${WRKBUILD}/scsi-spin.c
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
+ -o ${WRKBUILD}/scsi-spin ${WRKBUILD}/scsi-spin.c
do-install:
${INSTALL_DIR} ${IDIR_SCSI_SPIN}/usr/sbin
diff --git a/package/serdisplib/Makefile b/package/serdisplib/Makefile
index f138306..ec32edf 100644
--- a/package/serdisplib/Makefile
+++ b/package/serdisplib/Makefile
@@ -9,7 +9,8 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 2aa91c43d01d2dfc9fbc1116e3063ae1
PKG_DESCR:= display drivers (serial, parallel, USB)
PKG_SECTION:= serial
-PKG_BUILDDEP:= libgd libusb
+PKG_DEPENDS:= libusb-compat
+PKG_BUILDDEP:= libgd libusb-compat
PKG_URL:= http://serdisplib.sourceforge.net
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=serdisplib/}
@@ -21,10 +22,10 @@ INSTALL_STYLE:= manual
CONFIGURE_ENV+= PACKAGE_VERSION_MAJOR=1 PACKAGE_VERSION_MINOR=97
CONFIGURE_ARGS+= --enable-libusb
-TCFLAGS+= ${TCPPFLAGS}
+TARGET_CFLAGS+= ${TARGET_CPPFLAGS}
do-install:
${INSTALL_DIR} ${IDIR_SERDISPLIB}/usr/lib
- ${CP} ${WRKBUILD}/lib/libserdisp.so.* ${IDIR_SERDISPLIB}/usr/lib
+ ${CP} ${WRKBUILD}/lib/libserdisp.so* ${IDIR_SERDISPLIB}/usr/lib
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/setpwc/Makefile b/package/setpwc/Makefile
index 9812340..80d398a 100644
--- a/package/setpwc/Makefile
+++ b/package/setpwc/Makefile
@@ -22,8 +22,11 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CPPFLAGS+= -DVERSION=\"${PKG_VERSION}\"
+TARGET_CFLAGS+= -Wall
+
do-build:
- ${TARGET_CC} -Wall ${TCFLAGS} -DVERSION=\"${PKG_VERSION}\" \
+ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
-o ${WRKBUILD}/setpwc ${WRKBUILD}/setpwc.c
do-install:
diff --git a/package/setserial/Makefile b/package/setserial/Makefile
index 2411332..7056550 100644
--- a/package/setserial/Makefile
+++ b/package/setserial/Makefile
@@ -16,8 +16,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SETSERIAL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
INSTALL_STYLE:= manual
-
-TCFLAGS+= -DFIOQSIZE=1
+TARGET_CPPFLAGS+= -DFIOQSIZE=1
do-install:
${INSTALL_DIR} ${IDIR_SETSERIAL}/usr/sbin
diff --git a/package/setserial/patches/patch-Makefile_in b/package/setserial/patches/patch-Makefile_in
new file mode 100644
index 0000000..f04fbd0
--- /dev/null
+++ b/package/setserial/patches/patch-Makefile_in
@@ -0,0 +1,20 @@
+--- setserial-2.17.orig/Makefile.in 2000-01-27 16:39:07.000000000 +0100
++++ setserial-2.17/Makefile.in 2011-01-20 14:37:16.418658083 +0100
+@@ -13,14 +13,14 @@ STRIP = @STRIP@
+ CC = @CC@
+ RM = rm -f
+ CFLAGS = @CFLAGS@
+-DEFS = @DEFS@
+-INCS = -I.
++CPPFLAGS = @DEFS@ @CPPFLAGS@ -I.
++LDFLAGS = @LDFLAGS@
+ TAR = tar
+
+ all: setserial setserial.cat
+
+ setserial: setserial.c
+- $(CC) $(CFLAGS) $(DEFS) $(INCS) setserial.c -o setserial
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) setserial.c -o setserial
+
+ setserial.cat: setserial.8
+ nroff -man setserial.8 > setserial.cat
diff --git a/package/sqlite/Makefile b/package/sqlite/Makefile
index 4f3db59..175c535 100644
--- a/package/sqlite/Makefile
+++ b/package/sqlite/Makefile
@@ -20,14 +20,14 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBSQLITE,libsqlite,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,SQLITE_CLI,sqlite-cli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_ENV+= config_BUILD_CC="${HOSTCC}" \
- config_BUILD_CFLAGS="${HOSTCFLAGS}" \
+CONFIGURE_ENV+= config_BUILD_CC="${CC_FOR_BUILD}" \
+ config_BUILD_CFLAGS="${CFLAGS_FOR_BUILD}" \
config_TARGET_CC="${TARGET_CC}" \
config_TARGET_CFLAGS="${TARGET_CFLAGS}" \
config_TARGET_READLINE_INC="-I${STAGING_TARGET_DIR}/usr/include" \
config_TARGET_READLINE_LIBS="-L${STAGING_TARGET_DIR}/usr/lib -lreadline -lncurses"
MAKE_FLAGS+= LIBPTHREAD=-lm
-TCFLAGS+= -DSQLITE_SECURE_DELETE=1
+TARGET_CPPFLAGS+= -DSQLITE_SECURE_DELETE=1
CONFIGURE_ARGS+= --disable-tcl \
--without-tcl \
--disable-amalgamation
diff --git a/package/stress/patches/patch-src_Makefile_in b/package/stress/patches/patch-src_Makefile_in
new file mode 100644
index 0000000..e91e5b1
--- /dev/null
+++ b/package/stress/patches/patch-src_Makefile_in
@@ -0,0 +1,11 @@
+--- stress-1.0.0.orig/src/Makefile.in 2007-12-17 03:32:20.000000000 +0100
++++ stress-1.0.0/src/Makefile.in 2011-01-21 23:21:19.878658831 +0100
+@@ -65,7 +65,7 @@ AUTOMAKE = @AUTOMAKE@
+ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+-CFLAGS = -Wall -Werror -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
++CFLAGS = @CFLAGS@ -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CYGPATH_W = @CYGPATH_W@
diff --git a/package/strongswan/patches/patch-configure b/package/strongswan/patches/patch-configure
new file mode 100644
index 0000000..86e29c7
--- /dev/null
+++ b/package/strongswan/patches/patch-configure
@@ -0,0 +1,19 @@
+--- strongswan-4.5.0.orig/configure 2010-10-29 07:13:56.000000000 +0200
++++ strongswan-4.5.0/configure 2011-01-21 21:54:43.396152093 +0100
+@@ -13865,16 +13865,6 @@ $as_echo "$ipsecuid" >&6; }
+ else
+ as_fn_error $? "not found" "$LINENO" 5
+ fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gid of group \"$ipsecgroup\"" >&5
+-$as_echo_n "checking for gid of group \"$ipsecgroup\"... " >&6; }
+-ipsecgid=`$EGREP "^$ipsecgroup:" /etc/group | $AWK -F: '{ print $3 }'`
+-if test -n "$ipsecgid"; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ipsecgid" >&5
+-$as_echo "$ipsecgid" >&6; }
+-
+-else
+- as_fn_error $? "not found" "$LINENO" 5
+-fi
+
+
+ if test x$eap_aka_3gpp2 = xtrue; then
diff --git a/package/syslinux/Makefile b/package/syslinux/Makefile
index 4a87742..b7effc0 100644
--- a/package/syslinux/Makefile
+++ b/package/syslinux/Makefile
@@ -13,6 +13,7 @@ PKG_BUILDDEP:= nasm
PKG_URL:= http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project
PKG_SITES:= http://www.kernel.org/pub/linux/utils/boot/syslinux/
+PKG_CFLINE_SYSLINUX:= depends on ADK_NATIVE
PKG_HOST_DEPENDS:= !darwin !netbsd !openbsd !cygwin !freebsd
include $(TOPDIR)/mk/package.mk
@@ -21,6 +22,7 @@ $(eval $(call PKG_template,SYSLINUX,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${
CONFIG_STYLE:= manual
FAKE_FLAGS+= INSTALLROOT=${WRKINST}
+TARGET_CFLAGS+= -std=c99
post-install:
$(INSTALL_DIR) $(IDIR_SYSLINUX)/usr/bin
diff --git a/package/syslinux/patches/patch-MCONFIG b/package/syslinux/patches/patch-MCONFIG
new file mode 100644
index 0000000..fec7d26
--- /dev/null
+++ b/package/syslinux/patches/patch-MCONFIG
@@ -0,0 +1,19 @@
+--- syslinux-4.03.orig/MCONFIG 2010-10-20 21:25:38.000000000 +0200
++++ syslinux-4.03/MCONFIG 2011-01-22 00:19:37.688658635 +0100
+@@ -39,14 +39,14 @@ UPX = upx
+
+ CHMOD = chmod
+
+-CC = gcc
++CC ?= gcc
+ gcc_ok = $(shell tmpf=gcc_ok.$$$$.tmp; \
+ if $(CC) $(GCCOPT) $(1) -c $(topdir)/dummy.c \
+ -o $$tmpf 2>/dev/null ; \
+ then echo '$(1)'; else echo '$(2)'; fi; \
+ rm -f $$tmpf)
+
+-LD = ld
++LD ?= ld
+ OBJDUMP = objdump
+ OBJCOPY = objcopy
+ AR = ar
diff --git a/package/syslinux/patches/patch-MCONFIG_build b/package/syslinux/patches/patch-MCONFIG_build
new file mode 100644
index 0000000..792d179
--- /dev/null
+++ b/package/syslinux/patches/patch-MCONFIG_build
@@ -0,0 +1,12 @@
+--- syslinux-4.03.orig/MCONFIG.build 2010-10-20 21:25:38.000000000 +0200
++++ syslinux-4.03/MCONFIG.build 2011-01-22 00:21:14.348658474 +0100
+@@ -18,7 +18,8 @@ include $(topdir)/MCONFIG
+
+ OPTFLAGS = -g -Os
+ INCLUDES =
+-CFLAGS = -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 \
++CFLAGS ?=
++CFLAGS += -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 \
+ $(OPTFLAGS) $(INCLUDES)
+ LDFLAGS =
+ LIBS =
diff --git a/package/syslinux/patches/patch-com32_cmenu_complex_c32 b/package/syslinux/patches/patch-com32_cmenu_complex_c32
new file mode 100644
index 0000000..ce7a137
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_cmenu_complex_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_cmenu_display_c32 b/package/syslinux/patches/patch-com32_cmenu_display_c32
new file mode 100644
index 0000000..686aac0
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_cmenu_display_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_cmenu_simple_c32 b/package/syslinux/patches/patch-com32_cmenu_simple_c32
new file mode 100644
index 0000000..82ceb24
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_cmenu_simple_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_cmenu_test2_c32 b/package/syslinux/patches/patch-com32_cmenu_test2_c32
new file mode 100644
index 0000000..ee201ed
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_cmenu_test2_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_cmenu_test_c32 b/package/syslinux/patches/patch-com32_cmenu_test_c32
new file mode 100644
index 0000000..c1673c4
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_cmenu_test_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_gfxboot_gfxboot_c32 b/package/syslinux/patches/patch-com32_gfxboot_gfxboot_c32
new file mode 100644
index 0000000..36dcebf
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_gfxboot_gfxboot_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_hdt_hdt_c32 b/package/syslinux/patches/patch-com32_hdt_hdt_c32
new file mode 100644
index 0000000..ddc9345
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_hdt_hdt_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_lib_MCONFIG b/package/syslinux/patches/patch-com32_lib_MCONFIG
new file mode 100644
index 0000000..4e7f72c
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_lib_MCONFIG
@@ -0,0 +1,27 @@
+--- syslinux-4.03.orig/com32/lib/MCONFIG 2010-10-20 21:25:38.000000000 +0200
++++ syslinux-4.03/com32/lib/MCONFIG 2011-01-22 00:29:01.978658237 +0100
+@@ -11,10 +11,10 @@ GCCOPT += $(call gcc_ok,-fPIE,-fPIC)
+ GCCOPT += $(call gcc_ok,-fno-exceptions,)
+ GCCOPT += $(call gcc_ok,-fno-asynchronous-unwind-tables,)
+ GCCOPT += $(call gcc_ok,-fno-strict-aliasing,)
+-GCCOPT += $(call gcc_ok,-falign-functions=0,-malign-functions=0)
+-GCCOPT += $(call gcc_ok,-falign-jumps=0,-malign-jumps=0)
+-GCCOPT += $(call gcc_ok,-falign-labels=0,-malign-labels=0)
+-GCCOPT += $(call gcc_ok,-falign-loops=0,-malign-loops=0)
++GCCOPT += $(call gcc_ok,-falign-functions=0,)
++GCCOPT += $(call gcc_ok,-falign-jumps=0,)
++GCCOPT += $(call gcc_ok,-falign-labels=0,)
++GCCOPT += $(call gcc_ok,-falign-loops=0,)
+ GCCOPT += $(call gcc_ok,-mpreferred-stack-boundary=2,)
+
+ INCLUDE = -I.
+@@ -37,7 +37,8 @@ OPTFLAGS = -Os -march=i386 -falign-func
+ -falign-labels=0 -ffast-math -fomit-frame-pointer
+ WARNFLAGS = $(GCCWARN) -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline
+
+-CFLAGS = $(OPTFLAGS) $(REQFLAGS) $(WARNFLAGS) $(LIBFLAGS)
++CFLAGS ?=
++CFLAGS += $(OPTFLAGS) $(REQFLAGS) $(WARNFLAGS) $(LIBFLAGS)
+ LDFLAGS = -m elf32_i386
+
+ .SUFFIXES: .c .o .a .so .lo .i .S .s .ls .ss .lss
diff --git a/package/syslinux/patches/patch-com32_libutil_libutil_com_a b/package/syslinux/patches/patch-com32_libutil_libutil_com_a
new file mode 100644
index 0000000..850f1ea
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_libutil_libutil_com_a
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_libutil_libutil_lnx_a b/package/syslinux/patches/patch-com32_libutil_libutil_lnx_a
new file mode 100644
index 0000000..a4f01a3
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_libutil_libutil_lnx_a
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_lua_src_lua_c32 b/package/syslinux/patches/patch-com32_lua_src_lua_c32
new file mode 100644
index 0000000..015aa7d
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_lua_src_lua_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_mboot_mboot_c32 b/package/syslinux/patches/patch-com32_mboot_mboot_c32
new file mode 100644
index 0000000..e7263f7
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_mboot_mboot_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_menu_menu_c32 b/package/syslinux/patches/patch-com32_menu_menu_c32
new file mode 100644
index 0000000..667de4f
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_menu_menu_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_menu_vesamenu_c32 b/package/syslinux/patches/patch-com32_menu_vesamenu_c32
new file mode 100644
index 0000000..ad02006
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_menu_vesamenu_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_cat_c32 b/package/syslinux/patches/patch-com32_modules_cat_c32
new file mode 100644
index 0000000..5d2d85c
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_cat_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_chain_c32 b/package/syslinux/patches/patch-com32_modules_chain_c32
new file mode 100644
index 0000000..7fd7990
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_chain_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_cmd_c32 b/package/syslinux/patches/patch-com32_modules_cmd_c32
new file mode 100644
index 0000000..28a8193
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_cmd_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_config_c32 b/package/syslinux/patches/patch-com32_modules_config_c32
new file mode 100644
index 0000000..231bb15
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_config_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_cpuid_c32 b/package/syslinux/patches/patch-com32_modules_cpuid_c32
new file mode 100644
index 0000000..07ceaae
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_cpuid_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_cpuidtest_c32 b/package/syslinux/patches/patch-com32_modules_cpuidtest_c32
new file mode 100644
index 0000000..9409d12
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_cpuidtest_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_disk_c32 b/package/syslinux/patches/patch-com32_modules_disk_c32
new file mode 100644
index 0000000..2f4f85d
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_disk_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_dmitest_c32 b/package/syslinux/patches/patch-com32_modules_dmitest_c32
new file mode 100644
index 0000000..2e667b9
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_dmitest_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_elf_c32 b/package/syslinux/patches/patch-com32_modules_elf_c32
new file mode 100644
index 0000000..27b88dc
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_elf_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_ethersel_c32 b/package/syslinux/patches/patch-com32_modules_ethersel_c32
new file mode 100644
index 0000000..95f1650
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_ethersel_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_gpxecmd_c32 b/package/syslinux/patches/patch-com32_modules_gpxecmd_c32
new file mode 100644
index 0000000..35b0c7d
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_gpxecmd_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_host_c32 b/package/syslinux/patches/patch-com32_modules_host_c32
new file mode 100644
index 0000000..1593366
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_host_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_ifcpu64_c32 b/package/syslinux/patches/patch-com32_modules_ifcpu64_c32
new file mode 100644
index 0000000..8b193ed
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_ifcpu64_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_ifcpu_c32 b/package/syslinux/patches/patch-com32_modules_ifcpu_c32
new file mode 100644
index 0000000..4a23827
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_ifcpu_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_ifplop_c32 b/package/syslinux/patches/patch-com32_modules_ifplop_c32
new file mode 100644
index 0000000..cc379a0
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_ifplop_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_kbdmap_c32 b/package/syslinux/patches/patch-com32_modules_kbdmap_c32
new file mode 100644
index 0000000..88510ff
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_kbdmap_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_linux_c32 b/package/syslinux/patches/patch-com32_modules_linux_c32
new file mode 100644
index 0000000..2fd270f
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_linux_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_ls_c32 b/package/syslinux/patches/patch-com32_modules_ls_c32
new file mode 100644
index 0000000..1cf11f7
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_ls_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_meminfo_c32 b/package/syslinux/patches/patch-com32_modules_meminfo_c32
new file mode 100644
index 0000000..4f8a803
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_meminfo_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_pcitest_c32 b/package/syslinux/patches/patch-com32_modules_pcitest_c32
new file mode 100644
index 0000000..b88ce54
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_pcitest_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_pmload_c32 b/package/syslinux/patches/patch-com32_modules_pmload_c32
new file mode 100644
index 0000000..a178c14
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_pmload_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_pwd_c32 b/package/syslinux/patches/patch-com32_modules_pwd_c32
new file mode 100644
index 0000000..3627341
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_pwd_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_sanboot_c32 b/package/syslinux/patches/patch-com32_modules_sanboot_c32
new file mode 100644
index 0000000..bfa90d7
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_sanboot_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_sdi_c32 b/package/syslinux/patches/patch-com32_modules_sdi_c32
new file mode 100644
index 0000000..afbc5e1
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_sdi_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_vesainfo_c32 b/package/syslinux/patches/patch-com32_modules_vesainfo_c32
new file mode 100644
index 0000000..8b82a01
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_vesainfo_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_vpdtest_c32 b/package/syslinux/patches/patch-com32_modules_vpdtest_c32
new file mode 100644
index 0000000..034904a
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_vpdtest_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_modules_whichsys_c32 b/package/syslinux/patches/patch-com32_modules_whichsys_c32
new file mode 100644
index 0000000..86a3aa6
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_modules_whichsys_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_rosh_rosh_c32 b/package/syslinux/patches/patch-com32_rosh_rosh_c32
new file mode 100644
index 0000000..f4a1033
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_rosh_rosh_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_samples_advdump_c32 b/package/syslinux/patches/patch-com32_samples_advdump_c32
new file mode 100644
index 0000000..996dfeb
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_samples_advdump_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_samples_entrydump_c32 b/package/syslinux/patches/patch-com32_samples_entrydump_c32
new file mode 100644
index 0000000..1e11bcc
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_samples_entrydump_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_samples_fancyhello_c32 b/package/syslinux/patches/patch-com32_samples_fancyhello_c32
new file mode 100644
index 0000000..cf57e59
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_samples_fancyhello_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_samples_fancyhello_lnx b/package/syslinux/patches/patch-com32_samples_fancyhello_lnx
new file mode 100644
index 0000000..4c48644
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_samples_fancyhello_lnx
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_samples_hello_c32 b/package/syslinux/patches/patch-com32_samples_hello_c32
new file mode 100644
index 0000000..90db9bc
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_samples_hello_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_samples_keytest_c32 b/package/syslinux/patches/patch-com32_samples_keytest_c32
new file mode 100644
index 0000000..cbe0897
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_samples_keytest_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_samples_keytest_lnx b/package/syslinux/patches/patch-com32_samples_keytest_lnx
new file mode 100644
index 0000000..dbdf408
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_samples_keytest_lnx
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_samples_resolv_c32 b/package/syslinux/patches/patch-com32_samples_resolv_c32
new file mode 100644
index 0000000..2351b27
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_samples_resolv_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_samples_serialinfo_c32 b/package/syslinux/patches/patch-com32_samples_serialinfo_c32
new file mode 100644
index 0000000..920ca3f
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_samples_serialinfo_c32
Binary files differ
diff --git a/package/syslinux/patches/patch-com32_sysdump_sysdump_c32 b/package/syslinux/patches/patch-com32_sysdump_sysdump_c32
new file mode 100644
index 0000000..340637d
--- /dev/null
+++ b/package/syslinux/patches/patch-com32_sysdump_sysdump_c32
Binary files differ
diff --git a/package/tcl/Makefile b/package/tcl/Makefile
index 7b96c3b..964bb62 100644
--- a/package/tcl/Makefile
+++ b/package/tcl/Makefile
@@ -19,7 +19,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TCL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -ldl
+TARGET_LDFLAGS+= -ldl
CONFIGURE_ENV+= tcl_cv_strstr_unbroken=ok \
tcl_cv_strtod_buggy=ok \
tcl_cv_strtod_unbroken=ok \
diff --git a/package/tcsh/patches/patch-Makefile_in b/package/tcsh/patches/patch-Makefile_in
index 1844fed..1f206f2 100644
--- a/package/tcsh/patches/patch-Makefile_in
+++ b/package/tcsh/patches/patch-Makefile_in
@@ -6,7 +6,7 @@ use host compiler and flags
gethost: gethost.c sh.err.h tc.const.h sh.h
rm -f gethost
- ${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} $(srcdir)/gethost.c ${LIBES} ${EXTRALIBS}
-+ ${HOSTCC} -o gethost ${HOSTLDFLAGS} ${HOSTCFLAGS} ${HOSTCPPFLAGS} $(srcdir)/gethost.c
++ ${CC_FOR_BUILD} -o gethost ${LDFLAGS_FOR_BUILD} ${CFLAGS_FOR_BUILD} ${CPPFLAGS_FOR_BUILD} $(srcdir)/gethost.c
tc.defs.c: gethost host.defs
@rm -f $@.tmp
diff --git a/package/tinc/patches/patch-src_Makefile_in b/package/tinc/patches/patch-src_Makefile_in
new file mode 100644
index 0000000..49bcf90
--- /dev/null
+++ b/package/tinc/patches/patch-src_Makefile_in
@@ -0,0 +1,11 @@
+--- tinc-1.0.11.orig/src/Makefile.in 2009-11-01 16:23:33.000000000 +0100
++++ tinc-1.0.11/src/Makefile.in 2011-01-21 23:31:11.568658762 +0100
+@@ -197,7 +197,7 @@ noinst_HEADERS = conf.h connection.h dev
+ tincd_LDADD = \
+ $(top_builddir)/lib/libvpn.a
+
+-AM_CFLAGS = @CFLAGS@ -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\"
++AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\"
+ all: all-am
+
+ .SUFFIXES:
diff --git a/package/tntnet/Makefile b/package/tntnet/Makefile
index 5abe645..5d53a45 100644
--- a/package/tntnet/Makefile
+++ b/package/tntnet/Makefile
@@ -23,11 +23,9 @@ CONFIGURE_ARGS+= --without-epoll \
--without-cgi \
--without-sendfile \
--without-ssl
-
-CONFIGURE_ENV+= CXXFLAGS='${TCXXFLAGS}' \
+CONFIGURE_ENV+= CXXFLAGS='${TARGET_CXXFLAGS}' \
ac_cv_path_cxxtools_config=${STAGING_TARGET_DIR}/usr/bin
-
-TLDFLAGS+= -ldl
+TARGET_LDFLAGS+= -ldl
post-install:
${INSTALL_DIR} ${IDIR_TNTNET}/www
diff --git a/package/traceroute/Makefile b/package/traceroute/Makefile
index 65e5342..36967b5 100644
--- a/package/traceroute/Makefile
+++ b/package/traceroute/Makefile
@@ -21,7 +21,7 @@ CONFIG_STYLE:= manual
MAKE_FLAGS+= CC="${TARGET_CC}" \
AR="${TARGET_CROSS}ar" \
RANLIB="${TARGET_CROSS}ranlib" \
- CFLAGS="${TCFLAGS}" \
+ CFLAGS="${TARGET_CFLAGS}" \
LDFLAGS="${TARGET_LDFLAGS} -L${WRKSRC}/libsupp"
post-install:
diff --git a/package/trafshow/Makefile b/package/trafshow/Makefile
index 4ef0d74..17d9879 100644
--- a/package/trafshow/Makefile
+++ b/package/trafshow/Makefile
@@ -9,6 +9,8 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 0b2f0bb23b7832138b7d841437b9e182
PKG_DESCR:= traffic analyzing tool
PKG_SECTION:= net
+PKG_BUILDDEP:= libpcap ncurses
+PKG_DEPENDS:= libpcap libncurses libpthread
PKG_SITES:= http://www.sfr-fresh.com/linux/misc/
PKG_NOPARALLEL:= 1
@@ -18,8 +20,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TRAFSHOW,trafshow,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -DHAVE_SOCKADDR_STORAGE -DHAVE_HAS_COLORS
-TLDFLAGS+= -pthread
+TARGET_CPPFLAGS+= -DHAVE_SOCKADDR_STORAGE -DHAVE_HAS_COLORS
post-install:
${INSTALL_DIR} ${IDIR_TRAFSHOW}/usr/bin
diff --git a/package/trafshow/patches/patch-Makefile_in b/package/trafshow/patches/patch-Makefile_in
index d5562d6..f3f681f 100644
--- a/package/trafshow/patches/patch-Makefile_in
+++ b/package/trafshow/patches/patch-Makefile_in
@@ -1,6 +1,32 @@
--- trafshow-5.2.3.orig/Makefile.in 2004-06-15 10:29:14.000000000 +0200
-+++ trafshow-5.2.3/Makefile.in 2010-02-05 23:07:13.164334256 +0100
-@@ -59,6 +59,8 @@ OBJ = $(CSRC:.c=.o) $(YSRC:.y=.o) $(LSRC
++++ trafshow-5.2.3/Makefile.in 2011-01-21 23:49:58.988658729 +0100
+@@ -28,21 +28,22 @@ MANDEST = @mandir@
+
+ PROG = trafshow
+ CC = @PTHREAD_CC@
+-CFLAGS = @CFLAGS@ -Wall -I. @DEFS@ @PTHREAD_CFLAGS@
++CFLAGS = @CFLAGS@ -Wall @PTHREAD_CFLAGS@
++CPPFLAGS = -I. @DEFS@ @CPPFLAGS@
+ YACC = @YACC@
+ YFLAGS = -d -p `echo $@ | sed -e 's/\..*/_/'`
+ LEX = @LEX@
+ LEXLIB = @LEXLIB@
+ LFLAGS =
+ LDFLAGS = @LDFLAGS@
+-LIBS = @PTHREAD_LIBS@ @LIBS@
++LIBS = @PTHREAD_LIBS@ @LIBS@ -pthread
+
+ # Explicitly define compilation rule since SunOS 4's make doesn't like gcc.
+ # Also, gcc does not remove the .o before forking 'as', which can be a
+ # problem if you don't own the file but can write to the directory.
+ .c.o:
+ @rm -f $@
+- $(CC) $(CFLAGS) -c $*.c
++ $(CC) $(CPPFLAGS) $(CFLAGS) -c $*.c
+
+ CSRC = trafshow.c screen.c colormask.c getkey.c selector.c \
+ events.c session.c show_if.c show_stat.c show_dump.c \
+@@ -59,9 +60,11 @@ OBJ = $(CSRC:.c=.o) $(YSRC:.y=.o) $(LSRC
CLEANFILES = $(PROG) $(OBJ) $(GENSRC) y.tab.h
@@ -8,8 +34,12 @@
+
$(PROG): $(OBJ)
@rm -f $@
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
-@@ -73,9 +75,9 @@ version.c: VERSION Makefile
+- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
++ $(CC) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
+
+ $(OBJ): config.h trafshow.h Makefile
+ version.o: version.c
+@@ -73,9 +76,9 @@ version.c: VERSION Makefile
@echo 'char compiled[] = "$(CC) $(CFLAGS) $(LIBS)";' >> $@
install:
diff --git a/package/tslib/patches/autotool.patch b/package/tslib/patches/autotool.patch
index c72fd2d..f4e8ef9 100644
--- a/package/tslib/patches/autotool.patch
+++ b/package/tslib/patches/autotool.patch
@@ -30564,7 +30564,7 @@ diff -Nur tslib-1.0.orig/ltmain.sh tslib-1.0/ltmain.sh
+ # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
+ # @file GCC response files
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto)
+ func_quote_for_eval "$arg"
+ arg="$func_quote_for_eval_result"
+ func_append compile_command " $arg"
diff --git a/package/tslib/patches/patch-ltmain_sh b/package/tslib/patches/patch-ltmain_sh
deleted file mode 100644
index 8abaeff..0000000
--- a/package/tslib/patches/patch-ltmain_sh
+++ /dev/null
@@ -1,8416 +0,0 @@
---- tslib-1.0.orig/ltmain.sh 1970-01-01 00:00:00.000000000 +0100
-+++ tslib-1.0/ltmain.sh 2011-01-14 23:22:44.000000000 +0100
-@@ -0,0 +1,8413 @@
-+# Generated from ltmain.m4sh.
-+
-+# ltmain.sh (GNU libtool) 2.2.6b
-+# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
-+
-+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
-+# This is free software; see the source for copying conditions. There is NO
-+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-+
-+# GNU Libtool is free software; you can redistribute it and/or modify
-+# it under the terms of the GNU General Public License as published by
-+# the Free Software Foundation; either version 2 of the License, or
-+# (at your option) any later version.
-+#
-+# As a special exception to the GNU General Public License,
-+# if you distribute this file as part of a program or library that
-+# is built using GNU Libtool, you may include this file under the
-+# same distribution terms that you use for the rest of that program.
-+#
-+# GNU Libtool is distributed in the hope that it will be useful, but
-+# WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-+# General Public License for more details.
-+#
-+# You should have received a copy of the GNU General Public License
-+# along with GNU Libtool; see the file COPYING. If not, a copy
-+# can be downloaded from http://www.gnu.org/licenses/gpl.html,
-+# or obtained by writing to the Free Software Foundation, Inc.,
-+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-+
-+# Usage: $progname [OPTION]... [MODE-ARG]...
-+#
-+# Provide generalized library-building support services.
-+#
-+# --config show all configuration variables
-+# --debug enable verbose shell tracing
-+# -n, --dry-run display commands without modifying any files
-+# --features display basic configuration information and exit
-+# --mode=MODE use operation mode MODE
-+# --preserve-dup-deps don't remove duplicate dependency libraries
-+# --quiet, --silent don't print informational messages
-+# --tag=TAG use configuration variables from tag TAG
-+# -v, --verbose print informational messages (default)
-+# --version print version information
-+# -h, --help print short or long help message
-+#
-+# MODE must be one of the following:
-+#
-+# clean remove files from the build directory
-+# compile compile a source file into a libtool object
-+# execute automatically set library path, then run a program
-+# finish complete the installation of libtool libraries
-+# install install libraries or executables
-+# link create a library or an executable
-+# uninstall remove libraries from an installed directory
-+#
-+# MODE-ARGS vary depending on the MODE.
-+# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
-+#
-+# When reporting a bug, please describe a test case to reproduce it and
-+# include the following information:
-+#
-+# host-triplet: $host
-+# shell: $SHELL
-+# compiler: $LTCC
-+# compiler flags: $LTCFLAGS
-+# linker: $LD (gnu? $with_gnu_ld)
-+# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
-+# automake: $automake_version
-+# autoconf: $autoconf_version
-+#
-+# Report bugs to <bug-libtool@gnu.org>.
-+
-+PROGRAM=ltmain.sh
-+PACKAGE=libtool
-+VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
-+TIMESTAMP=""
-+package_revision=1.3017
-+
-+# Be Bourne compatible
-+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-+ emulate sh
-+ NULLCMD=:
-+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
-+ # is contrary to our usage. Disable this feature.
-+ alias -g '${1+"$@"}'='"$@"'
-+ setopt NO_GLOB_SUBST
-+else
-+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
-+fi
-+BIN_SH=xpg4; export BIN_SH # for Tru64
-+DUALCASE=1; export DUALCASE # for MKS sh
-+
-+# NLS nuisances: We save the old values to restore during execute mode.
-+# Only set LANG and LC_ALL to C if already set.
-+# These must not be set unconditionally because not all systems understand
-+# e.g. LANG=C (notably SCO).
-+lt_user_locale=
-+lt_safe_locale=
-+for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
-+do
-+ eval "if test \"\${$lt_var+set}\" = set; then
-+ save_$lt_var=\$$lt_var
-+ $lt_var=C
-+ export $lt_var
-+ lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
-+ lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
-+ fi"
-+done
-+
-+$lt_unset CDPATH
-+
-+
-+
-+
-+
-+: ${CP="cp -f"}
-+: ${ECHO="echo"}
-+: ${EGREP="/bin/grep -E"}
-+: ${FGREP="/bin/grep -F"}
-+: ${GREP="/bin/grep"}
-+: ${LN_S="ln -s"}
-+: ${MAKE="make"}
-+: ${MKDIR="mkdir"}
-+: ${MV="mv -f"}
-+: ${RM="rm -f"}
-+: ${SED="/bin/sed"}
-+: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
-+: ${Xsed="$SED -e 1s/^X//"}
-+
-+# Global variables:
-+EXIT_SUCCESS=0
-+EXIT_FAILURE=1
-+EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
-+EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
-+
-+exit_status=$EXIT_SUCCESS
-+
-+# Make sure IFS has a sensible default
-+lt_nl='
-+'
-+IFS=" $lt_nl"
-+
-+dirname="s,/[^/]*$,,"
-+basename="s,^.*/,,"
-+
-+# func_dirname_and_basename file append nondir_replacement
-+# perform func_basename and func_dirname in a single function
-+# call:
-+# dirname: Compute the dirname of FILE. If nonempty,
-+# add APPEND to the result, otherwise set result
-+# to NONDIR_REPLACEMENT.
-+# value returned in "$func_dirname_result"
-+# basename: Compute filename of FILE.
-+# value retuned in "$func_basename_result"
-+# Implementation must be kept synchronized with func_dirname
-+# and func_basename. For efficiency, we do not delegate to
-+# those functions but instead duplicate the functionality here.
-+func_dirname_and_basename ()
-+{
-+ # Extract subdirectory from the argument.
-+ func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
-+ if test "X$func_dirname_result" = "X${1}"; then
-+ func_dirname_result="${3}"
-+ else
-+ func_dirname_result="$func_dirname_result${2}"
-+ fi
-+ func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
-+}
-+
-+# Generated shell functions inserted here.
-+
-+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
-+# is ksh but when the shell is invoked as "sh" and the current value of
-+# the _XPG environment variable is not equal to 1 (one), the special
-+# positional parameter $0, within a function call, is the name of the
-+# function.
-+progpath="$0"
-+
-+# The name of this program:
-+# In the unlikely event $progname began with a '-', it would play havoc with
-+# func_echo (imagine progname=-n), so we prepend ./ in that case:
-+func_dirname_and_basename "$progpath"
-+progname=$func_basename_result
-+case $progname in
-+ -*) progname=./$progname ;;
-+esac
-+
-+# Make sure we have an absolute path for reexecution:
-+case $progpath in
-+ [\\/]*|[A-Za-z]:\\*) ;;
-+ *[\\/]*)
-+ progdir=$func_dirname_result
-+ progdir=`cd "$progdir" && pwd`
-+ progpath="$progdir/$progname"
-+ ;;
-+ *)
-+ save_IFS="$IFS"
-+ IFS=:
-+ for progdir in $PATH; do
-+ IFS="$save_IFS"
-+ test -x "$progdir/$progname" && break
-+ done
-+ IFS="$save_IFS"
-+ test -n "$progdir" || progdir=`pwd`
-+ progpath="$progdir/$progname"
-+ ;;
-+esac
-+
-+# Sed substitution that helps us do robust quoting. It backslashifies
-+# metacharacters that are still active within double-quoted strings.
-+Xsed="${SED}"' -e 1s/^X//'
-+sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
-+
-+# Same as above, but do not quote variable references.
-+double_quote_subst='s/\(["`\\]\)/\\\1/g'
-+
-+# Re-`\' parameter expansions in output of double_quote_subst that were
-+# `\'-ed in input to the same. If an odd number of `\' preceded a '$'
-+# in input to double_quote_subst, that '$' was protected from expansion.
-+# Since each input `\' is now two `\'s, look for any number of runs of
-+# four `\'s followed by two `\'s and then a '$'. `\' that '$'.
-+bs='\\'
-+bs2='\\\\'
-+bs4='\\\\\\\\'
-+dollar='\$'
-+sed_double_backslash="\
-+ s/$bs4/&\\
-+/g
-+ s/^$bs2$dollar/$bs&/
-+ s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
-+ s/\n//g"
-+
-+# Standard options:
-+opt_dry_run=false
-+opt_help=false
-+opt_quiet=false
-+opt_verbose=false
-+opt_warning=:
-+
-+# func_echo arg...
-+# Echo program name prefixed message, along with the current mode
-+# name if it has been set yet.
-+func_echo ()
-+{
-+ $ECHO "$progname${mode+: }$mode: $*"
-+}
-+
-+# func_verbose arg...
-+# Echo program name prefixed message in verbose mode only.
-+func_verbose ()
-+{
-+ $opt_verbose && func_echo ${1+"$@"}
-+
-+ # A bug in bash halts the script if the last line of a function
-+ # fails when set -e is in force, so we need another command to
-+ # work around that:
-+ :
-+}
-+
-+# func_error arg...
-+# Echo program name prefixed message to standard error.
-+func_error ()
-+{
-+ $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
-+}
-+
-+# func_warning arg...
-+# Echo program name prefixed warning message to standard error.
-+func_warning ()
-+{
-+ $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
-+
-+ # bash bug again:
-+ :
-+}
-+
-+# func_fatal_error arg...
-+# Echo program name prefixed message to standard error, and exit.
-+func_fatal_error ()
-+{
-+ func_error ${1+"$@"}
-+ exit $EXIT_FAILURE
-+}
-+
-+# func_fatal_help arg...
-+# Echo program name prefixed message to standard error, followed by
-+# a help hint, and exit.
-+func_fatal_help ()
-+{
-+ func_error ${1+"$@"}
-+ func_fatal_error "$help"
-+}
-+help="Try \`$progname --help' for more information." ## default
-+
-+
-+# func_grep expression filename
-+# Check whether EXPRESSION matches any line of FILENAME, without output.
-+func_grep ()
-+{
-+ $GREP "$1" "$2" >/dev/null 2>&1
-+}
-+
-+
-+# func_mkdir_p directory-path
-+# Make sure the entire path to DIRECTORY-PATH is available.
-+func_mkdir_p ()
-+{
-+ my_directory_path="$1"
-+ my_dir_list=
-+
-+ if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
-+
-+ # Protect directory names starting with `-'
-+ case $my_directory_path in
-+ -*) my_directory_path="./$my_directory_path" ;;
-+ esac
-+
-+ # While some portion of DIR does not yet exist...
-+ while test ! -d "$my_directory_path"; do
-+ # ...make a list in topmost first order. Use a colon delimited
-+ # list incase some portion of path contains whitespace.
-+ my_dir_list="$my_directory_path:$my_dir_list"
-+
-+ # If the last portion added has no slash in it, the list is done
-+ case $my_directory_path in */*) ;; *) break ;; esac
-+
-+ # ...otherwise throw away the child directory and loop
-+ my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
-+ done
-+ my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
-+
-+ save_mkdir_p_IFS="$IFS"; IFS=':'
-+ for my_dir in $my_dir_list; do
-+ IFS="$save_mkdir_p_IFS"
-+ # mkdir can fail with a `File exist' error if two processes
-+ # try to create one of the directories concurrently. Don't
-+ # stop in that case!
-+ $MKDIR "$my_dir" 2>/dev/null || :
-+ done
-+ IFS="$save_mkdir_p_IFS"
-+
-+ # Bail out if we (or some other process) failed to create a directory.
-+ test -d "$my_directory_path" || \
-+ func_fatal_error "Failed to create \`$1'"
-+ fi
-+}
-+
-+
-+# func_mktempdir [string]
-+# Make a temporary directory that won't clash with other running
-+# libtool processes, and avoids race conditions if possible. If
-+# given, STRING is the basename for that directory.
-+func_mktempdir ()
-+{
-+ my_template="${TMPDIR-/tmp}/${1-$progname}"
-+
-+ if test "$opt_dry_run" = ":"; then
-+ # Return a directory name, but don't create it in dry-run mode
-+ my_tmpdir="${my_template}-$$"
-+ else
-+
-+ # If mktemp works, use that first and foremost
-+ my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
-+
-+ if test ! -d "$my_tmpdir"; then
-+ # Failing that, at least try and use $RANDOM to avoid a race
-+ my_tmpdir="${my_template}-${RANDOM-0}$$"
-+
-+ save_mktempdir_umask=`umask`
-+ umask 0077
-+ $MKDIR "$my_tmpdir"
-+ umask $save_mktempdir_umask
-+ fi
-+
-+ # If we're not in dry-run mode, bomb out on failure
-+ test -d "$my_tmpdir" || \
-+ func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
-+ fi
-+
-+ $ECHO "X$my_tmpdir" | $Xsed
-+}
-+
-+
-+# func_quote_for_eval arg
-+# Aesthetically quote ARG to be evaled later.
-+# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
-+# is double-quoted, suitable for a subsequent eval, whereas
-+# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
-+# which are still active within double quotes backslashified.
-+func_quote_for_eval ()
-+{
-+ case $1 in
-+ *[\\\`\"\$]*)
-+ func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
-+ *)
-+ func_quote_for_eval_unquoted_result="$1" ;;
-+ esac
-+
-+ case $func_quote_for_eval_unquoted_result in
-+ # Double-quote args containing shell metacharacters to delay
-+ # word splitting, command substitution and and variable
-+ # expansion for a subsequent eval.
-+ # Many Bourne shells cannot handle close brackets correctly
-+ # in scan sets, so we specify it separately.
-+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
-+ func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
-+ ;;
-+ *)
-+ func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
-+ esac
-+}
-+
-+
-+# func_quote_for_expand arg
-+# Aesthetically quote ARG to be evaled later; same as above,
-+# but do not quote variable references.
-+func_quote_for_expand ()
-+{
-+ case $1 in
-+ *[\\\`\"]*)
-+ my_arg=`$ECHO "X$1" | $Xsed \
-+ -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
-+ *)
-+ my_arg="$1" ;;
-+ esac
-+
-+ case $my_arg in
-+ # Double-quote args containing shell metacharacters to delay
-+ # word splitting and command substitution for a subsequent eval.
-+ # Many Bourne shells cannot handle close brackets correctly
-+ # in scan sets, so we specify it separately.
-+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
-+ my_arg="\"$my_arg\""
-+ ;;
-+ esac
-+
-+ func_quote_for_expand_result="$my_arg"
-+}
-+
-+
-+# func_show_eval cmd [fail_exp]
-+# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
-+# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
-+# is given, then evaluate it.
-+func_show_eval ()
-+{
-+ my_cmd="$1"
-+ my_fail_exp="${2-:}"
-+
-+ ${opt_silent-false} || {
-+ func_quote_for_expand "$my_cmd"
-+ eval "func_echo $func_quote_for_expand_result"
-+ }
-+
-+ if ${opt_dry_run-false}; then :; else
-+ eval "$my_cmd"
-+ my_status=$?
-+ if test "$my_status" -eq 0; then :; else
-+ eval "(exit $my_status); $my_fail_exp"
-+ fi
-+ fi
-+}
-+
-+
-+# func_show_eval_locale cmd [fail_exp]
-+# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
-+# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
-+# is given, then evaluate it. Use the saved locale for evaluation.
-+func_show_eval_locale ()
-+{
-+ my_cmd="$1"
-+ my_fail_exp="${2-:}"
-+
-+ ${opt_silent-false} || {
-+ func_quote_for_expand "$my_cmd"
-+ eval "func_echo $func_quote_for_expand_result"
-+ }
-+
-+ if ${opt_dry_run-false}; then :; else
-+ eval "$lt_user_locale
-+ $my_cmd"
-+ my_status=$?
-+ eval "$lt_safe_locale"
-+ if test "$my_status" -eq 0; then :; else
-+ eval "(exit $my_status); $my_fail_exp"
-+ fi
-+ fi
-+}
-+
-+
-+
-+
-+
-+# func_version
-+# Echo version message to standard output and exit.
-+func_version ()
-+{
-+ $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
-+ s/^# //
-+ s/^# *$//
-+ s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
-+ p
-+ }' < "$progpath"
-+ exit $?
-+}
-+
-+# func_usage
-+# Echo short help message to standard output and exit.
-+func_usage ()
-+{
-+ $SED -n '/^# Usage:/,/# -h/ {
-+ s/^# //
-+ s/^# *$//
-+ s/\$progname/'$progname'/
-+ p
-+ }' < "$progpath"
-+ $ECHO
-+ $ECHO "run \`$progname --help | more' for full usage"
-+ exit $?
-+}
-+
-+# func_help
-+# Echo long help message to standard output and exit.
-+func_help ()
-+{
-+ $SED -n '/^# Usage:/,/# Report bugs to/ {
-+ s/^# //
-+ s/^# *$//
-+ s*\$progname*'$progname'*
-+ s*\$host*'"$host"'*
-+ s*\$SHELL*'"$SHELL"'*
-+ s*\$LTCC*'"$LTCC"'*
-+ s*\$LTCFLAGS*'"$LTCFLAGS"'*
-+ s*\$LD*'"$LD"'*
-+ s/\$with_gnu_ld/'"$with_gnu_ld"'/
-+ s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
-+ s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
-+ p
-+ }' < "$progpath"
-+ exit $?
-+}
-+
-+# func_missing_arg argname
-+# Echo program name prefixed message to standard error and set global
-+# exit_cmd.
-+func_missing_arg ()
-+{
-+ func_error "missing argument for $1"
-+ exit_cmd=exit
-+}
-+
-+exit_cmd=:
-+
-+
-+
-+
-+
-+# Check that we have a working $ECHO.
-+if test "X$1" = X--no-reexec; then
-+ # Discard the --no-reexec flag, and continue.
-+ shift
-+elif test "X$1" = X--fallback-echo; then
-+ # Avoid inline document here, it may be left over
-+ :
-+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
-+ # Yippee, $ECHO works!
-+ :
-+else
-+ # Restart under the correct shell, and then maybe $ECHO will work.
-+ exec $SHELL "$progpath" --no-reexec ${1+"$@"}
-+fi
-+
-+if test "X$1" = X--fallback-echo; then
-+ # used as fallback echo
-+ shift
-+ cat <<EOF
-+$*
-+EOF
-+ exit $EXIT_SUCCESS
-+fi
-+
-+magic="%%%MAGIC variable%%%"
-+magic_exe="%%%MAGIC EXE variable%%%"
-+
-+# Global variables.
-+# $mode is unset
-+nonopt=
-+execute_dlfiles=
-+preserve_args=
-+lo2o="s/\\.lo\$/.${objext}/"
-+o2lo="s/\\.${objext}\$/.lo/"
-+extracted_archives=
-+extracted_serial=0
-+
-+opt_dry_run=false
-+opt_duplicate_deps=false
-+opt_silent=false
-+opt_debug=:
-+
-+# If this variable is set in any of the actions, the command in it
-+# will be execed at the end. This prevents here-documents from being
-+# left over by shells.
-+exec_cmd=
-+
-+# func_fatal_configuration arg...
-+# Echo program name prefixed message to standard error, followed by
-+# a configuration failure hint, and exit.
-+func_fatal_configuration ()
-+{
-+ func_error ${1+"$@"}
-+ func_error "See the $PACKAGE documentation for more information."
-+ func_fatal_error "Fatal configuration error."
-+}
-+
-+
-+# func_config
-+# Display the configuration for all the tags in this script.
-+func_config ()
-+{
-+ re_begincf='^# ### BEGIN LIBTOOL'
-+ re_endcf='^# ### END LIBTOOL'
-+
-+ # Default configuration.
-+ $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
-+
-+ # Now print the configurations for the tags.
-+ for tagname in $taglist; do
-+ $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
-+ done
-+
-+ exit $?
-+}
-+
-+# func_features
-+# Display the features supported by this script.
-+func_features ()
-+{
-+ $ECHO "host: $host"
-+ if test "$build_libtool_libs" = yes; then
-+ $ECHO "enable shared libraries"
-+ else
-+ $ECHO "disable shared libraries"
-+ fi
-+ if test "$build_old_libs" = yes; then
-+ $ECHO "enable static libraries"
-+ else
-+ $ECHO "disable static libraries"
-+ fi
-+
-+ exit $?
-+}
-+
-+# func_enable_tag tagname
-+# Verify that TAGNAME is valid, and either flag an error and exit, or
-+# enable the TAGNAME tag. We also add TAGNAME to the global $taglist
-+# variable here.
-+func_enable_tag ()
-+{
-+ # Global variable:
-+ tagname="$1"
-+
-+ re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
-+ re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
-+ sed_extractcf="/$re_begincf/,/$re_endcf/p"
-+
-+ # Validate tagname.
-+ case $tagname in
-+ *[!-_A-Za-z0-9,/]*)
-+ func_fatal_error "invalid tag name: $tagname"
-+ ;;
-+ esac
-+
-+ # Don't test for the "default" C tag, as we know it's
-+ # there but not specially marked.
-+ case $tagname in
-+ CC) ;;
-+ *)
-+ if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
-+ taglist="$taglist $tagname"
-+
-+ # Evaluate the configuration. Be careful to quote the path
-+ # and the sed script, to avoid splitting on whitespace, but
-+ # also don't use non-portable quotes within backquotes within
-+ # quotes we have to do it in 2 steps:
-+ extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
-+ eval "$extractedcf"
-+ else
-+ func_error "ignoring unknown tag $tagname"
-+ fi
-+ ;;
-+ esac
-+}
-+
-+# Parse options once, thoroughly. This comes as soon as possible in
-+# the script to make things like `libtool --version' happen quickly.
-+{
-+
-+ # Shorthand for --mode=foo, only valid as the first argument
-+ case $1 in
-+ clean|clea|cle|cl)
-+ shift; set dummy --mode clean ${1+"$@"}; shift
-+ ;;
-+ compile|compil|compi|comp|com|co|c)
-+ shift; set dummy --mode compile ${1+"$@"}; shift
-+ ;;
-+ execute|execut|execu|exec|exe|ex|e)
-+ shift; set dummy --mode execute ${1+"$@"}; shift
-+ ;;
-+ finish|finis|fini|fin|fi|f)
-+ shift; set dummy --mode finish ${1+"$@"}; shift
-+ ;;
-+ install|instal|insta|inst|ins|in|i)
-+ shift; set dummy --mode install ${1+"$@"}; shift
-+ ;;
-+ link|lin|li|l)
-+ shift; set dummy --mode link ${1+"$@"}; shift
-+ ;;
-+ uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
-+ shift; set dummy --mode uninstall ${1+"$@"}; shift
-+ ;;
-+ esac
-+
-+ # Parse non-mode specific arguments:
-+ while test "$#" -gt 0; do
-+ opt="$1"
-+ shift
-+
-+ case $opt in
-+ --config) func_config ;;
-+
-+ --debug) preserve_args="$preserve_args $opt"
-+ func_echo "enabling shell trace mode"
-+ opt_debug='set -x'
-+ $opt_debug
-+ ;;
-+
-+ -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break
-+ execute_dlfiles="$execute_dlfiles $1"
-+ shift
-+ ;;
-+
-+ --dry-run | -n) opt_dry_run=: ;;
-+ --features) func_features ;;
-+ --finish) mode="finish" ;;
-+
-+ --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break
-+ case $1 in
-+ # Valid mode arguments:
-+ clean) ;;
-+ compile) ;;
-+ execute) ;;
-+ finish) ;;
-+ install) ;;
-+ link) ;;
-+ relink) ;;
-+ uninstall) ;;
-+
-+ # Catch anything else as an error
-+ *) func_error "invalid argument for $opt"
-+ exit_cmd=exit
-+ break
-+ ;;
-+ esac
-+
-+ mode="$1"
-+ shift
-+ ;;
-+
-+ --preserve-dup-deps)
-+ opt_duplicate_deps=: ;;
-+
-+ --quiet|--silent) preserve_args="$preserve_args $opt"
-+ opt_silent=:
-+ ;;
-+
-+ --verbose| -v) preserve_args="$preserve_args $opt"
-+ opt_silent=false
-+ ;;
-+
-+ --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
-+ preserve_args="$preserve_args $opt $1"
-+ func_enable_tag "$1" # tagname is set here
-+ shift
-+ ;;
-+
-+ # Separate optargs to long options:
-+ -dlopen=*|--mode=*|--tag=*)
-+ func_opt_split "$opt"
-+ set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
-+ shift
-+ ;;
-+
-+ -\?|-h) func_usage ;;
-+ --help) opt_help=: ;;
-+ --version) func_version ;;
-+
-+ -*) func_fatal_help "unrecognized option \`$opt'" ;;
-+
-+ *) nonopt="$opt"
-+ break
-+ ;;
-+ esac
-+ done
-+
-+
-+ case $host in
-+ *cygwin* | *mingw* | *pw32* | *cegcc*)
-+ # don't eliminate duplications in $postdeps and $predeps
-+ opt_duplicate_compiler_generated_deps=:
-+ ;;
-+ *)
-+ opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
-+ ;;
-+ esac
-+
-+ # Having warned about all mis-specified options, bail out if
-+ # anything was wrong.
-+ $exit_cmd $EXIT_FAILURE
-+}
-+
-+# func_check_version_match
-+# Ensure that we are using m4 macros, and libtool script from the same
-+# release of libtool.
-+func_check_version_match ()
-+{
-+ if test "$package_revision" != "$macro_revision"; then
-+ if test "$VERSION" != "$macro_version"; then
-+ if test -z "$macro_version"; then
-+ cat >&2 <<_LT_EOF
-+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
-+$progname: definition of this LT_INIT comes from an older release.
-+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
-+$progname: and run autoconf again.
-+_LT_EOF
-+ else
-+ cat >&2 <<_LT_EOF
-+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
-+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
-+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
-+$progname: and run autoconf again.
-+_LT_EOF
-+ fi
-+ else
-+ cat >&2 <<_LT_EOF
-+$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
-+$progname: but the definition of this LT_INIT comes from revision $macro_revision.
-+$progname: You should recreate aclocal.m4 with macros from revision $package_revision
-+$progname: of $PACKAGE $VERSION and run autoconf again.
-+_LT_EOF
-+ fi
-+
-+ exit $EXIT_MISMATCH
-+ fi
-+}
-+
-+
-+## ----------- ##
-+## Main. ##
-+## ----------- ##
-+
-+$opt_help || {
-+ # Sanity checks first:
-+ func_check_version_match
-+
-+ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
-+ func_fatal_configuration "not configured to build any kind of library"
-+ fi
-+
-+ test -z "$mode" && func_fatal_error "error: you must specify a MODE."
-+
-+
-+ # Darwin sucks
-+ eval std_shrext=\"$shrext_cmds\"
-+
-+
-+ # Only execute mode is allowed to have -dlopen flags.
-+ if test -n "$execute_dlfiles" && test "$mode" != execute; then
-+ func_error "unrecognized option \`-dlopen'"
-+ $ECHO "$help" 1>&2
-+ exit $EXIT_FAILURE
-+ fi
-+
-+ # Change the help message to a mode-specific one.
-+ generic_help="$help"
-+ help="Try \`$progname --help --mode=$mode' for more information."
-+}
-+
-+
-+# func_lalib_p file
-+# True iff FILE is a libtool `.la' library or `.lo' object file.
-+# This function is only a basic sanity check; it will hardly flush out
-+# determined imposters.
-+func_lalib_p ()
-+{
-+ test -f "$1" &&
-+ $SED -e 4q "$1" 2>/dev/null \
-+ | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
-+}
-+
-+# func_lalib_unsafe_p file
-+# True iff FILE is a libtool `.la' library or `.lo' object file.
-+# This function implements the same check as func_lalib_p without
-+# resorting to external programs. To this end, it redirects stdin and
-+# closes it afterwards, without saving the original file descriptor.
-+# As a safety measure, use it only where a negative result would be
-+# fatal anyway. Works if `file' does not exist.
-+func_lalib_unsafe_p ()
-+{
-+ lalib_p=no
-+ if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
-+ for lalib_p_l in 1 2 3 4
-+ do
-+ read lalib_p_line
-+ case "$lalib_p_line" in
-+ \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
-+ esac
-+ done
-+ exec 0<&5 5<&-
-+ fi
-+ test "$lalib_p" = yes
-+}
-+
-+# func_ltwrapper_script_p file
-+# True iff FILE is a libtool wrapper script
-+# This function is only a basic sanity check; it will hardly flush out
-+# determined imposters.
-+func_ltwrapper_script_p ()
-+{
-+ func_lalib_p "$1"
-+}
-+
-+# func_ltwrapper_executable_p file
-+# True iff FILE is a libtool wrapper executable
-+# This function is only a basic sanity check; it will hardly flush out
-+# determined imposters.
-+func_ltwrapper_executable_p ()
-+{
-+ func_ltwrapper_exec_suffix=
-+ case $1 in
-+ *.exe) ;;
-+ *) func_ltwrapper_exec_suffix=.exe ;;
-+ esac
-+ $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
-+}
-+
-+# func_ltwrapper_scriptname file
-+# Assumes file is an ltwrapper_executable
-+# uses $file to determine the appropriate filename for a
-+# temporary ltwrapper_script.
-+func_ltwrapper_scriptname ()
-+{
-+ func_ltwrapper_scriptname_result=""
-+ if func_ltwrapper_executable_p "$1"; then
-+ func_dirname_and_basename "$1" "" "."
-+ func_stripname '' '.exe' "$func_basename_result"
-+ func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
-+ fi
-+}
-+
-+# func_ltwrapper_p file
-+# True iff FILE is a libtool wrapper script or wrapper executable
-+# This function is only a basic sanity check; it will hardly flush out
-+# determined imposters.
-+func_ltwrapper_p ()
-+{
-+ func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
-+}
-+
-+
-+# func_execute_cmds commands fail_cmd
-+# Execute tilde-delimited COMMANDS.
-+# If FAIL_CMD is given, eval that upon failure.
-+# FAIL_CMD may read-access the current command in variable CMD!
-+func_execute_cmds ()
-+{
-+ $opt_debug
-+ save_ifs=$IFS; IFS='~'
-+ for cmd in $1; do
-+ IFS=$save_ifs
-+ eval cmd=\"$cmd\"
-+ func_show_eval "$cmd" "${2-:}"
-+ done
-+ IFS=$save_ifs
-+}
-+
-+
-+# func_source file
-+# Source FILE, adding directory component if necessary.
-+# Note that it is not necessary on cygwin/mingw to append a dot to
-+# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
-+# behavior happens only for exec(3), not for open(2)! Also, sourcing
-+# `FILE.' does not work on cygwin managed mounts.
-+func_source ()
-+{
-+ $opt_debug
-+ case $1 in
-+ */* | *\\*) . "$1" ;;
-+ *) . "./$1" ;;
-+ esac
-+}
-+
-+
-+# func_infer_tag arg
-+# Infer tagged configuration to use if any are available and
-+# if one wasn't chosen via the "--tag" command line option.
-+# Only attempt this if the compiler in the base compile
-+# command doesn't match the default compiler.
-+# arg is usually of the form 'gcc ...'
-+func_infer_tag ()
-+{
-+ $opt_debug
-+ if test -n "$available_tags" && test -z "$tagname"; then
-+ CC_quoted=
-+ for arg in $CC; do
-+ func_quote_for_eval "$arg"
-+ CC_quoted="$CC_quoted $func_quote_for_eval_result"
-+ done
-+ case $@ in
-+ # Blanks in the command may have been stripped by the calling shell,
-+ # but not from the CC environment variable when configure was run.
-+ " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
-+ # Blanks at the start of $base_compile will cause this to fail
-+ # if we don't check for them as well.
-+ *)
-+ for z in $available_tags; do
-+ if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
-+ # Evaluate the configuration.
-+ eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
-+ CC_quoted=
-+ for arg in $CC; do
-+ # Double-quote args containing other shell metacharacters.
-+ func_quote_for_eval "$arg"
-+ CC_quoted="$CC_quoted $func_quote_for_eval_result"
-+ done
-+ case "$@ " in
-+ " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
-+ # The compiler in the base compile command matches
-+ # the one in the tagged configuration.
-+ # Assume this is the tagged configuration we want.
-+ tagname=$z
-+ break
-+ ;;
-+ esac
-+ fi
-+ done
-+ # If $tagname still isn't set, then no tagged configuration
-+ # was found and let the user know that the "--tag" command
-+ # line option must be used.
-+ if test -z "$tagname"; then
-+ func_echo "unable to infer tagged configuration"
-+ func_fatal_error "specify a tag with \`--tag'"
-+# else
-+# func_verbose "using $tagname tagged configuration"
-+ fi
-+ ;;
-+ esac
-+ fi
-+}
-+
-+
-+
-+# func_write_libtool_object output_name pic_name nonpic_name
-+# Create a libtool object file (analogous to a ".la" file),
-+# but don't create it if we're doing a dry run.
-+func_write_libtool_object ()
-+{
-+ write_libobj=${1}
-+ if test "$build_libtool_libs" = yes; then
-+ write_lobj=\'${2}\'
-+ else
-+ write_lobj=none
-+ fi
-+
-+ if test "$build_old_libs" = yes; then
-+ write_oldobj=\'${3}\'
-+ else
-+ write_oldobj=none
-+ fi
-+
-+ $opt_dry_run || {
-+ cat >${write_libobj}T <<EOF
-+# $write_libobj - a libtool object file
-+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
-+#
-+# Please DO NOT delete this file!
-+# It is necessary for linking the library.
-+
-+# Name of the PIC object.
-+pic_object=$write_lobj
-+
-+# Name of the non-PIC object
-+non_pic_object=$write_oldobj
-+
-+EOF
-+ $MV "${write_libobj}T" "${write_libobj}"
-+ }
-+}
-+
-+# func_mode_compile arg...
-+func_mode_compile ()
-+{
-+ $opt_debug
-+ # Get the compilation command and the source file.
-+ base_compile=
-+ srcfile="$nonopt" # always keep a non-empty value in "srcfile"
-+ suppress_opt=yes
-+ suppress_output=
-+ arg_mode=normal
-+ libobj=
-+ later=
-+ pie_flag=
-+
-+ for arg
-+ do
-+ case $arg_mode in
-+ arg )
-+ # do not "continue". Instead, add this to base_compile
-+ lastarg="$arg"
-+ arg_mode=normal
-+ ;;
-+
-+ target )
-+ libobj="$arg"
-+ arg_mode=normal
-+ continue
-+ ;;
-+
-+ normal )
-+ # Accept any command-line options.
-+ case $arg in
-+ -o)
-+ test -n "$libobj" && \
-+ func_fatal_error "you cannot specify \`-o' more than once"
-+ arg_mode=target
-+ continue
-+ ;;
-+
-+ -pie | -fpie | -fPIE)
-+ pie_flag="$pie_flag $arg"
-+ continue
-+ ;;
-+
-+ -shared | -static | -prefer-pic | -prefer-non-pic)
-+ later="$later $arg"
-+ continue
-+ ;;
-+
-+ -no-suppress)
-+ suppress_opt=no
-+ continue
-+ ;;
-+
-+ -Xcompiler)
-+ arg_mode=arg # the next one goes into the "base_compile" arg list
-+ continue # The current "srcfile" will either be retained or
-+ ;; # replaced later. I would guess that would be a bug.
-+
-+ -Wc,*)
-+ func_stripname '-Wc,' '' "$arg"
-+ args=$func_stripname_result
-+ lastarg=
-+ save_ifs="$IFS"; IFS=','
-+ for arg in $args; do
-+ IFS="$save_ifs"
-+ func_quote_for_eval "$arg"
-+ lastarg="$lastarg $func_quote_for_eval_result"
-+ done
-+ IFS="$save_ifs"
-+ func_stripname ' ' '' "$lastarg"
-+ lastarg=$func_stripname_result
-+
-+ # Add the arguments to base_compile.
-+ base_compile="$base_compile $lastarg"
-+ continue
-+ ;;
-+
-+ *)
-+ # Accept the current argument as the source file.
-+ # The previous "srcfile" becomes the current argument.
-+ #
-+ lastarg="$srcfile"
-+ srcfile="$arg"
-+ ;;
-+ esac # case $arg
-+ ;;
-+ esac # case $arg_mode
-+
-+ # Aesthetically quote the previous argument.
-+ func_quote_for_eval "$lastarg"
-+ base_compile="$base_compile $func_quote_for_eval_result"
-+ done # for arg
-+
-+ case $arg_mode in
-+ arg)
-+ func_fatal_error "you must specify an argument for -Xcompile"
-+ ;;
-+ target)
-+ func_fatal_error "you must specify a target with \`-o'"
-+ ;;
-+ *)
-+ # Get the name of the library object.
-+ test -z "$libobj" && {
-+ func_basename "$srcfile"
-+ libobj="$func_basename_result"
-+ }
-+ ;;
-+ esac
-+
-+ # Recognize several different file suffixes.
-+ # If the user specifies -o file.o, it is replaced with file.lo
-+ case $libobj in
-+ *.[cCFSifmso] | \
-+ *.ada | *.adb | *.ads | *.asm | \
-+ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
-+ *.[fF][09]? | *.for | *.java | *.obj | *.sx)
-+ func_xform "$libobj"
-+ libobj=$func_xform_result
-+ ;;
-+ esac
-+
-+ case $libobj in
-+ *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
-+ *)
-+ func_fatal_error "cannot determine name of library object from \`$libobj'"
-+ ;;
-+ esac
-+
-+ func_infer_tag $base_compile
-+
-+ for arg in $later; do
-+ case $arg in
-+ -shared)
-+ test "$build_libtool_libs" != yes && \
-+ func_fatal_configuration "can not build a shared library"
-+ build_old_libs=no
-+ continue
-+ ;;
-+
-+ -static)
-+ build_libtool_libs=no
-+ build_old_libs=yes
-+ continue
-+ ;;
-+
-+ -prefer-pic)
-+ pic_mode=yes
-+ continue
-+ ;;
-+
-+ -prefer-non-pic)
-+ pic_mode=no
-+ continue
-+ ;;
-+ esac
-+ done
-+
-+ func_quote_for_eval "$libobj"
-+ test "X$libobj" != "X$func_quote_for_eval_result" \
-+ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
-+ && func_warning "libobj name \`$libobj' may not contain shell special characters."
-+ func_dirname_and_basename "$obj" "/" ""
-+ objname="$func_basename_result"
-+ xdir="$func_dirname_result"
-+ lobj=${xdir}$objdir/$objname
-+
-+ test -z "$base_compile" && \
-+ func_fatal_help "you must specify a compilation command"
-+
-+ # Delete any leftover library objects.
-+ if test "$build_old_libs" = yes; then
-+ removelist="$obj $lobj $libobj ${libobj}T"
-+ else
-+ removelist="$lobj $libobj ${libobj}T"
-+ fi
-+
-+ # On Cygwin there's no "real" PIC flag so we must build both object types
-+ case $host_os in
-+ cygwin* | mingw* | pw32* | os2* | cegcc*)
-+ pic_mode=default
-+ ;;
-+ esac
-+ if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
-+ # non-PIC code in shared libraries is not supported
-+ pic_mode=default
-+ fi
-+
-+ # Calculate the filename of the output object if compiler does
-+ # not support -o with -c
-+ if test "$compiler_c_o" = no; then
-+ output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
-+ lockfile="$output_obj.lock"
-+ else
-+ output_obj=
-+ need_locks=no
-+ lockfile=
-+ fi
-+
-+ # Lock this critical section if it is needed
-+ # We use this script file to make the link, it avoids creating a new file
-+ if test "$need_locks" = yes; then
-+ until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
-+ func_echo "Waiting for $lockfile to be removed"
-+ sleep 2
-+ done
-+ elif test "$need_locks" = warn; then
-+ if test -f "$lockfile"; then
-+ $ECHO "\
-+*** ERROR, $lockfile exists and contains:
-+`cat $lockfile 2>/dev/null`
-+
-+This indicates that another process is trying to use the same
-+temporary object file, and libtool could not work around it because
-+your compiler does not support \`-c' and \`-o' together. If you
-+repeat this compilation, it may succeed, by chance, but you had better
-+avoid parallel builds (make -j) in this platform, or get a better
-+compiler."
-+
-+ $opt_dry_run || $RM $removelist
-+ exit $EXIT_FAILURE
-+ fi
-+ removelist="$removelist $output_obj"
-+ $ECHO "$srcfile" > "$lockfile"
-+ fi
-+
-+ $opt_dry_run || $RM $removelist
-+ removelist="$removelist $lockfile"
-+ trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
-+
-+ if test -n "$fix_srcfile_path"; then
-+ eval srcfile=\"$fix_srcfile_path\"
-+ fi
-+ func_quote_for_eval "$srcfile"
-+ qsrcfile=$func_quote_for_eval_result
-+
-+ # Only build a PIC object if we are building libtool libraries.
-+ if test "$build_libtool_libs" = yes; then
-+ # Without this assignment, base_compile gets emptied.
-+ fbsd_hideous_sh_bug=$base_compile
-+
-+ if test "$pic_mode" != no; then
-+ command="$base_compile $qsrcfile $pic_flag"
-+ else
-+ # Don't build PIC code
-+ command="$base_compile $qsrcfile"
-+ fi
-+
-+ func_mkdir_p "$xdir$objdir"
-+
-+ if test -z "$output_obj"; then
-+ # Place PIC objects in $objdir
-+ command="$command -o $lobj"
-+ fi
-+
-+ func_show_eval_locale "$command" \
-+ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
-+
-+ if test "$need_locks" = warn &&
-+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
-+ $ECHO "\
-+*** ERROR, $lockfile contains:
-+`cat $lockfile 2>/dev/null`
-+
-+but it should contain:
-+$srcfile
-+
-+This indicates that another process is trying to use the same
-+temporary object file, and libtool could not work around it because
-+your compiler does not support \`-c' and \`-o' together. If you
-+repeat this compilation, it may succeed, by chance, but you had better
-+avoid parallel builds (make -j) in this platform, or get a better
-+compiler."
-+
-+ $opt_dry_run || $RM $removelist
-+ exit $EXIT_FAILURE
-+ fi
-+
-+ # Just move the object if needed, then go on to compile the next one
-+ if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
-+ func_show_eval '$MV "$output_obj" "$lobj"' \
-+ 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
-+ fi
-+
-+ # Allow error messages only from the first compilation.
-+ if test "$suppress_opt" = yes; then
-+ suppress_output=' >/dev/null 2>&1'
-+ fi
-+ fi
-+
-+ # Only build a position-dependent object if we build old libraries.
-+ if test "$build_old_libs" = yes; then
-+ if test "$pic_mode" != yes; then
-+ # Don't build PIC code
-+ command="$base_compile $qsrcfile$pie_flag"
-+ else
-+ command="$base_compile $qsrcfile $pic_flag"
-+ fi
-+ if test "$compiler_c_o" = yes; then
-+ command="$command -o $obj"
-+ fi
-+
-+ # Suppress compiler output if we already did a PIC compilation.
-+ command="$command$suppress_output"
-+ func_show_eval_locale "$command" \
-+ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
-+
-+ if test "$need_locks" = warn &&
-+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
-+ $ECHO "\
-+*** ERROR, $lockfile contains:
-+`cat $lockfile 2>/dev/null`
-+
-+but it should contain:
-+$srcfile
-+
-+This indicates that another process is trying to use the same
-+temporary object file, and libtool could not work around it because
-+your compiler does not support \`-c' and \`-o' together. If you
-+repeat this compilation, it may succeed, by chance, but you had better
-+avoid parallel builds (make -j) in this platform, or get a better
-+compiler."
-+
-+ $opt_dry_run || $RM $removelist
-+ exit $EXIT_FAILURE
-+ fi
-+
-+ # Just move the object if needed
-+ if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
-+ func_show_eval '$MV "$output_obj" "$obj"' \
-+ 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
-+ fi
-+ fi
-+
-+ $opt_dry_run || {
-+ func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
-+
-+ # Unlock the critical section if it was locked
-+ if test "$need_locks" != no; then
-+ removelist=$lockfile
-+ $RM "$lockfile"
-+ fi
-+ }
-+
-+ exit $EXIT_SUCCESS
-+}
-+
-+$opt_help || {
-+test "$mode" = compile && func_mode_compile ${1+"$@"}
-+}
-+
-+func_mode_help ()
-+{
-+ # We need to display help for each of the modes.
-+ case $mode in
-+ "")
-+ # Generic help is extracted from the usage comments
-+ # at the start of this file.
-+ func_help
-+ ;;
-+
-+ clean)
-+ $ECHO \
-+"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
-+
-+Remove files from the build directory.
-+
-+RM is the name of the program to use to delete files associated with each FILE
-+(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
-+to RM.
-+
-+If FILE is a libtool library, object or program, all the files associated
-+with it are deleted. Otherwise, only FILE itself is deleted using RM."
-+ ;;
-+
-+ compile)
-+ $ECHO \
-+"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
-+
-+Compile a source file into a libtool library object.
-+
-+This mode accepts the following additional options:
-+
-+ -o OUTPUT-FILE set the output file name to OUTPUT-FILE
-+ -no-suppress do not suppress compiler output for multiple passes
-+ -prefer-pic try to building PIC objects only
-+ -prefer-non-pic try to building non-PIC objects only
-+ -shared do not build a \`.o' file suitable for static linking
-+ -static only build a \`.o' file suitable for static linking
-+
-+COMPILE-COMMAND is a command to be used in creating a \`standard' object file
-+from the given SOURCEFILE.
-+
-+The output file name is determined by removing the directory component from
-+SOURCEFILE, then substituting the C source code suffix \`.c' with the
-+library object suffix, \`.lo'."
-+ ;;
-+
-+ execute)
-+ $ECHO \
-+"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
-+
-+Automatically set library path, then run a program.
-+
-+This mode accepts the following additional options:
-+
-+ -dlopen FILE add the directory containing FILE to the library path
-+
-+This mode sets the library path environment variable according to \`-dlopen'
-+flags.
-+
-+If any of the ARGS are libtool executable wrappers, then they are translated
-+into their corresponding uninstalled binary, and any of their required library
-+directories are added to the library path.
-+
-+Then, COMMAND is executed, with ARGS as arguments."
-+ ;;
-+
-+ finish)
-+ $ECHO \
-+"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
-+
-+Complete the installation of libtool libraries.
-+
-+Each LIBDIR is a directory that contains libtool libraries.
-+
-+The commands that this mode executes may require superuser privileges. Use
-+the \`--dry-run' option if you just want to see what would be executed."
-+ ;;
-+
-+ install)
-+ $ECHO \
-+"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
-+
-+Install executables or libraries.
-+
-+INSTALL-COMMAND is the installation command. The first component should be
-+either the \`install' or \`cp' program.
-+
-+The following components of INSTALL-COMMAND are treated specially:
-+
-+ -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
-+
-+The rest of the components are interpreted as arguments to that command (only
-+BSD-compatible install options are recognized)."
-+ ;;
-+
-+ link)
-+ $ECHO \
-+"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
-+
-+Link object files or libraries together to form another library, or to
-+create an executable program.
-+
-+LINK-COMMAND is a command using the C compiler that you would use to create
-+a program from several object files.
-+
-+The following components of LINK-COMMAND are treated specially:
-+
-+ -all-static do not do any dynamic linking at all
-+ -avoid-version do not add a version suffix if possible
-+ -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
-+ -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
-+ -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
-+ -export-symbols SYMFILE
-+ try to export only the symbols listed in SYMFILE
-+ -export-symbols-regex REGEX
-+ try to export only the symbols matching REGEX
-+ -LLIBDIR search LIBDIR for required installed libraries
-+ -lNAME OUTPUT-FILE requires the installed library libNAME
-+ -module build a library that can dlopened
-+ -no-fast-install disable the fast-install mode
-+ -no-install link a not-installable executable
-+ -no-undefined declare that a library does not refer to external symbols
-+ -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
-+ -objectlist FILE Use a list of object files found in FILE to specify objects
-+ -precious-files-regex REGEX
-+ don't remove output files matching REGEX
-+ -release RELEASE specify package release information
-+ -rpath LIBDIR the created library will eventually be installed in LIBDIR
-+ -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
-+ -shared only do dynamic linking of libtool libraries
-+ -shrext SUFFIX override the standard shared library file extension
-+ -static do not do any dynamic linking of uninstalled libtool libraries
-+ -static-libtool-libs
-+ do not do any dynamic linking of libtool libraries
-+ -version-info CURRENT[:REVISION[:AGE]]
-+ specify library version info [each variable defaults to 0]
-+ -weak LIBNAME declare that the target provides the LIBNAME interface
-+
-+All other options (arguments beginning with \`-') are ignored.
-+
-+Every other argument is treated as a filename. Files ending in \`.la' are
-+treated as uninstalled libtool libraries, other files are standard or library
-+object files.
-+
-+If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
-+only library objects (\`.lo' files) may be specified, and \`-rpath' is
-+required, except when creating a convenience library.
-+
-+If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
-+using \`ar' and \`ranlib', or on Windows using \`lib'.
-+
-+If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
-+is created, otherwise an executable program is created."
-+ ;;
-+