4535
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
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
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
4554
cat >conftest.$ac_ext <<_ACEOF
4557
cat confdefs.h >>conftest.$ac_ext
4558
cat >>conftest.$ac_ext <<_ACEOF
4559
/* end confdefs.h. */
4560
$ac_includes_default
4562
#include <$ac_header>
4564
rm -f conftest.$ac_objext
4565
if { (ac_try="$ac_compile"
4567
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4568
*) ac_try_echo=$ac_try;;
4570
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4571
(eval "$ac_compile") 2>conftest.er1
4573
grep -v '^ *+' conftest.er1 >conftest.err
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"
4583
echo "$as_me: failed program was:" >&5
4584
sed 's/^/| /' conftest.$ac_ext >&5
4586
eval "$as_ac_Header=no"
4589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
4606
for ac_header in linux/cdrom.h fcntl.h
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
4615
ac_res=`eval echo '${'$as_ac_Header'}'`
4616
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4617
echo "${ECHO_T}$ac_res" >&6; }
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
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>
4631
rm -f conftest.$ac_objext
4632
if { (ac_try="$ac_compile"
4634
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4635
*) ac_try_echo=$ac_try;;
4637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4638
(eval "$ac_compile") 2>conftest.er1
4640
grep -v '^ *+' conftest.er1 >conftest.err
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
4650
echo "$as_me: failed program was:" >&5
4651
sed 's/^/| /' conftest.$ac_ext >&5
4653
ac_header_compiler=no
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; }
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
4666
cat confdefs.h >>conftest.$ac_ext
4667
cat >>conftest.$ac_ext <<_ACEOF
4668
/* end confdefs.h. */
4669
#include <$ac_header>
4671
if { (ac_try="$ac_cpp conftest.$ac_ext"
4673
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4674
*) ac_try_echo=$ac_try;;
4676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4677
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4679
grep -v '^ *+' conftest.er1 >conftest.err
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
4687
ac_header_preproc=yes
4689
echo "$as_me: failed program was:" >&5
4690
sed 's/^/| /' conftest.$ac_ext >&5
4692
ac_header_preproc=no
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; }
4699
# So? What about this header?
4700
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
4722
## -------------------------------- ##
4723
## Report this to sbalneav@ltsp.org ##
4724
## -------------------------------- ##
4726
) | sed "s/^/$as_me: WARNING: /" >&2
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
4734
eval "$as_ac_Header=\$ac_header_preproc"
4736
ac_res=`eval echo '${'$as_ac_Header'}'`
4737
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4738
echo "${ECHO_T}$ac_res" >&6; }
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
4747
{ { echo "$as_me:$LINENO: error: Required header missing" >&5
4748
echo "$as_me: error: Required header missing" >&2;}
4749
{ (exit 1); exit 1; }; }
4486
4755
if test -z "$UDEV_RULES_PATH"; then
4487
4756
UDEV_RULES_PATH=/etc/udev/rules.d
4767
{ echo "$as_me:$LINENO: checking for GLIB" >&5
4768
echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
4770
if test -n "$PKG_CONFIG"; then
4771
if test -n "$GLIB_CFLAGS"; then
4772
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
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
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`
4788
if test -n "$PKG_CONFIG"; then
4789
if test -n "$GLIB_LIBS"; then
4790
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
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
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`
4809
if test $pkg_failed = yes; then
4811
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4812
_pkg_short_errors_supported=yes
4814
_pkg_short_errors_supported=no
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"`
4819
GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.6.0"`
4821
# Put the nasty error message in config.log where it belongs
4822
echo "$GLIB_PKG_ERRORS" >&5
4824
{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
4828
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4829
installed software in a non-standard prefix.
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.
4835
echo "$as_me: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
4839
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4840
installed software in a non-standard prefix.
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.
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
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.
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
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.
4866
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4867
See \`config.log' for more details." >&2;}
4868
{ (exit 1); exit 1; }; }
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; }
4878
{ echo "$as_me:$LINENO: checking for GOBJECT" >&5
4879
echo $ECHO_N "checking for GOBJECT... $ECHO_C" >&6; }
4881
if test -n "$PKG_CONFIG"; then
4882
if test -n "$GOBJECT_CFLAGS"; then
4883
pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
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
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`
4899
if test -n "$PKG_CONFIG"; then
4900
if test -n "$GOBJECT_LIBS"; then
4901
pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
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
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`
4920
if test $pkg_failed = yes; then
4922
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4923
_pkg_short_errors_supported=yes
4925
_pkg_short_errors_supported=no
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"`
4930
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 >= 2.6.0"`
4932
# Put the nasty error message in config.log where it belongs
4933
echo "$GOBJECT_PKG_ERRORS" >&5
4935
{ { echo "$as_me:$LINENO: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
4939
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4940
installed software in a non-standard prefix.
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.
4946
echo "$as_me: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
4950
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4951
installed software in a non-standard prefix.
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.
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
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.
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
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.
4977
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4978
See \`config.log' for more details." >&2;}
4979
{ (exit 1); exit 1; }; }
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; }
4496
4993
ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile scripts/Makefile udev/Makefile"
4498
4995
cat >confcache <<\_ACEOF