autogen.sh

Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Require Python ≥2.7 for Subversion 1.9, part 1: documentation and dependency

version checks.

* INSTALL

(I.C. Dependencies in Detail):

Document that Python 2.7 is required.

Add statement about Python 3.x.

* subversion/tests/cmdline/README,

* subversion/bindings/swig/INSTALL:

Document that Python 2.7 is required.

* autogen.sh,

* build/find_python.sh,

* configure.ac,

* Makefile.in (check),

* subversion/tests/cmdline/svntest/__init__.py:

Update comments, version number checks, and error messages.

  1. … 7 more files in changeset.
Following up on r1659509, extend the whitespace cleanup script to include

.sql and .sh files

* tools/dev/remove-trailing-whitespace.sh

Update script.

* autogen.sh

* subversion/libsvn_wc/wc-metadata.sql

* subversion/libsvn_wc/wc-queries.sql

* subversion/tests/cmdline/dav-mirror-autocheck.sh

* subversion/tests/cmdline/davautocheck.sh

* subversion/tests/cmdline/lock_tests.py

* tools/buildbot/slaves/i686-debian-sarge1/svnlog.sh

* tools/buildbot/slaves/svn-x64-centos/svnbuild.sh

* tools/buildbot/slaves/svn-x64-centos/svnlog.sh

* tools/buildbot/slaves/svn-x64-macosx-gnu-shared/svnlog.sh

* tools/buildbot/slaves/svn-x64-macosx-gnu-shared-daily-ra_serf/svnlog.sh

* tools/buildbot/slaves/ubuntu-x64/svnlog.sh

* tools/client-side/svn-ssl-fingerprints.sh

* tools/dev/benchmarks/large_dirs/create_bigdir.sh

* tools/dist/dist.sh

* tools/dist/nightly.sh

* tools/hook-scripts/mailer/tests/mailer-init.sh

* tools/po/po-update.sh

Apply whitespace cleanup.

  1. … 18 more files in changeset.
* autogen.sh: Unset CDPATH.

* autogen.sh: Fix typo; remove double slash from constructed path.

Following up on r1637826, make autogen.sh find helper files where

newer libtool versions put them by default; and make the whole

helper copying more robust and easier to debug.

* autogen.sh: Check the default locations for Libtool and Autoconf

helper macros and scripts. Log copying of config.guess and config.sub.

Make error messages somewhat more useful.

Fix incorrect expansion/replacement of the LIBTOOL_M4 and LIBTOOL_CONFIG

environment variables in autogen.sh.

* autogen.sh (ltfile, configfile): The file basename we're searching for

must not be part of the replacement expansion when LIBTOOL_M4 or

LIBTOOL_CONFIG are not defined.

* buildcheck.sh: Add comment.

* autogen.sh: Add comment.

  1. … 1 more file in changeset.
* buildcheck.sh: Look for libtoolize rather than libtool, add some

more candidate names.

* autogen.sh: Add more candidate names to match buildcheck.sh.

Patch by: Helmut Grohne <helmut{_AT_}subdivi.de>

me

  1. … 1 more file in changeset.
* autogen.sh: Configure stores initial CFLAGS and CXXFLAGS in the internal

CUSERFLAGS and CXXUSERFLAGS, not the other way around.

* autogen.sh: Leave a breadcrumb about new configure options for tweaking

CFLAGS regarding optimization and debug compiler flags.

Reintegrate tweak-build-take-two branch to trunk.

Summary of changes:

** Split standards-compliance mode and maintainer mode compiler flags

out of CFLAGS, so that compilation command lines that do not

generate (too many) warnings or are not forced to comply with ISO

C '90 can be constructed without having to resort to stripping

individual flags out of CFLAGS.

$ svn diff -r1424288:1424822 \

^/subversion/branches/tweak-build-take-two/configure.ac \

^/subversion/branches/tweak-build-take-two/aclocal.m4 \

^/subversion/branches/tweak-build-take-two/build/ac-macros/compiler.m4 \

^/subversion/branches/tweak-build-take-two/Makefile.in

** Now that warning and standards-compliance mode macros are no

longer part of CFLAGS, stop stripping them in the Swig wrapper

configury, except for Ruby, which is more delicate.

$ svn diff -r1424329:1425040 \

^/subversion/branches/tweak-build-take-two/build/ac-macros/swig.m4

** Allow optimization and debugging to coexist, including in

maintainer mode, adding a new configure option

--enable-optimize. Neither --enable-optimize nor --enable-debug

will override any optimization or debugging flags set by the user

