projects
/
rtaudio-cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0ad8827
)
Use AS_IF.
author
Stephen Sinclair
<radarsat1@gmail.com>
Sun, 27 Aug 2017 02:52:18 +0000
(23:52 -0300)
committer
Stephen Sinclair
<radarsat1@gmail.com>
Sun, 27 Aug 2017 02:52:18 +0000
(23:52 -0300)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 1bda54892d8c66afd827ad88347ecccdc1e66721..c732d989df231204f57e11193f433cc530230ade 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-131,21
+131,19
@@
AS_IF([test "x$with_jack" == "xyes"], [
case $host in
*-*-netbsd*)
case $host in
*-*-netbsd*)
- if [test "$api" == ""; ] then
+ AS_IF([test "$api" == ""], [
AC_MSG_RESULT(using OSS)
api="$api -D__LINUX_OSS__"
LIBS="$LIBS -lossaudio"
AC_MSG_RESULT(using OSS)
api="$api -D__LINUX_OSS__"
LIBS="$LIBS -lossaudio"
- AC_CHECK_LIB(pthread, pthread_create, , AC_MSG_ERROR(RtAudio requires the pthread library!))
- fi
+ AC_CHECK_LIB(pthread, pthread_create, , AC_MSG_ERROR(RtAudio requires the pthread library!))])
;;
*-*-freebsd*)
;;
*-*-freebsd*)
- if [test "$api" == ""; ] then
+ AS_IF([test "$api" == ""], [
AC_MSG_RESULT(using OSS)
api="$api -D__LINUX_OSS__"
LIBS="$LIBS -lossaudio"
AC_MSG_RESULT(using OSS)
api="$api -D__LINUX_OSS__"
LIBS="$LIBS -lossaudio"
- AC_CHECK_LIB(pthread, pthread_create, , AC_MSG_ERROR(RtAudio requires the pthread library!))
- fi
+ AC_CHECK_LIB(pthread, pthread_create, , AC_MSG_ERROR(RtAudio requires the pthread library!))])
;;
*-*-linux*)
;;
*-*-linux*)