~ubuntu-branches/ubuntu/hardy/ltspfs/hardy-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2008-02-05 11:04:43 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: james.westby@ubuntu.com-20080205110443-zj6vn436pshbx3pl
Tags: upstream-0.5.0~bzr20080109
ImportĀ upstreamĀ versionĀ 0.5.0~bzr20080109

Show diffs side-by-side

added added

removed removed

Lines of Context:
579
579
PACKAGE_BUGREPORT='sbalneav@ltsp.org'
580
580
 
581
581
ac_unique_file="src/ltspfs.c"
 
582
# Factoring default headers for most tests.
 
583
ac_includes_default="\
 
584
#include <stdio.h>
 
585
#ifdef HAVE_SYS_TYPES_H
 
586
# include <sys/types.h>
 
587
#endif
 
588
#ifdef HAVE_SYS_STAT_H
 
589
# include <sys/stat.h>
 
590
#endif
 
591
#ifdef STDC_HEADERS
 
592
# include <stdlib.h>
 
593
# include <stddef.h>
 
594
#else
 
595
# ifdef HAVE_STDLIB_H
 
596
#  include <stdlib.h>
 
597
# endif
 
598
#endif
 
599
#ifdef HAVE_STRING_H
 
600
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
601
#  include <memory.h>
 
602
# endif
 
603
# include <string.h>
 
604
#endif
 
605
#ifdef HAVE_STRINGS_H
 
606
# include <strings.h>
 
607
#endif
 
608
#ifdef HAVE_INTTYPES_H
 
609
# include <inttypes.h>
 
610
#endif
 
611
#ifdef HAVE_STDINT_H
 
612
# include <stdint.h>
 
613
#endif
 
614
#ifdef HAVE_UNISTD_H
 
615
# include <unistd.h>
 
616
#endif"
 
617
 
582
618
ac_subst_vars='SHELL
583
619
PATH_SEPARATOR
584
620
PACKAGE_NAME
664
700
EGREP
665
701
UDEV_RULES_PATH
666
702
UDEV_LIB_PATH
 
703
GLIB_CFLAGS
 
704
GLIB_LIBS
 
705
GOBJECT_CFLAGS
 
706
GOBJECT_LIBS
667
707
LIBOBJS
668
708
LTLIBOBJS'
669
709
ac_subst_files=''
678
718
PKG_CONFIG
679
719
LTSPFS_CFLAGS
680
720
LTSPFS_LIBS
681
 
CPP'
 
721
CPP
 
722
GLIB_CFLAGS
 
723
GLIB_LIBS
 
724
GOBJECT_CFLAGS
 
725
GOBJECT_LIBS'
682
726
 
683
727
 
684
728
# Initialize some variables set by options.
1272
1316
              C compiler flags for LTSPFS, overriding pkg-config
1273
1317
  LTSPFS_LIBS linker flags for LTSPFS, overriding pkg-config
1274
1318
  CPP         C preprocessor
 
1319
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
 
1320
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
 
1321
  GOBJECT_CFLAGS
 
1322
              C compiler flags for GOBJECT, overriding pkg-config
 
1323
  GOBJECT_LIBS
 
1324
              linker flags for GOBJECT, overriding pkg-config
1275
1325
 
