~ubuntu-branches/debian/stretch/pam/stretch

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-02-15 23:21:41 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110215232141-yg5ttedznim6mbgm
Tags: 1.1.2-1
* New upstream release.
  - Add support for NSS groups to pam_group.  Closes: #589019,
    LP: #297408.
  - Support cross-building the package.  Thanks to Neil Williams
    <codehelp@debian.org> for the patch.  Closes: #284854.   
* debian/rules: pass getconf LFS_CFLAGS so that we get a 64-bit rlimit
  interface.  Closes: #579402.
* Drop patches conditional_module,_conditional_man and
  mkhomedir_linking.patch, which are included upstream.
* debian/patches/hurd_no_setfsuid: pam_env and pam_mail now also use
  setfsuid, so patch them to be likewise Hurd-safe.
* Update debian/source.lintian-overrides to clean up some spurious
  warnings.
* debian/libpam-modules.postinst: if any 'min=n' options are found in
  /etc/pam.d/common-password, convert them on upgrade to 'minlen=n' for
  compatibility with upstream.
* debian/NEWS: document the disappearance of 'min=n', in case users have
  encoded this option elsewhere outside of /etc/pam.d/common-password.
* debian/patches/007_modules_pam_unix: drop compatibility handling of
  'max=' no-op; use of this option will now log an error, as warned three
  years ago.
* Bump Standards-Version to 3.9.1.
* Add lintian overrides for a few more spurious warnings.
* debian/patches-applied/no_PATH_MAX_on_hurd: define PATH_MAX for
  compatibility when it's not already set.  Closes: #552043.
* debian/local/pam-auth-update: Don't try to pass embedded newlines to
  debconf; backslash-escape them instead and use CAPB escape.
* debian/local/pam-auth-update: sort additional module options before
  writing them out, so that we don't wind up with a different config file
  on every invocation.  Thanks to Jim Paris <jim@jtan.com> for the patch.
  Closes: #594123.
* debian/libpam-runtime.{postinst,templates}: since 1.1.2-1 is targeted
  for post-squeeze, we don't need to support upgrades from 1.0.1-6 to
  1.0.1-10 anymore.  Drop the debconf error note about having configured
  your system with a lack of authentication, so that translators don't
  spend any more time on it.
* Updated debconf translations:
  - Swedish, thanks to Martin Bagge <brother@bsnet.se> (closes: #575875)

Show diffs side-by-side

added added

removed removed

Lines of Context:
786
786
#endif"
787
787
 
788
788
gt_needs=
789
 
ac_subst_vars='am__EXEEXT_FALSE
790
 
am__EXEEXT_TRUE
791
 
LTLIBOBJS
 
789
ac_subst_vars='LTLIBOBJS
792
790
HAVE_KEY_MANAGEMENT_FALSE
793
791
HAVE_KEY_MANAGEMENT_TRUE
794
792
HAVE_KEY_MANAGEMENT
852
850
libc_cv_fpie
853
851
HAVE_VERSIONING_FALSE
854
852
HAVE_VERSIONING_TRUE
 
853
CC_FOR_BUILD
855
854
pam_cv_ld_as_needed
856
855
OTOOL64
857
856
OTOOL
2155
2154
 
2156
2155
 
2157
2156
 
2158
 
am__api_version='1.11'
 
2157
am__api_version='1.10'
2159
2158
 
2160
2159
ac_aux_dir=
2161
2160
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2286
2285
# Just in case
2287
2286
sleep 1
2288
2287
echo timestamp > conftest.file
2289
 
# Reject unsafe characters in $srcdir or the absolute working directory
2290
 
# name.  Accept space and tab only in the latter.
2291
 
am_lf='
2292
 
'
2293
 
case `pwd` in
2294
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2295
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2296
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2297
 
   { (exit 1); exit 1; }; };;
2298
 
esac
2299
 
case $srcdir in
2300
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2301
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2302
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2303
 
   { (exit 1); exit 1; }; };;
2304
 
