~ubuntu-branches/ubuntu/raring/xkeyboard-config/raring

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2011-04-06 02:41:25 UTC
  • mto: (12.3.3 sid)
  • mto: This revision was merged to the branch mainline in revision 74.
  • Revision ID: james.westby@ubuntu.com-20110406024125-viz2oxc3mwv20d44
Tags: upstream-2.2.1
ImportĀ upstreamĀ versionĀ 2.2.1

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.67 for xkeyboard-config 2.1.
 
3
# Generated by GNU Autoconf 2.67 for xkeyboard-config 2.2.1.
4
4
#
5
5
#
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
549
549
# Identity of this package.
550
550
PACKAGE_NAME='xkeyboard-config'
551
551
PACKAGE_TARNAME='xkeyboard-config'
552
 
PACKAGE_VERSION='2.1'
553
 
PACKAGE_STRING='xkeyboard-config 2.1'
 
552
PACKAGE_VERSION='2.2.1'
 
553
PACKAGE_STRING='xkeyboard-config 2.2.1'
554
554
PACKAGE_BUGREPORT=''
555
555
PACKAGE_URL=''
556
556
 
662
662
USE_COMPAT_RULES_TRUE
663
663
CREATE_RULES_SYMLINK_FALSE
664
664
CREATE_RULES_SYMLINK_TRUE
 
665
DEPS_LIBS
 
666
DEPS_CFLAGS
 
667
PKG_CONFIG_LIBDIR
 
668
PKG_CONFIG_PATH
 
669
PKG_CONFIG
665
670
XKBCOMP
666
671
MAINT
667
672
MAINTAINER_MODE_FALSE
734
739
with_xkb_base
735
740
with_xkb_rules_symlink
736
741
enable_compat_rules
 
742
enable_runtime_deps
737
743
enable_nls
738
744
enable_dependency_tracking
739
745
'
740
746
      ac_precious_vars='build_alias
741
747
host_alias
742
748
target_alias
 
749
PKG_CONFIG
 
750
PKG_CONFIG_PATH
 
751
PKG_CONFIG_LIBDIR
 
752
DEPS_CFLAGS
 
753
DEPS_LIBS
743
754
CC
744
755
CFLAGS
745
756
LDFLAGS
1288
1299
  # Omit some internal or obsolete options to make the list less imposing.
1289
1300
  # This message is too long to be a string in the A/UX 3.1 sh.
1290
1301
  cat <<_ACEOF
1291
 
