diff options
| author | Bruce Korb <[email protected]> | 2022-12-08 07:56:38 -0800 |
|---|---|---|
| committer | Bruce Korb <[email protected]> | 2022-12-08 07:56:38 -0800 |
| commit | 97c250a1d76d79e2a111cd46b26cd7d0cd83de66 (patch) | |
| tree | a2b3871e04075cd3d61daebad2ac7eb7aaba208a | |
| parent | 7f02a3176f09a2d49b2fad592ce72f8999d0a2c6 (diff) | |
| download | autogen-master.tar.gz | |
* 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.m4 | 4 |
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 |