esac
2305
 
 
2306
2288
# Do `set' in a subshell so we don't clobber the current shell's
2307
2289
# arguments.  Must try -L first in case configure is actually a
2308
2290
# symlink; some systems play weird games with the mod time of symlinks
2309
2291
# (eg FreeBSD returns the mod time of the symlink's containing
2310
2292
# directory).
2311
2293
if (
2312
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2294
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2313
2295
   if test "$*" = "X"; then
2314
2296
      # -L didn't work.
2315
 
      set X `ls -t "$srcdir/configure" conftest.file`
 
2297
      set X `ls -t $srcdir/configure conftest.file`
2316
2298
   fi
2317
2299
   rm -f conftest.file
2318
2300
   if test "$*" != "X $srcdir/configure conftest.file" \
2356
2338
# expand $ac_aux_dir to an absolute path
2357
2339
am_aux_dir=`cd $ac_aux_dir && pwd`
2358
2340
 
2359
 
if test x"${MISSING+set}" != xset; then
2360
 
  case $am_aux_dir in
2361
 
  *\ * | *\     *)
2362
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2363
 
  *)
2364
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2365
 
  esac
2366
 
fi
 
2341
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2367
2342
# Use eval to expand $SHELL
2368
2343
if eval "$MISSING --run true"; then
2369
2344
  am_missing_run="$MISSING --run "
2373
2348
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2374
2349
fi
2375
2350
 
2376
 
if test x"${install_sh}" != xset; then
2377
 
  case $am_aux_dir in
2378
 
  *\ * | *\     *)
2379
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2380
 
  *)
2381
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2382
 
  esac
2383
 
fi
2384
 
 
2385
 
# Installed binaries are usually stripped using `strip' when the user
2386
 
# run `make install-strip'.  However `strip' might not be the right
2387
 
# tool to use in cross-compilation environments, therefore Automake
2388
 
# will honor the `STRIP' environment variable to overrule this program.
2389
 
if test "$cross_compiling" != no; then
2390
 
  if test -n "$ac_tool_prefix"; then
2391
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2392
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2393
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2394
 
$as_echo_n "checking for $ac_word... " >&6; }
2395
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2396
 
  $as_echo_n "(cached) " >&6
2397
 
else
2398
 
  if test -n "$STRIP"; then
2399
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2400
 
else
2401
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402
 
for as_dir in $PATH
2403
 
do
2404
 
  IFS=$as_save_IFS
2405
 
  test -z "$as_dir" && as_dir=.
2406
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2407
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2408
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2409
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2410
 
    break 2
2411
 
  fi
2412
 
done
2413
 
done
2414
 
IFS=$as_save_IFS
2415
 
 
2416
 
fi
2417
 
fi
2418
 
STRIP=$ac_cv_prog_STRIP
2419
 
if test -n "$STRIP"; then
2420
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2421
 
$as_echo "$STRIP" >&6; }
2422
 
else
2423
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2424
 
$as_echo "no" >&6; }
2425
 
fi
2426
 
 
2427
 
 
2428
 
fi
2429
 
if test -z "$ac_cv_prog_STRIP"; then
2430
 
  ac_ct_STRIP=$STRIP
2431
 
  # Extract the first word of "strip", so it can be a program name with args.
2432
 
set dummy strip; ac_word=$2
2433
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2434
 
$as_echo_n "checking for $ac_word... " >&6; }
2435
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2436
 
  $as_echo_n "(cached) " >&6
2437
 
else
2438
 
  if test -n "$ac_ct_STRIP"; then
2439
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2440
 
else
2441
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2442
 
for as_dir in $PATH
2443
 
do
2444
 
  IFS=$as_save_IFS
2445
 
  test -z "$as_dir" && as_dir=.
2446
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2447
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448
 
    ac_cv_prog_ac_ct_STRIP="strip"
2449
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450
 
    break 2
2451
 
  fi
2452
 
done
2453
 
done
2454
 
IFS=$as_save_IFS
2455
 
 
2456
 
fi
2457
 
fi
2458
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2459
 
if test -n "$ac_ct_STRIP"; then
2460
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2461
 
$as_echo "$ac_ct_STRIP" >&6; }
2462
 
else
2463
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2464
 
$as_echo "no" >&6; }
2465
 
