@@ -3805,7 +3805,7 @@ else
3805
3805
ac_cv_prog_ZIP=" $ZIP " # Let the user override the test.
3806
3806
else
3807
3807
as_save_IFS=$IFS ; IFS=$PATH_SEPARATOR
3808
- for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3808
+ for as_dir in $PATH
3809
3809
do
3810
3810
IFS=$as_save_IFS
3811
3811
test -z " $as_dir " && as_dir=.
@@ -3840,10 +3840,8 @@ INSTALL_DATA="\${INSTALL} -m 644"
3840
3840
INSTALL_BIN=" \$ {INSTALL} -m 755"
3841
3841
3842
3842
3843
- for ac_prog in cp
3844
- do
3845
- # Extract the first word of "$ac_prog", so it can be a program name with args.
3846
- set dummy $ac_prog ; ac_word=$2
3843
+ # Extract the first word of "cp", so it can be a program name with args.
3844
+ set dummy cp; ac_word=$2
3847
3845
{ $as_echo " $as_me :${as_lineno-$LINENO } : checking for $ac_word " >&5
3848
3846
$as_echo_n " checking for $ac_word ... " >&6 ; }
3849
3847
if ${ac_cv_path_PATH_CP+: } false ; then :
@@ -3855,7 +3853,7 @@ else
3855
3853
;;
3856
3854
* )
3857
3855
as_save_IFS=$IFS ; IFS=$PATH_SEPARATOR
3858
- for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3856
+ for as_dir in $PATH
3859
3857
do
3860
3858
IFS=$as_save_IFS
3861
3859
test -z " $as_dir " && as_dir=.
@@ -3882,14 +3880,8 @@ $as_echo "no" >&6; }
3882
3880
fi
3883
3881
3884
3882
3885
- test -n " $PATH_CP " && break
3886
- done
3887
- test -n " $PATH_CP " || PATH_CP=" cp"
3888
-
3889
- for ac_prog in chkconfig
3890
- do
3891
- # Extract the first word of "$ac_prog", so it can be a program name with args.
3892
- set dummy $ac_prog ; ac_word=$2
3883
+ # Extract the first word of "chkconfig", so it can be a program name with args.
3884
+ set dummy chkconfig; ac_word=$2
3893
3885
{ $as_echo " $as_me :${as_lineno-$LINENO } : checking for $ac_word " >&5
3894
3886
$as_echo_n " checking for $ac_word ... " >&6 ; }
3895
3887
if ${ac_cv_path_PATH_CHKCONFIG+: } false ; then :
@@ -3901,7 +3893,7 @@ else
3901
3893
;;
3902
3894
* )
3903
3895
as_save_IFS=$IFS ; IFS=$PATH_SEPARATOR
3904
- for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3896
+ for as_dir in $PATH
3905
3897
do
3906
3898
IFS=$as_save_IFS
3907
3899
test -z " $as_dir " && as_dir=.
@@ -3928,10 +3920,6 @@ $as_echo "no" >&6; }
3928
3920
fi
3929
3921
3930
3922
3931
- test -n " $PATH_CHKCONFIG " && break
3932
- done
3933
- test -n " $PATH_CHKCONFIG " || PATH_CHKCONFIG=" chkconfig"
3934
-
3935
3923
3936
3924
# Check for systemd
3937
3925
# Extract the first word of "pkg-config", so it can be a program name with args.
@@ -3971,10 +3959,8 @@ $as_echo "no" >&6; }
3971
3959
fi
3972
3960
3973
3961
3974
- for ac_prog in systemctl
3975
- do
3976
- # Extract the first word of "$ac_prog", so it can be a program name with args.
3977
- set dummy $ac_prog ; ac_word=$2
3962
+ # Extract the first word of "systemctl", so it can be a program name with args.
3963
+ set dummy systemctl; ac_word=$2
3978
3964
{ $as_echo " $as_me :${as_lineno-$LINENO } : checking for $ac_word " >&5
3979
3965
$as_echo_n " checking for $ac_word ... " >&6 ; }
3980
3966
if ${ac_cv_path_SYSTEMCTL+: } false ; then :
@@ -3986,7 +3972,7 @@ else
3986
3972
;;
3987
3973
* )
3988
3974
as_save_IFS=$IFS ; IFS=$PATH_SEPARATOR
3989
- for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3975
+ for as_dir in $PATH
3990
3976
do
3991
3977
IFS=$as_save_IFS
3992
3978
test -z " $as_dir " && as_dir=.
@@ -4013,10 +3999,6 @@ $as_echo "no" >&6; }
4013
3999
fi
4014
4000
4015
4001
4016
- test -n " $SYSTEMCTL " && break
4017
- done
4018
- test -n " $SYSTEMCTL " || SYSTEMCTL=" systemctl"
4019
-
4020
4002
4021
4003
# Check whether --with-systemdsystemunitdir was given.
4022
4004
if test " ${with_systemdsystemunitdir+set} " = set ; then :
0 commit comments