mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-lang/gnat-gpl: fix configure
Closes: https://bugs.gentoo.org/926177 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -56,17 +56,19 @@
|
||||
ac_cv_c_stack_direction=0
|
||||
else
|
||||
+ cat >>confdefs.h <<_ACEOF
|
||||
+#include <stdlib.h>
|
||||
+extern void exit(int status);
|
||||
+_ACEOF
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
find_stack_direction ()
|
||||
@@ -7539,6 +7542,9 @@
|
||||
@@ -7539,6 +7542,11 @@
|
||||
if test "$cross_compiling" = yes; then :
|
||||
ac_cv_func_strncmp_works=yes
|
||||
else
|
||||
+ cat >>confdefs.h <<_ACEOF
|
||||
+#include <string.h>
|
||||
+ extern int strlen(const char *s);
|
||||
+ extern char *strcpy(char *dst, const char *src);
|
||||
+ extern int strncmp(const char *s1, const char *s2, size_t n);
|
||||
+_ACEOF
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
Reference in New Issue
Block a user