fi
2466
 
 
2467
 
  if test "x$ac_ct_STRIP" = x; then
2468
 
    STRIP=":"
2469
 
  else
2470
 
    case $cross_compiling:$ac_tool_warned in
2471
 
yes:)
2472
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2473
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2474
 
ac_tool_warned=yes ;;
2475
 
esac
2476
 
    STRIP=$ac_ct_STRIP
2477
 
  fi
2478
 
else
2479
 
  STRIP="$ac_cv_prog_STRIP"
2480
 
fi
2481
 
 
2482
 
fi
2483
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2484
 
 
2485
2351
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2486
2352
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2487
2353
if test -z "$MKDIR_P"; then
2636
2502
 
2637
2503
# Define the identity of the package.
2638
2504
 PACKAGE="Linux-PAM"
2639
 
 VERSION=1.1.1
 
2505
 VERSION=1.1.2
2640
2506
 
2641
2507
 
2642
2508
cat >>confdefs.h <<_ACEOF
2664
2530
 
2665
2531
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2666
2532
 
 
2533
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
2534
 
 
2535
# Installed binaries are usually stripped using `strip' when the user
 
2536
# run `make install-strip'.  However `strip' might not be the right
 
2537
# tool to use in cross-compilation environments, therefore Automake
 
2538
# will honor the `STRIP' environment variable to overrule this program.
 
2539
if test "$cross_compiling" != no; then
 
2540
  if test -n "$ac_tool_prefix"; then
 
2541
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2542
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2543
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2544
$as_echo_n "checking for $ac_word... " >&6; }
 
2545
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2546
  $as_echo_n "(cached) " >&6
 
2547
else
 
2548
  if test -n "$STRIP"; then
 
2549
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2550
else
 
2551
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2552
for as_dir in $PATH
 
2553
do
 
2554
  IFS=$as_save_IFS
 
2555
  test -z "$as_dir" && as_dir=.
 
2556
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2557
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2558
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2559
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2560
    break 2
 
2561
  fi
 
2562
done
 
2563
done
 
2564
IFS=$as_save_IFS
 
2565
 
 
2566
fi
 
2567
fi
 
2568
STRIP=$ac_cv_prog_STRIP
 
2569
if test -n "$STRIP"; then
 
2570
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2571
$as_echo "$STRIP" >&6; }
 
2572
else
 
2573
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2574
$as_echo "no" >&6; }
 
2575
fi
 
2576
 
 
2577
 
 
2578
fi
 
2579
if test -z "$ac_cv_prog_STRIP"; then
 
2580
  ac_ct_STRIP=$STRIP
 
2581
  # Extract the first word of "strip", so it can be a program name with args.
 
2582
set dummy strip; ac_word=$2
 
2583
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2584
$as_echo_n "checking for $ac_word... " >&6; }
 
2585
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2586
  $as_echo_n "(cached) " >&6
 
2587
else
 
2588
  if test -n "$ac_ct_STRIP"; then
 
2589
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2590
else
 
2591
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2592
for as_dir in $PATH
 
2593
do
 
2594
  IFS=$as_save_IFS
 
2595
  test -z "$as_dir" && as_dir=.
 
2596
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2597
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2598
    ac_cv_prog_ac_ct_STRIP="strip"
 
2599
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2600
    break 2
 
2601
  fi
 
2602
done
 
2603
done
 
2604
IFS=$as_save_IFS
 
2605
 
 
2606
fi
 
2607
fi
 
2608
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2609
if test -n "$ac_ct_STRIP"; then
 
2610
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2611
$as_echo "$ac_ct_STRIP" >&6; }
 
2612
else
 
2613
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2614
$as_echo "no" >&6; }
 
2615
fi
 
2616
 
 
2617
  if test "x$ac_ct_STRIP" = x; then
 
2618
    STRIP=":"
 
2619
  else
 
2620
    case $cross_compiling:$ac_tool_warned in
 
2621
yes:)
 
2622
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2623
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2624
ac_tool_warned=yes ;;
 
2625
esac
 
2626
    STRIP=$ac_ct_STRIP
 
2627
  fi
 