1276
1326
Use these variables to override the choices made by `configure' or to help
1277
1327
it to find libraries and programs with nonstandard names/locations.
4482
4532
 
4483
4533
fi
4484
4534
 
 
4535
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4536
 
 
4537
 
 
4538
 
 
4539
 
 
4540
 
 
4541
 
 
4542
 
 
4543
 
 
4544
 
 
4545
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4546
                  inttypes.h stdint.h unistd.h
 
4547
do
 
4548
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4549
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4550
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4551
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4552
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4553
else
 
4554
  cat >conftest.$ac_ext <<_ACEOF
 
4555
/* confdefs.h.  */
 
4556
_ACEOF
 
4557
cat confdefs.h >>conftest.$ac_ext
 
4558
cat >>conftest.$ac_ext <<_ACEOF
 
4559
/* end confdefs.h.  */
 
4560
$ac_includes_default
 
4561
 
 
4562
#include <$ac_header>
 
4563
_ACEOF
 
4564
rm -f conftest.$ac_objext
 
4565
if { (ac_try="$ac_compile"
 
4566
case "(($ac_try" in
 
4567
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4568
  *) ac_try_echo=$ac_try;;
 
4569
esac
 
4570
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4571
  (eval "$ac_compile") 2>conftest.er1
 
4572
  ac_status=$?
 
4573
  grep -v '^ *+' conftest.er1 >conftest.err
 
4574
  rm -f conftest.er1
 
4575
  cat conftest.err >&5
 
4576
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4577
  (exit $ac_status); } && {
 
4578
         test -z "$ac_c_werror_flag" ||
 
4579
         test ! -s conftest.err
 
4580
       } && test -s conftest.$ac_objext; then
 
4581
  eval "$as_ac_Header=yes"
 
4582
else
 
4583
  echo "$as_me: failed program was:" >&5
 
4584
sed 's/^/| /' conftest.$ac_ext >&5
 
4585
 
 
4586
        eval "$as_ac_Header=no"
 
4587
fi
 
4588
 
 
4589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4590
fi
 
4591
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4592
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4593
echo "${ECHO_T}$ac_res" >&6; }
 
4594
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4595
  cat >>confdefs.h <<_ACEOF
 
4596
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4597
_ACEOF
 
4598
 
 
4599
fi
 
4600
 
 
4601
done
 
4602
 
 
4603
 
 
4604
 
 
4605
 
 
4606
for ac_header in linux/cdrom.h fcntl.h
 
4607
do
 
4608
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4609
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4610
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4611
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4612
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4613
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4614
fi
 
4615
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4616
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4617
echo "${ECHO_T}$ac_res" >&6; }
 
4618
else
 
4619
  # Is the header compilable?
 
4620
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4621
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4622
cat >conftest.$ac_ext <<_ACEOF
 
4623
/* confdefs.h.  */
 
4624
_ACEOF
 
4625
cat confdefs.h >>conftest.$ac_ext
 
4626
cat >>conftest.$ac_ext <<_ACEOF
 
4627
/* end confdefs.h.  */
 
4628
$ac_includes_default
 
4629
#include <$ac_header>
 
4630
_ACEOF
 
4631
rm -f conftest.$ac_objext
 
4632
if { (ac_try="$ac_compile"
 
4633
case "(($ac_try" in
 
4634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4635
  *) ac_try_echo=$ac_try;;
 
4636
esac
 
4637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4638
  (eval "$ac_compile") 2>conftest.er1
 
4639
  ac_status=$?
 
4640
  grep -v '^ *+' conftest.er1 >conftest.err
 
4641
  rm -f conftest.er1
 
4642
  cat conftest.err >&5
 
4643
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4644
  (exit $ac_status); } && {
 
4645
         test -z "$ac_c_werror_flag" ||
 
4646
         test ! -s conftest.err
 
4647
       } && test -s conftest.$ac_objext; then
 
4648
  ac_header_compiler=yes
 
4649
else
 
4650
  echo "$as_me: failed program was:" >&5
 
4651
sed 's/^/| /' conftest.$ac_ext >&5
 
4652
 
 
4653
        ac_header_compiler=no
 
4654
fi
 
4655
 
 
4656
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4657
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4658
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4659
 
 
4660
# Is the header present?
 
4661
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4662
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4663
cat >conftest.$ac_ext <<_ACEOF
 
4664
/* confdefs.h.  */
 
4665
_ACEOF
 
4666
cat confdefs.h >>conftest.$ac_ext
 
4667
cat >>conftest.$ac_ext <<_ACEOF
 
4668
/* end confdefs.h.  */
 
4669
#include <$ac_header>
 
4670
_ACEOF
 
4671
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4672
case "(($ac_try" in
 
4673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4674
  *) ac_try_echo=$ac_try;;
 
4675
esac
 
4676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4677
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4678
  ac_status=$?
 
4679
  grep -v '^ *+' conftest.er1 >conftest.err
 
4680
  rm -f conftest.er1
 
4681
  cat conftest.err >&5
 
4682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4683
  (exit $ac_status); } >/dev/null && {
 
4684
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4685
         test ! -s conftest.err
 
4686
       }; then
 
4687
  ac_header_preproc=yes
 
4688
else
 
4689
  echo "$as_me: failed program was:" >&5
 
4690
sed 's/^/| /' conftest.$ac_ext >&5
 
4691
 
 
4692
  ac_header_preproc=no
 
4693
fi
 
4694
 
 
4695
rm -f conftest.err conftest.$ac_ext
 
4696
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4697
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4698
 
 
4699
# So?  What about this header?
 
4700
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
4701
  yes:no: )
 
4702
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4703
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4704
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4705
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4706
    ac_header_preproc=yes
 
4707
    ;;
 
4708
  no:yes:* )
 
4709
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4710
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4711
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4712
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4713
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4714
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4715
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4716
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4717
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4718
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4719
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4720
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4721
    ( cat <<\_ASBOX
 
4722
## -------------------------------- ##
 
4723
## Report this to sbalneav@ltsp.org ##
 
4724
## -------------------------------- ##
 
4725
_ASBOX
 
4726
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
4727
    ;;
 
4728
esac
 
4729
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4730
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4731
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4732
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4733
else
 
4734
  eval "$as_ac_Header=\$ac_header_preproc"
 
4735
fi
 
4736
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4737
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4738
echo "${ECHO_T}$ac_res" >&6; }
 
4739
 
 
4740
fi
 
4741
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4742
  cat >>confdefs.h <<_ACEOF
 
4743
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4744
_ACEOF
 
4745
 
 
4746
else
 
4747
  { { echo "$as_me:$LINENO: error: Required header missing" >&5
 
4748
echo "$as_me: error: Required header missing" >&2;}
 
4749
   { (exit 1); exit 1; }; }
 
4750
fi
 
4751
 
 
4752
done
 
4753
 
4485
4754
 
4486
4755
if test -z "$UDEV_RULES_PATH"; then
4487
4756
        UDEV_RULES_PATH=/etc/udev/rules.d
4493
4762
fi
4494
4763
 
4495
4764
 
 
4765
 
 
4766
pkg_failed=no
 
4767
{ echo "$as_me:$LINENO: checking for GLIB" >&5
 
4768
echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
 
4769
 
 
4770
if test -n "$PKG_CONFIG"; then
 
4771
    if test -n "$GLIB_CFLAGS"; then
 
4772
        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
 
4773
    else
 
4774
        if test -n "$PKG_CONFIG" && \
 
4775
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\"") >&5
 
4776
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6.0") 2>&5
 
4777
  ac_status=$?
 
4778
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4779
  (exit $ac_status); }; then
 
4780
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.6.0" 2>/dev/null`
 
