~ubuntu-branches/ubuntu/utopic/tdb/utopic-proposed

« back to all changes in this revision

Viewing changes to lib/replace/build_macros.m4

  • Committer: Package Import Robot
  • Author(s): Andrew Bartlett
  • Date: 2013-02-12 20:43:55 UTC
  • mfrom: (1.4.6)
  • mto: (1.4.7) (3.3.7 experimental)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: package-import@ubuntu.com-20130212204355-6q6jvxshtoie7ex5
ImportĀ upstreamĀ versionĀ 1.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AC_DEFUN(BUILD_WITH_SHARED_BUILD_DIR,
2
 
  [ AC_ARG_WITH([shared-build-dir],
3
 
                [AC_HELP_STRING([--with-shared-build-dir=DIR],
4
 
                                [temporary build directory where libraries are installed [$srcdir/sharedbuild]])])
5
 
 
6
 
    sharedbuilddir="$srcdir/sharedbuild"
7
 
    if test x"$with_shared_build_dir" != x; then
8
 
        sharedbuilddir=$with_shared_build_dir
9
 
        CFLAGS="$CFLAGS -I$with_shared_build_dir/include"
10
 
        LDFLAGS="$LDFLAGS -L$with_shared_build_dir/lib"
11
 
    fi
12
 
    AC_SUBST(sharedbuilddir)
13
 
  ])
14