in C(XX)FLAGS at configure time. If debugging and optimization are

enabled at the same time, we will try to use -O1, then -O; if

debuggin is not enabled, we will try -O2 first.

$ svn diff -c1424860 \

^/subversion/branches/tweak-build-take-two/configure.ac

** Remove an obsolete autoconf macro that was not used anywhere and

is superceded with SVN_CFLAGS_ADD_IFELSE.

$ svn diff -c1424297 \

^/subversion/branches/tweak-build-take-two/build/ac-macros/svn-macros.m4

** Move the sqlite-amalgamation directory from the root of the source tree

under subversion/include/private to make include paths safer from

possible collision with sqlite include files from other install locations.

$ svn diff -c1425050 \

^/subversion/branches/tweak-build-take-two

** Allow a user to set a custom set of compiler flags at configure time that

are used for Subversion sources, but not, e.g., Swig-generated sources,

like this:

$ ./configure CUSERFLAGS=--flags-for-C CXXUSERFLAGS=--flags-for-C++

$ svn diff -c1425086 \

^/subversion/branches/tweak-build-take-two

  1. … 14 more files in changeset.
Remove .swig_checked from release builds.

It gets created as part of the process to generate the C files from SWIG so

that bindings can be built without SWIG being present. There is no reason

for it to remain in the tarball.

* autogen.sh: Remove .swig_checked when in release mode.

Require Python >=2.5.

* configure.ac,

* INSTALL,

* autogen.sh,

* Makefile.in,

* subversion/bindings/swig/INSTALL,

* subversion/tests/cmdline/README:

Update docs and warnings.

* build/find_python.sh,

* subversion/tests/cmdline/svntest/__init__.py:

Require Python >= 2.5.

  1. … 7 more files in changeset.
Fix issue 3930 by restoring the old libtool handling, effectively

reverting r876227 and r876296.

* configure.ac: Remove --with-custom-libtool, add --enable-experimental-libtool.

* autogen.sh: Setup for libtool.

* build/buildcheck.sh: Check for libtool.

* build/config.sub:

* build/config.guess: Remove, now generated by autogen.sh.

* build: Adjust svn:ignore.

  1. … 5 more files in changeset.
Apply ASF license headers to a number of files included under that license

but lacking said header.

Patch by: Niall Pemberton <niallp{_AT_}apache.org>

  1. … 175 more files in changeset.
Set svn:eol-style=native on some files.

* aclocal.m4:

* autogen.sh:

* build/buildcheck.sh:

* build/find_python.sh:

* build/run_ctypesgen.sh:

* build/win32/vc6-build.bat.in:

* contrib/client-side/svn2cl/svn2cl.sh:

* contrib/client-side/svnmerge/svnmerge-migrate-test.sh:

* contrib/hook-scripts/syntax-check.sh:

* contrib/server-side/backup-recipe.sh:

* contrib/server-side/load_repo_with_mergesensitive_copy.sh:

* contrib/server-side/svnmirror.sh:

* contrib/server-side/svnstsw/autogen.sh:

* contrib/server-side/svnstsw/conf/find_apr.m4:

* contrib/server-side/svnstsw/configure.ac:

* contrib/server-side/svnstsw/conf/stsw_func_snprintf_broken.m4:

* contrib/server-side/svnstsw/conf/stsw_lib_apr.m4:

* contrib/server-side/svnstsw/conf/stsw_prog_doxygen.m4:

* contrib/server-side/svnstsw/doc/Doxyfile-html.in:

* contrib/server-side/svnstsw/doc/man/libsvnstsw.3.in:

* contrib/server-side/svnstsw/doc/man/svnstsw.8.in:

* contrib/server-side/svnstsw/doc/man/svnstsw_exec_svnserve.3.in:

* contrib/server-side/svnstsw/doc/man/svnstsw_fso_is_changeable.3.in:

* contrib/server-side/svnstsw/doc/man/svnstsw_get_tunnel_user_name.3.in:

* notes/tree-conflicts/all-tests.sh:

* packages/rpm/rhel-3/filter-requires.sh:

* packages/rpm/rhel-4/filter-requires.sh:

* packages/rpm/rhel-5/filter-requires.sh:

* packages/solaris/buildpkg.sh:

* packages/solaris/pkginfo.in:

* subversion/bindings/swig/perl/native/Makefile.PL.in:

* subversion/libsvn_wc/workqueue.c:

* subversion/libsvn_wc/workqueue.h:

* subversion/tests/cmdline/davautocheck.sh:

