aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAiden Woodruff <aiden.woodruff@gmail.com>2018-07-28 12:31:25 -0500
committerAiden Woodruff <aiden.woodruff@gmail.com>2018-07-28 12:31:25 -0500
commitdace9aa3265b95725e5541bed89367fdca873b06 (patch)
tree74d2484c10a1790c038340cdeb68ed8f9ac1bc75 /configure
parent6e1426c210179228110672dc2fc4d3f23a7788f1 (diff)
downloadlife-dace9aa3265b95725e5541bed89367fdca873b06.tar.gz
life-dace9aa3265b95725e5541bed89367fdca873b06.tar.bz2
life-dace9aa3265b95725e5541bed89367fdca873b06.zip
Moved life.man to life.6life-1.3.3
Updated life.6 version Removed info link in life.6 Tagged and tarballed life-1.3.3.tar.gz Signed-off-by: Aiden Woodruff <aiden.woodruff@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure197
1 files changed, 187 insertions, 10 deletions
diff --git a/configure b/configure
index c29ff27..bbba70b 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for life 1.0.0. 3# Generated by GNU Autoconf 2.69 for life 1.3.3.
4# 4#
5# Report bugs to <aiden.woodruff@gmail.com>. 5# Report bugs to <aiden.woodruff@gmail.com>.
6# 6#
@@ -580,8 +580,8 @@ MAKEFLAGS=
580# Identity of this package. 580# Identity of this package.
581PACKAGE_NAME='life' 581PACKAGE_NAME='life'
582PACKAGE_TARNAME='life' 582PACKAGE_TARNAME='life'
583PACKAGE_VERSION='1.0.0' 583PACKAGE_VERSION='1.3.3'
584PACKAGE_STRING='life 1.0.0' 584PACKAGE_STRING='life 1.3.3'
585PACKAGE_BUGREPORT='aiden.woodruff@gmail.com' 585PACKAGE_BUGREPORT='aiden.woodruff@gmail.com'
586PACKAGE_URL='' 586PACKAGE_URL=''
587 587
@@ -1277,7 +1277,7 @@ if test "$ac_init_help" = "long"; then
1277 # Omit some internal or obsolete options to make the list less imposing. 1277 # Omit some internal or obsolete options to make the list less imposing.
1278 # This message is too long to be a string in the A/UX 3.1 sh. 1278 # This message is too long to be a string in the A/UX 3.1 sh.
1279 cat <<_ACEOF 1279 cat <<_ACEOF
1280\`configure' configures life 1.0.0 to adapt to many kinds of systems. 1280\`configure' configures life 1.3.3 to adapt to many kinds of systems.
1281 1281
1282Usage: $0 [OPTION]... [VAR=VALUE]... 1282Usage: $0 [OPTION]... [VAR=VALUE]...
1283 1283
@@ -1344,7 +1344,7 @@ fi
1344 1344
1345if test -n "$ac_init_help"; then 1345if test -n "$ac_init_help"; then
1346 case $ac_init_help in 1346 case $ac_init_help in
1347 short | recursive ) echo "Configuration of life 1.0.0:";; 1347 short | recursive ) echo "Configuration of life 1.3.3:";;
1348 esac 1348 esac
1349 cat <<\_ACEOF 1349 cat <<\_ACEOF
1350 1350
@@ -1435,7 +1435,7 @@ fi
1435test -n "$ac_init_help" && exit $ac_status 1435test -n "$ac_init_help" && exit $ac_status
1436if $ac_init_version; then 1436if $ac_init_version; then
1437 cat <<\_ACEOF 1437 cat <<\_ACEOF
1438life configure 1.0.0 1438life configure 1.3.3
1439generated by GNU Autoconf 2.69 1439generated by GNU Autoconf 2.69
1440 1440
1441Copyright (C) 2012 Free Software Foundation, Inc. 1441Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1804,7 +1804,7 @@ cat >config.log <<_ACEOF
1804This file contains any messages produced by compilers while 1804This file contains any messages produced by compilers while
1805running configure, to aid debugging if configure makes a mistake. 1805running configure, to aid debugging if configure makes a mistake.
1806 1806
1807It was created by life $as_me 1.0.0, which was 1807It was created by life $as_me 1.3.3, which was
1808generated by GNU Autoconf 2.69. Invocation command line was 1808generated by GNU Autoconf 2.69. Invocation command line was
1809 1809
1810 $ $0 $@ 1810 $ $0 $@
@@ -3037,6 +3037,183 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
3037ac_compiler_gnu=$ac_cv_c_compiler_gnu 3037ac_compiler_gnu=$ac_cv_c_compiler_gnu
3038 3038
3039 3039
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3041$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3042if ${ac_cv_prog_cc_c99+:} false; then :
3043 $as_echo_n "(cached) " >&6
3044else
3045 ac_cv_prog_cc_c99=no
3046ac_save_CC=$CC
3047cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048/* end confdefs.h. */
3049#include <stdarg.h>
3050#include <stdbool.h>
3051#include <stdlib.h>
3052#include <wchar.h>
3053#include <stdio.h>
3054
3055// Check varargs macros. These examples are taken from C99 6.10.3.5.
3056#define debug(...) fprintf (stderr, __VA_ARGS__)
3057#define showlist(...) puts (#__VA_ARGS__)
3058#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3059static void
3060test_varargs_macros (void)
3061{
3062 int x = 1234;
3063 int y = 5678;
3064 debug ("Flag");
3065 debug ("X = %d\n", x);
3066 showlist (The first, second, and third items.);
3067 report (x>y, "x is %d but y is %d", x, y);
3068}
3069
3070// Check long long types.
3071#define BIG64 18446744073709551615ull
3072#define BIG32 4294967295ul
3073#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3074#if !BIG_OK
3075 your preprocessor is broken;
3076#endif
3077#if BIG_OK
3078#else
3079 your preprocessor is broken;
3080#endif
3081static long long int bignum = -9223372036854775807LL;
3082static unsigned long long int ubignum = BIG64;
3083
3084struct incomplete_array
3085{
3086 int datasize;
3087 double data[];
3088};
3089
3090struct named_init {
3091 int number;
3092 const wchar_t *name;
3093 double average;
3094};
3095
3096typedef const char *ccp;
3097
3098static inline int
3099test_restrict (ccp restrict text)
3100{
3101 // See if C++-style comments work.
3102 // Iterate through items via the restricted pointer.
3103 // Also check for declarations in for loops.
3104 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3105 continue;
3106 return 0;
3107}
3108
3109// Check varargs and va_copy.
3110static void
3111test_varargs (const char *format, ...)
3112{
3113 va_list args;
3114 va_start (args, format);
3115 va_list args_copy;
3116 va_copy (args_copy, args);
3117
3118 const char *str;
3119 int number;
3120 float fnumber;
3121
3122 while (*format)
3123 {
3124 switch (*format++)
3125 {
3126 case 's': // string
3127 str = va_arg (args_copy, const char *);
3128 break;
3129 case 'd': // int
3130 number = va_arg (args_copy, int);
3131 break;
3132 case 'f': // float
3133 fnumber = va_arg (args_copy, double);
3134 break;
3135 default:
3136 break;
3137 }
3138 }
3139 va_end (args_copy);
3140 va_end (args);
3141}
3142
3143int
3144main ()
3145{
3146
3147 // Check bool.
3148 _Bool success = false;
3149
3150 // Check restrict.
3151 if (test_restrict ("String literal") == 0)
3152 success = true;
3153 char *restrict newvar = "Another string";
3154
3155 // Check varargs.
3156 test_varargs ("s, d' f .", "string", 65, 34.234);
3157 test_varargs_macros ();
3158
3159 // Check flexible array members.
3160 struct incomplete_array *ia =
3161 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3162 ia->datasize = 10;
3163 for (int i = 0; i < ia->datasize; ++i)
3164 ia->data[i] = i * 1.234;
3165
3166 // Check named initializers.
3167 struct named_init ni = {
3168 .number = 34,
3169 .name = L"Test wide string",
3170 .average = 543.34343,
3171 };
3172
3173 ni.number = 58;
3174
3175 int dynamic_array[ni.number];
3176 dynamic_array[ni.number - 1] = 543;
3177
3178 // work around unused variable warnings
3179 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3180 || dynamic_array[ni.number - 1] != 543);
3181
3182 ;
3183 return 0;
3184}
3185_ACEOF
3186for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3187do
3188 CC="$ac_save_CC $ac_arg"
3189 if ac_fn_c_try_compile "$LINENO"; then :
3190 ac_cv_prog_cc_c99=$ac_arg
3191fi
3192rm -f core conftest.err conftest.$ac_objext
3193 test "x$ac_cv_prog_cc_c99" != "xno" && break
3194done
3195rm -f conftest.$ac_ext
3196CC=$ac_save_CC
3197
3198fi
3199# AC_CACHE_VAL
3200case "x$ac_cv_prog_cc_c99" in
3201 x)
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3203$as_echo "none needed" >&6; } ;;
3204 xno)
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3206$as_echo "unsupported" >&6; } ;;
3207 *)
3208 CC="$CC $ac_cv_prog_cc_c99"
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3210$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3211esac
3212if test "x$ac_cv_prog_cc_c99" != xno; then :
3213
3214fi
3215
3216
3040 3217
3041# Checks for libraries. 3218# Checks for libraries.
3042 3219
@@ -4129,7 +4306,7 @@ fi
4129 4306
4130# Define the identity of the package. 4307# Define the identity of the package.
4131 PACKAGE='life' 4308 PACKAGE='life'
4132 VERSION='1.0.0' 4309 VERSION='1.3.3'
4133 4310
4134 4311
4135cat >>confdefs.h <<_ACEOF 4312cat >>confdefs.h <<_ACEOF
@@ -4880,7 +5057,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4880# report actual input values of CONFIG_FILES etc. instead of their 5057# report actual input values of CONFIG_FILES etc. instead of their
4881# values after options handling. 5058# values after options handling.
4882ac_log=" 5059ac_log="
4883This file was extended by life $as_me 1.0.0, which was 5060This file was extended by life $as_me 1.3.3, which was
4884generated by GNU Autoconf 2.69. Invocation command line was 5061generated by GNU Autoconf 2.69. Invocation command line was
4885 5062
4886 CONFIG_FILES = $CONFIG_FILES 5063 CONFIG_FILES = $CONFIG_FILES
@@ -4946,7 +5123,7 @@ _ACEOF
4946cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5123cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4947ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5124ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4948ac_cs_version="\\ 5125ac_cs_version="\\
4949life config.status 1.0.0 5126life config.status 1.3.3
4950configured by $0, generated by GNU Autoconf 2.69, 5127configured by $0, generated by GNU Autoconf 2.69,
4951 with options \\"\$ac_cs_config\\" 5128 with options \\"\$ac_cs_config\\"
4952 5129