summaryrefslogtreecommitdiff
diff options
authorBruce Korb <[email protected]>2022-12-08 07:56:38 -0800
committerBruce Korb <[email protected]>2022-12-08 07:56:38 -0800
commit97c250a1d76d79e2a111cd46b26cd7d0cd83de66 (patch)
treea2b3871e04075cd3d61daebad2ac7eb7aaba208a
parent7f02a3176f09a2d49b2fad592ce72f8999d0a2c6 (diff)
downloadautogen-master.tar.gz
clean up configure stuffHEADmaster
* config/ag_macros.m4: INVOKE_AG_MACROS_LAST C99 prefers to not default function return types AC_TRY_COMPILE is missing a comma
-rw-r--r--config/ag_macros.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config/ag_macros.m4 b/config/ag_macros.m4
index cdb3823a..acc3b7d2 100644
--- a/config/ag_macros.m4
+++ b/config/ag_macros.m4
@@ -142,7 +142,7 @@ AC_DEFUN([INVOKE_AG_MACROS_LAST],[
fi
AC_CACHE_CHECK([for static inline], [snv_cv_static_inline], [
- AC_TRY_COMPILE([static inline foo(bar) int bar; { return bar; }],
+ AC_TRY_COMPILE([static inline int foo(bar) int bar; { return bar; }],
[return foo(0);],
[snv_cv_static_inline='static inline'],
[snv_cv_static_inline='static'])
@@ -457,7 +457,7 @@ int main (int argc, char ** argv) {
char zRej@<:@@:>@ = reject;
char zAcc@<:@@:>@ = "a-ok-eject";
return strcspn( zAcc, zRej ) - 5;
-}] )]
+}] )],
[ag_cv_run_strcspn=yes],[ag_cv_run_strcspn=no],[ag_cv_run_strcspn=no]
) # end of RUN_IFELSE
]) # end of AC_CACHE_VAL for ag_cv_run_strcspn