* subversion/tests/cmdline/svnserveautocheck.sh:

* tools/buildbot/slaves/i686-debian-sarge1/svnbuild.sh:

* tools/buildbot/slaves/i686-debian-sarge1/svncheck.sh:

* tools/buildbot/slaves/i686-debian-sarge1/svnclean.sh:

* tools/buildbot/slaves/i686-debian-sarge1/svnlog.sh:

* tools/buildbot/slaves/osx10.4-gcc4.0.1-ia32/svnbuild.sh:

* tools/buildbot/slaves/osx10.4-gcc4.0.1-ia32/svncheck.sh:

* tools/buildbot/slaves/osx10.4-gcc4.0.1-ia32/svnclean.sh:

* tools/buildbot/slaves/osx10.4-gcc4.0.1-ia32/svnlog.sh:

* tools/dev/find-unmoved-deprecated.sh:

* tools/dev/iz/run-queries.sh:

* tools/dev/min-includes.sh:

* tools/dev/svnraisetreeconflict/main.c:

* tools/dist/construct-rolling-environment.sh:

* tools/dist/download-release.sh:

* tools/dist/extract-for-examination.sh:

* tools/dist/roll.sh:

* tools/dist/test.sh:

* tools/po/po-update.sh:

* www/repro-template.sh: Set svn:eol-style=native.

  1. … 53 more files in changeset.
Remove detection for GNU libtool and always use APR's libtool (be it GNU or

jlibtool or whatever).

* configure.ac: Always enable using APR's libtool.

* autogen.sh, build/buildcheck.sh: Remove anything related to libtool detection.

* build/

(svn:ignore): Remove config.guess and config.sub from ignore list.

* build/config.guess, build/config.sub

(added): Take latest drops from FSF.

  1. … 5 more files in changeset.
Generate 'subversion/libsvn_fs_fs/rep-cache-db.sql.h' when running make instead of autogen.sh.

* Makefile.in

(subversion/libsvn_fs_fs/rep-cache-db.sql.h): Define.

* autogen.sh: Don't generate 'subversion/libsvn_fs_fs/rep-cache-db.sql.h'.

* build.conf

(private-built-includes): Add 'subversion/libsvn_fs_fs/rep-cache-db.sql.h'.

  1. … 2 more files in changeset.
Replace transform_sql.py with a shell script, so we don't require

people who build Subversion to have python installed.

* build/transform_sql.py: Remove.

* build/transform_sql.sh: New file.

* autogen.sh: Use the shell script to generate rep-cache-db.sql.h.

With help from: mf

arfrever

Also tested by: hwright

  1. … 2 more files in changeset.
* autogen.sh

Don't re-build a SQL header file every time, but only if it's changed, to

avoid a consequent re-build of several objects during "make".

Follow-up to r35352, fix the Windows build by transforming the rep-sharing

sql schema file into a header file on Windows too.

* autogen.sh: Account for rename of transform-sql.py to transform_sql.py

* build/generator/gen_win.py

(WinGeneratorBase.__init__): Call _find_sqlite().

(WinGeneratorBase._create_sqlite_header): New, does for Windows what

autogen.sh and r35352 do for Linux.

* build/transform-sql.py: Rename from this...

* build/transform_sql.py: ...to this, because gen_win.py needs to import it

and imported modules must follow the same rules for valid variable names.

  1. … 3 more files in changeset.
* autogen.sh:

Fix comment about requiring Python 2.4.

Move the rep-sharing sql schema to it's own file.

* subversion/libsvn_fs_fs:

Ignore the generated sql header.

* subversion/libsvn_fs_fs/rep-cache-db.sql:

New.

* subversion/libsvn_fs_fs/rep-cache.c

(upgrade_sql): Use the string defined in the generated header file.

* build/transform-sql.py

(main): Don't output an entire array of sql, rather just define the sql

as a string so the consuming file can use it as it pleases.

* autogen.sh:

Transform the sql file into a header for compilation.

  1. … 4 more files in changeset.
Require Python >=2.4.

* build/find_python.sh: Require Python >=2.4.

* subversion/tests/cmdline/svntest/__init__.py: Require Python >=2.4.

* tools/hook-scripts/svn2feed.py: Require Python >=2.4.

* autogen.sh: Update error message.

* configure.ac: Update warning.

* Makefile.in

(check): Update error message.

* INSTALL

(Dependencies in Detail, Building the Latest Source under Windows): Update.

* subversion/bindings/swig/INSTALL

(BUILDING SWIG BINDINGS FOR SVN ON UNIX): Update.

