[geany/geany] c5303c: Check for asprintf and tempnam and cleanup function checks

Colomban Wendling git-noreply at xxxxx
Sun Feb 7 21:32:06 UTC 2021


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 22 Nov 2020 21:35:24 UTC
Commit:      c5303c9499bb6f0d632e0ca5b42e15f84d64ac52
             https://github.com/geany/geany/commit/c5303c9499bb6f0d632e0ca5b42e15f84d64ac52

Log Message:
-----------
Check for asprintf and tempnam and cleanup function checks

- Add the missing check for asprintf which brakes build on Windows/MSYS.
- Add fallback check for tempnam if mkstemp is not found.
- Group functions checks for u-ctags together.


Modified Paths:
--------------
    configure.ac

Modified: configure.ac
4 lines changed, 3 insertions(+), 1 deletions(-)
===================================================================
@@ -61,9 +61,11 @@ AC_TYPE_SIZE_T
 AC_STRUCT_TM
 
 # Checks for library functions.
-AC_CHECK_FUNCS([fgetpos fnmatch mkstemp strerror strstr realpath])
+AC_CHECK_FUNCS([realpath])
 
 # Function checks for u-ctags
+AC_CHECK_FUNCS([strerror strstr asprintf])
+AC_CHECK_FUNCS([mkstemp tempnam], [break])
 AC_CHECK_FUNCS([strcasecmp stricmp], [break])
 AC_CHECK_FUNCS([strncasecmp strnicmp], [break])
 AC_CHECK_FUNCS([truncate ftruncate chsize], [break])



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list