\`configure' configures xkeyboard-config 2.1 to adapt to many kinds of systems.
 
1302
\`configure' configures xkeyboard-config 2.2.1 to adapt to many kinds of systems.
1292
1303
 
1293
1304
Usage: $0 [OPTION]... [VAR=VALUE]...
1294
1305
 
1355
1366
 
1356
1367
if test -n "$ac_init_help"; then
1357
1368
  case $ac_init_help in
1358
 
     short | recursive ) echo "Configuration of xkeyboard-config 2.1:";;
 
1369
     short | recursive ) echo "Configuration of xkeyboard-config 2.2.1:";;
1359
1370
   esac
1360
1371
  cat <<\_ACEOF
1361
1372
 
1366
1377
  --enable-maintainer-mode  enable make rules and dependencies not useful
1367
1378
                          (and sometimes confusing) to the casual installer
1368
1379
  --enable-compat-rules      create compatibility rules
 
1380
 --enable-runtime-deps    use run-time dependencies as build-time dependencies
1369
1381
  --disable-nls           do not use Native Language Support
1370
1382
  --disable-dependency-tracking  speeds up one-time build
1371
1383
  --enable-dependency-tracking   do not reject slow dependency extractors
1377
1389
  --with-xkb-rules-symlink=NAME1(,NAME2)*        create symlink(s) to "old style" rules files (xfree86 and/or xorg)
1378
1390
 
1379
1391
Some influential environment variables:
 
1392
  PKG_CONFIG  path to pkg-config utility
 
1393
  PKG_CONFIG_PATH
 
1394
              directories to add to pkg-config's search path
 
1395
  PKG_CONFIG_LIBDIR
 
1396
              path overriding pkg-config's built-in search path
 
1397
  DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
 
1398
  DEPS_LIBS   linker flags for DEPS, overriding pkg-config
1380
1399
  CC          C compiler command
1381
1400
  CFLAGS      C compiler flags
1382
1401
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1452
1471
test -n "$ac_init_help" && exit $ac_status
1453
1472
if $ac_init_version; then
1454
1473
  cat <<\_ACEOF
1455
 
xkeyboard-config configure 2.1
 
1474
xkeyboard-config configure 2.2.1
1456
1475
generated by GNU Autoconf 2.67
1457
1476
 
1458
1477
Copyright (C) 2010 Free Software Foundation, Inc.
1817
1836
This file contains any messages produced by compilers while
1818
1837
running configure, to aid debugging if configure makes a mistake.
1819
1838
 
1820
 
It was created by xkeyboard-config $as_me 2.1, which was
 
1839
It was created by xkeyboard-config $as_me 2.2.1, which was
1821
1840
generated by GNU Autoconf 2.67.  Invocation command line was
1822
1841
 
1823
1842
  $ $0 $@
2633
2652
 
2634
2653
# Define the identity of the package.
2635
2654
 PACKAGE='xkeyboard-config'
2636
 
 VERSION='2.1'
 
2655
 VERSION='2.2.1'
2637
2656
 
2638
2657
 
2639
2658
cat >>confdefs.h <<_ACEOF
2768
2787
fi
2769
2788
 
2770
2789
 
 
2790
# xkeyboard-config does not have build-time dependencies. However, it does
 
2791
# have run-time dependencies and keyboard layouts may not work without the
 
2792
# right libX11 or xproto installed.
 
2793
# By default, we enable these run-time dependencies as build-time
 
2794
# dependencies so that those building on their local machines are warned
 
2795
# that the resulting build may not work.
 
2796
# Check whether --enable-runtime-deps was given.
 
2797
if test "${enable_runtime_deps+set}" = set; then :
 
2798
  enableval=$enable_runtime_deps; enable_runtime_deps="$enableval"
 
2799
else
 
2800
  enable_runtime_deps="yes"
 
2801
fi
 
2802
 
 
2803
 
 
2804
if test "x$enable_runtime_deps" = "xyes"; then
 
2805
 
 
2806
 
 
2807
 
 
2808
 
 
2809
 
 
2810
 
 
2811
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
2812
        if test -n "$ac_tool_prefix"; then
 
2813
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
2814
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
2815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2816
$as_echo_n "checking for $ac_word... " >&6; }
 
2817
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
2818
  $as_echo_n "(cached) " >&6
 
2819
else
 
2820
  case $PKG_CONFIG in
 
2821
  [\\/]* | ?:[\\/]*)
 
2822
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
2823
  ;;
 
2824
  *)
 
2825
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2826
for as_dir in $PATH
 
2827
do
 
2828
  IFS=$as_save_IFS
 
2829
  test -z "$as_dir" && as_dir=.
 
2830
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2831
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2832
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
2833
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2834
    break 2
 
2835
  fi
 
2836
done
 
2837
  done
 
2838
IFS=$as_save_IFS
 
2839
 
 
2840
  ;;
 
2841
esac
 
2842
fi
 
2843
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
2844
if test -n "$PKG_CONFIG"; then
 
2845
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
2846
$as_echo "$PKG_CONFIG" >&6; }
 
2847
else
 
2848
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2849
$as_echo "no" >&6; }
 
2850
fi
 
2851
 
 
2852
 
 
2853
fi
 
2854
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
2855
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
2856
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
2857
set dummy pkg-config; ac_word=$2
 
2858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2859
$as_echo_n "checking for $ac_word... " >&6; }
 
2860
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
2861
  $as_echo_n "(cached) " >&6
 
2862
else
 
2863
  case $ac_pt_PKG_CONFIG in
 
2864
  [\\/]* | ?:[\\/]*)
 
2865
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
2866
  ;;
 
2867
  *)
 
2868
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2869
for as_dir in $PATH
 
2870
do
 
2871
  IFS=$as_save_IFS
 
2872
  test -z "$as_dir" && as_dir=.
 
2873
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2875
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
2876
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2877
    break 2
 
2878
  fi
 
2879
done
 
2880
  done
 
2881
IFS=$as_save_IFS
 
2882
 
 
2883
  ;;
 
2884
esac
 
2885
fi
 
2886
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
2887
if test -n "$ac_pt_PKG_CONFIG"; then
 
2888
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
2889
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
2890
else
 
2891
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2892
$as_echo "no" >&6; }
 
2893
fi
 
2894
 
 
2895
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
2896
    PKG_CONFIG=""
 
2897
  else
 
2898
    case $cross_compiling:$ac_tool_warned in
 
2899
yes:)
 
2900
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2901
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2902
ac_tool_warned=yes ;;
 
2903
esac
 
2904
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
2905
  fi
 
2906
else
 
2907
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
2908
fi
 
2909
 
 
2910
fi
 
2911
if test -n "$PKG_CONFIG"; then
 
2912
        _pkg_min_version=0.9.0
 
2913
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
2914
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
2915
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
2916
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2917
$as_echo "yes" >&6; }
 
2918
        else
 
2919
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2920
$as_echo "no" >&6; }
 
2921
                PKG_CONFIG=""
 
2922
        fi
 
2923
fi
 
2924
 
 
2925
pkg_failed=no
 
2926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
 
2927
$as_echo_n "checking for DEPS... " >&6; }
 
2928
 
 
2929
if test -n "$DEPS_CFLAGS"; then
 
2930
    pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
 
2931
 elif test -n "$PKG_CONFIG"; then
 
2932
    if test -n "$PKG_CONFIG" && \
 
2933
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.20 x11 >= 1.4.3\""; } >&5
 
2934
  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.20 x11 >= 1.4.3") 2>&5
 
2935
  ac_status=$?
 
2936
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2937
  test $ac_status = 0; }; then
 
2938
  pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.20 x11 >= 1.4.3" 2>/dev/null`
 
