~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-security

« back to all changes in this revision

Viewing changes to configure

Tags: upstream-8.4.0
ImportĀ upstreamĀ versionĀ 8.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for PostgreSQL 8.4beta2.
 
3
# Generated by GNU Autoconf 2.61 for PostgreSQL 8.4.0.
4
4
#
5
5
# Report bugs to <pgsql-bugs@postgresql.org>.
6
6
#
576
576
# Identity of this package.
577
577
PACKAGE_NAME='PostgreSQL'
578
578
PACKAGE_TARNAME='postgresql'
579
 
PACKAGE_VERSION='8.4beta2'
580
 
PACKAGE_STRING='PostgreSQL 8.4beta2'
 
579
PACKAGE_VERSION='8.4.0'
 
580
PACKAGE_STRING='PostgreSQL 8.4.0'
581
581
PACKAGE_BUGREPORT='pgsql-bugs@postgresql.org'
582
582
 
583
583
ac_unique_file="src/backend/access/common/heaptuple.c"
1289
1289
  # Omit some internal or obsolete options to make the list less imposing.
1290
1290
  # This message is too long to be a string in the A/UX 3.1 sh.
1291
1291
  cat <<_ACEOF
1292
 
\`configure' configures PostgreSQL 8.4beta2 to adapt to many kinds of systems.
 
1292
\`configure' configures PostgreSQL 8.4.0 to adapt to many kinds of systems.
1293
1293
 
1294
1294
Usage: $0 [OPTION]... [VAR=VALUE]...
1295
1295
 
1354
1354
 
1355
1355
if test -n "$ac_init_help"; then
1356
1356
  case $ac_init_help in
1357
 
     short | recursive ) echo "Configuration of PostgreSQL 8.4beta2:";;
 
1357
     short | recursive ) echo "Configuration of PostgreSQL 8.4.0:";;
1358
1358
   esac
1359
1359
  cat <<\_ACEOF
1360
1360
 
1431
1431
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1432
1432
              you have headers in a nonstandard directory <include dir>
1433
1433
  CPP         C preprocessor
1434
 
  LDFLAGS_SL
 
1434
  LDFLAGS_SL  linker flags for shared library linking
1435
1435
  DOCBOOKSTYLE
1436
1436
              location of DocBook stylesheets
1437
1437
 
1499
1499
test -n "$ac_init_help" && exit $ac_status
1500
1500
if $ac_init_version; then
1501
1501
  cat <<\_ACEOF
1502
 
PostgreSQL configure 8.4beta2
 
1502
PostgreSQL configure 8.4.0
1503
1503
generated by GNU Autoconf 2.61
1504
1504
 
1505
1505
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1515
1515
This file contains any messages produced by compilers while
1516
1516
running configure, to aid debugging if configure makes a mistake.
1517
1517
 
1518
 
It was created by PostgreSQL $as_me 8.4beta2, which was
 
1518
It was created by PostgreSQL $as_me 8.4.0, which was
1519
1519
generated by GNU Autoconf 2.61.  Invocation command line was
1520
1520
 
1521
1521
  $ $0 $@
8252
8252
  return 0;
8253
8253
}
8254
8254
_ACEOF
8255
 
for ac_lib in '' krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' com_err; do
 
8255
for ac_lib in '' krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' com_err 'com_err -lssl -lcrypto'; do
8256
8256
  if test -z "$ac_lib"; then
8257
8257
    ac_res="none required"
8258
8258
  else
27133
27133
fi
27134
27134
fi
27135
27135
 
27136
 
# If compiler will take -Wl,--as-needed then add that to LDFLAGS.
27137
 
# This is much easier than trying to filter LIBS to the minimum for each
27138
 
# executable.  (Note that shared library links won't use this switch, though.)
 
27136
# If compiler will take -Wl,--as-needed (or various platform-specific
 
27137
# spellings thereof) then add that to LDFLAGS.  This is much easier than
 
27138
# trying to filter LIBS to the minimum for each executable.
 
27139
# (Note that shared library links won't use this switch, though.)
27139
27140
# On (at least) some Red-Hat-derived systems, this switch breaks linking to
27140
27141
# libreadline; therefore we postpone testing it until we know what library
27141
27142
# dependencies readline has.  The test code will try to link with $LIBS.
27144
27145
else
27145
27146
  link_test_func=exit
27146
27147
fi
27147
 
if test "$PORTNAME" != "darwin"; then
 
27148
 
 
27149
if test "$PORTNAME" = "darwin"; then
 
27150
  { echo "$as_me:$LINENO: checking if $CC supports -Wl,-dead_strip_dylibs" >&5
 
27151
echo $ECHO_N "checking if $CC supports -Wl,-dead_strip_dylibs... $ECHO_C" >&6; }
 
27152
pgac_save_LDFLAGS=$LDFLAGS
 
27153
LDFLAGS="$pgac_save_LDFLAGS -Wl,-dead_strip_dylibs"
 
27154
if test "$cross_compiling" = yes; then
 
27155
  LDFLAGS="$pgac_save_LDFLAGS"
 
27156
               { echo "$as_me:$LINENO: result: assuming no" >&5
 
27157
echo "${ECHO_T}assuming no" >&6; }
 
27158
else
 
27159
  cat >conftest.$ac_ext <<_ACEOF
 
27160
/* confdefs.h.  */
 
27161
_ACEOF
 
27162
cat confdefs.h >>conftest.$ac_ext
 
27163
cat >>conftest.$ac_ext <<_ACEOF
 
27164
/* end confdefs.h.  */
 
27165
extern void $link_test_func (); void (*fptr) () = $link_test_func;
 
27166
int
 
27167
main ()
 
27168
{
 
27169
 
 
27170
  ;
 
27171
  return 0;
 
27172
}
 
27173
_ACEOF
 
27174
rm -f conftest$ac_exeext
 
27175
if { (ac_try="$ac_link"
 
27176
case "(($ac_try" in
 
27177
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27178
  *) ac_try_echo=$ac_try;;
 
27179
esac
 
27180
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27181
  (eval "$ac_link") 2>&5
 
27182
  ac_status=$?
 
27183
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27184
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
27185
  { (case "(($ac_try" in
 
27186
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27187
  *) ac_try_echo=$ac_try;;
 
27188
esac
 
27189
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27190
  (eval "$ac_try") 2>&5
 
27191
  ac_status=$?
 
27192
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27193
  (exit $ac_status); }; }; then
 
27194
  { echo "$as_me:$LINENO: result: yes" >&5
 
27195
echo "${ECHO_T}yes" >&6; }
 
27196
else
 
27197
  echo "$as_me: program exited with status $ac_status" >&5
 
27198
echo "$as_me: failed program was:" >&5
 
27199
sed 's/^/| /' conftest.$ac_ext >&5
 
27200
 
 
27201
( exit $ac_status )
 
27202
LDFLAGS="$pgac_save_LDFLAGS"
 
27203
               { echo "$as_me:$LINENO: result: no" >&5
 
27204
echo "${ECHO_T}no" >&6; }
 
27205
fi
 
27206
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
27207
fi
 
27208
 
 
27209
 
 
27210
 
 
27211
elif test "$PORTNAME" = "openbsd"; then
 
27212
  { echo "$as_me:$LINENO: checking if $CC supports -Wl,-Bdynamic" >&5
 
27213
echo $ECHO_N "checking if $CC supports -Wl,-Bdynamic... $ECHO_C" >&6; }
 
27214
pgac_save_LDFLAGS=$LDFLAGS
 
27215
LDFLAGS="$pgac_save_LDFLAGS -Wl,-Bdynamic"
 
27216
if test "$cross_compiling" = yes; then
 
27217
  LDFLAGS="$pgac_save_LDFLAGS"
 
27218
               { echo "$as_me:$LINENO: result: assuming no" >&5
 
27219
echo "${ECHO_T}assuming no" >&6; }
 
27220
else
 
27221
  cat >conftest.$ac_ext <<_ACEOF
 
27222
/* confdefs.h.  */
 
27223
_ACEOF
 
27224
cat confdefs.h >>conftest.$ac_ext
 
27225
cat >>conftest.$ac_ext <<_ACEOF
 
27226
/* end confdefs.h.  */
 
27227
extern void $link_test_func (); void (*fptr) () = $link_test_func;
 
27228
int
 
27229
main ()
 
27230
{
 
27231
 
 
27232
  ;
 
27233
  return 0;
 
27234
}
 
27235
_ACEOF
 
27236
rm -f conftest$ac_exeext
 
27237
if { (ac_try="$ac_link"
 
27238
case "(($ac_try" in
 
27239
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27240
  *) ac_try_echo=$ac_try;;
 
27241
esac
 
27242
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27243
  (eval "$ac_link") 2>&5
 
27244
  ac_status=$?
 
27245
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27246
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
27247
  { (case "(($ac_try" in
 
27248
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27249
  *) ac_try_echo=$ac_try;;
 
27250
esac
 
27251
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27252
  (eval "$ac_try") 2>&5
 
27253
  ac_status=$?
 
27254
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27255
  (exit $ac_status); }; }; then
 
27256
  { echo "$as_me:$LINENO: result: yes" >&5
 
27257
echo "${ECHO_T}yes" >&6; }
 
27258
else
 
27259
  echo "$as_me: program exited with status $ac_status" >&5
 
27260
echo "$as_me: failed program was:" >&5
 
27261
sed 's/^/| /' conftest.$ac_ext >&5
 
27262
 
 
27263
( exit $ac_status )
 
27264
LDFLAGS="$pgac_save_LDFLAGS"
 
27265
               { echo "$as_me:$LINENO: result: no" >&5
 
27266
echo "${ECHO_T}no" >&6; }
 
27267
fi
 
27268
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
27269
fi
 
27270
 
 
27271
 
 
27272
 
 
27273
else
27148
27274
  { echo "$as_me:$LINENO: checking if $CC supports -Wl,--as-needed" >&5
27149
27275
echo $ECHO_N "checking if $CC supports -Wl,--as-needed... $ECHO_C" >&6; }
27150
27276
pgac_save_LDFLAGS=$LDFLAGS
27206
27332
 
27207
27333
 
27208
27334
 
27209
 
else
27210
 
  # On Darwin it's spelled -Wl,-dead_strip_dylibs, but don't try that elsewhere
27211
 
  { echo "$as_me:$LINENO: checking if $CC supports -Wl,-dead_strip_dylibs" >&5
27212
 
echo $ECHO_N "checking if $CC supports -Wl,-dead_strip_dylibs... $ECHO_C" >&6; }
27213
 
pgac_save_LDFLAGS=$LDFLAGS
27214
 
LDFLAGS="$pgac_save_LDFLAGS -Wl,-dead_strip_dylibs"
27215
 
if test "$cross_compiling" = yes; then
27216
 
  LDFLAGS="$pgac_save_LDFLAGS"
27217
 
               { echo "$as_me:$LINENO: result: assuming no" >&5
27218
 
echo "${ECHO_T}assuming no" >&6; }
27219
 
else
27220
 
  cat >conftest.$ac_ext <<_ACEOF
27221
 
/* confdefs.h.  */
27222
 
_ACEOF
27223
 
cat confdefs.h >>conftest.$ac_ext
27224
 
cat >>conftest.$ac_ext <<_ACEOF
27225
 
/* end confdefs.h.  */
27226
 
extern void $link_test_func (); void (*fptr) () = $link_test_func;
27227
 
int
27228
 
main ()
27229
 
{
27230
 
 
27231
 
  ;
27232
 
  return 0;
27233
 
}
27234
 
_ACEOF
27235
 
rm -f conftest$ac_exeext
27236
 
if { (ac_try="$ac_link"
27237
 
case "(($ac_try" in
27238
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27239
 
  *) ac_try_echo=$ac_try;;
27240
 
esac
27241
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27242
 
  (eval "$ac_link") 2>&5
27243
 
  ac_status=$?
27244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27245
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27246
 
  { (case "(($ac_try" in
27247
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27248
 
  *) ac_try_echo=$ac_try;;
27249
 
esac
27250
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27251
 
  (eval "$ac_try") 2>&5
27252
 
  ac_status=$?
27253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254
 
  (exit $ac_status); }; }; then
27255
 
  { echo "$as_me:$LINENO: result: yes" >&5
27256
 
echo "${ECHO_T}yes" >&6; }
27257
 
else
27258
 
  echo "$as_me: program exited with status $ac_status" >&5
27259
 
echo "$as_me: failed program was:" >&5
27260
 
sed 's/^/| /' conftest.$ac_ext >&5
27261
 
 
27262
 
( exit $ac_status )
27263
 
LDFLAGS="$pgac_save_LDFLAGS"
27264
 
               { echo "$as_me:$LINENO: result: no" >&5
27265
 
echo "${ECHO_T}no" >&6; }
27266
 
fi
27267
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27268
 
fi
27269
 
 
27270
 
 
27271
 
 
27272
27335
fi
27273
27336
 
27274
27337
 
27743
27806
# report actual input values of CONFIG_FILES etc. instead of their
27744
27807
# values after options handling.
27745
27808
ac_log="
27746
 
This file was extended by PostgreSQL $as_me 8.4beta2, which was
 
27809
This file was extended by PostgreSQL $as_me 8.4.0, which was
27747
27810
generated by GNU Autoconf 2.61.  Invocation command line was
27748
27811
 
27749
27812
  CONFIG_FILES    = $CONFIG_FILES
27800
27863
_ACEOF
27801
27864
cat >>$CONFIG_STATUS <<_ACEOF
27802
27865
ac_cs_version="\\
27803
 
PostgreSQL config.status 8.4beta2
 
27866
PostgreSQL config.status 8.4.0
27804
27867
configured by $0, generated by GNU Autoconf 2.61,
27805
27868
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27806
27869