~ubuntu-desktop/libpam-freerdp/ubuntu

« back to all changes in this revision

Viewing changes to configure

  • Committer: Ted Gould
  • Date: 2012-08-21 23:47:16 UTC
  • mfrom: (1.3.4)
  • Revision ID: ted@gould.cx-20120821234716-x8vy8isbkwbw3ars
* New upstream release.
  * Now with auth helper!

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.69 for libpam-freerdp 0.1.0.
 
3
# Generated by GNU Autoconf 2.69 for libpam-freerdp 0.2.0.
4
4
#
5
5
#
6
6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
587
587
# Identity of this package.
588
588
PACKAGE_NAME='libpam-freerdp'
589
589
PACKAGE_TARNAME='libpam-freerdp'
590
 
PACKAGE_VERSION='0.1.0'
591
 
PACKAGE_STRING='libpam-freerdp 0.1.0'
 
590
PACKAGE_VERSION='0.2.0'
 
591
PACKAGE_STRING='libpam-freerdp 0.2.0'
592
592
PACKAGE_BUGREPORT=''
593
593
PACKAGE_URL=''
594
594
 
633
633
LTLIBOBJS
634
634
LIBOBJS
635
635
PAMMODULEDIR
 
636
FREERDP_LIBS
 
637
FREERDP_CFLAGS
 
638
PKG_CONFIG_LIBDIR
 
639
PKG_CONFIG_PATH
 
640
PKG_CONFIG
636
641
CPP
637
642
OTOOL64
638
643
OTOOL
767
772
LDFLAGS
768
773
LIBS
769
774
CPPFLAGS
770
 
CPP'
 
775
CPP
 
776
PKG_CONFIG
 
777
PKG_CONFIG_PATH
 
778
PKG_CONFIG_LIBDIR
 
779
FREERDP_CFLAGS
 
780
FREERDP_LIBS'
771
781
 
772
782
 
773
783
# Initialize some variables set by options.
1308
1318
  # Omit some internal or obsolete options to make the list less imposing.
1309
1319
  # This message is too long to be a string in the A/UX 3.1 sh.
1310
1320
  cat <<_ACEOF
1311
 
\`configure' configures libpam-freerdp 0.1.0 to adapt to many kinds of systems.
 
1321
\`configure' configures libpam-freerdp 0.2.0 to adapt to many kinds of systems.
1312
1322
 
1313
1323
Usage: $0 [OPTION]... [VAR=VALUE]...
1314
1324
 
1378
1388
 
1379
1389
if test -n "$ac_init_help"; then
1380
1390
  case $ac_init_help in
1381
 
     short | recursive ) echo "Configuration of libpam-freerdp 0.1.0:";;
 
1391
     short | recursive ) echo "Configuration of libpam-freerdp 0.2.0:";;
1382
1392
   esac
1383
1393
  cat <<\_ACEOF
1384
1394
 
1415
1425
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1416
1426
              you have headers in a nonstandard directory <include dir>
1417
1427
  CPP         C preprocessor
 
1428
  PKG_CONFIG  path to pkg-config utility
 
1429
  PKG_CONFIG_PATH
 
1430
              directories to add to pkg-config's search path
 
1431
  PKG_CONFIG_LIBDIR
 
1432
              path overriding pkg-config's built-in search path
 
1433
  FREERDP_CFLAGS
 
1434
              C compiler flags for FREERDP, overriding pkg-config
 
1435
  FREERDP_LIBS
 
1436
              linker flags for FREERDP, overriding pkg-config
1418
1437
 
1419
1438
Use these variables to override the choices made by `configure' or to help
1420
1439
it to find libraries and programs with nonstandard names/locations.
1482
1501
test -n "$ac_init_help" && exit $ac_status
1483
1502
if $ac_init_version; then
1484
1503
  cat <<\_ACEOF
1485
 
libpam-freerdp configure 0.1.0
 
1504
libpam-freerdp configure 0.2.0
1486
1505
generated by GNU Autoconf 2.69
1487
1506
 
1488
1507
Copyright (C) 2012 Free Software Foundation, Inc.
1760
1779
This file contains any messages produced by compilers while
1761
1780
running configure, to aid debugging if configure makes a mistake.
1762
1781
 
1763
 
It was created by libpam-freerdp $as_me 0.1.0, which was
 
