summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-04 16:48:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-04 16:48:33 +0000
commit2ef53570a0a9292278fc7d34d7d21270dd5ac7f0 (patch)
treea734560face300cd24b4d5d32a10c26803c187da /config_h.SH
parent524189f16184b7c26cd5c891db0a97b3ccc255cc (diff)
downloadperl-2ef53570a0a9292278fc7d34d7d21270dd5ac7f0.tar.gz
Configure tweaks; add prototype probes, make the cpp symbols
probe to cast, not whine; test for %Ld and %Lf before %lld and %llf because the L is the ANSI way. p4raw-id: //depot/perl@10434
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH41
1 files changed, 41 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index 3f1009cc88..b8a248112b 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -3356,6 +3356,22 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
#define PERL_XS_APIVERSION "$xs_apiversion"
#define PERL_PM_APIVERSION "$pm_apiversion"
+/* HAS_DBMINIT_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the dbminit() function. Otherwise, it is up
+ * to the program to supply one. A good guess is
+ * extern int dbminit(char *);
+ */
+#$d_dbminitproto HAS_DBMINIT_PROTO /**/
+
+/* HAS_FLOCK_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the flock() function. Otherwise, it is up
+ * to the program to supply one. A good guess is
+ * extern int flock(int, int);
+ */
+#$d_flockproto HAS_FLOCK_PROTO /**/
+
/* HAS_REALPATH:
* This symbol, if defined, indicates that the realpath routine is
* available to do resolve paths.
@@ -3375,6 +3391,14 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_sockatmark HAS_SOCKATMARK /**/
+/* HAS_SOCKATMARK_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the sockatmark() function. Otherwise, it is up
+ * to the program to supply one. A good guess is
+ * extern int sockatmark _((int));
+ */
+#$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
+
/* HAS_SETRESGID_PROTO:
* This symbol, if defined, indicates that the system provides
* a prototype for the setresgid() function. Otherwise, it is up
@@ -3397,11 +3421,28 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_strftime HAS_STRFTIME /**/
+/* HAS_SYSCALL_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the syscall() function. Otherwise, it is up
+ * to the program to supply one. Good guesses are
+ * extern int syscall(int, ...);
+ * extern int syscall(long, ...);
+ */
+#$d_syscallproto HAS_SYSCALL_PROTO /**/
+
/* U32_ALIGNMENT_REQUIRED:
* This symbol, if defined, indicates that you must access
* character data through U32-aligned pointers.
*/
#$d_u32align U32_ALIGNMENT_REQUIRED /**/
+/* HAS_USLEEP_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the usleep() function. Otherwise, it is up
+ * to the program to supply one. A good guess is
+ * extern int usleep(useconds_t);
+ */
+#$d_usleepproto HAS_USLEEP_PROTO /**/
+
#endif
!GROK!THIS!