2628
else
 
2629
  STRIP="$ac_cv_prog_STRIP"
 
2630
fi
 
2631
 
 
2632
fi
 
2633
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2634
 
2667
2635
# We need awk for the "check" target.  The system "awk" is bad on
2668
2636
# some platforms.
2669
2637
# Always define AMTAR for backward compatibility.
2952
2920
am_make=${MAKE-make}
2953
2921
cat > confinc << 'END'
2954
2922
am__doit:
2955
 
        @echo this is the am__doit target
 
2923
        @echo done
2956
2924
.PHONY: am__doit
2957
2925
END
2958
2926
# If we don't find an include directive, just comment out the code.
2963
2931
_am_result=none
2964
2932
# First try GNU make style include.
2965
2933
echo "include confinc" > confmf
2966
 
# Ignore all kinds of additional output from `make'.
2967
 
case `$am_make -s -f confmf 2> /dev/null` in #(
2968
 
*the\ am__doit\ target*)
2969
 
  am__include=include
2970
 
  am__quote=
2971
 
  _am_result=GNU
2972
 
  ;;
2973
 
esac
 
2934
# We grep out `Entering directory' and `Leaving directory'
 
2935
# messages which can occur if `w' ends up in MAKEFLAGS.
 
2936
# In particular we don't look at `^make:' because GNU make might
 
2937
# be invoked under some other name (usually "gmake"), in which
 
2938
# case it prints its new name instead of `make'.
 
2939
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
2940
   am__include=include
 
2941
   am__quote=
 
2942
   _am_result=GNU
 
2943
fi
2974
2944
# Now try BSD make style include.
2975
2945
if test "$am__include" = "#"; then
2976
2946
   echo '.include "confinc"' > confmf
2977
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
2978
 
   *the\ am__doit\ target*)
2979
 
     am__include=.include
2980
 
     am__quote="\""
2981
 
     _am_result=BSD
2982
 
     ;;
2983
 
   esac
 
2947
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
2948
      am__include=.include
 
2949
      am__quote="\""
 
2950
      _am_result=BSD
 
2951
   fi
2984
2952
fi
2985
2953
 
2986
2954
 
3969
3937
  if test "$am_compiler_list" = ""; then
3970
3938
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3971
3939
  fi
3972
 
  am__universal=false
3973
 
  case " $depcc " in #(
3974
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3975
 
     esac
3976
 
 
3977
3940
  for depmode in $am_compiler_list; do
3978
3941
    # Setup a source with many dependencies, because some compilers
3979
3942
    # like to wrap large dependency lists on column 80 (with \), and
3991
3954
    done
3992
3955
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3993
3956
 
3994
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3995
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3996
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3997
 
    # versions had trouble with output in subdirs
3998
 
    am__obj=sub/conftest.${OBJEXT-o}
3999
 
    am__minus_obj="-o $am__obj"
4000
3957
    case $depmode in
4001
 
    gcc)
4002
 
      # This depmode causes a compiler race in universal mode.
4003
 
      test "$am__universal" = false || continue
4004
 
      ;;
4005
3958
    nosideeffect)
4006
3959
      # after this tag, mechanisms are not by side-effect, so they'll
4007
3960
      # only be used when explicitly requested
4011
3964
        break
4012
3965
      fi
4013
3966
      ;;
4014
 
    msvisualcpp | msvcmsys)
4015
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4016
 
      # not run yet.  These depmodes are late enough in the game, and
4017
 
      # so weak that their functioning should not be impacted.
4018
 
      am__obj=conftest.${OBJEXT-o}
4019
 
      am__minus_obj=
4020
 
      ;;
4021
3967
    none) break ;;
4022
3968
    esac
 
3969
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3970
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3971
    # handle `-M -o', and we need to detect this.
4023
3972
    if depmode=$depmode \
4024
 
       source=sub/conftest.c object=$am__obj \
 
3973
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4025
3974
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4026
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3975
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4027
3976
         >/dev/null 2>conftest.err &&
4028
3977
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4029
3978
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4030
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
3979
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4031
3980
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4032
3981
      # icc doesn't choke on unknown options, it will just issue warnings
