[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: RFC: Build system changes

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 13 Dec 2012 18:33:17 +0000

Branko Čibej <brane_at_wandisco.com> writes:

> {{{
> * build/ac-macros/compiler.m4: New file.
> * aclocal.m4: Include build/ac-macros/compiler.m4.
> * configure.ac:
> - Use SVN_PROG_CC instead of AC_PROG_CC
> - Use SVN_PROG_CXX instead of AC_PROG_CXX
> to add mainter-mode flags
> - Do not remove -ansi for clang, since it's not set any more.
> }}}

When running autogen.sh I get:

configure.ac:52: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before it was required
configure.ac:52: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required
../../lib/autoconf/c.m4:429: AC_LANG_COMPILER(C) is expanded from...
../../lib/autoconf/lang.m4:329: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
build/ac-macros/compiler.m4:33: _SVN_XXFLAGS_ADD_IFELSE is expanded from...
build/ac-macros/compiler.m4:50: SVN_CFLAGS_ADD_IFELSE is expanded from...
build/ac-macros/compiler.m4:57: SVN_PROG_CC is expanded from...
configure.ac:52: the top level

and similar for AC_PROG_CXX, both repeated with different line numbers.

Linking fails:

cd subversion/libsvn_subr && /bin/bash /home/pm/sw/subversion/obj/libtool --tag=CC --silent --mode=link gcc -shared -std=c90 -pipe -pthread -Werror=implicit-function-declaration -DSVN_DEBUG -DAP_DEBUG -rpath /usr/local/subversionx/lib -version-info 0 -o libsvn_subr-1.la adler32.lo atomic.lo auth.lo base64.lo cache-inprocess.lo cache-membuffer.lo cache-memcache.lo cache.lo cache_config.lo checksum.lo cmdline.lo compat.lo config.lo config_auth.lo config_file.lo config_win.lo crypto.lo ctype.lo date.lo debug.lo deprecated.lo dirent_uri.lo dso.lo eol.lo error.lo gpg_agent.lo hash.lo io.lo iter.lo lock.lo log.lo macos_keychain.lo magic.lo md5.lo mergeinfo.lo mutex.lo named_atomic.lo nls.lo opt.lo path.lo pool.lo prompt.lo properties.lo pseudo_md5.lo quoprint.lo sha1.lo simple_providers.lo skel.lo sorts.lo spillbuf.lo sqlite.lo sqlite3wrapper.lo ssl_client_cert_providers.lo ssl_client_cert_pw_providers.lo ssl_server_trust_providers.lo stream.lo string.lo subst.lo sysinfo.lo target.lo temp_serializer.lo time.
lo token.lo types.lo user.lo username_providers.lo utf.lo utf_validate.lo utf_width.lo validate.lo version.lo win32_crashrpt.lo win32_crypto.lo win32_xlate.lo xml.lo -laprutil-1 -lapr-1 -lexpat -lz -lsqlite3 -lmagic
gcc: error: unrecognized command line option '-soname'
gcc: error: libsvn_subr-1.so.0: No such file or directory
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1

Certified & Supported Apache Subversion Downloads:
Received on 2012-12-13 19:33:55 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.