summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 55fe41eb..9940aa4c 100755
--- a/configure
+++ b/configure
@@ -1528,9 +1528,8 @@ printf "Checking how to declare inline functions ... "
if [ -z "$inline" ] ; then
for inline in \
- "inline" "static inline" "extern inline" \
- "__inline__" "static __inline__" "extern __inline__" \
- "static"
+ "${cplusplus:+inline}" "static inline" \
+ "static __inline__" "static"
do
cat > conftest1.c <<!
$inline int func(void)