4033
3982
      # or remarks (even with -Werror).  So we grep stderr for any message
5631
5580
  if test "$am_compiler_list" = ""; then
5632
5581
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5633
5582
  fi
5634
 
  am__universal=false
5635
 
  case " $depcc " in #(
5636
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5637
 
     esac
5638
 
 
5639
5583
  for depmode in $am_compiler_list; do
5640
5584
    # Setup a source with many dependencies, because some compilers
5641
5585
    # like to wrap large dependency lists on column 80 (with \), and
5653
5597
    done
5654
5598
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5655
5599
 
5656
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5657
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5658
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5659
 
    # versions had trouble with output in subdirs
5660
 
    am__obj=sub/conftest.${OBJEXT-o}
5661
 
    am__minus_obj="-o $am__obj"
5662
5600
    case $depmode in
5663
 
    gcc)
5664
 
      # This depmode causes a compiler race in universal mode.
5665
 
      test "$am__universal" = false || continue
5666
 
      ;;
5667
5601
    nosideeffect)
5668
5602
      # after this tag, mechanisms are not by side-effect, so they'll
5669
5603
      # only be used when explicitly requested
5673
5607
        break
5674
5608
      fi
5675
5609
      ;;
5676
 
    msvisualcpp | msvcmsys)
5677
 
      # This compiler won't grok `-c -o', but also, the minuso test has
5678
 
      # not run yet.  These depmodes are late enough in the game, and
5679
 
      # so weak that their functioning should not be impacted.
5680
 
      am__obj=conftest.${OBJEXT-o}
5681
 
      am__minus_obj=
5682
 
      ;;
5683
5610
    none) break ;;
5684
5611
    esac
 
5612
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5613
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5614
    # handle `-M -o', and we need to detect this.
5685
5615
    if depmode=$depmode \
5686
 
       source=sub/conftest.c object=$am__obj \
 
5616
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5687
5617
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5688
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
5618
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5689
5619
         >/dev/null 2>conftest.err &&
5690
5620
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5691
5621
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5692
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
5622
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5693
5623
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5694
5624
      # icc doesn't choke on unknown options, it will just issue warnings
5695
5625
      # or remarks (even with -Werror).  So we grep stderr for any message
6607
6537
else
6608
6538
  lt_cv_nm_interface="BSD nm"
6609
6539
  echo "int some_variable = 0;" > conftest.$ac_ext
6610
 
  (eval echo "\"\$as_me:6610: $ac_compile\"" >&5)
 
6540
  (eval echo "\"\$as_me:6540: $ac_compile\"" >&5)
6611
6541
  (eval "$ac_compile" 2>conftest.err)
6612
6542
  cat conftest.err >&5