4781
else
 
4782
  pkg_failed=yes
 
4783
fi
 
4784
    fi
 
4785
else
 
4786
        pkg_failed=untried
 
4787
fi
 
4788
if test -n "$PKG_CONFIG"; then
 
4789
    if test -n "$GLIB_LIBS"; then
 
4790
        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
 
4791
    else
 
4792
        if test -n "$PKG_CONFIG" && \
 
4793
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\"") >&5
 
4794
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6.0") 2>&5
 
4795
  ac_status=$?
 
4796
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4797
  (exit $ac_status); }; then
 
4798
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.6.0" 2>/dev/null`
 
4799
else
 
4800
  pkg_failed=yes
 
4801
fi
 
4802
    fi
 
4803
else
 
4804
        pkg_failed=untried
 
4805
fi
 
4806
 
 
4807
 
 
4808
 
 
4809
if test $pkg_failed = yes; then
 
4810
 
 
4811
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
4812
        _pkg_short_errors_supported=yes
 
4813
else
 
4814
        _pkg_short_errors_supported=no
 
4815
fi
 
4816
        if test $_pkg_short_errors_supported = yes; then
 
4817
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.6.0"`
 
4818
        else
 
4819
                GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.6.0"`
 
4820
        fi
 
4821
        # Put the nasty error message in config.log where it belongs
 
