diff options
| author | Stephen Sinclair <radarsat1@gmail.com> | 2013-10-11 18:31:46 +0200 |
|---|---|---|
| committer | Stephen Sinclair <radarsat1@gmail.com> | 2013-10-11 18:57:30 +0200 |
| commit | 606e1c1722640db96c6b12bdd524f702891f45ed (patch) | |
| tree | 79cdd62026d770c6bffbc71b469427c80cd9da49 /configure.ac | |
| parent | f4cf104223cde14e2070ef1b97f0405ce4efd937 (diff) | |
Add prefix to rtaudio-config output.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 6586116..b89fdb0 100644 --- a/configure.ac +++ b/configure.ac @@ -44,6 +44,12 @@ AC_ARG_ENABLE(debug, # Checks for functions AC_CHECK_FUNC(gettimeofday, [cppflag="$cppflag -DHAVE_GETTIMEOFDAY"], ) +# Set paths if prefix is defined +if test x"$prefix" != x; then + LIBS="$LIBS -L$prefix/lib" + CPPFLAGS="$CPPFLAGS -I$prefix/include" +fi + # For -I and -D flags CPPFLAGS="$CPPFLAGS $cppflag" |