6613
 
  (eval echo "\"\$as_me:6613: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6543
  (eval echo "\"\$as_me:6543: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6614
6544
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6615
6545
  cat conftest.err >&5
6616
 
  (eval echo "\"\$as_me:6616: output\"" >&5)
 
6546
  (eval echo "\"\$as_me:6546: output\"" >&5)
6617
6547
  cat conftest.out >&5
6618
6548
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6619
6549
    lt_cv_nm_interface="MS dumpbin"
7807
7737
  ;;
7808
7738
*-*-irix6*)
7809
7739
  # Find out which ABI we are using.
7810
 
  echo '#line 7810 "configure"' > conftest.$ac_ext
 
7740
  echo '#line 7740 "configure"' > conftest.$ac_ext
7811
7741
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7812
7742
  (eval $ac_compile) 2>&5
7813
7743
  ac_status=$?
9116
9046
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9117
9047
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9118
9048
   -e 's:$: $lt_compiler_flag:'`
9119
 
   (eval echo "\"\$as_me:9119: $lt_compile\"" >&5)
 
9049
   (eval echo "\"\$as_me:9049: $lt_compile\"" >&5)
9120
9050
   (eval "$lt_compile" 2>conftest.err)
9121
9051
   ac_status=$?
9122
9052
   cat conftest.err >&5
9123
 
   echo "$as_me:9123: \$? = $ac_status" >&5
 
9053
   echo "$as_me:9053: \$? = $ac_status" >&5
9124
9054
   if (exit $ac_status) && test -s "$ac_outfile"; then
9125
9055
     # The compiler can only warn and ignore the option if not recognized
9126
9056
     # So say no if there are warnings other than the usual output.
9455
9385
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9456
9386
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9457
9387
   -e 's:$: $lt_compiler_flag:'`
9458
 
   (eval echo "\"\$as_me:9458: $lt_compile\"" >&5)
 
9388
   (eval echo "\"\$as_me:9388: $lt_compile\"" >&5)
9459
9389
   (eval "$lt_compile" 2>conftest.err)
9460
9390
   ac_status=$?
9461
9391
   cat conftest.err >&5
9462
 
   echo "$as_me:9462: \$? = $ac_status" >&5
 
9392
   echo "$as_me:9392: \$? = $ac_status" >&5
9463
9393
   if (exit $ac_status) && test -s "$ac_outfile"; then
9464
9394
     # The compiler can only warn and ignore the option if not recognized
9465
9395
     # So say no if there are warnings other than the usual output.
9560
9490
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9561
9491
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9562
9492
   -e 's:$: $lt_compiler_flag:'`
9563
 
   (eval echo "\"\$as_me:9563: $lt_compile\"" >&5)
 
9493
   (eval echo "\"\$as_me:9493: $lt_compile\"" >&5)
9564
9494
   (eval "$lt_compile" 2>out/conftest.err)
9565
9495
   ac_status=$?
9566
9496
   cat out/conftest.err >&5
9567
 
   echo "$as_me:9567: \$? = $ac_status" >&5
 
9497
   echo "$as_me:9497: \$? = $ac_status" >&5
9568
9498
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9569
9499
   then
9570
9500
     # The compiler can only warn and ignore the option if not recognized
9615
9545
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9616
9546
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9617
9547
   -e 's:$: $lt_compiler_flag:'`
9618
 
   (eval echo "\"\$as_me:9618: $lt_compile\"" >&5)
 
9548
   (eval echo "\"\$as_me:9548: $lt_compile\"" >&5)
9619
9549
   (eval "$lt_compile" 2>out/conftest.err)
9620
9550
   ac_status=$?
9621
9551
   cat out/conftest.err >&5
9622
 
   echo "$as_me:9622: \$? = $ac_status" >&5
 
9552
   echo "$as_me:9552: \$? = $ac_status" >&5
9623
9553
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9624
9554
   then
9625
9555
     # The compiler can only warn and ignore the option if not recognized
12415
12345
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12416
12346
  lt_status=$lt_dlunknown
12417
12347
  cat > conftest.$ac_ext <<_LT_EOF
12418
 
#line 12418 "configure"
 
12348
#line 12348 "configure"
12419
12349
#include "confdefs.h"
12420
12350
 
12421
12351
#if HAVE_DLFCN_H
12511
12441
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12512
12442
  lt_status=$lt_dlunknown
12513
12443
  cat > conftest.$ac_ext <<_LT_EOF
12514
 
#line 12514 "configure"
 
12444
#line 12444 "configure"
12515
12445
#include "confdefs.h"
12516
12446
 
12517
12447
#if HAVE_DLFCN_H
12858
12788
# FIXME: we rely on the cache variable name because
12859
12789
# there is no other way.
12860
12790
set dummy $CC
12861
 
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12862
 
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12863
 
if test "$am_t" != yes; then
 
12791
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
12792
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
12864
12793
   # Losing compiler, so override with the script.
12865
12794
   # FIXME: It is wrong to rewrite CC.
12866
12795
   # But if we don't then we get into trouble of one sort or another.
12931
12860
 
12932
12861
 
12933
12862
 
 
12863
if test x"$cross_compiling" = xyes; then
 
12864
        for ac_prog in gcc cc
 
12865
do
 
12866
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
12867
set dummy $ac_prog; ac_word=$2
 
12868
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12869
$as_echo_n "checking for $ac_word... " >&6; }
 
12870
if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
 
12871
  $as_echo_n "(cached) " >&6
 
12872
else
 