2939
else
 
2940
  pkg_failed=yes
 
2941
fi
 
2942
 else
 
2943
    pkg_failed=untried
 
2944
fi
 
2945
if test -n "$DEPS_LIBS"; then
 
2946
    pkg_cv_DEPS_LIBS="$DEPS_LIBS"
 
2947
 elif test -n "$PKG_CONFIG"; then
 
2948
    if test -n "$PKG_CONFIG" && \
 
2949
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.20 x11 >= 1.4.3\""; } >&5
 
2950
  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.20 x11 >= 1.4.3") 2>&5
 
2951
  ac_status=$?
 
2952
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2953
  test $ac_status = 0; }; then
 
2954
  pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.20 x11 >= 1.4.3" 2>/dev/null`
 
2955
else
 
2956
  pkg_failed=yes
 
2957
fi
 
2958
 else
 
2959
    pkg_failed=untried
 
2960
fi
 
2961
 
 
2962
 
 
2963
 
 
2964
if test $pkg_failed = yes; then
 
2965
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2966
$as_echo "no" >&6; }
 
2967
 
 
2968
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
2969
        _pkg_short_errors_supported=yes
 
2970
else
 
2971
        _pkg_short_errors_supported=no
 
2972
fi
 
2973
        if test $_pkg_short_errors_supported = yes; then
 
2974
                DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.20 x11 >= 1.4.3" 2>&1`
 
2975
        else
 
2976
                DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.20 x11 >= 1.4.3" 2>&1`
 
2977
        fi
 
2978
        # Put the nasty error message in config.log where it belongs
 
2979
        echo "$DEPS_PKG_ERRORS" >&5
 
2980
 
 
2981
        have_deps=no
 
2982
elif test $pkg_failed = untried; then
 
2983
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2984
$as_echo "no" >&6; }
 
2985
        have_deps=no
 
2986
else
 
2987
        DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
 
2988
        DEPS_LIBS=$pkg_cv_DEPS_LIBS
 
2989
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2990
$as_echo "yes" >&6; }
 
2991
        have_deps=yes
 
2992
fi
 
2993
    if test "x$have_deps" = "xno" ; then
 
2994
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
 
2995
                 Required dependencies not found. These dependencies are
 
2996
                 run-time dependencies only and not required for building.
 
2997
                 Skip this check with --disable-runtime-deps.
 
2998
 
 
2999
                 Installing this version of xkeyboard-config on a host
 
3000
                 without the required dependencies may result in unusable
 
3001
                 keyboard layouts.
 
3002
                 " >&5
 
3003
$as_echo "$as_me: WARNING:
 
3004
                 Required dependencies not found. These dependencies are
 
3005
                 run-time dependencies only and not required for building.
 
3006
                 Skip this check with --disable-runtime-deps.
 
3007
 
 
3008
                 Installing this version of xkeyboard-config on a host
 
3009
                 without the required dependencies may result in unusable
 
3010
                 keyboard layouts.
 
3011
                 " >&2;}
 
3012
 
 
3013
        as_fn_error $? "$DEPS_PKG_ERRORS" "$LINENO" 5
 
3014
    fi
 
3015
fi
 
3016
 
2771
3017
 if test "x$xkb_rules_symlink" != "x"; then
2772
3018
  CREATE_RULES_SYMLINK_TRUE=
2773
3019
  CREATE_RULES_SYMLINK_FALSE='#'
5443
5689
 
5444
5690
 
5445
5691
 