4822
        echo "$GLIB_PKG_ERRORS" >&5
 
4823
 
 
4824
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
 
4825
 
 
4826
$GLIB_PKG_ERRORS
 
4827
 
 
4828
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4829
installed software in a non-standard prefix.
 
4830
 
 
4831
Alternatively, you may set the environment variables GLIB_CFLAGS
 
4832
and GLIB_LIBS to avoid the need to call pkg-config.
 
4833
See the pkg-config man page for more details.
 
4834
" >&5
 
4835
echo "$as_me: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
 
4836
 
 
4837
$GLIB_PKG_ERRORS
 
4838
 
 
4839
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4840
installed software in a non-standard prefix.
 
4841
 
 
4842
Alternatively, you may set the environment variables GLIB_CFLAGS
 
4843
and GLIB_LIBS to avoid the need to call pkg-config.
 
4844
See the pkg-config man page for more details.
 
4845
" >&2;}
 
4846
   { (exit 1); exit 1; }; }
 
4847
elif test $pkg_failed = untried; then
 
4848
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
4849
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4850
path to pkg-config.
 
4851
 
 
4852
Alternatively, you may set the environment variables GLIB_CFLAGS
 
4853
and GLIB_LIBS to avoid the need to call pkg-config.
 
4854
See the pkg-config man page for more details.
 
4855
 
 
4856
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4857
See \`config.log' for more details." >&5
 
4858
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
4859
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4860
path to pkg-config.
 
4861
 
 
4862
Alternatively, you may set the environment variables GLIB_CFLAGS
 
4863
and GLIB_LIBS to avoid the need to call pkg-config.
 
4864
See the pkg-config man page for more details.
 
4865
 
 
4866
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4867
See \`config.log' for more details." >&2;}
 
4868
   { (exit 1); exit 1; }; }
 
4869
else
 
4870
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
 
4871
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
 
4872
        { echo "$as_me:$LINENO: result: yes" >&5
 
4873
echo "${ECHO_T}yes" >&6; }
 
4874
        :
 
4875
fi
 
4876
 
 
4877
pkg_failed=no
 
4878
{ echo "$as_me:$LINENO: checking for GOBJECT" >&5
 
4879
echo $ECHO_N "checking for GOBJECT... $ECHO_C" >&6; }
 
4880
 
 
4881
if test -n "$PKG_CONFIG"; then
 
4882
    if test -n "$GOBJECT_CFLAGS"; then
 
4883
        pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
 
4884
    else
 
4885
        if test -n "$PKG_CONFIG" && \
 
4886
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\"") >&5
 
4887
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.6.0") 2>&5
 
4888
  ac_status=$?
 
4889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4890
  (exit $ac_status); }; then
 
4891
  pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.6.0" 2>/dev/null`
 
4892
else
 
4893
  pkg_failed=yes
 
4894
fi
 
4895
    fi
 
4896
else
 
4897
        pkg_failed=untried
 
4898
fi
 
4899
if test -n "$PKG_CONFIG"; then
 
4900
    if test -n "$GOBJECT_LIBS"; then
 
4901
        pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
 
4902
    else
 
4903
        if test -n "$PKG_CONFIG" && \
 
4904
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\"") >&5
 
4905
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.6.0") 2>&5
 
4906
  ac_status=$?
 
4907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4908
  (exit $ac_status); }; then
 
4909
  pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.6.0" 2>/dev/null`
 
4910
else
 
4911
  pkg_failed=yes
 
