bruceg/nullmailer — pull request #18 by remsnet (2014-04-03 19:58:44+00:00)
Title: Create autogen.sh

autogen.sh helps for automated GIT source builds to gather the system depends and setup makefile, configure aclocal etc pp..

This solve my freqienly nullmailer build
result from current source gotten on SuSE / OpenSuSe since years..

nagios1:/proj/RCIS-Qmail-toaster # rpmbuild -ba nullmailer-1.13-15.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kY5pR7
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf nullmailer-master
+ /usr/bin/unzip -qq /usr/src/packages/SOURCES/nullmailer-master-03042014.zip
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nullmailer-master
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp /usr/src/packages/SOURCES/nullmailer.run scripts/
+ cp /usr/src/packages/SOURCES/nullmailer-log.run scripts/
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.N4abwu
+ umask 022
+ cd /usr/src/packages/BUILD
+ /usr/bin/rm -rf /usr/src/packages/BUILDROOT/nullmailer-1.14-1.15_rcis.arm
++ dirname /usr/src/packages/BUILDROOT/nullmailer-1.14-1.15_rcis.arm
+ /usr/bin/mkdir -p /usr/src/packages/BUILDROOT
+ /usr/bin/mkdir /usr/src/packages/BUILDROOT/nullmailer-1.14-1.15_rcis.arm
+ cd nullmailer-master
+ aclocal
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
+ aclocal
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
+ autoconf
+ CFLAGS='-fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables'
+ CXXFLAGS='-fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables'
+ CONFIGURE_OPTIONS=' --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc/nullmailer --localstatedir=/var --enable-tls
'
+ ./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc/nullmailer --localstatedir=/var --enable-tls
configure: loading site script /usr/share/site/armv7l-unknown-linux-gnueabihf
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
error: Bad exit status from /var/tmp/rpm-tmp.N4abwu (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.N4abwu (%build)