5446
 
ac_config_files="$ac_config_files po/Makefile.in Makefile compat/Makefile geometry/Makefile geometry/digital_vndr/Makefile geometry/sgi_vndr/Makefile keycodes/Makefile keycodes/digital_vndr/Makefile keycodes/sgi_vndr/Makefile keymap/Makefile keymap/digital_vndr/Makefile keymap/sgi_vndr/Makefile keymap/sun_vndr/Makefile semantics/Makefile rules/Makefile rules/bin/Makefile rules/compat/Makefile rules/extras/Makefile symbols/Makefile symbols/digital_vndr/Makefile symbols/fujitsu_vndr/Makefile symbols/hp_vndr/Makefile symbols/macintosh_vndr/Makefile symbols/nec_vndr/Makefile symbols/nokia_vndr/Makefile symbols/sgi_vndr/Makefile symbols/sony_vndr/Makefile symbols/sun_vndr/Makefile symbols/xfree68_vndr/Makefile symbols/extras/Makefile types/Makefile xkeyboard-config.pc xkeyboard-config.spec docs/Makefile"
 
5692
ac_config_files="$ac_config_files po/Makefile.in Makefile compat/Makefile geometry/Makefile geometry/digital_vndr/Makefile geometry/sgi_vndr/Makefile keycodes/Makefile keycodes/digital_vndr/Makefile keycodes/sgi_vndr/Makefile keymap/Makefile keymap/digital_vndr/Makefile keymap/sgi_vndr/Makefile keymap/sun_vndr/Makefile semantics/Makefile rules/Makefile rules/bin/Makefile rules/compat/Makefile symbols/Makefile symbols/digital_vndr/Makefile symbols/fujitsu_vndr/Makefile symbols/hp_vndr/Makefile symbols/macintosh_vndr/Makefile symbols/nec_vndr/Makefile symbols/nokia_vndr/Makefile symbols/sgi_vndr/Makefile symbols/sony_vndr/Makefile symbols/sun_vndr/Makefile symbols/xfree68_vndr/Makefile types/Makefile xkeyboard-config.pc xkeyboard-config.spec docs/Makefile"
5447
5693
 
5448
5694
cat >confcache <<\_ACEOF
5449
5695
# This file is a shell script that caches the results of configure
6019
6265
# report actual input values of CONFIG_FILES etc. instead of their
6020
6266
# values after options handling.
6021
6267
ac_log="
6022
 
This file was extended by xkeyboard-config $as_me 2.1, which was
 
6268
This file was extended by xkeyboard-config $as_me 2.2.1, which was
6023
6269
generated by GNU Autoconf 2.67.  Invocation command line was
6024
6270
 
6025
6271
  CONFIG_FILES    = $CONFIG_FILES
6076
6322
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6077
6323
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6078
6324
ac_cs_version="\\
6079
 
xkeyboard-config config.status 2.1
 
6325
xkeyboard-config config.status 2.2.1
6080
6326
configured by $0, generated by GNU Autoconf 2.67,
6081
6327
  with options \\"\$ac_cs_config\\"
6082
6328
 
6214
6460
    "rules/Makefile") CONFIG_FILES="$CONFIG_FILES rules/Makefile" ;;
6215
6461
    "rules/bin/Makefile") CONFIG_FILES="$CONFIG_FILES rules/bin/Makefile" ;;
6216
6462
    "rules/compat/Makefile") CONFIG_FILES="$CONFIG_FILES rules/compat/Makefile" ;;
6217
 
    "rules/extras/Makefile") CONFIG_FILES="$CONFIG_FILES rules/extras/Makefile" ;;
6218
6463
    "symbols/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/Makefile" ;;
6219
6464
    "symbols/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/digital_vndr/Makefile" ;;
6220
6465
    "symbols/fujitsu_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/fujitsu_vndr/Makefile" ;;
6226
6471
    "symbols/sony_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sony_vndr/Makefile" ;;
6227
6472
    "symbols/sun_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sun_vndr/Makefile" ;;
6228
6473
    "symbols/xfree68_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/xfree68_vndr/Makefile" ;;
6229
 
    "symbols/extras/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/extras/Makefile" ;;
6230
6474
    "types/Makefile") CONFIG_FILES="$CONFIG_FILES types/Makefile" ;;
6231
6475
    "xkeyboard-config.pc") CONFIG_FILES="$CONFIG_FILES xkeyboard-config.pc" ;;
6232
6476
    "xkeyboard-config.spec") CONFIG_FILES="$CONFIG_FILES xkeyboard-config.spec" ;;