12873
  if test -n "$CC_FOR_BUILD"; then
 
12874
  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
 
12875
else
 
12876
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12877
for as_dir in $PATH
 
12878
do
 
12879
  IFS=$as_save_IFS
 
12880
  test -z "$as_dir" && as_dir=.
 
12881
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12882
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12883
    ac_cv_prog_CC_FOR_BUILD="$ac_prog"
 
12884
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12885
    break 2
 
12886
  fi
 
12887
done
 
12888
done
 
12889
IFS=$as_save_IFS
 
12890
 
 
12891
fi
 
12892
fi
 
12893
CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
 
12894
if test -n "$CC_FOR_BUILD"; then
 
12895
  { $as_echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
 
12896
$as_echo "$CC_FOR_BUILD" >&6; }
 
12897
else
 
12898
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12899
$as_echo "no" >&6; }
 
12900
fi
 
12901
 
 
12902
 
 
12903
  test -n "$CC_FOR_BUILD" && break
 
12904
done
 
12905
 
 
12906
else
 
12907
        CC_FOR_BUILD="$CC"
 
12908
fi
 
12909
 
12934
12910
# Check whether --enable-largefile was given.
12935
12911
if test "${enable_largefile+set}" = set; then
12936
12912
  enableval=$enable_largefile;
15008
14984
 
15009
14985
done
15010
14986
 
 
14987
if test "x$ac_cv_header_xcrypt_h" = "xyes"; then
 
14988
  crypt_libs="xcrypt crypt"
 
14989
else
 
14990
  crypt_libs="crypt"
 
14991
fi
 
14992
 
 
14993
 
15011
14994
BACKUP_LIBS=$LIBS
15012
14995
{ $as_echo "$as_me:$LINENO: checking for library containing crypt" >&5
15013
14996
$as_echo_n "checking for library containing crypt... " >&6; }
15037
15020
  return 0;
15038
15021
}
15039
15022
_ACEOF
15040
 
for ac_lib in '' xcrypt crypt; do
 
15023
for ac_lib in '' $crypt_libs; do
15041
15024
  if test -z "$ac_lib"; then
15042
15025
    ac_res="none required"
15043
15026
  else
15200
15183
fi
15201
15184
done
15202
15185
 
15203
 
Libs=$BACKUP_LIBS
 
15186
LIBS=$BACKUP_LIBS
15204
15187
 
15205
15188
if test "$LIBCRYPT" = "-lxcrypt" -a "$ac_cv_header_xcrypt_h" = "yes" ; then
15206
15189
 
18719
18702
 
18720
18703
 
18721
18704
 
18722
 
for ac_func in getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r
 
18705
 
 
18706
for ac_func in getutent_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r
18723
18707
do
18724
18708
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18725
18709
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
21955
21939
LTLIBOBJS=$ac_ltlibobjs
21956
21940
 
21957
21941
 
21958
 
 if test -n "$EXEEXT"; then
21959
 
  am__EXEEXT_TRUE=
21960
 
  am__EXEEXT_FALSE='#'
21961
 
else
21962
 
  am__EXEEXT_TRUE='#'
21963
 
  am__EXEEXT_FALSE=
21964
 
