diff options
24 files changed, 2925 insertions, 13 deletions
diff --git a/package/cluster-glue/Makefile b/package/cluster-glue/Makefile new file mode 100644 index 000000000..f968db8d2 --- /dev/null +++ b/package/cluster-glue/Makefile @@ -0,0 +1,31 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= cluster-glue +PKG_VERSION:= 1.0.7 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 237d396094a3cded73f9f0ad45558a21 +PKG_DESCR:= Cluster Glue library and tools +PKG_SECTION:= ha +PKG_BUILDDEP:= glib bzip2 e2fsprogs +PKG_URL:= http://www.linux-ha.org/wiki/Cluster_Glue +PKG_SITES:= http://openadk.org/distfiles/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,CLUSTER_GLUE,cluster-glue,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +# disable honour cflags stuff +XAKE_FLAGS+= GCC_HONOUR_COPTS=s +CONFIGURE_ENV+= ac_cv_path_HELP2MAN='' +CONFIGURE_ARGS+= --disable-bundled-ltdl \ + --enable-fatal-warnings=no + +cluster-glue-install: + $(INSTALL_DIR) $(IDIR_CLUSTER_GLUE)/usr/lib + $(CP) $(WRKINST)/usr/lib/*.so* \ + $(IDIR_CLUSTER_GLUE)/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/corosync/Makefile b/package/corosync/Makefile new file mode 100644 index 000000000..378fd618a --- /dev/null +++ b/package/corosync/Makefile @@ -0,0 +1,37 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= corosync +PKG_VERSION:= 1.3.1 +PKG_RELEASE:= 1 +PKG_MD5SUM:= c58459a009a3a9d0b9c00e276a190d90 +PKG_DESCR:= Cluster Engine +PKG_SECTION:= ha +PKG_URL:= http://www.corosync.org/ +PKG_SITES:= http://openadk.org/distfiles/ + +PKG_CFLINE_COROSYNC:= select ADK_KERNEL_IP_MULTICAST + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,COROSYNC,corosync,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ARGS+= --disable-nss +CONFIGURE_ENV+= ac_cv_func_fnmatch_works=yes + +corosync-install: + $(INSTALL_DIR) $(IDIR_COROSYNC)/etc/corosync + $(CP) ./files/corosync.conf $(IDIR_COROSYNC)/etc/corosync + $(INSTALL_DIR) $(IDIR_COROSYNC)/usr/lib + $(CP) $(WRKINST)/usr/lib/lib*.so* \ + $(IDIR_COROSYNC)/usr/lib + $(INSTALL_DIR) $(IDIR_COROSYNC)/usr/sbin + $(CP) $(WRKINST)/usr/sbin/* \ + $(IDIR_COROSYNC)/usr/sbin + $(INSTALL_DIR) $(IDIR_COROSYNC)/usr/libexec + $(CP) $(WRKINST)/usr/libexec/* \ + $(IDIR_COROSYNC)/usr/libexec + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/corosync/files/corosync.conf b/package/corosync/files/corosync.conf new file mode 100644 index 000000000..11fd9cf2d --- /dev/null +++ b/package/corosync/files/corosync.conf @@ -0,0 +1,32 @@ +aisexec { + user: root + group: root +} +service { + name: pacemaker + ver: 0 +} +totem { + version: 2 + secauth: on + threads: 0 + interface { + ringnumber: 0 + bindnetaddr: 192.168.1.0 + mcastaddr: 226.94.1.1 + mcastport: 5405 + } + netmtu: 8800 +} +logging { + debug: off + fileline: off + to_syslog: yes + to_stderr: no + syslog_facility: daemon + timestamp: on +} +amf { + mode: disabled +} + diff --git a/package/corosync/files/corosync.conffiles b/package/corosync/files/corosync.conffiles new file mode 100644 index 000000000..e24947d6b --- /dev/null +++ b/package/corosync/files/corosync.conffiles @@ -0,0 +1 @@ +/etc/corosync/corosync.conf diff --git a/package/corosync/patches/patch-tools_corosync-keygen_c b/package/corosync/patches/patch-tools_corosync-keygen_c new file mode 100644 index 000000000..6e147930c --- /dev/null +++ b/package/corosync/patches/patch-tools_corosync-keygen_c @@ -0,0 +1,26 @@ +--- corosync-1.3.1.orig/tools/corosync-keygen.c 2011-04-25 04:37:50.000000000 +0200 ++++ corosync-1.3.1/tools/corosync-keygen.c 2011-05-26 07:27:22.000000000 +0200 +@@ -65,11 +65,11 @@ int main (void) { + } + } + +- printf ("Gathering %lu bits for key from /dev/random.\n", (unsigned long)(sizeof (key) * 8)); ++ printf ("Gathering %lu bits for key from /dev/urandom.\n", (unsigned long)(sizeof (key) * 8)); + printf ("Press keys on your keyboard to generate entropy.\n"); +- random_fd = open ("/dev/random", O_RDONLY); ++ random_fd = open ("/dev/urandom", O_RDONLY); + if (random_fd == -1) { +- perror ("Is /dev/random present? Opening /dev/random"); ++ perror ("Is /dev/urandom present? Opening /dev/urandom"); + exit (errno); + } + +@@ -81,7 +81,7 @@ int main (void) { + retry_read: + res = read (random_fd, &key[bytes_read], sizeof (key) - bytes_read); + if (res == -1) { +- perror ("Could not read /dev/random"); ++ perror ("Could not read /dev/urandom"); + exit (errno); + } + bytes_read += res; diff --git a/package/drbd/Makefile b/package/drbd/Makefile index c8d69e2a0..c22d385ac 100644 --- a/package/drbd/Makefile +++ b/package/drbd/Makefile @@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= drbd -PKG_VERSION:= 8.3.8.1 +PKG_VERSION:= 8.3.10 PKG_RELEASE:= 1 -PKG_MD5SUM:= 551dae488006af86a33eab1eba407f48 +PKG_MD5SUM:= 7d80edc2da10de5bfffe0ca9e9996fed PKG_DESCR:= DRBD admin tools PKG_SECTION:= fs PKG_URL:= http://www.drbd.org/ @@ -17,11 +17,14 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,DRBD,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_ARGS+= --with-distro=generic \ + --with-pacemaker \ --without-km \ --without-xen \ --without-udev post-install: + $(INSTALL_DIR) $(IDIR_DRBD)/etc + $(CP) ./files/drbd.conf $(IDIR_DRBD)/etc $(INSTALL_DIR) $(IDIR_DRBD)/usr/lib/drbd $(INSTALL_DIR) $(IDIR_DRBD)/usr/sbin $(CP) $(WRKINST)/usr/lib/drbd/* \ diff --git a/package/drbd/files/drbd.conf b/package/drbd/files/drbd.conf new file mode 100644 index 000000000..8eb55e497 --- /dev/null +++ b/package/drbd/files/drbd.conf @@ -0,0 +1,21 @@ +#resource r1 { +# protocol C; +# +# startup { wfc-timeout 0; degr-wfc-timeout 120; } +# disk { on-io-error detach; } +# net { timeout 60; connect-int 10; ping-int 10; +# max-buffers 2048; max-epoch-size 2048; } +# syncer { rate 5M; } # sync when r0 and r1 are finished syncing. +# on alice { +# address 192.168.1.1:7790; +# disk /dev/sdb1; +# device /dev/drbd1; +# meta-disk "internal"; +# } +# on bob { +# address 192.168.1.2:7790; +# disk "/dev/sdb1"; +# device "/dev/drbd2"; +# meta-disk "internal"; +# } +#} diff --git a/package/drbd/files/drbd.conffiles b/package/drbd/files/drbd.conffiles new file mode 100644 index 000000000..9096001bf --- /dev/null +++ b/package/drbd/files/drbd.conffiles @@ -0,0 +1 @@ +/etc/drbd.conf diff --git a/package/drbd/patches/patch-Makefile_in b/package/drbd/patches/patch-Makefile_in index bce8496a1..71ece3f6f 100644 --- a/package/drbd/patches/patch-Makefile_in +++ b/package/drbd/patches/patch-Makefile_in @@ -1,6 +1,6 @@ ---- drbd-8.3.8.1.orig/Makefile.in 2010-07-09 10:13:59.000000000 +0200 -+++ drbd-8.3.8.1/Makefile.in 2010-11-26 19:00:49.000000000 +0100 -@@ -47,7 +47,7 @@ WITH_BASHCOMPLETION = @WITH_BASHCOMPLETI +--- drbd-8.3.10.orig/Makefile.in 2011-01-26 14:57:59.000000000 +0100 ++++ drbd-8.3.10/Makefile.in 2011-05-23 17:11:50.000000000 +0200 +@@ -56,7 +56,7 @@ KDIR ?= /lib/modules/$(KVER)/build # and not in e.g. dash. I'm too lazy to fix it to be compatible. SHELL=/bin/bash diff --git a/package/drbd/patches/patch-configure b/package/drbd/patches/patch-configure new file mode 100644 index 000000000..67bff21ce --- /dev/null +++ b/package/drbd/patches/patch-configure @@ -0,0 +1,11 @@ +--- drbd-8.3.10.orig/configure 2011-01-28 12:17:35.000000000 +0100 ++++ drbd-8.3.10/configure 2011-05-25 12:54:02.000000000 +0200 +@@ -3368,7 +3368,7 @@ fi + + + cat >>confdefs.h <<_ACEOF +-#define DRBD_LIB_DIR "$localstatedir/lib/$PACKAGE_TARNAME" ++#define DRBD_LIB_DIR "/etc/$PACKAGE_TARNAME" + _ACEOF + + cat >>confdefs.h <<_ACEOF diff --git a/package/drbd/patches/patch-drbd_Makefile b/package/drbd/patches/patch-drbd_Makefile index 809caca26..dffd1e258 100644 --- a/package/drbd/patches/patch-drbd_Makefile +++ b/package/drbd/patches/patch-drbd_Makefile @@ -1,7 +1,7 @@ ---- drbd-8.3.8.1.orig/drbd/Makefile 2010-07-06 09:47:59.000000000 +0200 -+++ drbd-8.3.8.1/drbd/Makefile 2010-11-26 18:59:47.000000000 +0100 -@@ -132,7 +132,7 @@ else - echo -e "\treturn \"GIT-hash: $$GITHEAD$$GITDIFF\""; \ +--- drbd-8.3.10.orig/drbd/Makefile 2011-01-26 14:57:59.000000000 +0100 ++++ drbd-8.3.10/drbd/Makefile 2011-05-23 17:11:50.000000000 +0200 +@@ -133,7 +133,7 @@ else + grep return $@ ; \ fi ; \ echo -e "\t\t\" build by $$USER@$$HOSTNAME, `date "+%F %T"`\";\n}"; \ - mv --force $@.new $@ diff --git a/package/drbd/patches/patch-drbd_drbd_buildtag_c b/package/drbd/patches/patch-drbd_drbd_buildtag_c new file mode 100644 index 000000000..425a04abe --- /dev/null +++ b/package/drbd/patches/patch-drbd_drbd_buildtag_c @@ -0,0 +1,9 @@ +--- drbd-8.3.10.orig/drbd/drbd_buildtag.c 2011-01-28 12:17:35.000000000 +0100 ++++ drbd-8.3.10/drbd/drbd_buildtag.c 2011-05-23 17:11:52.000000000 +0200 +@@ -3,5 +3,5 @@ + const char *drbd_buildtag(void) + { + return "GIT-hash: 5c0b0469666682443d4785d90a2c603378f9017b" +- " build by phil@fat-tyre, 2011-01-28 12:17:35"; ++ " build by wbx@neon, 2011-05-23 17:11:52"; + } diff --git a/package/drbd/patches/patch-user_Makefile_in b/package/drbd/patches/patch-user_Makefile_in index 2979decb1..9471b2aa0 100644 --- a/package/drbd/patches/patch-user_Makefile_in +++ b/package/drbd/patches/patch-user_Makefile_in @@ -1,6 +1,6 @@ ---- drbd-8.3.8.1.orig/user/Makefile.in 2010-05-10 16:09:13.000000000 +0200 -+++ drbd-8.3.8.1/user/Makefile.in 2011-01-14 22:16:28.000000000 +0100 -@@ -74,7 +74,7 @@ drbd_strings.c: ../drbd/drbd_strings.c +--- drbd-8.3.10.orig/user/Makefile.in 2011-01-26 14:57:59.000000000 +0100 ++++ drbd-8.3.10/user/Makefile.in 2011-05-23 17:11:50.000000000 +0200 +@@ -73,7 +73,7 @@ drbd_strings.c: ../drbd/drbd_strings.c cp $^ $@ drbdadm: $(drbdadm-obj) @@ -9,7 +9,7 @@ drbdadm_scanner.c: drbdadm_scanner.fl drbdadm_parser.h flex -s -odrbdadm_scanner.c drbdadm_scanner.fl -@@ -83,10 +83,10 @@ drbdmeta_scanner.c: drbdmeta_scanner.fl +@@ -82,10 +82,10 @@ drbdmeta_scanner.c: drbdmeta_scanner.fl flex -s -odrbdmeta_scanner.c drbdmeta_scanner.fl drbdsetup: $(drbdsetup-obj) diff --git a/package/openais/Makefile b/package/openais/Makefile new file mode 100644 index 000000000..0d96cbc1b --- /dev/null +++ b/package/openais/Makefile @@ -0,0 +1,34 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= openais +PKG_VERSION:= 1.1.4 +PKG_RELEASE:= 1 +PKG_MD5SUM:= e500ad3c49fdc45d8653f864e80ed82c +PKG_DESCR:= AIS implementation +PKG_SECTION:= ha +PKG_BUILDDEP:= corosync +PKG_DEPENDS:= corosync +PKG_URL:= http://www.openais.org/ +PKG_SITES:= ftp://ftp:download@ftp.openais.org/downloads/openais-1.1.4/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,OPENAIS,openais,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ENV+= ac_cv_func_fnmatch_works=yes + +openais-install: + $(INSTALL_DIR) $(IDIR_OPENAIS)/usr/lib + $(CP) $(WRKINST)/usr/lib/lib*.so* \ + $(IDIR_OPENAIS)/usr/lib + $(INSTALL_DIR) $(IDIR_OPENAIS)/usr/sbin + $(CP) $(WRKINST)/usr/sbin/* \ + $(IDIR_OPENAIS)/usr/sbin + $(INSTALL_DIR) $(IDIR_OPENAIS)/usr/libexec + $(CP) $(WRKINST)/usr/libexec/* \ + $(IDIR_OPENAIS)/usr/libexec + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/openais/files/openais.init b/package/openais/files/openais.init new file mode 100644 index 000000000..f36121c7a --- /dev/null +++ b/package/openais/files/openais.init @@ -0,0 +1,29 @@ +#!/bin/sh +#PKG openais +#INIT 80 +. /etc/rc.conf + +case $1 in +autostop) ;; +autostart) + test x"${corosync:-NO}" = x"NO" && exit 0 + exec sh $0 start + ;; +start) + mount -t tmpfs -o size=4M tmpfs /dev/shm + [ -d /var/lib/corosync ] || mkdir -p /var/lib/corosync + /usr/sbin/aisexec + ;; +stop) + kill $(pgrep -f corosync) + umount /dev/shm + ;; +restart) + sh $0 stop + sh $0 start + ;; +*) + echo "usage: $0 {start | stop | restart}" + ;; +esac +exit $? diff --git a/package/pacemaker/Makefile b/package/pacemaker/Makefile new file mode 100644 index 000000000..e0991855f --- /dev/null +++ b/package/pacemaker/Makefile @@ -0,0 +1,42 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= pacemaker +PKG_VERSION:= 1.0.11 +PKG_RELEASE:= 1 +PKG_MD5SUM:= bfe2127d31e5244d0106a5c290fd0dc2 +PKG_DESCR:= scalable High-Availability cluster resource manager +PKG_SECTION:= ha +PKG_DEPENDS:= python2 +PKG_URL:= http://www.clusterlabs.org/ +PKG_SITES:= http://openadk.org/distfiles/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,PACEMAKER,pacemaker,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +# disable honour cflags stuff +XAKE_FLAGS+= GCC_HONOUR_COPTS=s + +CONFIGURE_ARGS+= --includedir=$(STAGING_TARGET_DIR)/usr/include +CONFIGURE_ENV+= ac_cv_path_HELP2MAN='' +CFLAGS_FOR_BUILD+= -I$(STAGING_TARGET_DIR)/usr/include/heartbeat + +pacemaker-install: + $(INSTALL_DIR) $(IDIR_PACEMAKER)/usr/lib + $(CP) $(WRKINST)/usr/lib/lib*.so* \ + $(IDIR_PACEMAKER)/usr/lib + $(INSTALL_DIR) $(IDIR_PACEMAKER)/usr/sbin + $(CP) $(WRKINST)/usr/sbin/* \ + $(IDIR_PACEMAKER)/usr/sbin + $(INSTALL_DIR) $(IDIR_PACEMAKER)/usr/libexec + $(CP) $(WRKINST)/usr/libexec/* \ + $(IDIR_PACEMAKER)/usr/libexec + $(INSTALL_DIR) $(IDIR_PACEMAKER)/usr/lib/python2.7/site-packages + $(CP) $(WRKINST)/usr/lib/python2.7/site-packages/* \ + $(IDIR_PACEMAKER)/usr/lib/python2.7/site-packages/ + -find ${IDIR_PACEMAKER} -name "\*.pyc" -o -name "*\.pyo" -exec rm {} \; + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/pacemaker/patches/patch-configure b/package/pacemaker/patches/patch-configure new file mode 100644 index 000000000..a3eca9a9d --- /dev/null +++ b/package/pacemaker/patches/patch-configure @@ -0,0 +1,54 @@ +--- pacemaker-1.0.11.orig/configure 2011-05-24 17:00:37.000000000 +0200 ++++ pacemaker-1.0.11/configure 2011-05-24 17:39:43.000000000 +0200 +@@ -12484,7 +12484,7 @@ $as_echo_n "checking for $2 in $1... " > + printf "#include <stdio.h>\n" > ${Cfile}.c + printf "#include <%s>\n" $1 >> ${Cfile}.c + printf "int main(int argc, char **argv) { printf(\"%%s\", %s); return 0; }\n" $2 >> ${Cfile}.c +- $CC $CFLAGS ${Cfile}.c -o ${Cfile} ++ $CC_FOR_BUILD $CFLAGS_FOR_BUILD ${Cfile}.c -o ${Cfile} + value=`${Cfile}` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $value" >&5 + $as_echo "$value" >&6; } +@@ -12713,33 +12713,11 @@ $as_echo "$as_me: WARNING: $j directory + done + + +-case "$host_os" in +-*bsd*) LIBS="-L/usr/local/lib" +- CPPFLAGS="$CPPFLAGS -I/usr/local/include" +- INIT_EXT=".sh" +- ;; +-*solaris*) +- ;; +-*linux*) +- + cat >>confdefs.h <<_ACEOF + #define ON_LINUX 1 + _ACEOF + +- CFLAGS="$CFLAGS -I${prefix}/include" +- ;; +-darwin*) +- +-cat >>confdefs.h <<_ACEOF +-#define ON_DARWIN 1 +-_ACEOF +- +- LIBS="$LIBS -L${prefix}/lib" +- CFLAGS="$CFLAGS -I${prefix}/include" +- ;; +-esac +- +-CFLAGS="$CFLAGS -I${prefix}/include/heartbeat" ++CFLAGS="$CFLAGS -I${includedir}/heartbeat" + + + +@@ -17159,7 +17137,6 @@ else + + # We had to eliminate -Wnested-externs because of libtool changes + EXTRA_FLAGS="-fgnu89-inline +- -fstack-protector-all + -Wall + -Waggregate-return + -Wbad-function-cast diff --git a/package/pacemaker/patches/patch-configure.orig b/package/pacemaker/patches/patch-configure.orig new file mode 100644 index 000000000..ff7af42f7 --- /dev/null +++ b/package/pacemaker/patches/patch-configure.orig @@ -0,0 +1,46 @@ +--- pacemaker-1.0.11.orig/configure 2011-05-24 17:00:37.000000000 +0200 ++++ pacemaker-1.0.11/configure 2011-05-24 17:31:21.000000000 +0200 +@@ -12484,7 +12484,7 @@ $as_echo_n "checking for $2 in $1... " > + printf "#include <stdio.h>\n" > ${Cfile}.c + printf "#include <%s>\n" $1 >> ${Cfile}.c + printf "int main(int argc, char **argv) { printf(\"%%s\", %s); return 0; }\n" $2 >> ${Cfile}.c +- $CC $CFLAGS ${Cfile}.c -o ${Cfile} ++ $CC_FOR_BUILD $CFLAGS_FOR_BUILD ${Cfile}.c -o ${Cfile} + value=`${Cfile}` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $value" >&5 + $as_echo "$value" >&6; } +@@ -12713,33 +12713,11 @@ $as_echo "$as_me: WARNING: $j directory + done + + +-case "$host_os" in +-*bsd*) LIBS="-L/usr/local/lib" +- CPPFLAGS="$CPPFLAGS -I/usr/local/include" +- INIT_EXT=".sh" +- ;; +-*solaris*) +- ;; +-*linux*) +- + cat >>confdefs.h <<_ACEOF + #define ON_LINUX 1 + _ACEOF + +- CFLAGS="$CFLAGS -I${prefix}/include" +- ;; +-darwin*) +- +-cat >>confdefs.h <<_ACEOF +-#define ON_DARWIN 1 +-_ACEOF +- +- LIBS="$LIBS -L${prefix}/lib" +- CFLAGS="$CFLAGS -I${prefix}/include" +- ;; +-esac +- +-CFLAGS="$CFLAGS -I${prefix}/include/heartbeat" ++CFLAGS="$CFLAGS -I${includedir}/heartbeat" + + + diff --git a/package/pacemaker/patches/patch-libtool b/package/pacemaker/patches/patch-libtool new file mode 100644 index 000000000..2fa036d10 --- /dev/null +++ b/package/pacemaker/patches/patch-libtool @@ -0,0 +1,1198 @@ +--- pacemaker-1.0.11.orig/libtool 2011-04-18 20:21:47.000000000 +0200 ++++ pacemaker-1.0.11/libtool 2011-05-24 17:40:27.000000000 +0200 +@@ -1,7 +1,7 @@ +-#! /bin/sh ++#! /bin/bash + + # libtool - Provide generalized library-building support services. +-# Generated automatically by config.status (libtool) 2.4 ++# Generated automatically by config.status (pacemaker) 1.0.11 + # Libtool was configured on host neon.foo.bar: + # NOTE: Changes made to this file will be lost: look at ltmain.sh. + # +@@ -35,7 +35,7 @@ + + + # The names of the tagged configurations supported by this script. +-available_tags="CXX F77 FC GCJ RC " ++available_tags="" + + # ### BEGIN LIBTOOL CONFIG + +@@ -43,15 +43,6 @@ available_tags="CXX F77 FC GCJ RC " + macro_version=2.4 + macro_revision=1.3293 + +-# Assembler program. +-AS="as" +- +-# DLL creation program. +-DLLTOOL="false" +- +-# Object dumper program. +-OBJDUMP="false" +- + # Whether or not to build shared libraries. + build_libtool_libs=yes + +@@ -62,26 +53,26 @@ build_old_libs=yes + pic_mode=default + + # Whether or not to optimize for fast installation. +-fast_install=needless ++fast_install=yes + + # Shell to use when invoking shell scripts. +-SHELL="/bin/sh" ++SHELL="/bin/bash" + + # An echo program that protects backslashes. + ECHO="printf %s\\n" + + # The host system. +-host_alias= +-host=x86_64-apple-darwin10.6.0 +-host_os=darwin10.6.0 ++host_alias=i586-openadk-linux ++host=i586-openadk-linux-gnu ++host_os=linux-gnu + + # The build system. +-build_alias= +-build=x86_64-apple-darwin10.6.0 +-build_os=darwin10.6.0 ++build_alias=i686-apple-darwin10 ++build=i686-apple-darwin10 ++build_os=darwin10 + + # A sed program that does not truncate output. +-SED="/usr/bin/sed" ++SED="/Volumes/adk/openadk/scripts/sed" + + # Sed that helps us avoid accidentally triggering echo(1) options like -n. + Xsed="$SED -e 1s/^X//" +@@ -96,7 +87,7 @@ EGREP="/usr/bin/grep -E" + FGREP="/usr/bin/grep -F" + + # A BSD- or MS-compatible name lister. +-NM="/usr/bin/nm" ++NM="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-nm" + + # Whether we need soft or hard links. + LN_S="ln -s" +@@ -125,6 +116,9 @@ to_host_file_cmd=func_convert_file_noop + # convert $build files to toolchain format. + to_tool_file_cmd=func_convert_file_noop + ++# An object symbol dumper. ++OBJDUMP="i586-openadk-linux-objdump" ++ + # Method to check whether dependent libraries are shared objects. + deplibs_check_method="pass_all" + +@@ -137,49 +131,52 @@ file_magic_glob="" + # Find potential files using nocaseglob when deplibs_check_method = "file_magic". + want_nocaseglob="no" + ++# DLL creation program. ++DLLTOOL="false" ++ + # Command to associate shared and link libraries. + sharedlib_from_linklib_cmd="printf %s\\n" + + # The archiver. +-AR="ar" ++AR="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-ar" + + # Flags to create an archive. + AR_FLAGS="cru" + + # How to feed a file listing to the archiver. +-archiver_list_spec="" ++archiver_list_spec="@" + + # A symbol stripping program. +-STRIP="strip" ++STRIP="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-strip" + + # Commands used to install an old-style archive. +-RANLIB="ranlib" ++RANLIB="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-ranlib" + old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib" + old_postuninstall_cmds="" + + # Whether to use a lock for old archive extraction. +-lock_old_archive_extraction=yes ++lock_old_archive_extraction=no + + # A C compiler. +-LTCC="/usr/bin/gcc-4.2" ++LTCC="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-gcc -std=gnu99" + + # LTCC compiler flags. +-LTCFLAGS="-O2 -arch x86_64" ++LTCFLAGS="-march=geode -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/Volumes/adk/openadk/target_i586_eglibc/usr/include/heartbeat -I/Volumes/adk/openadk/target_i586_eglibc/usr/include -ggdb3 -O0 -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Werror" + + # Take the output of nm and produce a listing of raw symbols and C names. +-global_symbol_pipe="sed -n -e 's/^.*[ ]\\([BCDEGRST][BCDEGRST]*\\)[ ][ ]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 _\\2 \\2/p' | sed '/ __gnu_lto/d'" ++global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'" + + # Transform the output of nm in a proper C declaration. +-global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[BCDEGRST]* .* \\(.*\\)\$/extern char \\1;/p'" ++global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'" + + # Transform the output of nm in a C name address pair. +-global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p'" ++global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p'" + + # Transform the output of nm in a C name address pair when lib prefix is needed. +-global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"lib\\2\", (void *) \\&\\2},/p'" ++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'" + + # Specify filename containing input files for $NM. +-nm_file_list_spec="" ++nm_file_list_spec="@" + + # The root where to search for dependent libraries,and in which our libraries should be installed. + lt_sysroot= +@@ -197,32 +194,32 @@ need_locks="no" + MANIFEST_TOOL=":" + + # Tool to manipulate archived DWARF debug symbol files on Mac OS X. +-DSYMUTIL="dsymutil" ++DSYMUTIL="" + + # Tool to change global to local symbols on Mac OS X. +-NMEDIT="nmedit" ++NMEDIT="" + + # Tool to manipulate fat objects and archives on Mac OS X. +-LIPO="lipo" ++LIPO="" + + # ldd/readelf like tool for Mach-O binaries on Mac OS X. +-OTOOL="otool" ++OTOOL="" + + # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +-OTOOL64=":" ++OTOOL64="" + + # Old archive suffix (normally "a"). + libext=a + + # Shared library suffix (normally ".so"). +-shrext_cmds="\`test .\$module = .yes && echo .so || echo .dylib\`" ++shrext_cmds=".so" + + # The commands to extract the exported symbol list from a shared archive. + extract_expsyms_cmds="" + + # Variables whose values should be saved in libtool wrapper scripts and + # restored at link time. +-variables_saved_for_relink="PATH DYLD_LIBRARY_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" ++variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" + + # Do we need the "lib" prefix for modules? + need_lib_prefix=no +@@ -231,26 +228,26 @@ need_lib_prefix=no + need_version=no + + # Library versioning type. +-version_type=darwin ++version_type=linux + + # Shared library runtime path variable. +-runpath_var= ++runpath_var=LD_RUN_PATH + + # Shared library path variable. +-shlibpath_var=DYLD_LIBRARY_PATH ++shlibpath_var=LD_LIBRARY_PATH + + # Is shlibpath searched before the hard-coded library search path? +-shlibpath_overrides_runpath=yes ++shlibpath_overrides_runpath=no + + # Format of library name prefix. + libname_spec="lib\$name" + + # List of archive names. First name is the real one, the rest are links. + # The last name is the one that the linker finds with -lNAME +-library_names_spec="\${libname}\${release}\${major}\$shared_ext \${libname}\$shared_ext" ++library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}" + + # The coded name of the library, if different from the real name. +-soname_spec="\${libname}\${release}\${major}\$shared_ext" ++soname_spec="\${libname}\${release}\${shared_ext}\$major" + + # Permission mode override for installation of shared libraries. + install_override_mode="" +@@ -262,47 +259,47 @@ postinstall_cmds="" + postuninstall_cmds="" + + # Commands used to finish a libtool library installation in a directory. +-finish_cmds="" ++finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir" + + # As "finish_cmds", except a single script fragment to be evaled but + # not shown. + finish_eval="" + + # Whether we should hardcode library paths into libraries. +-hardcode_into_libs=no ++hardcode_into_libs=yes + + # Compile-time system search path for libraries. +-sys_lib_search_path_spec="/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 /usr/lib/i686-apple-darwin10/4.2.1 /usr/lib /opt/local/lib /usr/local/lib" ++sys_lib_search_path_spec="/Volumes/adk/openadk/host_i586_eglibc/lib/gcc/i586-openadk-linux-gnu/4.5.3 /Volumes/adk/openadk/host_i586_eglibc/i586-openadk-linux-gnu/lib /Volumes/adk/openadk/target_i586_eglibc/lib /Volumes/adk/openadk/target_i586_eglibc/usr/lib " + + # Run-time system search path for libraries. +-sys_lib_dlsearch_path_spec="/usr/local/lib /lib /usr/lib" ++sys_lib_dlsearch_path_spec="/lib /usr/lib" + + # Whether dlopen is supported. + dlopen_support=yes + + # Whether dlopen of programs is supported. +-dlopen_self=yes ++dlopen_self=unknown + + # Whether dlopen of statically linked programs is supported. +-dlopen_self_static=yes ++dlopen_self_static=unknown + + # Commands to strip libraries. +-old_striplib="strip -S" +-striplib="strip -x" ++old_striplib="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-strip --strip-debug" ++striplib="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-strip --strip-unneeded" + + + # The linker used to build libraries. +-LD="/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld" ++LD="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-ld" + + # How to create reloadable object files. + reload_flag=" -r" +-reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs" ++reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" + + # Commands used to build an old-style archive. + old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" + + # A language specific compiler. +-CC="/usr/bin/gcc-4.2" ++CC="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-gcc -std=gnu99" + + # Is the compiler the GNU compiler? + with_gcc=yes +@@ -311,13 +308,13 @@ with_gcc=yes + no_builtin_flag=" -fno-builtin" + + # Additional compiler flags for building library objects. +-pic_flag=" -fno-common -DPIC" ++pic_flag=" -fPIC -DPIC" + + # How to pass a linker flag through the compiler. + wl="-Wl," + + # Compiler flag to prevent dynamic linking. +-link_static_flag="" ++link_static_flag="-static" + + # Does compiler simultaneously support -c and -o options? + compiler_c_o="yes" +@@ -329,10 +326,10 @@ build_libtool_need_lc=no + allow_libtool_libs_with_static_runtimes=no + + # Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec="" ++export_dynamic_flag_spec="\${wl}--export-dynamic" + + # Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec="\`for conv in \$convenience\\\"\\\"; do test -n \\\"\$conv\\\" && new_convenience=\\\"\$new_convenience \${wl}-force_load,\$conv\\\"; done; func_echo_all \\\"\$new_convenience\\\"\`" ++whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" + + # Whether the compiler copes with passing no objects directly. + compiler_needs_object="no" +@@ -344,26 +341,29 @@ old_archive_from_new_cmds="" + old_archive_from_expsyms_cmds="" + + # Commands used to build a shared archive. +-archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module" +-archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym" ++archive_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" ++archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~ ++ cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~ ++ echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~ ++ \$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib" + + # Commands used to build a loadable module if different from building + # a shared archive. +-module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags" +-module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym" ++module_cmds="" ++module_expsym_cmds="" + + # Whether we are building with GNU ld or not. +-with_gnu_ld="no" ++with_gnu_ld="yes" + + # Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag="\${wl}-undefined \${wl}dynamic_lookup" ++allow_undefined_flag="" + + # Flag that enforces no undefined symbols. + no_undefined_flag="" + + # Flag to hardcode $libdir into a binary during linking. + # This must work even if $libdir does not exist +-hardcode_libdir_flag_spec="" ++hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir" + + # If ld is used when linking, flag to hardcode $libdir into a binary + # during linking. This must work even if $libdir does not exist. +@@ -393,14 +393,14 @@ hardcode_shlibpath_var=unsupported + # Set to "yes" if building a shared library automatically hardcodes DIR + # into the library and all subsequent libraries and executables linked + # against it. +-hardcode_automatic=yes ++hardcode_automatic=no + + # Set to yes if linker adds runtime paths of dependent libraries + # to runtime path list. + inherit_rpath=no + + # Whether libtool must link a program against all its dependency libraries. +-link_all_deplibs=yes ++link_all_deplibs=unknown + + # Set to "yes" if exported symbols are required. + always_export_symbols=no +@@ -426,20 +426,6 @@ file_list_spec="" + # How to hardcode a shared library path into an executable. + hardcode_action=immediate + +-# The directories searched by this compiler when creating a shared library. +-compiler_lib_search_dirs="" +- +-# Dependencies to place before and after the objects being linked to +-# create a shared library. +-predep_objects="" +-postdep_objects="" +-predeps="" +-postdeps="" +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path="" +- + # ### END LIBTOOL CONFIG + + +@@ -1282,7 +1268,7 @@ exec_cmd= + # Append VALUE to the end of shell variable VAR. + func_append () + { +-eval "${1}+=\${2}" ++ eval "${1}+=\${2}" + } # Extended-shell func_append implementation + + # func_append_quoted var value +@@ -1298,7 +1284,7 @@ func_append_quoted () + # func_arith arithmetic-term... + func_arith () + { +-func_arith_result=$(( $* )) ++ func_arith_result=$(( $* )) + } # Extended-shell func_arith implementation + + +@@ -1306,7 +1292,7 @@ func_arith_result=$(( $* )) + # STRING may not start with a hyphen. + func_len () + { +-func_len_result=${#1} ++ func_len_result=${#1} + } # Extended-shell func_len implementation + + +@@ -1323,7 +1309,7 @@ func_lo2o () + # func_xform libobj-or-source + func_xform () + { +-func_xform_result=${1%.*}.lo ++ func_xform_result=${1%.*}.lo + } # Extended-shell func_xform implementation + + +@@ -10071,768 +10057,3 @@ build_old_libs=`case $build_libtool_libs + # End: + # vi:sw=2 + +- +-# ### BEGIN LIBTOOL TAG CONFIG: CXX +- +-# The linker used to build libraries. +-LD="/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld" +- +-# How to create reloadable object files. +-reload_flag=" -r" +-reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs" +- +-# Commands used to build an old-style archive. +-old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" +- +-# A language specific compiler. +-CC="/usr/bin/g++-4.2" +- +-# Is the compiler the GNU compiler? +-with_gcc=yes +- +-# Compiler flag to turn off builtin functions. +-no_builtin_flag=" -fno-builtin" +- +-# Additional compiler flags for building library objects. +-pic_flag=" -fno-common -DPIC" +- +-# How to pass a linker flag through the compiler. +-wl="-Wl," +- +-# Compiler flag to prevent dynamic linking. +-link_static_flag="" +- +-# Does compiler simultaneously support -c and -o options? +-compiler_c_o="yes" +- +-# Whether or not to add -lc for building shared libraries. +-build_libtool_need_lc=no +- +-# Whether or not to disallow shared libs when runtime libs are static. +-allow_libtool_libs_with_static_runtimes=no +- +-# Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec="" +- +-# Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec="\`for conv in \$convenience\\\"\\\"; do test -n \\\"\$conv\\\" && new_convenience=\\\"\$new_convenience \${wl}-force_load,\$conv\\\"; done; func_echo_all \\\"\$new_convenience\\\"\`" +- +-# Whether the compiler copes with passing no objects directly. +-compiler_needs_object="no" +- +-# Create an old-style archive from a shared archive. +-old_archive_from_new_cmds="" +- +-# Create a temporary old-style archive to link instead of a shared archive. +-old_archive_from_expsyms_cmds="" +- +-# Commands used to build a shared archive. +-archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module" +-archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym" +- +-# Commands used to build a loadable module if different from building +-# a shared archive. +-module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags" +-module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym" +- +-# Whether we are building with GNU ld or not. +-with_gnu_ld="no" +- +-# Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag="\${wl}-undefined \${wl}dynamic_lookup" +- +-# Flag that enforces no undefined symbols. +-no_undefined_flag="" +- +-# Flag to hardcode $libdir into a binary during linking. +-# This must work even if $libdir does not exist +-hardcode_libdir_flag_spec="" +- +-# If ld is used when linking, flag to hardcode $libdir into a binary +-# during linking. This must work even if $libdir does not exist. +-hardcode_libdir_flag_spec_ld="" +- +-# Whether we need a single "-rpath" flag with a separated argument. +-hardcode_libdir_separator="" +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary. +-hardcode_direct=no +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary and the resulting library dependency is +-# "absolute",i.e impossible to change by setting ${shlibpath_var} if the +-# library is relocated. +-hardcode_direct_absolute=no +- +-# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +-# into the resulting binary. +-hardcode_minus_L=no +- +-# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +-# into the resulting binary. +-hardcode_shlibpath_var=unsupported +- +-# Set to "yes" if building a shared library automatically hardcodes DIR +-# into the library and all subsequent libraries and executables linked +-# against it. +-hardcode_automatic=yes +- +-# Set to yes if linker adds runtime paths of dependent libraries +-# to runtime path list. +-inherit_rpath=no +- +-# Whether libtool must link a program against all its dependency libraries. +-link_all_deplibs=yes +- +-# Set to "yes" if exported symbols are required. +-always_export_symbols=no +- +-# The commands to list exported symbols. +-export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols" +- +-# Symbols that should not be listed in the preloaded symbols. +-exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*" +- +-# Symbols that must always be exported. +-include_expsyms="" +- +-# Commands necessary for linking programs (against libraries) with templates. +-prelink_cmds="" +- +-# Commands necessary for finishing linking programs. +-postlink_cmds="" +- +-# Specify filename containing input files. +-file_list_spec="" +- +-# How to hardcode a shared library path into an executable. +-hardcode_action=immediate +- +-# The directories searched by this compiler when creating a shared library. +-compiler_lib_search_dirs="" +- +-# Dependencies to place before and after the objects being linked to +-# create a shared library. +-predep_objects="" +-postdep_objects="" +-predeps="" +-postdeps="" +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path="" +- +-# ### END LIBTOOL TAG CONFIG: CXX +- +-# ### BEGIN LIBTOOL TAG CONFIG: F77 +- +-# The linker used to build libraries. +-LD="" +- +-# How to create reloadable object files. +-reload_flag=" -r" +-reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs" +- +-# Commands used to build an old-style archive. +-old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" +- +-# A language specific compiler. +-CC="" +- +-# Is the compiler the GNU compiler? +-with_gcc= +- +-# Compiler flag to turn off builtin functions. +-no_builtin_flag="" +- +-# Additional compiler flags for building library objects. +-pic_flag="" +- +-# How to pass a linker flag through the compiler. +-wl="" +- +-# Compiler flag to prevent dynamic linking. +-link_static_flag="" +- +-# Does compiler simultaneously support -c and -o options? +-compiler_c_o="" +- +-# Whether or not to add -lc for building shared libraries. +-build_libtool_need_lc=no +- +-# Whether or not to disallow shared libs when runtime libs are static. +-allow_libtool_libs_with_static_runtimes=no +- +-# Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec="" +- +-# Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec="" +- +-# Whether the compiler copes with passing no objects directly. +-compiler_needs_object="" +- +-# Create an old-style archive from a shared archive. +-old_archive_from_new_cmds="" +- +-# Create a temporary old-style archive to link instead of a shared archive. +-old_archive_from_expsyms_cmds="" +- +-# Commands used to build a shared archive. +-archive_cmds="" +-archive_expsym_cmds="" +- +-# Commands used to build a loadable module if different from building +-# a shared archive. +-module_cmds="" +-module_expsym_cmds="" +- +-# Whether we are building with GNU ld or not. +-with_gnu_ld="" +- +-# Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag="" +- +-# Flag that enforces no undefined symbols. +-no_undefined_flag="" +- +-# Flag to hardcode $libdir into a binary during linking. +-# This must work even if $libdir does not exist +-hardcode_libdir_flag_spec="" +- +-# If ld is used when linking, flag to hardcode $libdir into a binary +-# during linking. This must work even if $libdir does not exist. +-hardcode_libdir_flag_spec_ld="" +- +-# Whether we need a single "-rpath" flag with a separated argument. +-hardcode_libdir_separator="" +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary. +-hardcode_direct=no +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary and the resulting library dependency is +-# "absolute",i.e impossible to change by setting ${shlibpath_var} if the +-# library is relocated. +-hardcode_direct_absolute=no +- +-# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +-# into the resulting binary. +-hardcode_minus_L=no +- +-# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +-# into the resulting binary. +-hardcode_shlibpath_var= +- +-# Set to "yes" if building a shared library automatically hardcodes DIR +-# into the library and all subsequent libraries and executables linked +-# against it. +-hardcode_automatic=no +- +-# Set to yes if linker adds runtime paths of dependent libraries +-# to runtime path list. +-inherit_rpath=no +- +-# Whether libtool must link a program against all its dependency libraries. +-link_all_deplibs=unknown +- +-# Set to "yes" if exported symbols are required. +-always_export_symbols=no +- +-# The commands to list exported symbols. +-export_symbols_cmds="" +- +-# Symbols that should not be listed in the preloaded symbols. +-exclude_expsyms="" +- +-# Symbols that must always be exported. +-include_expsyms="" +- +-# Commands necessary for linking programs (against libraries) with templates. +-prelink_cmds="" +- +-# Commands necessary for finishing linking programs. +-postlink_cmds="" +- +-# Specify filename containing input files. +-file_list_spec="" +- +-# How to hardcode a shared library path into an executable. +-hardcode_action= +- +-# The directories searched by this compiler when creating a shared library. +-compiler_lib_search_dirs="" +- +-# Dependencies to place before and after the objects being linked to +-# create a shared library. +-predep_objects="" +-postdep_objects="" +-predeps="" +-postdeps="" +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path="" +- +-# ### END LIBTOOL TAG CONFIG: F77 +- +-# ### BEGIN LIBTOOL TAG CONFIG: FC +- +-# The linker used to build libraries. +-LD="" +- +-# How to create reloadable object files. +-reload_flag=" -r" +-reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs" +- +-# Commands used to build an old-style archive. +-old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" +- +-# A language specific compiler. +-CC="" +- +-# Is the compiler the GNU compiler? +-with_gcc= +- +-# Compiler flag to turn off builtin functions. +-no_builtin_flag="" +- +-# Additional compiler flags for building library objects. +-pic_flag="" +- +-# How to pass a linker flag through the compiler. +-wl="" +- +-# Compiler flag to prevent dynamic linking. +-link_static_flag="" +- +-# Does compiler simultaneously support -c and -o options? +-compiler_c_o="" +- +-# Whether or not to add -lc for building shared libraries. +-build_libtool_need_lc=no +- +-# Whether or not to disallow shared libs when runtime libs are static. +-allow_libtool_libs_with_static_runtimes=no +- +-# Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec="" +- +-# Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec="" +- +-# Whether the compiler copes with passing no objects directly. +-compiler_needs_object="" +- +-# Create an old-style archive from a shared archive. +-old_archive_from_new_cmds="" +- +-# Create a temporary old-style archive to link instead of a shared archive. +-old_archive_from_expsyms_cmds="" +- +-# Commands used to build a shared archive. +-archive_cmds="" +-archive_expsym_cmds="" +- +-# Commands used to build a loadable module if different from building +-# a shared archive. +-module_cmds="" +-module_expsym_cmds="" +- +-# Whether we are building with GNU ld or not. +-with_gnu_ld="" +- +-# Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag="" +- +-# Flag that enforces no undefined symbols. +-no_undefined_flag="" +- +-# Flag to hardcode $libdir into a binary during linking. +-# This must work even if $libdir does not exist +-hardcode_libdir_flag_spec="" +- +-# If ld is used when linking, flag to hardcode $libdir into a binary +-# during linking. This must work even if $libdir does not exist. +-hardcode_libdir_flag_spec_ld="" +- +-# Whether we need a single "-rpath" flag with a separated argument. +-hardcode_libdir_separator="" +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary. +-hardcode_direct=no +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary and the resulting library dependency is +-# "absolute",i.e impossible to change by setting ${shlibpath_var} if the +-# library is relocated. +-hardcode_direct_absolute=no +- +-# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +-# into the resulting binary. +-hardcode_minus_L=no +- +-# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +-# into the resulting binary. +-hardcode_shlibpath_var= +- +-# Set to "yes" if building a shared library automatically hardcodes DIR +-# into the library and all subsequent libraries and executables linked +-# against it. +-hardcode_automatic=no +- +-# Set to yes if linker adds runtime paths of dependent libraries +-# to runtime path list. +-inherit_rpath=no +- +-# Whether libtool must link a program against all its dependency libraries. +-link_all_deplibs=unknown +- +-# Set to "yes" if exported symbols are required. +-always_export_symbols=no +- +-# The commands to list exported symbols. +-export_symbols_cmds="" +- +-# Symbols that should not be listed in the preloaded symbols. +-exclude_expsyms="" +- +-# Symbols that must always be exported. +-include_expsyms="" +- +-# Commands necessary for linking programs (against libraries) with templates. +-prelink_cmds="" +- +-# Commands necessary for finishing linking programs. +-postlink_cmds="" +- +-# Specify filename containing input files. +-file_list_spec="" +- +-# How to hardcode a shared library path into an executable. +-hardcode_action= +- +-# The directories searched by this compiler when creating a shared library. +-compiler_lib_search_dirs="" +- +-# Dependencies to place before and after the objects being linked to +-# create a shared library. +-predep_objects="" +-postdep_objects="" +-predeps="" +-postdeps="" +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path="" +- +-# ### END LIBTOOL TAG CONFIG: FC +- +-# ### BEGIN LIBTOOL TAG CONFIG: GCJ +- +-# The linker used to build libraries. +-LD="/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld" +- +-# How to create reloadable object files. +-reload_flag=" -r" +-reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs" +- +-# Commands used to build an old-style archive. +-old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" +- +-# A language specific compiler. +-CC="" +- +-# Is the compiler the GNU compiler? +-with_gcc= +- +-# Compiler flag to turn off builtin functions. +-no_builtin_flag="" +- +-# Additional compiler flags for building library objects. +-pic_flag="" +- +-# How to pass a linker flag through the compiler. +-wl="" +- +-# Compiler flag to prevent dynamic linking. +-link_static_flag="" +- +-# Does compiler simultaneously support -c and -o options? +-compiler_c_o="" +- +-# Whether or not to add -lc for building shared libraries. +-build_libtool_need_lc=no +- +-# Whether or not to disallow shared libs when runtime libs are static. +-allow_libtool_libs_with_static_runtimes= +- +-# Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec="" +- +-# Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec="" +- +-# Whether the compiler copes with passing no objects directly. +-compiler_needs_object="" +- +-# Create an old-style archive from a shared archive. +-old_archive_from_new_cmds="" +- +-# Create a temporary old-style archive to link instead of a shared archive. +-old_archive_from_expsyms_cmds="" +- +-# Commands used to build a shared archive. +-archive_cmds="" +-archive_expsym_cmds="" +- +-# Commands used to build a loadable module if different from building +-# a shared archive. +-module_cmds="" +-module_expsym_cmds="" +- +-# Whether we are building with GNU ld or not. +-with_gnu_ld="" +- +-# Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag="" +- +-# Flag that enforces no undefined symbols. +-no_undefined_flag="" +- +-# Flag to hardcode $libdir into a binary during linking. +-# This must work even if $libdir does not exist +-hardcode_libdir_flag_spec="" +- +-# If ld is used when linking, flag to hardcode $libdir into a binary +-# during linking. This must work even if $libdir does not exist. +-hardcode_libdir_flag_spec_ld="" +- +-# Whether we need a single "-rpath" flag with a separated argument. +-hardcode_libdir_separator="" +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary. +-hardcode_direct= +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary and the resulting library dependency is +-# "absolute",i.e impossible to change by setting ${shlibpath_var} if the +-# library is relocated. +-hardcode_direct_absolute= +- +-# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +-# into the resulting binary. +-hardcode_minus_L= +- +-# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +-# into the resulting binary. +-hardcode_shlibpath_var= +- +-# Set to "yes" if building a shared library automatically hardcodes DIR +-# into the library and all subsequent libraries and executables linked +-# against it. +-hardcode_automatic= +- +-# Set to yes if linker adds runtime paths of dependent libraries +-# to runtime path list. +-inherit_rpath= +- +-# Whether libtool must link a program against all its dependency libraries. +-link_all_deplibs= +- +-# Set to "yes" if exported symbols are required. +-always_export_symbols= +- +-# The commands to list exported symbols. +-export_symbols_cmds="" +- +-# Symbols that should not be listed in the preloaded symbols. +-exclude_expsyms="" +- +-# Symbols that must always be exported. +-include_expsyms="" +- +-# Commands necessary for linking programs (against libraries) with templates. +-prelink_cmds="" +- +-# Commands necessary for finishing linking programs. +-postlink_cmds="" +- +-# Specify filename containing input files. +-file_list_spec="" +- +-# How to hardcode a shared library path into an executable. +-hardcode_action= +- +-# The directories searched by this compiler when creating a shared library. +-compiler_lib_search_dirs="" +- +-# Dependencies to place before and after the objects being linked to +-# create a shared library. +-predep_objects="" +-postdep_objects="" +-predeps="" +-postdeps="" +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path="" +- +-# ### END LIBTOOL TAG CONFIG: GCJ +- +-# ### BEGIN LIBTOOL TAG CONFIG: RC +- +-# The linker used to build libraries. +-LD="" +- +-# How to create reloadable object files. +-reload_flag="" +-reload_cmds="" +- +-# Commands used to build an old-style archive. +-old_archive_cmds="" +- +-# A language specific compiler. +-CC="" +- +-# Is the compiler the GNU compiler? +-with_gcc= +- +-# Compiler flag to turn off builtin functions. +-no_builtin_flag="" +- +-# Additional compiler flags for building library objects. +-pic_flag="" +- +-# How to pass a linker flag through the compiler. +-wl="" +- +-# Compiler flag to prevent dynamic linking. +-link_static_flag="" +- +-# Does compiler simultaneously support -c and -o options? +-compiler_c_o="yes" +- +-# Whether or not to add -lc for building shared libraries. +-build_libtool_need_lc= +- +-# Whether or not to disallow shared libs when runtime libs are static. +-allow_libtool_libs_with_static_runtimes= +- +-# Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec="" +- +-# Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec="" +- +-# Whether the compiler copes with passing no objects directly. +-compiler_needs_object="" +- +-# Create an old-style archive from a shared archive. +-old_archive_from_new_cmds="" +- +-# Create a temporary old-style archive to link instead of a shared archive. +-old_archive_from_expsyms_cmds="" +- +-# Commands used to build a shared archive. +-archive_cmds="" +-archive_expsym_cmds="" +- +-# Commands used to build a loadable module if different from building +-# a shared archive. +-module_cmds="" +-module_expsym_cmds="" +- +-# Whether we are building with GNU ld or not. +-with_gnu_ld="" +- +-# Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag="" +- +-# Flag that enforces no undefined symbols. +-no_undefined_flag="" +- +-# Flag to hardcode $libdir into a binary during linking. +-# This must work even if $libdir does not exist +-hardcode_libdir_flag_spec="" +- +-# If ld is used when linking, flag to hardcode $libdir into a binary +-# during linking. This must work even if $libdir does not exist. +-hardcode_libdir_flag_spec_ld="" +- +-# Whether we need a single "-rpath" flag with a separated argument. +-hardcode_libdir_separator="" +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary. +-hardcode_direct= +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary and the resulting library dependency is +-# "absolute",i.e impossible to change by setting ${shlibpath_var} if the +-# library is relocated. +-hardcode_direct_absolute= +- +-# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +-# into the resulting binary. +-hardcode_minus_L= +- +-# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +-# into the resulting binary. +-hardcode_shlibpath_var= +- +-# Set to "yes" if building a shared library automatically hardcodes DIR +-# into the library and all subsequent libraries and executables linked +-# against it. +-hardcode_automatic= +- +-# Set to yes if linker adds runtime paths of dependent libraries +-# to runtime path list. +-inherit_rpath= +- +-# Whether libtool must link a program against all its dependency libraries. +-link_all_deplibs= +- +-# Set to "yes" if exported symbols are required. +-always_export_symbols= +- +-# The commands to list exported symbols. +-export_symbols_cmds="" +- +-# Symbols that should not be listed in the preloaded symbols. +-exclude_expsyms="" +- +-# Symbols that must always be exported. +-include_expsyms="" +- +-# Commands necessary for linking programs (against libraries) with templates. +-prelink_cmds="" +- +-# Commands necessary for finishing linking programs. +-postlink_cmds="" +- +-# Specify filename containing input files. +-file_list_spec="" +- +-# How to hardcode a shared library path into an executable. +-hardcode_action= +- +-# The directories searched by this compiler when creating a shared library. +-compiler_lib_search_dirs="" +- +-# Dependencies to place before and after the objects being linked to +-# create a shared library. +-predep_objects="" +-postdep_objects="" +-predeps="" +-postdeps="" +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path="" +- +-# ### END LIBTOOL TAG CONFIG: RC diff --git a/package/pacemaker/patches/patch-libtool.orig b/package/pacemaker/patches/patch-libtool.orig new file mode 100644 index 000000000..4b01e6895 --- /dev/null +++ b/package/pacemaker/patches/patch-libtool.orig @@ -0,0 +1,1198 @@ +--- pacemaker-1.0.11.orig/libtool 2011-04-18 20:21:47.000000000 +0200 ++++ pacemaker-1.0.11/libtool 2011-05-24 17:38:40.000000000 +0200 +@@ -1,7 +1,7 @@ +-#! /bin/sh ++#! /bin/bash + + # libtool - Provide generalized library-building support services. +-# Generated automatically by config.status (libtool) 2.4 ++# Generated automatically by config.status (pacemaker) 1.0.11 + # Libtool was configured on host neon.foo.bar: + # NOTE: Changes made to this file will be lost: look at ltmain.sh. + # +@@ -35,7 +35,7 @@ + + + # The names of the tagged configurations supported by this script. +-available_tags="CXX F77 FC GCJ RC " ++available_tags="" + + # ### BEGIN LIBTOOL CONFIG + +@@ -43,15 +43,6 @@ available_tags="CXX F77 FC GCJ RC " + macro_version=2.4 + macro_revision=1.3293 + +-# Assembler program. +-AS="as" +- +-# DLL creation program. +-DLLTOOL="false" +- +-# Object dumper program. +-OBJDUMP="false" +- + # Whether or not to build shared libraries. + build_libtool_libs=yes + +@@ -62,26 +53,26 @@ build_old_libs=yes + pic_mode=default + + # Whether or not to optimize for fast installation. +-fast_install=needless ++fast_install=yes + + # Shell to use when invoking shell scripts. +-SHELL="/bin/sh" ++SHELL="/bin/bash" + + # An echo program that protects backslashes. + ECHO="printf %s\\n" + + # The host system. +-host_alias= +-host=x86_64-apple-darwin10.6.0 +-host_os=darwin10.6.0 ++host_alias=i586-openadk-linux ++host=i586-openadk-linux-gnu ++host_os=linux-gnu + + # The build system. +-build_alias= +-build=x86_64-apple-darwin10.6.0 +-build_os=darwin10.6.0 ++build_alias=i686-apple-darwin10 ++build=i686-apple-darwin10 ++build_os=darwin10 + + # A sed program that does not truncate output. +-SED="/usr/bin/sed" ++SED="/Volumes/adk/openadk/scripts/sed" + + # Sed that helps us avoid accidentally triggering echo(1) options like -n. + Xsed="$SED -e 1s/^X//" +@@ -96,7 +87,7 @@ EGREP="/usr/bin/grep -E" + FGREP="/usr/bin/grep -F" + + # A BSD- or MS-compatible name lister. +-NM="/usr/bin/nm" ++NM="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-nm" + + # Whether we need soft or hard links. + LN_S="ln -s" +@@ -125,6 +116,9 @@ to_host_file_cmd=func_convert_file_noop + # convert $build files to toolchain format. + to_tool_file_cmd=func_convert_file_noop + ++# An object symbol dumper. ++OBJDUMP="i586-openadk-linux-objdump" ++ + # Method to check whether dependent libraries are shared objects. + deplibs_check_method="pass_all" + +@@ -137,49 +131,52 @@ file_magic_glob="" + # Find potential files using nocaseglob when deplibs_check_method = "file_magic". + want_nocaseglob="no" + ++# DLL creation program. ++DLLTOOL="false" ++ + # Command to associate shared and link libraries. + sharedlib_from_linklib_cmd="printf %s\\n" + + # The archiver. +-AR="ar" ++AR="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-ar" + + # Flags to create an archive. + AR_FLAGS="cru" + + # How to feed a file listing to the archiver. +-archiver_list_spec="" ++archiver_list_spec="@" + + # A symbol stripping program. +-STRIP="strip" ++STRIP="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-strip" + + # Commands used to install an old-style archive. +-RANLIB="ranlib" ++RANLIB="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-ranlib" + old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib" + old_postuninstall_cmds="" + + # Whether to use a lock for old archive extraction. +-lock_old_archive_extraction=yes ++lock_old_archive_extraction=no + + # A C compiler. +-LTCC="/usr/bin/gcc-4.2" ++LTCC="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-gcc -std=gnu99" + + # LTCC compiler flags. +-LTCFLAGS="-O2 -arch x86_64" ++LTCFLAGS="-march=geode -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/Volumes/adk/openadk/target_i586_eglibc/usr/include/heartbeat -I/Volumes/adk/openadk/target_i586_eglibc/usr/include -ggdb3 -O0 -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Werror" + + # Take the output of nm and produce a listing of raw symbols and C names. +-global_symbol_pipe="sed -n -e 's/^.*[ ]\\([BCDEGRST][BCDEGRST]*\\)[ ][ ]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 _\\2 \\2/p' | sed '/ __gnu_lto/d'" ++global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'" + + # Transform the output of nm in a proper C declaration. +-global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[BCDEGRST]* .* \\(.*\\)\$/extern char \\1;/p'" ++global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'" + + # Transform the output of nm in a C name address pair. +-global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p'" ++global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p'" + + # Transform the output of nm in a C name address pair when lib prefix is needed. +-global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"lib\\2\", (void *) \\&\\2},/p'" ++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'" + + # Specify filename containing input files for $NM. +-nm_file_list_spec="" ++nm_file_list_spec="@" + + # The root where to search for dependent libraries,and in which our libraries should be installed. + lt_sysroot= +@@ -197,32 +194,32 @@ need_locks="no" + MANIFEST_TOOL=":" + + # Tool to manipulate archived DWARF debug symbol files on Mac OS X. +-DSYMUTIL="dsymutil" ++DSYMUTIL="" + + # Tool to change global to local symbols on Mac OS X. +-NMEDIT="nmedit" ++NMEDIT="" + + # Tool to manipulate fat objects and archives on Mac OS X. +-LIPO="lipo" ++LIPO="" + + # ldd/readelf like tool for Mach-O binaries on Mac OS X. +-OTOOL="otool" ++OTOOL="" + + # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +-OTOOL64=":" ++OTOOL64="" + + # Old archive suffix (normally "a"). + libext=a + + # Shared library suffix (normally ".so"). +-shrext_cmds="\`test .\$module = .yes && echo .so || echo .dylib\`" ++shrext_cmds=".so" + + # The commands to extract the exported symbol list from a shared archive. + extract_expsyms_cmds="" + + # Variables whose values should be saved in libtool wrapper scripts and + # restored at link time. +-variables_saved_for_relink="PATH DYLD_LIBRARY_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" ++variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" + + # Do we need the "lib" prefix for modules? + need_lib_prefix=no +@@ -231,26 +228,26 @@ need_lib_prefix=no + need_version=no + + # Library versioning type. +-version_type=darwin ++version_type=linux + + # Shared library runtime path variable. +-runpath_var= ++runpath_var=LD_RUN_PATH + + # Shared library path variable. +-shlibpath_var=DYLD_LIBRARY_PATH ++shlibpath_var=LD_LIBRARY_PATH + + # Is shlibpath searched before the hard-coded library search path? +-shlibpath_overrides_runpath=yes ++shlibpath_overrides_runpath=no + + # Format of library name prefix. + libname_spec="lib\$name" + + # List of archive names. First name is the real one, the rest are links. + # The last name is the one that the linker finds with -lNAME +-library_names_spec="\${libname}\${release}\${major}\$shared_ext \${libname}\$shared_ext" ++library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}" + + # The coded name of the library, if different from the real name. +-soname_spec="\${libname}\${release}\${major}\$shared_ext" ++soname_spec="\${libname}\${release}\${shared_ext}\$major" + + # Permission mode override for installation of shared libraries. + install_override_mode="" +@@ -262,47 +259,47 @@ postinstall_cmds="" + postuninstall_cmds="" + + # Commands used to finish a libtool library installation in a directory. +-finish_cmds="" ++finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir" + + # As "finish_cmds", except a single script fragment to be evaled but + # not shown. + finish_eval="" + + # Whether we should hardcode library paths into libraries. +-hardcode_into_libs=no ++hardcode_into_libs=yes + + # Compile-time system search path for libraries. +-sys_lib_search_path_spec="/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 /usr/lib/i686-apple-darwin10/4.2.1 /usr/lib /opt/local/lib /usr/local/lib" ++sys_lib_search_path_spec="/Volumes/adk/openadk/host_i586_eglibc/lib/gcc/i586-openadk-linux-gnu/4.5.3 /Volumes/adk/openadk/host_i586_eglibc/i586-openadk-linux-gnu/lib /Volumes/adk/openadk/target_i586_eglibc/lib /Volumes/adk/openadk/target_i586_eglibc/usr/lib " + + # Run-time system search path for libraries. +-sys_lib_dlsearch_path_spec="/usr/local/lib /lib /usr/lib" ++sys_lib_dlsearch_path_spec="/lib /usr/lib" + + # Whether dlopen is supported. + dlopen_support=yes + + # Whether dlopen of programs is supported. +-dlopen_self=yes ++dlopen_self=unknown + + # Whether dlopen of statically linked programs is supported. +-dlopen_self_static=yes ++dlopen_self_static=unknown + + # Commands to strip libraries. +-old_striplib="strip -S" +-striplib="strip -x" ++old_striplib="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-strip --strip-debug" ++striplib="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-strip --strip-unneeded" + + + # The linker used to build libraries. +-LD="/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld" ++LD="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-ld" + + # How to create reloadable object files. + reload_flag=" -r" +-reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs" ++reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" + + # Commands used to build an old-style archive. + old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" + + # A language specific compiler. +-CC="/usr/bin/gcc-4.2" ++CC="/Volumes/adk/openadk/host_i586_eglibc/bin/i586-openadk-linux-gnu-gcc -std=gnu99" + + # Is the compiler the GNU compiler? + with_gcc=yes +@@ -311,13 +308,13 @@ with_gcc=yes + no_builtin_flag=" -fno-builtin" + + # Additional compiler flags for building library objects. +-pic_flag=" -fno-common -DPIC" ++pic_flag=" -fPIC -DPIC" + + # How to pass a linker flag through the compiler. + wl="-Wl," + + # Compiler flag to prevent dynamic linking. +-link_static_flag="" ++link_static_flag="-static" + + # Does compiler simultaneously support -c and -o options? + compiler_c_o="yes" +@@ -329,10 +326,10 @@ build_libtool_need_lc=no + allow_libtool_libs_with_static_runtimes=no + + # Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec="" ++export_dynamic_flag_spec="\${wl}--export-dynamic" + + # Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec="\`for conv in \$convenience\\\"\\\"; do test -n \\\"\$conv\\\" && new_convenience=\\\"\$new_convenience \${wl}-force_load,\$conv\\\"; done; func_echo_all \\\"\$new_convenience\\\"\`" ++whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" + + # Whether the compiler copes with passing no objects directly. + compiler_needs_object="no" +@@ -344,26 +341,29 @@ old_archive_from_new_cmds="" + old_archive_from_expsyms_cmds="" + + # Commands used to build a shared archive. +-archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module" +-archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym" ++archive_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" ++archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~ ++ cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~ ++ echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~ ++ \$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib" + + # Commands used to build a loadable module if different from building + # a shared archive. +-module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags" +-module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym" ++module_cmds="" ++module_expsym_cmds="" + + # Whether we are building with GNU ld or not. +-with_gnu_ld="no" ++with_gnu_ld="yes" + + # Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag="\${wl}-undefined \${wl}dynamic_lookup" ++allow_undefined_flag="" + + # Flag that enforces no undefined symbols. + no_undefined_flag="" + + # Flag to hardcode $libdir into a binary during linking. + # This must work even if $libdir does not exist +-hardcode_libdir_flag_spec="" ++hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir" + + # If ld is used when linking, flag to hardcode $libdir into a binary + # during linking. This must work even if $libdir does not exist. +@@ -393,14 +393,14 @@ hardcode_shlibpath_var=unsupported + # Set to "yes" if building a shared library automatically hardcodes DIR + # into the library and all subsequent libraries and executables linked + # against it. +-hardcode_automatic=yes ++hardcode_automatic=no + + # Set to yes if linker adds runtime paths of dependent libraries + # to runtime path list. + inherit_rpath=no + + # Whether libtool must link a program against all its dependency libraries. +-link_all_deplibs=yes ++link_all_deplibs=unknown + + # Set to "yes" if exported symbols are required. + always_export_symbols=no +@@ -426,20 +426,6 @@ file_list_spec="" + # How to hardcode a shared library path into an executable. + hardcode_action=immediate + +-# The directories searched by this compiler when creating a shared library. +-compiler_lib_search_dirs="" +- +-# Dependencies to place before and after the objects being linked to +-# create a shared library. +-predep_objects="" +-postdep_objects="" +-predeps="" +-postdeps="" +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path="" +- + # ### END LIBTOOL CONFIG + + +@@ -1282,7 +1268,7 @@ exec_cmd= + # Append VALUE to the end of shell variable VAR. + func_append () + { +-eval "${1}+=\${2}" ++ eval "${1}+=\${2}" + } # Extended-shell func_append implementation + + # func_append_quoted var value +@@ -1298,7 +1284,7 @@ func_append_quoted () + # func_arith arithmetic-term... + func_arith () + { +-func_arith_result=$(( $* )) ++ func_arith_result=$(( $* )) + } # Extended-shell func_arith implementation + + +@@ -1306,7 +1292,7 @@ func_arith_result=$(( $* )) + # STRING may not start with a hyphen. + func_len () + { +-func_len_result=${#1} ++ func_len_result=${#1} + } # Extended-shell func_len implementation + + +@@ -1323,7 +1309,7 @@ func_lo2o () + # func_xform libobj-or-source + func_xform () + { +-func_xform_result=${1%.*}.lo ++ func_xform_result=${1%.*}.lo + } # Extended-shell func_xform implementation + + +@@ -10071,768 +10057,3 @@ build_old_libs=`case $build_libtool_libs + # End: + # vi:sw=2 + +- +-# ### BEGIN LIBTOOL TAG CONFIG: CXX +- +-# The linker used to build libraries. +-LD="/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld" +- +-# How to create reloadable object files. +-reload_flag=" -r" +-reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs" +- +-# Commands used to build an old-style archive. +-old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" +- +-# A language specific compiler. +-CC="/usr/bin/g++-4.2" +- +-# Is the compiler the GNU compiler? +-with_gcc=yes +- +-# Compiler flag to turn off builtin functions. +-no_builtin_flag=" -fno-builtin" +- +-# Additional compiler flags for building library objects. +-pic_flag=" -fno-common -DPIC" +- +-# How to pass a linker flag through the compiler. +-wl="-Wl," +- +-# Compiler flag to prevent dynamic linking. +-link_static_flag="" +- +-# Does compiler simultaneously support -c and -o options? +-compiler_c_o="yes" +- +-# Whether or not to add -lc for building shared libraries. +-build_libtool_need_lc=no +- +-# Whether or not to disallow shared libs when runtime libs are static. +-allow_libtool_libs_with_static_runtimes=no +- +-# Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec="" +- +-# Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec="\`for conv in \$convenience\\\"\\\"; do test -n \\\"\$conv\\\" && new_convenience=\\\"\$new_convenience \${wl}-force_load,\$conv\\\"; done; func_echo_all \\\"\$new_convenience\\\"\`" +- +-# Whether the compiler copes with passing no objects directly. +-compiler_needs_object="no" +- +-# Create an old-style archive from a shared archive. +-old_archive_from_new_cmds="" +- +-# Create a temporary old-style archive to link instead of a shared archive. +-old_archive_from_expsyms_cmds="" +- +-# Commands used to build a shared archive. +-archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module" +-archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym" +- +-# Commands used to build a loadable module if different from building +-# a shared archive. +-module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags" +-module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym" +- +-# Whether we are building with GNU ld or not. +-with_gnu_ld="no" +- +-# Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag="\${wl}-undefined \${wl}dynamic_lookup" +- +-# Flag that enforces no undefined symbols. +-no_undefined_flag="" +- +-# Flag to hardcode $libdir into a binary during linking. +-# This must work even if $libdir does not exist +-hardcode_libdir_flag_spec="" +- +-# If ld is used when linking, flag to hardcode $libdir into a binary +-# during linking. This must work even if $libdir does not exist. +-hardcode_libdir_flag_spec_ld="" +- +-# Whether we need a single "-rpath" flag with a separated argument. +-hardcode_libdir_separator="" +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary. +-hardcode_direct=no +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary and the resulting library dependency is +-# "absolute",i.e impossible to change by setting ${shlibpath_var} if the +-# library is relocated. +-hardcode_direct_absolute=no +- +-# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +-# into the resulting binary. +-hardcode_minus_L=no +- +-# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +-# into the resulting binary. +-hardcode_shlibpath_var=unsupported +- +-# Set to "yes" if building a shared library automatically hardcodes DIR +-# into the library and all subsequent libraries and executables linked +-# against it. +-hardcode_automatic=yes +- +-# Set to yes if linker adds runtime paths of dependent libraries +-# to runtime path list. +-inherit_rpath=no +- +-# Whether libtool must link a program against all its dependency libraries. +-link_all_deplibs=yes +- +-# Set to "yes" if exported symbols are required. +-always_export_symbols=no +- +-# The commands to list exported symbols. +-export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols" +- +-# Symbols that should not be listed in the preloaded symbols. +-exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*" +- +-# Symbols that must always be exported. +-include_expsyms="" +- +-# Commands necessary for linking programs (against libraries) with templates. +-prelink_cmds="" +- +-# Commands necessary for finishing linking programs. +-postlink_cmds="" +- +-# Specify filename containing input files. +-file_list_spec="" +- +-# How to hardcode a shared library path into an executable. +-hardcode_action=immediate +- +-# The directories searched by this compiler when creating a shared library. +-compiler_lib_search_dirs="" +- +-# Dependencies to place before and after the objects being linked to +-# create a shared library. +-predep_objects="" +-postdep_objects="" +-predeps="" +-postdeps="" +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path="" +- +-# ### END LIBTOOL TAG CONFIG: CXX +- +-# ### BEGIN LIBTOOL TAG CONFIG: F77 +- +-# The linker used to build libraries. +-LD="" +- +-# How to create reloadable object files. +-reload_flag=" -r" +-reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs" +- +-# Commands used to build an old-style archive. +-old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" +- +-# A language specific compiler. +-CC="" +- +-# Is the compiler the GNU compiler? +-with_gcc= +- +-# Compiler flag to turn off builtin functions. +-no_builtin_flag="" +- +-# Additional compiler flags for building library objects. +-pic_flag="" +- +-# How to pass a linker flag through the compiler. +-wl="" +- +-# Compiler flag to prevent dynamic linking. +-link_static_flag="" +- +-# Does compiler simultaneously support -c and -o options? +-compiler_c_o="" +- +-# Whether or not to add -lc for building shared libraries. +-build_libtool_need_lc=no +- +-# Whether or not to disallow shared libs when runtime libs are static. +-allow_libtool_libs_with_static_runtimes=no +- +-# Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec="" +- +-# Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec="" +- +-# Whether the compiler copes with passing no objects directly. +-compiler_needs_object="" +- +-# Create an old-style archive from a shared archive. +-old_archive_from_new_cmds="" +- +-# Create a temporary old-style archive to link instead of a shared archive. +-old_archive_from_expsyms_cmds="" +- +-# Commands used to build a shared archive. +-archive_cmds="" +-archive_expsym_cmds="" +- +-# Commands used to build a loadable module if different from building +-# a shared archive. +-module_cmds="" +-module_expsym_cmds="" +- +-# Whether we are building with GNU ld or not. +-with_gnu_ld="" +- +-# Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag="" +- +-# Flag that enforces no undefined symbols. +-no_undefined_flag="" +- +-# Flag to hardcode $libdir into a binary during linking. +-# This must work even if $libdir does not exist +-hardcode_libdir_flag_spec="" +- +-# If ld is used when linking, flag to hardcode $libdir into a binary +-# during linking. This must work even if $libdir does not exist. +-hardcode_libdir_flag_spec_ld="" +- +-# Whether we need a single "-rpath" flag with a separated argument. +-hardcode_libdir_separator="" +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary. +-hardcode_direct=no +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary and the resulting library dependency is +-# "absolute",i.e impossible to change by setting ${shlibpath_var} if the +-# library is relocated. +-hardcode_direct_absolute=no +- +-# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +-# into the resulting binary. +-hardcode_minus_L=no +- +-# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +-# into the resulting binary. +-hardcode_shlibpath_var= +- +-# Set to "yes" if building a shared library automatically hardcodes DIR +-# into the library and all subsequent libraries and executables linked +-# against it. +-hardcode_automatic=no +- +-# Set to yes if linker adds runtime paths of dependent libraries +-# to runtime path list. +-inherit_rpath=no +- +-# Whether libtool must link a program against all its dependency libraries. +-link_all_deplibs=unknown +- +-# Set to "yes" if exported symbols are required. +-always_export_symbols=no +- +-# The commands to list exported symbols. +-export_symbols_cmds="" +- +-# Symbols that should not be listed in the preloaded symbols. +-exclude_expsyms="" +- +-# Symbols that must always be exported. +-include_expsyms="" +- +-# Commands necessary for linking programs (against libraries) with templates. +-prelink_cmds="" +- +-# Commands necessary for finishing linking programs. +-postlink_cmds="" +- +-# Specify filename containing input files. +-file_list_spec="" +- +-# How to hardcode a shared library path into an executable. +-hardcode_action= +- +-# The directories searched by this compiler when creating a shared library. +-compiler_lib_search_dirs="" +- +-# Dependencies to place before and after the objects being linked to +-# create a shared library. +-predep_objects="" +-postdep_objects="" +-predeps="" +-postdeps="" +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path="" +- +-# ### END LIBTOOL TAG CONFIG: F77 +- +-# ### BEGIN LIBTOOL TAG CONFIG: FC +- +-# The linker used to build libraries. +-LD="" +- +-# How to create reloadable object files. +-reload_flag=" -r" +-reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs" +- +-# Commands used to build an old-style archive. +-old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" +- +-# A language specific compiler. +-CC="" +- +-# Is the compiler the GNU compiler? +-with_gcc= +- +-# Compiler flag to turn off builtin functions. +-no_builtin_flag="" +- +-# Additional compiler flags for building library objects. +-pic_flag="" +- +-# How to pass a linker flag through the compiler. +-wl="" +- +-# Compiler flag to prevent dynamic linking. +-link_static_flag="" +- +-# Does compiler simultaneously support -c and -o options? +-compiler_c_o="" +- +-# Whether or not to add -lc for building shared libraries. +-build_libtool_need_lc=no +- +-# Whether or not to disallow shared libs when runtime libs are static. +-allow_libtool_libs_with_static_runtimes=no +- +-# Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec="" +- +-# Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec="" +- +-# Whether the compiler copes with passing no objects directly. +-compiler_needs_object="" +- +-# Create an old-style archive from a shared archive. +-old_archive_from_new_cmds="" +- +-# Create a temporary old-style archive to link instead of a shared archive. +-old_archive_from_expsyms_cmds="" +- +-# Commands used to build a shared archive. +-archive_cmds="" +-archive_expsym_cmds="" +- +-# Commands used to build a loadable module if different from building +-# a shared archive. +-module_cmds="" +-module_expsym_cmds="" +- +-# Whether we are building with GNU ld or not. +-with_gnu_ld="" +- +-# Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag="" +- +-# Flag that enforces no undefined symbols. +-no_undefined_flag="" +- +-# Flag to hardcode $libdir into a binary during linking. +-# This must work even if $libdir does not exist +-hardcode_libdir_flag_spec="" +- +-# If ld is used when linking, flag to hardcode $libdir into a binary +-# during linking. This must work even if $libdir does not exist. +-hardcode_libdir_flag_spec_ld="" +- +-# Whether we need a single "-rpath" flag with a separated argument. +-hardcode_libdir_separator="" +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary. +-hardcode_direct=no +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary and the resulting library dependency is +-# "absolute",i.e impossible to change by setting ${shlibpath_var} if the +-# library is relocated. +-hardcode_direct_absolute=no +- +-# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +-# into the resulting binary. +-hardcode_minus_L=no +- +-# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +-# into the resulting binary. +-hardcode_shlibpath_var= +- +-# Set to "yes" if building a shared library automatically hardcodes DIR +-# into the library and all subsequent libraries and executables linked +-# against it. +-hardcode_automatic=no +- +-# Set to yes if linker adds runtime paths of dependent libraries +-# to runtime path list. +-inherit_rpath=no +- +-# Whether libtool must link a program against all its dependency libraries. +-link_all_deplibs=unknown +- +-# Set to "yes" if exported symbols are required. +-always_export_symbols=no +- +-# The commands to list exported symbols. +-export_symbols_cmds="" +- +-# Symbols that should not be listed in the preloaded symbols. +-exclude_expsyms="" +- +-# Symbols that must always be exported. +-include_expsyms="" +- +-# Commands necessary for linking programs (against libraries) with templates. +-prelink_cmds="" +- +-# Commands necessary for finishing linking programs. +-postlink_cmds="" +- +-# Specify filename containing input files. +-file_list_spec="" +- +-# How to hardcode a shared library path into an executable. +-hardcode_action= +- +-# The directories searched by this compiler when creating a shared library. +-compiler_lib_search_dirs="" +- +-# Dependencies to place before and after the objects being linked to +-# create a shared library. +-predep_objects="" +-postdep_objects="" +-predeps="" +-postdeps="" +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path="" +- +-# ### END LIBTOOL TAG CONFIG: FC +- +-# ### BEGIN LIBTOOL TAG CONFIG: GCJ +- +-# The linker used to build libraries. +-LD="/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld" +- +-# How to create reloadable object files. +-reload_flag=" -r" +-reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs" +- +-# Commands used to build an old-style archive. +-old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" +- +-# A language specific compiler. +-CC="" +- +-# Is the compiler the GNU compiler? +-with_gcc= +- +-# Compiler flag to turn off builtin functions. +-no_builtin_flag="" +- +-# Additional compiler flags for building library objects. +-pic_flag="" +- +-# How to pass a linker flag through the compiler. +-wl="" +- +-# Compiler flag to prevent dynamic linking. +-link_static_flag="" +- +-# Does compiler simultaneously support -c and -o options? +-compiler_c_o="" +- +-# Whether or not to add -lc for building shared libraries. +-build_libtool_need_lc=no +- +-# Whether or not to disallow shared libs when runtime libs are static. +-allow_libtool_libs_with_static_runtimes= +- +-# Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec="" +- +-# Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec="" +- +-# Whether the compiler copes with passing no objects directly. +-compiler_needs_object="" +- +-# Create an old-style archive from a shared archive. +-old_archive_from_new_cmds="" +- +-# Create a temporary old-style archive to link instead of a shared archive. +-old_archive_from_expsyms_cmds="" +- +-# Commands used to build a shared archive. +-archive_cmds="" +-archive_expsym_cmds="" +- +-# Commands used to build a loadable module if different from building +-# a shared archive. +-module_cmds="" +-module_expsym_cmds="" +- +-# Whether we are building with GNU ld or not. +-with_gnu_ld="" +- +-# Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag="" +- +-# Flag that enforces no undefined symbols. +-no_undefined_flag="" +- +-# Flag to hardcode $libdir into a binary during linking. +-# This must work even if $libdir does not exist +-hardcode_libdir_flag_spec="" +- +-# If ld is used when linking, flag to hardcode $libdir into a binary +-# during linking. This must work even if $libdir does not exist. +-hardcode_libdir_flag_spec_ld="" +- +-# Whether we need a single "-rpath" flag with a separated argument. +-hardcode_libdir_separator="" +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary. +-hardcode_direct= +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary and the resulting library dependency is +-# "absolute",i.e impossible to change by setting ${shlibpath_var} if the +-# library is relocated. +-hardcode_direct_absolute= +- +-# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +-# into the resulting binary. +-hardcode_minus_L= +- +-# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +-# into the resulting binary. +-hardcode_shlibpath_var= +- +-# Set to "yes" if building a shared library automatically hardcodes DIR +-# into the library and all subsequent libraries and executables linked +-# against it. +-hardcode_automatic= +- +-# Set to yes if linker adds runtime paths of dependent libraries +-# to runtime path list. +-inherit_rpath= +- +-# Whether libtool must link a program against all its dependency libraries. +-link_all_deplibs= +- +-# Set to "yes" if exported symbols are required. +-always_export_symbols= +- +-# The commands to list exported symbols. +-export_symbols_cmds="" +- +-# Symbols that should not be listed in the preloaded symbols. +-exclude_expsyms="" +- +-# Symbols that must always be exported. +-include_expsyms="" +- +-# Commands necessary for linking programs (against libraries) with templates. +-prelink_cmds="" +- +-# Commands necessary for finishing linking programs. +-postlink_cmds="" +- +-# Specify filename containing input files. +-file_list_spec="" +- +-# How to hardcode a shared library path into an executable. +-hardcode_action= +- +-# The directories searched by this compiler when creating a shared library. +-compiler_lib_search_dirs="" +- +-# Dependencies to place before and after the objects being linked to +-# create a shared library. +-predep_objects="" +-postdep_objects="" +-predeps="" +-postdeps="" +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path="" +- +-# ### END LIBTOOL TAG CONFIG: GCJ +- +-# ### BEGIN LIBTOOL TAG CONFIG: RC +- +-# The linker used to build libraries. +-LD="" +- +-# How to create reloadable object files. +-reload_flag="" +-reload_cmds="" +- +-# Commands used to build an old-style archive. +-old_archive_cmds="" +- +-# A language specific compiler. +-CC="" +- +-# Is the compiler the GNU compiler? +-with_gcc= +- +-# Compiler flag to turn off builtin functions. +-no_builtin_flag="" +- +-# Additional compiler flags for building library objects. +-pic_flag="" +- +-# How to pass a linker flag through the compiler. +-wl="" +- +-# Compiler flag to prevent dynamic linking. +-link_static_flag="" +- +-# Does compiler simultaneously support -c and -o options? +-compiler_c_o="yes" +- +-# Whether or not to add -lc for building shared libraries. +-build_libtool_need_lc= +- +-# Whether or not to disallow shared libs when runtime libs are static. +-allow_libtool_libs_with_static_runtimes= +- +-# Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec="" +- +-# Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec="" +- +-# Whether the compiler copes with passing no objects directly. +-compiler_needs_object="" +- +-# Create an old-style archive from a shared archive. +-old_archive_from_new_cmds="" +- +-# Create a temporary old-style archive to link instead of a shared archive. +-old_archive_from_expsyms_cmds="" +- +-# Commands used to build a shared archive. +-archive_cmds="" +-archive_expsym_cmds="" +- +-# Commands used to build a loadable module if different from building +-# a shared archive. +-module_cmds="" +-module_expsym_cmds="" +- +-# Whether we are building with GNU ld or not. +-with_gnu_ld="" +- +-# Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag="" +- +-# Flag that enforces no undefined symbols. +-no_undefined_flag="" +- +-# Flag to hardcode $libdir into a binary during linking. +-# This must work even if $libdir does not exist +-hardcode_libdir_flag_spec="" +- +-# If ld is used when linking, flag to hardcode $libdir into a binary +-# during linking. This must work even if $libdir does not exist. +-hardcode_libdir_flag_spec_ld="" +- +-# Whether we need a single "-rpath" flag with a separated argument. +-hardcode_libdir_separator="" +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary. +-hardcode_direct= +- +-# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes +-# DIR into the resulting binary and the resulting library dependency is +-# "absolute",i.e impossible to change by setting ${shlibpath_var} if the +-# library is relocated. +-hardcode_direct_absolute= +- +-# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +-# into the resulting binary. +-hardcode_minus_L= +- +-# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +-# into the resulting binary. +-hardcode_shlibpath_var= +- +-# Set to "yes" if building a shared library automatically hardcodes DIR +-# into the library and all subsequent libraries and executables linked +-# against it. +-hardcode_automatic= +- +-# Set to yes if linker adds runtime paths of dependent libraries +-# to runtime path list. +-inherit_rpath= +- +-# Whether libtool must link a program against all its dependency libraries. +-link_all_deplibs= +- +-# Set to "yes" if exported symbols are required. +-always_export_symbols= +- +-# The commands to list exported symbols. +-export_symbols_cmds="" +- +-# Symbols that should not be listed in the preloaded symbols. +-exclude_expsyms="" +- +-# Symbols that must always be exported. +-include_expsyms="" +- +-# Commands necessary for linking programs (against libraries) with templates. +-prelink_cmds="" +- +-# Commands necessary for finishing linking programs. +-postlink_cmds="" +- +-# Specify filename containing input files. +-file_list_spec="" +- +-# How to hardcode a shared library path into an executable. +-hardcode_action= +- +-# The directories searched by this compiler when creating a shared library. +-compiler_lib_search_dirs="" +- +-# Dependencies to place before and after the objects being linked to +-# create a shared library. +-predep_objects="" +-postdep_objects="" +-predeps="" +-postdeps="" +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path="" +- +-# ### END LIBTOOL TAG CONFIG: RC diff --git a/package/resource-agents/Makefile b/package/resource-agents/Makefile new file mode 100644 index 000000000..50b5fafe7 --- /dev/null +++ b/package/resource-agents/Makefile @@ -0,0 +1,24 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= resource-agents +PKG_VERSION:= 3.9.0 +PKG_RELEASE:= 1 +PKG_MD5SUM:= b5d0c178082ff186c36ab145b5bbf5df +PKG_DESCR:= Resource agents for clusters +PKG_SECTION:= ha +PKG_URL:= https://github.com/ClusterLabs/resource-agents +PKG_SITES:= http://openadk.org/distfiles/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,RESOURCE_AGENTS,resource-agents,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +resource-agents-install: + $(INSTALL_DIR) $(IDIR_RESOURCE_AGENTS)/usr/share/cluster + $(CP) $(WRKINST)/usr/share/cluster/*.sh \ + $(IDIR_RESOURCE_AGENTS)/usr/share/cluster + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/resource-agents/patches/patch-Makefile_in b/package/resource-agents/patches/patch-Makefile_in new file mode 100644 index 000000000..0ff4259e9 --- /dev/null +++ b/package/resource-agents/patches/patch-Makefile_in @@ -0,0 +1,20 @@ +--- resource-agents-3.9.0.orig/Makefile.in 2011-05-24 15:37:09.000000000 +0200 ++++ resource-agents-3.9.0/Makefile.in 2011-05-24 15:41:27.000000000 +0200 +@@ -53,7 +53,7 @@ POST_UNINSTALL = : + build_triplet = @build@ + host_triplet = @host@ + @BUILD_RGMANAGER_TRUE@am__append_1 = rgmanager +-@BUILD_LINUX_HA_TRUE@am__append_2 = include heartbeat tools ldirectord doc ++@BUILD_LINUX_HA_TRUE@am__append_2 = include heartbeat tools ldirectord + subdir = . + DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ +@@ -86,7 +86,7 @@ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGE + distdir dist dist-all distcheck + ETAGS = etags + CTAGS = ctags +-DIST_SUBDIRS = rgmanager include heartbeat tools ldirectord doc ++DIST_SUBDIRS = rgmanager include heartbeat tools ldirectord + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + distdir = $(PACKAGE)-$(VERSION) + top_distdir = $(distdir) diff --git a/package/resource-agents/patches/patch-autom4te_cache_requests b/package/resource-agents/patches/patch-autom4te_cache_requests new file mode 100644 index 000000000..6350a29ed --- /dev/null +++ b/package/resource-agents/patches/patch-autom4te_cache_requests @@ -0,0 +1,94 @@ +--- resource-agents-3.9.0.orig/autom4te.cache/requests 2011-05-24 15:37:08.000000000 +0200 ++++ resource-agents-3.9.0/autom4te.cache/requests 2011-05-24 15:38:05.000000000 +0200 +@@ -66,14 +66,14 @@ + '_AM_AUTOCONF_VERSION' => 1, + 'AM_PROG_CC_C_O' => 1, + '_AM_MANGLE_OPTION' => 1, +- 'AM_CONDITIONAL' => 1, + 'AM_SET_LEADING_DOT' => 1, ++ 'AM_CONDITIONAL' => 1, + 'AM_SET_DEPDIR' => 1, + '_AM_DEPENDENCIES' => 1, +- 'AM_PROG_INSTALL_SH' => 1, + 'm4_include' => 1, +- '_AC_AM_CONFIG_HEADER_HOOK' => 1, ++ 'AM_PROG_INSTALL_SH' => 1, + 'AM_PATH_PYTHON' => 1, ++ '_AC_AM_CONFIG_HEADER_HOOK' => 1, + 'AU_DEFUN' => 1, + 'AM_MAKE_INCLUDE' => 1 + } +@@ -90,55 +90,55 @@ + 'configure.ac' + ], + { +- '_LT_AC_TAGCONFIG' => 1, + 'AM_PROG_F77_C_O' => 1, +- 'm4_pattern_forbid' => 1, ++ '_LT_AC_TAGCONFIG' => 1, + 'AC_INIT' => 1, +- '_AM_COND_IF' => 1, ++ 'm4_pattern_forbid' => 1, + 'AC_CANONICAL_TARGET' => 1, +- 'AC_SUBST' => 1, ++ '_AM_COND_IF' => 1, + 'AC_CONFIG_LIBOBJ_DIR' => 1, +- 'AC_FC_SRCEXT' => 1, ++ 'AC_SUBST' => 1, + 'AC_CANONICAL_HOST' => 1, ++ 'AC_FC_SRCEXT' => 1, + 'AC_PROG_LIBTOOL' => 1, + 'AM_INIT_AUTOMAKE' => 1, +- 'AM_PATH_GUILE' => 1, + 'AC_CONFIG_SUBDIRS' => 1, ++ 'AM_PATH_GUILE' => 1, + 'AM_AUTOMAKE_VERSION' => 1, + 'LT_CONFIG_LTDL_DIR' => 1, +- 'AC_REQUIRE_AUX_FILE' => 1, + 'AC_CONFIG_LINKS' => 1, +- 'm4_sinclude' => 1, ++ 'AC_REQUIRE_AUX_FILE' => 1, + 'LT_SUPPORTED_TAG' => 1, ++ 'm4_sinclude' => 1, + 'AM_MAINTAINER_MODE' => 1, + 'AM_NLS' => 1, + 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, +- 'AM_MAKEFILE_INCLUDE' => 1, + '_m4_warn' => 1, ++ 'AM_MAKEFILE_INCLUDE' => 1, + 'AM_PROG_CXX_C_O' => 1, +- '_AM_COND_ENDIF' => 1, + '_AM_MAKEFILE_INCLUDE' => 1, ++ '_AM_COND_ENDIF' => 1, + 'AM_ENABLE_MULTILIB' => 1, + 'AM_SILENT_RULES' => 1, + 'AM_PROG_MOC' => 1, + 'AC_CONFIG_FILES' => 1, +- 'LT_INIT' => 1, + 'include' => 1, +- 'AM_PROG_AR' => 1, ++ 'LT_INIT' => 1, + 'AM_GNU_GETTEXT' => 1, ++ 'AM_PROG_AR' => 1, + 'AC_LIBSOURCE' => 1, +- 'AM_PROG_FC_C_O' => 1, + 'AC_CANONICAL_BUILD' => 1, ++ 'AM_PROG_FC_C_O' => 1, + 'AC_FC_FREEFORM' => 1, + 'AH_OUTPUT' => 1, +- '_AM_SUBST_NOTMAKE' => 1, + 'AC_CONFIG_AUX_DIR' => 1, +- 'sinclude' => 1, +- 'AM_PROG_CC_C_O' => 1, ++ '_AM_SUBST_NOTMAKE' => 1, + 'm4_pattern_allow' => 1, +- 'AM_XGETTEXT_OPTION' => 1, +- 'AC_CANONICAL_SYSTEM' => 1, ++ 'AM_PROG_CC_C_O' => 1, ++ 'sinclude' => 1, + 'AM_CONDITIONAL' => 1, ++ 'AC_CANONICAL_SYSTEM' => 1, ++ 'AM_XGETTEXT_OPTION' => 1, + 'AC_CONFIG_HEADERS' => 1, + 'AC_DEFINE_TRACE_LITERAL' => 1, + 'AM_POT_TOOLS' => 1, diff --git a/package/section.lst b/package/section.lst index 4648fc04d..d1fa5ebf3 100644 --- a/package/section.lst +++ b/package/section.lst @@ -17,6 +17,7 @@ kernel External Kernel Modules route Firewall / Routing / Bridging bridge Firewall / Routing / Bridging fs Filesystem / Blockdevice utilities +ha Linux High Availability ipv6 IPv6 lang Programming / Languages libs Libraries |