usevfork=''
d_voidsig=''
signal_t=''
-d_volatile=''
d_charvspr=''
d_vprintf=''
d_wait4=''
set quadmath.h i_quadmath
eval $inhdr
-: check for volatile keyword
-echo " "
-echo 'Checking to see if your C compiler knows about "volatile"...' >&4
-$cat >try.c <<'EOCP'
-int main()
-{
- typedef struct _goo_struct goo_struct;
- goo_struct * volatile goo = ((goo_struct *)0);
- struct _goo_struct {
- long long_int;
- int reg_int;
- char char_var;
- };
- typedef unsigned short foo_t;
- char *volatile foo;
- volatile int bar;
- volatile foo_t blech;
- foo = foo;
-}
-EOCP
-if $cc -c $ccflags try.c >/dev/null 2>&1 ; then
- val="$define"
- echo "Yup, it does."
-else
- val="$undef"
- echo "Nope, it doesn't."
-fi
-set d_volatile
-eval $setvar
-$rm_try
-
: Check basic sizes
echo " "
$echo "Choosing the C types to be used for Perl's internal types..." >&4
esac
$echo "Checking how many bits of your UVs your NVs can preserve..." >&4
-: volatile so that the compiler has to store it out to memory.
-if test X"$d_volatile" = X"$define"; then
- volatile=volatile
-fi
$cat <<EOP >try.c
#include <stdio.h>
#$i_stdlib I_STDLIB
#include <sys/types.h>
#include <signal.h>
#ifdef SIGFPE
-$volatile int bletched = 0;
+/* volatile so that the compiler has to store it out to memory */
+volatile int bletched = 0;
$signal_t blech(int s) { bletched = 1; }
#endif
int main() {
$rm_try
$echo "Checking to find the largest integer value your NVs can hold..." >&4
-: volatile so that the compiler has to store it out to memory.
-if test X"$d_volatile" = X"$define"; then
- volatile=volatile
-fi
$cat <<EOP >try.c
#include <stdio.h>
int count = 1;
while(count < 256) {
- $volatile NV up = value + 1.0;
- $volatile NV negated = -value;
- $volatile NV down = negated - 1.0;
- $volatile NV got_up = up - value;
+ /* volatile so that the compiler has to store it out to memory */
+ volatile NV up = value + 1.0;
+ volatile NV negated = -value;
+ volatile NV down = negated - 1.0;
+ volatile NV got_up = up - value;
int up_good = got_up == 1.0;
int got_down = down - negated;
int down_good = got_down == -1.0;
$rm_try
$echo "Checking whether NV 0.0 is all bits zero in memory..." >&4
-: volatile so that the compiler has to store it out to memory.
-if test X"$d_volatile" = X"$define"; then
- volatile=volatile
-fi
$cat <<EOP >try.c
#include <stdio.h>
#$i_stdlib I_STDLIB
#include <sys/types.h>
#include <signal.h>
#ifdef SIGFPE
-$volatile int bletched = 0;
+/* volatile so that the compiler has to store it out to memory */
+volatile int bletched = 0;
$signal_t blech(int s) { bletched = 1; }
#endif
d_void_closedir='$d_void_closedir'
d_voidsig='$d_voidsig'
d_voidtty='$d_voidtty'
-d_volatile='$d_volatile'
d_vprintf='$d_vprintf'
d_vsnprintf='$d_vsnprintf'
d_wait4='$d_wait4'
d_void_closedir='undef'
d_voidsig='define'
d_voidtty=''
-d_volatile='define'
d_vprintf='define'
d_vsnprintf='define'
d_wait4='define'
d_void_closedir='undef'
d_voidsig='define'
d_voidtty=''
-d_volatile='define'
d_vprintf='define'
d_vsnprintf='define'
d_wait4='define'
d_void_closedir='undef'
d_voidsig='define'
d_voidtty=''
-d_volatile='define'
d_vprintf='define'
d_vsnprintf='undef'
d_wait4='undef'
*/
/*#define HAS_USLEEP /**/
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-#define HASVOLATILE /**/
-#ifndef HASVOLATILE
-#define volatile
-#endif
-
/* HAS_WAIT4:
* This symbol, if defined, indicates that wait4() exists.
*/
Otherwise (on USG probably), it is enough to close the standard file
descriptors and do a setpgrp().
-d_volatile (d_volatile.U):
- This variable conditionally defines the HASVOLATILE symbol, which
- indicates to the C program that this C compiler knows about the
- volatile declaration.
-
d_vprintf (d_vprintf.U):
This variable conditionally defines the HAS_VPRINTF symbol, which
indicates to the C program that the vprintf() routine is available
d_void_closedir='undef'
d_voidsig='define'
d_voidtty=''
-d_volatile='define'
d_vprintf='define'
d_vsnprintf='define'
d_wait4='define'
*/
#define Signal_t void /* Signal handler's return type */
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-#define HASVOLATILE /**/
-#ifndef HASVOLATILE
-#define volatile
-#endif
-
/* I_DIRENT:
* This symbol, if defined, indicates to the C program that it should
* include <dirent.h>. Using this symbol also triggers the definition
*/
#define Signal_t $signal_t /* Signal handler's return type */
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-#$d_volatile HASVOLATILE /**/
-#ifndef HASVOLATILE
-#define volatile
-#endif
-
/* I_DIRENT:
* This symbol, if defined, indicates to the C program that it should
* include <dirent.h>. Using this symbol also triggers the definition
$ WC "d_void_closedir='define'"
$ WC "d_voidsig='undef'"
$ WC "d_voidtty='" + "'"
-$ WC "d_volatile='define'"
$ WC "d_vprintf='define'"
$ WC "d_vsnprintf='" + d_vsnprintf + "'"
$ WC "d_wait4='" + d_wait4 + "'"
perl_cflags='optimize="-g"'
-d_volatile=undef
d_castneg=undef
cc=cc
glibpth="/usr/lib/cmplrs/cc $glibpth"
*4.2*) ccflags="$ccflags -DLANGUAGE_C -Olimit 3800"
# Prototypes sometimes cause compilation errors in 4.2.
prototype=undef
- case "$myuname" in
- *risc*) d_volatile=undef ;;
- esac
- ;;
*4.3*) ccflags="$ccflags -std1 -DLANGUAGE_C -Olimit 3800" ;;
*) ccflags="$ccflags -std -Olimit 3800" ;;
esac
# define DONT_DECLARE_STD 1
#endif
-#if defined(HASVOLATILE) || defined(STANDARD_C)
-# define VOL volatile
-#else
-# define VOL
-#endif
+/* This exists only for back-compat. */
+#define VOL volatile
/* By compiling a perl with -DNO_TAINT_SUPPORT or -DSILENT_NO_TAINT_SUPPORT,
* you get a perl without taint support, but doubtlessly with a lesser
*/
/*#define HAS_USLEEP / **/
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-#define HASVOLATILE /**/
-#ifndef HASVOLATILE
-#define volatile /* config-skip */
-#endif
-
/* HAS_WAIT4:
* This symbol, if defined, indicates that wait4() exists.
*/
*/
/*#define HAS_USLEEP / **/
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-#define HASVOLATILE /**/
-#ifndef HASVOLATILE
-#define volatile
-#endif
-
/* HAS_WAIT4:
* This symbol, if defined, indicates that wait4() exists.
*/
d_void_closedir='undef'
d_voidsig='define'
d_voidtty=''
-d_volatile='define'
d_vprintf='define'
d_vsnprintf='undef'
d_wait4='undef'
d_void_closedir='undef'
d_voidsig='undef'
d_voidtty=''
-d_volatile='define'
d_vprintf='define'
d_vsnprintf='undef'
d_wait4='undef'
*/
#define Signal_t int /* Signal handler's return type */
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-/*#define HASVOLATILE / **/
-#ifndef HASVOLATILE
-#define volatile
-#endif
-
/* I_DIRENT:
* This symbol, if defined, indicates to the C program that it should
* include <dirent.h>. Using this symbol also triggers the definition
#endif
/* Generated from:
- * b0245f5f4da83b1e4e1dbcd8ffe33f50da89f790dc389b2868fc620cf460c375 config_h.SH
- * f8fa6d0de3a2fb09b8ae480de350caefa12b0272cc67b1bc9f7e02427a3e9a14 uconfig.sh
+ * de64a83defbfab2e684766a378e7304e30db7e2e8545430f86e0239f6850ac8a config_h.SH
+ * 034e09d42cd2ce87573eb1bd11b7169cb5a57d0d0741d379d39c1f3c4fc2f24e uconfig.sh
* ex: set ro: */
d_void_closedir='undef'
d_voidsig='undef'
d_voidtty=''
-d_volatile='undef'
d_vprintf='define'
d_vsnprintf='undef'
d_wait4='undef'
d_void_closedir='undef'
d_voidsig='undef'
d_voidtty=''
-d_volatile='undef'
d_vprintf='define'
d_vsnprintf='undef'
d_wait4='undef'
d_void_closedir='undef'
d_voidsig='define'
d_voidtty=''
-d_volatile='define'
d_vprintf='define'
d_vsnprintf='undef'
d_wait4='undef'
d_void_closedir='undef'
d_voidsig='define'
d_voidtty=''
-d_volatile='define'
d_vprintf='define'
d_vsnprintf='define'
d_wait4='undef'
d_void_closedir='undef'
d_voidsig='define'
d_voidtty=''
-d_volatile='define'
d_vprintf='define'
d_vsnprintf='define'
d_wait4='undef'
*/
/*#define HAS_USLEEP /**/
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-#define HASVOLATILE /**/
-#ifndef HASVOLATILE
-#define volatile
-#endif
-
/* HAS_WAIT4:
* This symbol, if defined, indicates that wait4() exists.
*/
*/
#define Signal_t void /* Signal handler's return type */
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-#define HASVOLATILE /**/
-#ifndef HASVOLATILE
-#define volatile
-#endif
-
/* I_DIRENT:
* This symbol, if defined, indicates to the C program that it should
* include <dirent.h>. Using this symbol also triggers the definition
*/
#define Signal_t void /* Signal handler's return type */
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-#define HASVOLATILE /**/
-#ifndef HASVOLATILE
-#define volatile
-#endif
-
/* I_DIRENT:
* This symbol, if defined, indicates to the C program that it should
* include <dirent.h>. Using this symbol also triggers the definition