Skip to content

Commit

Permalink
configuration fixes
Browse files Browse the repository at this point in the history
git-svn-id: https://ilk.uvt.nl/svn/trunk/sources/MbtServer@18749 12f355fe-0486-481a-ad91-c297ab22b4e3
  • Loading branch information
kosloot committed Oct 14, 2015
1 parent 92c393f commit 3a4a82b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 13 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ before_install:
- make
- sudo make install
- cd ..
- git clone https://github.com/proycon/timbl
- cd timbl
- bash bootstrap.sh
- ./configure
- make
- sudo make install
- cd ..
- git clone https://github.com/proycon/mbt
- cd mbt
- bash bootstrap.sh
Expand Down
27 changes: 14 additions & 13 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,24 @@ PKG_PROG_PKG_CONFIG
if test "x$PKG_CONFIG_PATH" = x; then
export PKG_CONFIG_PATH=""
fi

AC_ARG_WITH(ticcutils,
[ --with-ticcutils=DIR use ticcutils installed in <DIR>;
note that you can install ticcutils in a non-default directory with
./configure --prefix=<DIR> in the ticcutils installation directory],
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$withval/lib/pkgconfig"],
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$prefix/lib/pkgconfig"])
# AC_MSG_NOTICE( [pkg-config search path: $PKG_CONFIG_PATH] )
PKG_CHECK_MODULES([ticcutils], [ticcutils >= 0.9] )
CXXFLAGS="$CXXFLAGS $ticcutils_CFLAGS"
LIBS="$LIBS $ticcutils_LIBS"

AC_ARG_WITH(timbl,
[ --with-timbl=DIR use timbl installed in <DIR>;
note that you can install timbl in a non-default directory with
./configure --prefix=<DIR> in the timbl installation directory],
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$withval/lib/pkgconfig"],
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$prefix/lib/pkgconfig"])
# AC_MSG_NOTICE( [pkg-config search path: $PKG_CONFIG_PATH] )
PKG_CHECK_MODULES([timbl], [timbl >= 6.4.4] )
CXXFLAGS="$CXXFLAGS $timbl_CFLAGS"
LIBS="$LIBS $timbl_LIBS"
Expand All @@ -74,23 +85,13 @@ AC_ARG_WITH(mbt,
[ --with-mbt=DIR use mbt installed in <DIR>;
note that you can install mbt in a non-default directory with
./configure --prefix=<DIR> in the mbt installation directory],
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$withval/lib/pkgconfig"])
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$withval/lib/pkgconfig"],
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$prefix/lib/pkgconfig"])
# AC_MSG_NOTICE( [pkg-config search path: $PKG_CONFIG_PATH] )
PKG_CHECK_MODULES([mbt], [mbt >= 3.2.13] )
CXXFLAGS="$CXXFLAGS $mbt_CFLAGS"
LIBS="$LIBS $mbt_LIBS"

AC_ARG_WITH(ticcutils,
[ --with-ticcutils=DIR use ticcutils installed in <DIR>;
note that you can install ticcutils in a non-default directory with
./configure --prefix=<DIR> in the ticcutils installation directory],
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$withval/lib/pkgconfig"],
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$prefix/lib/pkgconfig"])
# AC_MSG_NOTICE( [pkg-config search path: $PKG_CONFIG_PATH] )
PKG_CHECK_MODULES([ticcutils], [ticcutils >= 0.9] )
CXXFLAGS="$CXXFLAGS $ticcutils_CFLAGS"
LIBS="$LIBS $ticcutils_LIBS"

AC_CONFIG_FILES([
Makefile
src/Makefile
Expand Down

0 comments on commit 3a4a82b

Please sign in to comment.