Changeset 89f863f in mod_gnutls for configure


Ignore:
Timestamp:
Oct 19, 2015, 9:07:40 PM (4 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, upstream
Children:
02c8e54, 24c6c16
Parents:
4addf74 (diff), 71cac80 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Imported Upstream version 0.7.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r4addf74 r89f863f  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for mod_gnutls 0.7.
     3# Generated by GNU Autoconf 2.69 for mod_gnutls 0.7.1.
    44#
    55#
     
    588588PACKAGE_NAME='mod_gnutls'
    589589PACKAGE_TARNAME='mod_gnutls'
    590 PACKAGE_VERSION='0.7'
    591 PACKAGE_STRING='mod_gnutls 0.7'
     590PACKAGE_VERSION='0.7.1'
     591PACKAGE_STRING='mod_gnutls 0.7.1'
    592592PACKAGE_BUGREPORT=''
    593593PACKAGE_URL=''
     
    13791379  # This message is too long to be a string in the A/UX 3.1 sh.
    13801380  cat <<_ACEOF
    1381 \`configure' configures mod_gnutls 0.7 to adapt to many kinds of systems.
     1381\`configure' configures mod_gnutls 0.7.1 to adapt to many kinds of systems.
    13821382
    13831383Usage: $0 [OPTION]... [VAR=VALUE]...
     
    14501450if test -n "$ac_init_help"; then
    14511451  case $ac_init_help in
    1452      short | recursive ) echo "Configuration of mod_gnutls 0.7:";;
     1452     short | recursive ) echo "Configuration of mod_gnutls 0.7.1:";;
    14531453   esac
    14541454  cat <<\_ACEOF
     
    15841584if $ac_init_version; then
    15851585  cat <<\_ACEOF
    1586 mod_gnutls configure 0.7
     1586mod_gnutls configure 0.7.1
    15871587generated by GNU Autoconf 2.69
    15881588
     
    19951995running configure, to aid debugging if configure makes a mistake.
    19961996
    1997 It was created by mod_gnutls $as_me 0.7, which was
     1997It was created by mod_gnutls $as_me 0.7.1, which was
    19981998generated by GNU Autoconf 2.69.  Invocation command line was
    19991999
     
    23612361  chmod +x config.nice
    23622362
    2363 MOD_GNUTLS_VERSION=0.7
     2363MOD_GNUTLS_VERSION=0.7.1
    23642364
    23652365
     
    25392539    NONENONEs,x,x, &&
    25402540  program_prefix=${target_alias}-
     2541# mod_gnutls test suite requires GNU make
    25412542am__api_version='1.14'
    25422543
     
    30253026# Define the identity of the package.
    30263027 PACKAGE='mod_gnutls'
    3027  VERSION='0.7'
     3028 VERSION='0.7.1'
    30283029
    30293030
     
    41594160  am__fastdepCC_TRUE='#'
    41604161  am__fastdepCC_FALSE=
     4162fi
     4163
     4164
     4165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
     4166$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
     4167if ${ac_cv_prog_cc_c99+:} false; then :
     4168  $as_echo_n "(cached) " >&6
     4169else
     4170  ac_cv_prog_cc_c99=no
     4171ac_save_CC=$CC
     4172cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4173/* end confdefs.h.  */
     4174#include <stdarg.h>
     4175#include <stdbool.h>
     4176#include <stdlib.h>
     4177#include <wchar.h>
     4178#include <stdio.h>
     4179
     4180// Check varargs macros.  These examples are taken from C99 6.10.3.5.
     4181#define debug(...) fprintf (stderr, __VA_ARGS__)
     4182#define showlist(...) puts (#__VA_ARGS__)
     4183#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
     4184static void
     4185test_varargs_macros (void)
     4186{
     4187  int x = 1234;
     4188  int y = 5678;
     4189  debug ("Flag");
     4190  debug ("X = %d\n", x);
     4191  showlist (The first, second, and third items.);
     4192  report (x>y, "x is %d but y is %d", x, y);
     4193}
     4194
     4195// Check long long types.
     4196#define BIG64 18446744073709551615ull
     4197#define BIG32 4294967295ul
     4198#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
     4199#if !BIG_OK
     4200  your preprocessor is broken;
     4201#endif
     4202#if BIG_OK
     4203#else
     4204  your preprocessor is broken;
     4205#endif
     4206static long long int bignum = -9223372036854775807LL;
     4207static unsigned long long int ubignum = BIG64;
     4208
     4209struct incomplete_array
     4210{
     4211  int datasize;
     4212  double data[];
     4213};
     4214
     4215struct named_init {
     4216  int number;
     4217  const wchar_t *name;
     4218  double average;
     4219};
     4220
     4221typedef const char *ccp;
     4222
     4223static inline int
     4224test_restrict (ccp restrict text)
     4225{
     4226  // See if C++-style comments work.
     4227  // Iterate through items via the restricted pointer.
     4228  // Also check for declarations in for loops.
     4229  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
     4230    continue;
     4231  return 0;
     4232}
     4233
     4234// Check varargs and va_copy.
     4235static void
     4236test_varargs (const char *format, ...)
     4237{
     4238  va_list args;
     4239  va_start (args, format);
     4240  va_list args_copy;
     4241  va_copy (args_copy, args);
     4242
     4243  const char *str;
     4244  int number;
     4245  float fnumber;
     4246
     4247  while (*format)
     4248    {
     4249      switch (*format++)
     4250        {
     4251        case 's': // string
     4252          str = va_arg (args_copy, const char *);
     4253          break;
     4254        case 'd': // int
     4255          number = va_arg (args_copy, int);
     4256          break;
     4257        case 'f': // float
     4258          fnumber = va_arg (args_copy, double);
     4259          break;
     4260        default:
     4261          break;
     4262        }
     4263    }
     4264  va_end (args_copy);
     4265  va_end (args);
     4266}
     4267
     4268int
     4269main ()
     4270{
     4271
     4272  // Check bool.
     4273  _Bool success = false;
     4274
     4275  // Check restrict.
     4276  if (test_restrict ("String literal") == 0)
     4277    success = true;
     4278  char *restrict newvar = "Another string";
     4279
     4280  // Check varargs.
     4281  test_varargs ("s, d' f .", "string", 65, 34.234);
     4282  test_varargs_macros ();
     4283
     4284  // Check flexible array members.
     4285  struct incomplete_array *ia =
     4286    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
     4287  ia->datasize = 10;
     4288  for (int i = 0; i < ia->datasize; ++i)
     4289    ia->data[i] = i * 1.234;
     4290
     4291  // Check named initializers.
     4292  struct named_init ni = {
     4293    .number = 34,
     4294    .name = L"Test wide string",
     4295    .average = 543.34343,
     4296  };
     4297
     4298  ni.number = 58;
     4299
     4300  int dynamic_array[ni.number];
     4301  dynamic_array[ni.number - 1] = 543;
     4302
     4303  // work around unused variable warnings
     4304  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
     4305          || dynamic_array[ni.number - 1] != 543);
     4306
     4307  ;
     4308  return 0;
     4309}
     4310_ACEOF
     4311for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
     4312do
     4313  CC="$ac_save_CC $ac_arg"
     4314  if ac_fn_c_try_compile "$LINENO"; then :
     4315  ac_cv_prog_cc_c99=$ac_arg
     4316fi
     4317rm -f core conftest.err conftest.$ac_objext
     4318  test "x$ac_cv_prog_cc_c99" != "xno" && break
     4319done
     4320rm -f conftest.$ac_ext
     4321CC=$ac_save_CC
     4322
     4323fi
     4324# AC_CACHE_VAL
     4325case "x$ac_cv_prog_cc_c99" in
     4326  x)
     4327    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     4328$as_echo "none needed" >&6; } ;;
     4329  xno)
     4330    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     4331$as_echo "unsupported" >&6; } ;;
     4332  *)
     4333    CC="$CC $ac_cv_prog_cc_c99"
     4334    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
     4335$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
     4336esac
     4337if test "x$ac_cv_prog_cc_c99" != xno; then :
     4338
    41614339fi
    41624340
     
    1344413622# values after options handling.
    1344513623ac_log="
    13446 This file was extended by mod_gnutls $as_me 0.7, which was
     13624This file was extended by mod_gnutls $as_me 0.7.1, which was
    1344713625generated by GNU Autoconf 2.69.  Invocation command line was
    1344813626
     
    1351013688ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    1351113689ac_cs_version="\\
    13512 mod_gnutls config.status 0.7
     13690mod_gnutls config.status 0.7.1
    1351313691configured by $0, generated by GNU Autoconf 2.69,
    1351413692  with options \\"\$ac_cs_config\\"
Note: See TracChangeset for help on using the changeset viewer.