1782
It was created by libpam-freerdp $as_me 0.2.0, which was
1764
1783
generated by GNU Autoconf 2.69.  Invocation command line was
1765
1784
 
1766
1785
  $ $0 $@
2578
2597
 
2579
2598
# Define the identity of the package.
2580
2599
 PACKAGE='libpam-freerdp'
2581
 
 VERSION='0.1.0'
 
2600
 VERSION='0.2.0'
2582
2601
 
2583
2602
 
2584
2603
cat >>confdefs.h <<_ACEOF
11285
11304
fi
11286
11305
 
11287
11306
###########################
 
11307
# FreeRDP
 
11308
###########################
 
11309
 
 
11310
 
 
11311
 
 
11312
 
 
11313
 
 
11314
 
 
11315
 
 
11316
 
 
11317
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
11318
        if test -n "$ac_tool_prefix"; then
 
11319
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
11320
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
11321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11322
$as_echo_n "checking for $ac_word... " >&6; }
 
11323
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
11324
  $as_echo_n "(cached) " >&6
 
11325
else
 
11326
  case $PKG_CONFIG in
 
11327
  [\\/]* | ?:[\\/]*)
 
11328
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
11329
  ;;
 
11330
  *)
 
11331
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11332
for as_dir in $PATH
 
11333
do
 
11334
  IFS=$as_save_IFS
 
11335
  test -z "$as_dir" && as_dir=.
 
11336
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11337
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11338
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
11339
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11340
    break 2
 
11341
  fi
 
11342
done
 
11343
  done
 
11344
IFS=$as_save_IFS
 
11345
 
 
11346
  ;;
 
11347
esac
 
11348
fi
 
11349
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
11350
if test -n "$PKG_CONFIG"; then
 
11351
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
11352
$as_echo "$PKG_CONFIG" >&6; }
 
11353
else
 
11354
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11355
$as_echo "no" >&6; }
 
11356
fi
 
11357
 
 
11358
 
 
11359
fi
 
11360
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
11361
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
11362
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
11363
set dummy pkg-config; ac_word=$2
 
11364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11365
$as_echo_n "checking for $ac_word... " >&6; }
 
11366
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
11367
  $as_echo_n "(cached) " >&6
 
11368
else
 
11369
  case $ac_pt_PKG_CONFIG in
 
11370
  [\\/]* | ?:[\\/]*)
 
11371
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
11372
  ;;
 
11373
  *)
 
11374
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11375
for as_dir in $PATH
 
11376
do
 
11377
  IFS=$as_save_IFS
 
11378
  test -z "$as_dir" && as_dir=.
 
11379
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11380
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11381
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
11382
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11383
    break 2
 
11384
  fi
 
11385
done
 
11386
  done
 
11387
IFS=$as_save_IFS
 
11388
 
 
11389
  ;;
 
11390
esac
 
11391
fi
 
11392
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
11393
if test -n "$ac_pt_PKG_CONFIG"; then
 
11394
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
11395
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
11396
else
 
11397
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11398
$as_echo "no" >&6; }
 
11399
fi
 
11400
 
 
11401
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
11402
    PKG_CONFIG=""
 
11403
  else
 
11404
    case $cross_compiling:$ac_tool_warned in
 
11405
yes:)
 
11406
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11407
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11408
ac_tool_warned=yes ;;
 
11409
esac
 
11410
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
11411
  fi
 
11412
else
 
11413
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
11414
fi
 
11415
 
 
11416
fi
 
11417
if test -n "$PKG_CONFIG"; then
 
11418
        _pkg_min_version=0.9.0
 
11419
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
11420
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
11421
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
11422
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11423
$as_echo "yes" >&6; }
 
11424
        else
 
11425
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11426
$as_echo "no" >&6; }
 
11427
                PKG_CONFIG=""
 
11428
        fi
 
11429
fi
 
11430
 
 
11431
pkg_failed=no
 
11432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREERDP" >&5
 
11433
$as_echo_n "checking for FREERDP... " >&6; }
 
11434
 
 
11435
if test -n "$FREERDP_CFLAGS"; then
 
11436
    pkg_cv_FREERDP_CFLAGS="$FREERDP_CFLAGS"
 
11437
 elif test -n "$PKG_CONFIG"; then
 
11438
    if test -n "$PKG_CONFIG" && \
 
11439
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp\""; } >&5
 
11440
  ($PKG_CONFIG --exists --print-errors "freerdp") 2>&5
 