fi
21965
 
 
21966
21942
if test -z "${STATIC_MODULES_TRUE}" && test -z "${STATIC_MODULES_FALSE}"; then
21967
21943
  { { $as_echo "$as_me:$LINENO: error: conditional \"STATIC_MODULES\" was never defined.
21968
21944
Usually this means the macro was only invoked conditionally." >&5
23546
23522
 
23547
23523
 
23548
23524
  case $ac_file$ac_mode in
23549
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23550
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
23551
 
  # are listed without --file.  Let's play safe and only enable the eval
23552
 
  # if we detect the quoting.
23553
 
  case $CONFIG_FILES in
23554
 
  *\'*) eval set x "$CONFIG_FILES" ;;
23555
 
  *)   set x $CONFIG_FILES ;;
23556
 
  esac
23557
 
  shift
23558
 
  for mf
23559
 
  do
23560
 
    # Strip MF so we end up with the name of the file.
23561
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
23562
 
    # Check whether this is an Automake generated Makefile or not.
23563
 
    # We used to match only the files named `Makefile.in', but
23564
 
    # some people rename them; so instead we look at the file content.
23565
 
    # Grep'ing the first line is not enough: some people post-process
23566
 
    # each Makefile.in and add a new line on top of each file to say so.
23567
 
    # Grep'ing the whole file is not good either: AIX grep has a line
23568
 
    # limit of 2048, but all sed's we know have understand at least 4000.
23569
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
23570
 
      dirpart=`$as_dirname -- "$mf" ||
 
23525
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
23526
  # Strip MF so we end up with the name of the file.
 
23527
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
23528
  # Check whether this is an Automake generated Makefile or not.
 
23529
  # We used to match only the files named `Makefile.in', but
 
23530
  # some people rename them; so instead we look at the file content.
 
23531
  # Grep'ing the first line is not enough: some people post-process
 
23532
  # each Makefile.in and add a new line on top of each file to say so.
 
23533
  # Grep'ing the whole file is not good either: AIX grep has a line
 
23534
  # limit of 2048, but all sed's we know have understand at least 4000.
 
23535
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
23536
    dirpart=`$as_dirname -- "$mf" ||
23571
23537
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23572
23538
         X"$mf" : 'X\(//\)[^/]' \| \
23573
23539
         X"$mf" : 'X\(//\)$' \| \
23590
23556
            q
23591
23557
          }
23592
23558
          s/.*/./; q'`
23593
 
    else
23594
 
      continue
23595
 
    fi
23596
 
    # Extract the definition of DEPDIR, am__include, and am__quote
23597
 
    # from the Makefile without running `make'.
23598
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23599
 
    test -z "$DEPDIR" && continue
23600
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
23601
 
    test -z "am__include" && continue
23602
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23603
 
    # When using ansi2knr, U may be empty or an underscore; expand it
23604
 
    U=`sed -n 's/^U = //p' < "$mf"`
23605
 
    # Find all dependency output files, they are included files with
23606
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
23607
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
23608
 
    # expansion.
23609
 
    for file in `sed -n "
23610
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23611
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23612
 
      # Make sure the directory exists.
23613
 
      test -f "$dirpart/$file" && continue
23614
 
      fdir=`$as_dirname -- "$file" ||
 
23559
  else
 
23560
    continue
 
23561
  fi
 
23562
  # Extract the definition of DEPDIR, am__include, and am__quote
 
23563
  # from the Makefile without running `make'.
 
23564
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
23565
  test -z "$DEPDIR" && continue
 
23566
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
23567
  test -z "am__include" && continue
 
23568
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
23569
  # When using ansi2knr, U may be empty or an underscore; expand it
 
23570
  U=`sed -n 's/^U = //p' < "$mf"`
 
23571
  # Find all dependency output files, they are included files with
 
23572
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
23573
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
23574
  # expansion.
 
23575
  for file in `sed -n "
 
23576
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
23577
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
23578
    # Make sure the directory exists.
 
23579
    test -f "$dirpart/$file" && continue
 
23580
    fdir=`$as_dirname -- "$file" ||
23615
23581
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23616
23582
         X"$file" : 'X\(//\)[^/]' \| \
23617
23583
         X"$file" : 'X\(//\)$' \| \
23634
23600
            q
23635
23601
          }
23636
23602
          s/.*/./; q'`
23637
 
      { as_dir=$dirpart/$fdir
 
23603
    { as_dir=$dirpart/$fdir
23638
23604
  case $as_dir in #(
23639
23605
  -*) as_dir=./$as_dir;;
23640
23606
  esac
23675
23641
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23676
23642
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23677
23643
   { (exit 1); exit 1; }; }; }
23678
 
      # echo "creating $dirpart/$file"
23679
 
      echo '# dummy' > "$dirpart/$file"
23680
 
    done
 
23644
    # echo "creating $dirpart/$file"
 
23645
    echo '# dummy' > "$dirpart/$file"
23681
23646
  done
23682
 
}
 
23647
done
23683
23648
 ;;
23684
23649
    "libtool":C)
23685
23650