Skip to content

Commit

Permalink
Use AC_CHECK_TYPE
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Sep 22, 2023
1 parent b9800d9 commit dfcbae0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
8 changes: 2 additions & 6 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5833,7 +5833,7 @@ AC_ARG_WITH(

dnl gh-105323: Need to handle the macOS editline as an alias of readline.
AS_CASE([$ac_sys_system/$ac_sys_release],
[Darwin/*], [AC_CHECK_TYPES(Function, readline/readline.h, AC_DEFINE([WITH_APPLE_EDITLINE]))],
[Darwin/*], [AC_CHECK_TYPE(Function, [AC_DEFINE([WITH_APPLE_EDITLINE])], [], [#include <readline/readline.h>])],
[]
)

Expand Down
3 changes: 0 additions & 3 deletions pyconfig.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,6 @@
/* Define to 1 if you have the `ftruncate' function. */
#undef HAVE_FTRUNCATE

/* Define to 1 if the system has the type `Function'. */
#undef HAVE_FUNCTION

/* Define to 1 if you have the `futimens' function. */
#undef HAVE_FUTIMENS

Expand Down

0 comments on commit dfcbae0

Please sign in to comment.