4912
fi
 
4913
    fi
 
4914
else
 
4915
        pkg_failed=untried
 
4916
fi
 
4917
 
 
4918
 
 
4919
 
 
4920
if test $pkg_failed = yes; then
 
4921
 
 
4922
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
4923
        _pkg_short_errors_supported=yes
 
4924
else
 
4925
        _pkg_short_errors_supported=no
 
4926
fi
 
4927
        if test $_pkg_short_errors_supported = yes; then
 
4928
                GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0 >= 2.6.0"`
 
4929
        else
 
4930
                GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 >= 2.6.0"`
 
4931
        fi
 
4932
        # Put the nasty error message in config.log where it belongs
 
4933
        echo "$GOBJECT_PKG_ERRORS" >&5
 
4934
 
 
4935
        { { echo "$as_me:$LINENO: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
 
4936
 
 
4937
$GOBJECT_PKG_ERRORS
 
4938
 
 
4939
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4940
installed software in a non-standard prefix.
 
4941
 
 
4942
Alternatively, you may set the environment variables GOBJECT_CFLAGS
 
4943
and GOBJECT_LIBS to avoid the need to call pkg-config.
 
4944
See the pkg-config man page for more details.
 
4945
" >&5
 
4946
echo "$as_me: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
 
4947
 
 
4948
$GOBJECT_PKG_ERRORS
 
4949
 
 
4950
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4951
installed software in a non-standard prefix.
 
4952
 
 
4953
Alternatively, you may set the environment variables GOBJECT_CFLAGS
 
4954
and GOBJECT_LIBS to avoid the need to call pkg-config.
 
4955
See the pkg-config man page for more details.
 
4956
" >&2;}
 
4957
   { (exit 1); exit 1; }; }
 
4958
elif test $pkg_failed = untried; then
 
4959
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
4960
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4961
path to pkg-config.
 
4962
 
 
4963
Alternatively, you may set the environment variables GOBJECT_CFLAGS
 
4964
and GOBJECT_LIBS to avoid the need to call pkg-config.
 
4965
See the pkg-config man page for more details.
 
4966
 
 
4967
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4968
See \`config.log' for more details." >&5
 
4969
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
4970
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4971
path to pkg-config.
 
4972
 
 
4973
Alternatively, you may set the environment variables GOBJECT_CFLAGS
 
4974
and GOBJECT_LIBS to avoid the need to call pkg-config.
 
4975
See the pkg-config man page for more details.
 
4976
 
 
4977
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4978
See \`config.log' for more details." >&2;}
 
4979
   { (exit 1); exit 1; }; }
 
4980
else
 
4981
        GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
 
4982
        GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
 
4983
        { echo "$as_me:$LINENO: result: yes" >&5
 
4984
echo "${ECHO_T}yes" >&6; }
 
4985
        :
 
4986
fi
 
4987
 
 
4988
 
 
4989
 
 
4990
 
 
4991
 
 
4992
 
4496
4993
ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile scripts/Makefile udev/Makefile"
4497
4994
 
4498
4995
cat >confcache <<\_ACEOF
5232
5729
EGREP!$EGREP$ac_delim
5233
5730
UDEV_RULES_PATH!$UDEV_RULES_PATH$ac_delim
5234
5731
UDEV_LIB_PATH!$UDEV_LIB_PATH$ac_delim
 
5732
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
 
5733
GLIB_LIBS!$GLIB_LIBS$ac_delim
 
5734
GOBJECT_CFLAGS!$GOBJECT_CFLAGS$ac_delim
 
5735
GOBJECT_LIBS!$GOBJECT_LIBS$ac_delim
5235
5736
LIBOBJS!$LIBOBJS$ac_delim
5236
5737
LTLIBOBJS!$LTLIBOBJS$ac_delim
5237
5738
_ACEOF
5238
5739
 
5239
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 87; then
 
5740
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
5240
5741
    break
5241
5742
  elif $ac_last_try; then
5242
5743
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5