Merge lp://staging/~laurynas-biveinis/percona-pam-for-mysql/autoreconf into lp://staging/percona-pam-for-mysql
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Laurynas Biveinis | ||||||||
Approved revision: | 12 | ||||||||
Merge reported by: | Laurynas Biveinis | ||||||||
Merged at revision: | not available | ||||||||
Proposed branch: | lp://staging/~laurynas-biveinis/percona-pam-for-mysql/autoreconf | ||||||||
Merge into: | lp://staging/percona-pam-for-mysql | ||||||||
Diff against target: |
74 lines (+13/-10) 4 files modified
.bzrignore (+1/-0) Makefile.am (+2/-0) bootstrap (+1/-5) configure.ac (+9/-5) |
||||||||
To merge this branch: | bzr merge lp://staging/~laurynas-biveinis/percona-pam-for-mysql/autoreconf | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Valentine Gostev (community) | Approve | ||
Laurynas Biveinis (community) | Needs Resubmitting | ||
Review via email:
|
Commit message
Fix bug 885305, bug 885311 (various bootstrap script bugs) by
rewriting that script in the proper way, which is using autoreconf.
To use it better, also do some changes to the build system itself:
- New directory m4 for m4 macros, specify it in configure.ac,
Makefile.am and bootstrap.
- Set "foreign" project option for Automake.
- Use AS_HELP_STRING instead of obsolete AC_HELP_STRING.
- Remove AC_PROG_SED as it is not present on some pre-historic
autoconfes.
Description of the change
Fix bug 885305, bug 885311 (various bootstrap script bugs) by
rewriting that script in the proper way, which is using autoreconf.
To use it better, also do some changes to the build system itself:
- New directory m4 for m4 macros, specify it in configure.ac and
Makefile.am.
- Set "foreign" project option for Automake.
bootstrap now works from the first time, but build fails on centos5-64 with such output:
[root@test- cent5-64- t506 autoreconf]# bzr log | head ------- ------- ------- ------- ------- ------- ------- ---- /launchpad. net/bugs/ 885305 https:/ /launchpad. net/bugs/ 885311 cent5-64- t506 autoreconf]# bzr revision-info cent5-64- t506 autoreconf]# ./bootstrap cent5-64- t506 autoreconf]# ./configure > /dev/null cent5-64- t506 autoreconf]# make pam/source/ autoreconf' pam/source/ autoreconf/ src' DYNAMIC_ PLUGIN -isystem /usr/include/mysql -Wall -Wextra -g -O2 -MT auth_pam_ la-auth_ pam.lo -MD -MP -MF ".deps/ auth_pam_ la-auth_ pam.Tpo" -c -o auth_pam_ la-auth_ pam.lo `test -f 'auth_pam.c' || echo './'`auth_pam.c; \ auth_pam_ la-auth_ pam.Tpo" ".deps/ auth_pam_ la-auth_ pam.Plo" ; else rm -f ".deps/ auth_pam_ la-auth_ pam.Tpo" ; exit 1; fi DYNAMIC_ PLUGIN: command not found mysql: No such file or directory la-auth_ pam.lo: command not found auth_pam_ la-auth_ pam.Tpo: No such file or directory
-------
revno: 12
fixes bug(s): https:/
committer: Laurynas Biveinis <email address hidden>
branch nick: autoreconf
timestamp: Tue 2011-11-08 06:17:33 +0200
message:
Fix bug 885305, bug 885311 (various bootstrap script bugs) by
rewriting that script in the proper way, which is using autoreconf.
To use it better, also do some changes to the build system itself:
[root@test-
12 <email address hidden>
[root@test-
You should update your `aclocal.m4' by running aclocal.
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
src/Makefile.am: installing `./compile'
[root@test-
[root@test-
make all-recursive
make[1]: Entering directory `/root/
Making all in src
make[2]: Entering directory `/root/
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMYSQL_
then mv -f ".deps/
../libtool: line 852: X--tag=CC: command not found
../libtool: line 885: libtool: ignoring unknown tag : command not found
../libtool: line 852: X--mode=compile: command not found
../libtool: line 1018: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1019: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1162: Xgcc: command not found
../libtool: line 1162: X-DHAVE_CONFIG_H: command not found
../libtool: line 1162: X-I.: command not found
../libtool: line 1162: X-I.: command not found
../libtool: line 1162: X-I..: command not found
../libtool: line 1162: X-DMYSQL_
../libtool: line 1162: X-isystem: command not found
../libtool: line 1162: X/usr/include/
../libtool: line 1162: X-Wall: command not found
../libtool: line 1162: X-Wextra: command not found
../libtool: line 1162: X-g: command not found
../libtool: line 1162: X-O2: command not found
../libtool: line 1162: X-MT: command not found
../libtool: line 1162: Xauth_pam_
../libtool: line 1162: X-MD: command not found
../libtool: line 1162: X-MP: command not found
../libtool: line 1162: X-MF: command not found
../libtool: line 1162: X.deps/
../libtool: line 1162: X-c: command not found
...