11441
  ac_status=$?
 
11442
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11443
  test $ac_status = 0; }; then
 
11444
  pkg_cv_FREERDP_CFLAGS=`$PKG_CONFIG --cflags "freerdp" 2>/dev/null`
 
11445
                      test "x$?" != "x0" && pkg_failed=yes
 
11446
else
 
11447
  pkg_failed=yes
 
11448
fi
 
11449
 else
 
11450
    pkg_failed=untried
 
11451
fi
 
11452
if test -n "$FREERDP_LIBS"; then
 
11453
    pkg_cv_FREERDP_LIBS="$FREERDP_LIBS"
 
11454
 elif test -n "$PKG_CONFIG"; then
 
11455
    if test -n "$PKG_CONFIG" && \
 
11456
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp\""; } >&5
 
11457
  ($PKG_CONFIG --exists --print-errors "freerdp") 2>&5
 
11458
  ac_status=$?
 
11459
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11460
  test $ac_status = 0; }; then
 
11461
  pkg_cv_FREERDP_LIBS=`$PKG_CONFIG --libs "freerdp" 2>/dev/null`
 
11462
                      test "x$?" != "x0" && pkg_failed=yes
 
11463
else
 
11464
  pkg_failed=yes
 
11465
fi
 
11466
 else
 
11467
    pkg_failed=untried
 
11468
fi
 
11469
 
 
11470
 
 
11471
 
 
11472
if test $pkg_failed = yes; then
 
11473
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11474
$as_echo "no" >&6; }
 
11475
 
 
11476
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
11477
        _pkg_short_errors_supported=yes
 
11478
else
 
11479
        _pkg_short_errors_supported=no
 
11480
fi
 
11481
        if test $_pkg_short_errors_supported = yes; then
 
11482
                FREERDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freerdp" 2>&1`
 
11483
        else
 
11484
                FREERDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freerdp" 2>&1`
 
11485
        fi
 
11486
        # Put the nasty error message in config.log where it belongs
 
11487
        echo "$FREERDP_PKG_ERRORS" >&5
 
11488
 
 
11489
        as_fn_error $? "Package requirements (freerdp) were not met:
 
11490
 
 
11491
$FREERDP_PKG_ERRORS
 
11492
 
 
11493
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
11494
installed software in a non-standard prefix.
 
11495
 
 
11496
Alternatively, you may set the environment variables FREERDP_CFLAGS
 
11497
and FREERDP_LIBS to avoid the need to call pkg-config.
 
11498
See the pkg-config man page for more details." "$LINENO" 5
 
11499
elif test $pkg_failed = untried; then
 
11500
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11501
$as_echo "no" >&6; }
 
11502
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
11503
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
11504
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
11505
is in your PATH or set the PKG_CONFIG environment variable to the full
 
11506
path to pkg-config.
 
11507
 
 
11508
Alternatively, you may set the environment variables FREERDP_CFLAGS
 
11509
and FREERDP_LIBS to avoid the need to call pkg-config.
 
11510
See the pkg-config man page for more details.
 
11511
 
 
11512
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
11513
See \`config.log' for more details" "$LINENO" 5; }
 
11514
else
 
11515
        FREERDP_CFLAGS=$pkg_cv_FREERDP_CFLAGS
 
11516
        FREERDP_LIBS=$pkg_cv_FREERDP_LIBS
 
11517
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11518
$as_echo "yes" >&6; }
 
11519
 
 
11520
fi
 
11521
 
 
11522
###########################
11288
11523
# Local Install
11289
11524
###########################
11290
11525
 
11833
12068
# report actual input values of CONFIG_FILES etc. instead of their
11834
12069
# values after options handling.
11835
12070
ac_log="
11836
 
This file was extended by libpam-freerdp $as_me 0.1.0, which was
 
12071
This file was extended by libpam-freerdp $as_me 0.2.0, which was
11837
12072
generated by GNU Autoconf 2.69.  Invocation command line was
11838
12073
 
11839
12074
  CONFIG_FILES    = $CONFIG_FILES
11899
12134
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11900
12135
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11901
12136
ac_cs_version="\\
11902
 
libpam-freerdp config.status 0.1.0
 
12137
libpam-freerdp config.status 0.2.0
11903
12138
configured by $0, generated by GNU Autoconf 2.69,
11904
12139
  with options \\"\$ac_cs_config\\"
11905
12140