* subversion/tests/cmdline/README: Update.

  1. … 8 more files in changeset.
* build/buildcheck.sh:

* build/PrintPath:

* build/getversion.py:

* build/install-sh:

* subversion/tests/cmdline/svnadmin_tests.py:

* subversion/tests/cmdline/log_tests.py:

* subversion/tests/cmdline/trans_tests.py:

* subversion/tests/cmdline/svnlook_tests.py:

* subversion/tests/cmdline/switch_tests.py:

* subversion/tests/cmdline/externals_tests.py:

* subversion/tests/cmdline/diff_tests.py:

* subversion/tests/cmdline/copy_tests.py:

* subversion/tests/cmdline/stat_tests.py:

* subversion/tests/cmdline/svnversion_tests.py:

* subversion/tests/cmdline/prop_tests.py:

* subversion/tests/cmdline/basic_tests.py:

* subversion/tests/cmdline/update_tests.py:

* subversion/tests/cmdline/utf8_tests.py:

* subversion/tests/cmdline/commit_tests.py:

* subversion/tests/cmdline/schedule_tests.py:

* subversion/tests/cmdline/merge_tests.py:

* subversion/tests/cmdline/getopt_tests.py:

* contrib/client-side/svn_all_diffs.pl:

* contrib/client-side/search-svnlog.pl:

* contrib/client-side/svn_load_dirs/svn_load_dirs.pl.in:

* contrib/cgi/mirror_dir_through_svn.cgi:

* tools/client-side/showchange.pl:

* tools/dist/dist.sh:

* tools/hook-scripts/commit-access-control.pl.in:

* tools/hook-scripts/svnperms.py:

* tools/hook-scripts/mailer/mailer.py:

* tools/hook-scripts/mailer/tests/mailer-init.sh:

* tools/hook-scripts/mailer/tests/mailer-t1.sh:

* tools/hook-scripts/mailer/tests/mailer-tweak.py:

* tools/hook-scripts/commit-email.pl.in:

* tools/dev/stress.pl:

* tools/dev/gnuify-changelog.pl:

* tools/dev/prebuild-cleanup.sh:

* tools/examples/dumpprops.py:

* tools/examples/check-modified.py:

* tools/examples/svnlook.py:

* tools/examples/svnshell.py:

* tools/examples/geturl.py:

* tools/examples/putfile.py:

* tools/examples/revplist.py:

* tools/examples/getfile.py:

* tools/examples/blame.py:

* doc/tools/bin/run-fop.sh:

* autogen.sh:

* gen-make.py:

Set svn:executable property to "*".

  1. … 49 more files in changeset.
Follow-up to r29925: Fix support for Libtool 2.2.

* autogen.sh:

Copy config.guess and config.sub to build.

Don't ignore missing .m4 files when Libtool 2 is used.

Fix building with Libtool 2.2.

* autogen.sh:

Add --force option to libtoolize.

Copy ltoptions.m4, ltsugar.m4, ltversion.m4 and lt~obsolete.m4 to build.

* configure.ac:

Use LT_INIT instead of AC_PROG_LIBTOOL when LT_INIT is defined.

* aclocal.m4:

Include ltoptions.m4, ltsugar.m4, ltversion.m4 and lt~obsolete.m4.

* Makefile.in:

(local-extraclean): Delete ltoptions.m4, ltsugar.m4, ltversion.m4 and

lt~obsolete.m4.

* build:

Update svn:ignore property to ignore ltoptions.m4, ltsugar.m4, ltversion.m4

and lt~obsolete.m4.

  1. … 4 more files in changeset.
* INSTALL

* Makefile.in

* autogen.sh

* build/find_python.sh

* configure.ac

* subversion/bindings/swig/INSTALL

* subversion/tests/cmdline/README

* subversion/tests/cmdline/svntest/__init__.py

Bump Python requirement to 2.2 (released over 5.5 years ago).

  1. … 7 more files in changeset.
* autogen.sh: Remove legacy libtool helper before copying new one.

Patch by: Stefan Sperling <stsp@elego.de>

Remove dependency upon pkg-config's M4 files just to find sqlite (!).

More work may need to be done to make libsvn_ra_local truly optional, but this

gets trunk building again.

* build/ac-macros/sqlite.m4: New macros for finding SQLite.

* configure.in: Follow our standard conventions for finding packages.

* autogen.sh: Do not depend upon pkg.m4.

* aclocal.m4: Depend upon sqlite.m4 - not pkg.m4.

  1. … 3 more files in changeset.