- Timestamp:
- 2023-04-08T21:00:25Z (20 months ago)
- Branches:
- master
- Children:
- 612b49d
- Parents:
- cad74fb
- git-author:
- Robert Scheck <robert-scheck@…> (08-04-23 21:00:25)
- git-committer:
- GitHub <noreply@…> (08-04-23 21:00:25)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rcad74fb r08964da 756 756 fi 757 757 758 if [ ! "$systemd" = 0]; then759 if ! $PKG_CONFIG --exists systemd 760 if [ $systemd -eq 1]; then758 if [ ! "$systemd" = "0" ]; then 759 if ! $PKG_CONFIG --exists systemd; then 760 if [ "$systemd" = "1" ]; then 761 761 echo "systemd requested but not found" 762 762 exit 1 … … 764 764 systemd=0 765 765 fi 766 elif [ $systemd= "auto" ]; then766 elif [ "$systemd" = "auto" ]; then 767 767 systemd=1 768 768 fi … … 771 771 pkgconf_systemd_var() { 772 772 # First try deprecated variable, use newer variable if not found 773 if $PKG_CONFIG --print-variables systemd | grep -q $1; then774 $PKG_CONFIG --variable= $1systemd773 if $PKG_CONFIG --print-variables systemd | grep -q "$1"; then 774 $PKG_CONFIG --variable="$1" systemd 775 775 else 776 $PKG_CONFIG --variable= $2systemd776 $PKG_CONFIG --variable="$2" systemd 777 777 fi 778 778 } 779 779 780 if [ "$systemd" -eq 1]; then780 if [ "$systemd" = "1" ]; then 781 781 if [ -z "$systemdsystemunitdir" ]; then 782 782 systemdsystemunitdir=$(pkgconf_systemd_var systemdsystemunitdir systemd_system_unit_dir) 783 783 fi 784 if [ -z "$sysusersdir" ] 784 if [ -z "$sysusersdir" ]; then 785 785 sysusersdir=$(pkgconf_systemd_var sysusersdir sysusers_dir) 786 786 fi
Note: See TracChangeset
for help on using the changeset viewer.