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:
f4c674c
)
Fix discovery of gettimeofday() by autoconf.
author
Carl Hetherington
<cth@carlh.net>
Sat, 19 Mar 2016 20:49:47 +0000
(20:49 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 19 Mar 2016 21:13:14 +0000
(21:13 +0000)
Without this, gettimeofday() is found but the -DHAVE_GETTIMEOFDAY
flag is not passed to the compiler. This change may cause other
problems; I am not an autoconf expert.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 68aadbb7f90b2b6673582c5c237e7e696bca4d7c..d1c64452a077eb27e25d653ce7115f2b7501ec77 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-91,7
+91,7
@@
if test x"$GXX" = "xyes"; then
fi
# Checks for functions
-AC_CHECK_FUNC
(gettimeofday, [cppflag="$cppflag -DHAVE_GETTIMEOFDAY"],
)
+AC_CHECK_FUNC
S(gettimeofday
)
# Checks for doxygen
AC_CHECK_PROG( DOXYGEN, [doxygen], [doxygen] )