From commits-return-10152-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Tue Feb 17 15:27:58 2009 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 73285 invoked from network); 17 Feb 2009 15:27:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Feb 2009 15:27:56 -0000 Received: (qmail 8718 invoked by uid 500); 17 Feb 2009 15:27:56 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 8686 invoked by uid 500); 17 Feb 2009 15:27:56 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 8677 invoked by uid 99); 17 Feb 2009 15:27:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 07:27:56 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 15:27:55 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9E9FC2388B50; Tue, 17 Feb 2009 15:27:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r745119 - /apr/apr/trunk/configure.in Date: Tue, 17 Feb 2009 15:27:34 -0000 To: commits@apr.apache.org From: mturk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090217152734.9E9FC2388B50@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mturk Date: Tue Feb 17 15:27:33 2009 New Revision: 745119 URL: http://svn.apache.org/viewvc?rev=745119&view=rev Log: Add --disable-version option to configure. This allows to create non versioned apr libs using libtool Modified: apr/apr/trunk/configure.in Modified: apr/apr/trunk/configure.in URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=745119&r1=745118&r2=745119&view=diff ============================================================================== --- apr/apr/trunk/configure.in (original) +++ apr/apr/trunk/configure.in Tue Feb 17 15:27:33 2009 @@ -201,12 +201,19 @@ [ installbuilddir=$withval ], [ installbuilddir="${datadir}/build-${APR_MAJOR_VERSION}" ] ) AC_SUBST(installbuilddir) +AC_ARG_ENABLE(version,[ --disable-version Disable library version info], +[disable_version_info=$enableval], [disable_version_info=yes]) + AC_ARG_WITH(libtool, [ --without-libtool avoid using libtool to link the library], [ use_libtool=$withval ], [ use_libtool="yes" ] ) if test "x$use_libtool" = "xyes"; then lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -o $@ -c $< && touch $@' - LT_VERSION="-version-info `$get_version libtool $version_hdr APR`" + if test "x$disable_version_info" = "xyes"; then + LT_VERSION="-avoid-version" + else + LT_VERSION="-version-info `$get_version libtool $version_hdr APR`" + fi link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(LT_LDFLAGS) \$(COMPILE) \$(LT_VERSION) \$(ALL_LDFLAGS) -o \$@" so_ext='lo' lib_target='-rpath $(libdir) $(OBJECTS)'