Lines 23030-23035
fi
Link Here
|
23030 |
# Put the nasty error message in config.log where it belongs |
23030 |
# Put the nasty error message in config.log where it belongs |
23031 |
echo "$LOGIND_PKG_ERRORS" >&5 |
23031 |
echo "$LOGIND_PKG_ERRORS" >&5 |
23032 |
|
23032 |
|
|
|
23033 |
|
23034 |
|
23035 |
pkg_failed=no |
23036 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5 |
23037 |
$as_echo_n "checking for libsystemd... " >&6; } |
23038 |
|
23039 |
if test -n "$LOGIND_CFLAGS"; then |
23040 |
pkg_cv_LOGIND_CFLAGS="$LOGIND_CFLAGS" |
23041 |
elif test -n "$PKG_CONFIG"; then |
23042 |
if test -n "$PKG_CONFIG" && \ |
23043 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 |
23044 |
($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 |
23045 |
ac_status=$? |
23046 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
23047 |
test $ac_status = 0; }; then |
23048 |
pkg_cv_LOGIND_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null` |
23049 |
test "x$?" != "x0" && pkg_failed=yes |
23050 |
else |
23051 |
pkg_failed=yes |
23052 |
fi |
23053 |
else |
23054 |
pkg_failed=untried |
23055 |
fi |
23056 |
if test -n "$LOGIND_LIBS"; then |
23057 |
pkg_cv_LOGIND_LIBS="$LOGIND_LIBS" |
23058 |
elif test -n "$PKG_CONFIG"; then |
23059 |
if test -n "$PKG_CONFIG" && \ |
23060 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 |
23061 |
($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 |
23062 |
ac_status=$? |
23063 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
23064 |
test $ac_status = 0; }; then |
23065 |
pkg_cv_LOGIND_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null` |
23066 |
test "x$?" != "x0" && pkg_failed=yes |
23067 |
else |
23068 |
pkg_failed=yes |
23069 |
fi |
23070 |
else |
23071 |
pkg_failed=untried |
23072 |
fi |
23073 |
|
23074 |
|
23075 |
|
23076 |
if test $pkg_failed = yes; then |
23077 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23078 |
$as_echo "no" >&6; } |
23079 |
|
23080 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
23081 |
_pkg_short_errors_supported=yes |
23082 |
else |
23083 |
_pkg_short_errors_supported=no |
23084 |
fi |
23085 |
if test $_pkg_short_errors_supported = yes; then |
23086 |
LOGIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1` |
23087 |
else |
23088 |
LOGIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1` |
23089 |
fi |
23090 |
# Put the nasty error message in config.log where it belongs |
23091 |
echo "$LOGIND_PKG_ERRORS" >&5 |
23092 |
|
23093 |
|
23094 |
|
23095 |
pkg_failed=no |
23096 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libelogind" >&5 |
23097 |
$as_echo_n "checking for libelogind... " >&6; } |
23098 |
|
23099 |
if test -n "$LOGIND_CFLAGS"; then |
23100 |
pkg_cv_LOGIND_CFLAGS="$LOGIND_CFLAGS" |
23101 |
elif test -n "$PKG_CONFIG"; then |
23102 |
if test -n "$PKG_CONFIG" && \ |
23103 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelogind\""; } >&5 |
23104 |
($PKG_CONFIG --exists --print-errors "libelogind") 2>&5 |
23105 |
ac_status=$? |
23106 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
23107 |
test $ac_status = 0; }; then |
23108 |
pkg_cv_LOGIND_CFLAGS=`$PKG_CONFIG --cflags "libelogind" 2>/dev/null` |
23109 |
test "x$?" != "x0" && pkg_failed=yes |
23110 |
else |
23111 |
pkg_failed=yes |
23112 |
fi |
23113 |
else |
23114 |
pkg_failed=untried |
23115 |
fi |
23116 |
if test -n "$LOGIND_LIBS"; then |
23117 |
pkg_cv_LOGIND_LIBS="$LOGIND_LIBS" |
23118 |
elif test -n "$PKG_CONFIG"; then |
23119 |
if test -n "$PKG_CONFIG" && \ |
23120 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelogind\""; } >&5 |
23121 |
($PKG_CONFIG --exists --print-errors "libelogind") 2>&5 |
23122 |
ac_status=$? |
23123 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
23124 |
test $ac_status = 0; }; then |
23125 |
pkg_cv_LOGIND_LIBS=`$PKG_CONFIG --libs "libelogind" 2>/dev/null` |
23126 |
test "x$?" != "x0" && pkg_failed=yes |
23127 |
else |
23128 |
pkg_failed=yes |
23129 |
fi |
23130 |
else |
23131 |
pkg_failed=untried |
23132 |
fi |
23133 |
|
23134 |
|
23135 |
|
23136 |
if test $pkg_failed = yes; then |
23137 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23138 |
$as_echo "no" >&6; } |
23139 |
|
23140 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
23141 |
_pkg_short_errors_supported=yes |
23142 |
else |
23143 |
_pkg_short_errors_supported=no |
23144 |
fi |
23145 |
if test $_pkg_short_errors_supported = yes; then |
23146 |
LOGIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libelogind" 2>&1` |
23147 |
else |
23148 |
LOGIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libelogind" 2>&1` |
23149 |
fi |
23150 |
# Put the nasty error message in config.log where it belongs |
23151 |
echo "$LOGIND_PKG_ERRORS" >&5 |
23152 |
|
23033 |
have_logind=no |
23153 |
have_logind=no |
23034 |
elif test $pkg_failed = untried; then |
23154 |
elif test $pkg_failed = untried; then |
23035 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23155 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
Lines 23042-23053
else
Link Here
|
23042 |
$as_echo "yes" >&6; } |
23162 |
$as_echo "yes" >&6; } |
23043 |
have_logind=yes |
23163 |
have_logind=yes |
23044 |
fi |
23164 |
fi |
|
|
23165 |
|
23166 |
elif test $pkg_failed = untried; then |
23167 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23168 |
$as_echo "no" >&6; } |
23169 |
|
23170 |
|
23171 |
pkg_failed=no |
23172 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libelogind" >&5 |
23173 |
$as_echo_n "checking for libelogind... " >&6; } |
23174 |
|
23175 |
if test -n "$LOGIND_CFLAGS"; then |
23176 |
pkg_cv_LOGIND_CFLAGS="$LOGIND_CFLAGS" |
23177 |
elif test -n "$PKG_CONFIG"; then |
23178 |
if test -n "$PKG_CONFIG" && \ |
23179 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelogind\""; } >&5 |
23180 |
($PKG_CONFIG --exists --print-errors "libelogind") 2>&5 |
23181 |
ac_status=$? |
23182 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
23183 |
test $ac_status = 0; }; then |
23184 |
pkg_cv_LOGIND_CFLAGS=`$PKG_CONFIG --cflags "libelogind" 2>/dev/null` |
23185 |
test "x$?" != "x0" && pkg_failed=yes |
23186 |
else |
23187 |
pkg_failed=yes |
23188 |
fi |
23189 |
else |
23190 |
pkg_failed=untried |
23191 |
fi |
23192 |
if test -n "$LOGIND_LIBS"; then |
23193 |
pkg_cv_LOGIND_LIBS="$LOGIND_LIBS" |
23194 |
elif test -n "$PKG_CONFIG"; then |
23195 |
if test -n "$PKG_CONFIG" && \ |
23196 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelogind\""; } >&5 |
23197 |
($PKG_CONFIG --exists --print-errors "libelogind") 2>&5 |
23198 |
ac_status=$? |
23199 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
23200 |
test $ac_status = 0; }; then |
23201 |
pkg_cv_LOGIND_LIBS=`$PKG_CONFIG --libs "libelogind" 2>/dev/null` |
23202 |
test "x$?" != "x0" && pkg_failed=yes |
23203 |
else |
23204 |
pkg_failed=yes |
23205 |
fi |
23206 |
else |
23207 |
pkg_failed=untried |
23208 |
fi |
23209 |
|
23210 |
|
23211 |
|
23212 |
if test $pkg_failed = yes; then |
23213 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23214 |
$as_echo "no" >&6; } |
23215 |
|
23216 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
23217 |
_pkg_short_errors_supported=yes |
23218 |
else |
23219 |
_pkg_short_errors_supported=no |
23220 |
fi |
23221 |
if test $_pkg_short_errors_supported = yes; then |
23222 |
LOGIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libelogind" 2>&1` |
23223 |
else |
23224 |
LOGIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libelogind" 2>&1` |
23225 |
fi |
23226 |
# Put the nasty error message in config.log where it belongs |
23227 |
echo "$LOGIND_PKG_ERRORS" >&5 |
23228 |
|
23229 |
have_logind=no |
23230 |
elif test $pkg_failed = untried; then |
23231 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23232 |
$as_echo "no" >&6; } |
23233 |
have_logind=no |
23234 |
else |
23235 |
LOGIND_CFLAGS=$pkg_cv_LOGIND_CFLAGS |
23236 |
LOGIND_LIBS=$pkg_cv_LOGIND_LIBS |
23237 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
23238 |
$as_echo "yes" >&6; } |
23239 |
have_logind=yes |
23240 |
fi |
23241 |
|
23242 |
else |
23243 |
LOGIND_CFLAGS=$pkg_cv_LOGIND_CFLAGS |
23244 |
LOGIND_LIBS=$pkg_cv_LOGIND_LIBS |
23245 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
23246 |
$as_echo "yes" >&6; } |
23247 |
have_logind=yes |
23248 |
fi |
23249 |
|
23250 |
elif test $pkg_failed = untried; then |
23251 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23252 |
$as_echo "no" >&6; } |
23253 |
|
23254 |
|
23255 |
pkg_failed=no |
23256 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5 |
23257 |
$as_echo_n "checking for libsystemd... " >&6; } |
23258 |
|
23259 |
if test -n "$LOGIND_CFLAGS"; then |
23260 |
pkg_cv_LOGIND_CFLAGS="$LOGIND_CFLAGS" |
23261 |
elif test -n "$PKG_CONFIG"; then |
23262 |
if test -n "$PKG_CONFIG" && \ |
23263 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 |
23264 |
($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 |
23265 |
ac_status=$? |
23266 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
23267 |
test $ac_status = 0; }; then |
23268 |
pkg_cv_LOGIND_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null` |
23269 |
test "x$?" != "x0" && pkg_failed=yes |
23270 |
else |
23271 |
pkg_failed=yes |
23272 |
fi |
23273 |
else |
23274 |
pkg_failed=untried |
23275 |
fi |
23276 |
if test -n "$LOGIND_LIBS"; then |
23277 |
pkg_cv_LOGIND_LIBS="$LOGIND_LIBS" |
23278 |
elif test -n "$PKG_CONFIG"; then |
23279 |
if test -n "$PKG_CONFIG" && \ |
23280 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 |
23281 |
($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 |
23282 |
ac_status=$? |
23283 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
23284 |
test $ac_status = 0; }; then |
23285 |
pkg_cv_LOGIND_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null` |
23286 |
test "x$?" != "x0" && pkg_failed=yes |
23287 |
else |
23288 |
pkg_failed=yes |
23289 |
fi |
23290 |
else |
23291 |
pkg_failed=untried |
23292 |
fi |
23293 |
|
23294 |
|
23295 |
|
23296 |
if test $pkg_failed = yes; then |
23297 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23298 |
$as_echo "no" >&6; } |
23299 |
|
23300 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
23301 |
_pkg_short_errors_supported=yes |
23302 |
else |
23303 |
_pkg_short_errors_supported=no |
23304 |
fi |
23305 |
if test $_pkg_short_errors_supported = yes; then |
23306 |
LOGIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1` |
23307 |
else |
23308 |
LOGIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1` |
23309 |
fi |
23310 |
# Put the nasty error message in config.log where it belongs |
23311 |
echo "$LOGIND_PKG_ERRORS" >&5 |
23312 |
|
23313 |
|
23314 |
|
23315 |
pkg_failed=no |
23316 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libelogind" >&5 |
23317 |
$as_echo_n "checking for libelogind... " >&6; } |
23318 |
|
23319 |
if test -n "$LOGIND_CFLAGS"; then |
23320 |
pkg_cv_LOGIND_CFLAGS="$LOGIND_CFLAGS" |
23321 |
elif test -n "$PKG_CONFIG"; then |
23322 |
if test -n "$PKG_CONFIG" && \ |
23323 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelogind\""; } >&5 |
23324 |
($PKG_CONFIG --exists --print-errors "libelogind") 2>&5 |
23325 |
ac_status=$? |
23326 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
23327 |
test $ac_status = 0; }; then |
23328 |
pkg_cv_LOGIND_CFLAGS=`$PKG_CONFIG --cflags "libelogind" 2>/dev/null` |
23329 |
test "x$?" != "x0" && pkg_failed=yes |
23330 |
else |
23331 |
pkg_failed=yes |
23332 |
fi |
23333 |
else |
23334 |
pkg_failed=untried |
23335 |
fi |
23336 |
if test -n "$LOGIND_LIBS"; then |
23337 |
pkg_cv_LOGIND_LIBS="$LOGIND_LIBS" |
23338 |
elif test -n "$PKG_CONFIG"; then |
23339 |
if test -n "$PKG_CONFIG" && \ |
23340 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelogind\""; } >&5 |
23341 |
($PKG_CONFIG --exists --print-errors "libelogind") 2>&5 |
23342 |
ac_status=$? |
23343 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
23344 |
test $ac_status = 0; }; then |
23345 |
pkg_cv_LOGIND_LIBS=`$PKG_CONFIG --libs "libelogind" 2>/dev/null` |
23346 |
test "x$?" != "x0" && pkg_failed=yes |
23347 |
else |
23348 |
pkg_failed=yes |
23349 |
fi |
23350 |
else |
23351 |
pkg_failed=untried |
23352 |
fi |
23353 |
|
23354 |
|
23355 |
|
23356 |
if test $pkg_failed = yes; then |
23357 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23358 |
$as_echo "no" >&6; } |
23359 |
|
23360 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
23361 |
_pkg_short_errors_supported=yes |
23362 |
else |
23363 |
_pkg_short_errors_supported=no |
23364 |
fi |
23365 |
if test $_pkg_short_errors_supported = yes; then |
23366 |
LOGIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libelogind" 2>&1` |
23367 |
else |
23368 |
LOGIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libelogind" 2>&1` |
23369 |
fi |
23370 |
# Put the nasty error message in config.log where it belongs |
23371 |
echo "$LOGIND_PKG_ERRORS" >&5 |
23372 |
|
23373 |
have_logind=no |
23374 |
elif test $pkg_failed = untried; then |
23375 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23376 |
$as_echo "no" >&6; } |
23377 |
have_logind=no |
23378 |
else |
23379 |
LOGIND_CFLAGS=$pkg_cv_LOGIND_CFLAGS |
23380 |
LOGIND_LIBS=$pkg_cv_LOGIND_LIBS |
23381 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
23382 |
$as_echo "yes" >&6; } |
23383 |
have_logind=yes |
23384 |
fi |
23385 |
|
23386 |
elif test $pkg_failed = untried; then |
23387 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23388 |
$as_echo "no" >&6; } |
23389 |
|
23390 |
|
23391 |
pkg_failed=no |
23392 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libelogind" >&5 |
23393 |
$as_echo_n "checking for libelogind... " >&6; } |
23394 |
|
23395 |
if test -n "$LOGIND_CFLAGS"; then |
23396 |
pkg_cv_LOGIND_CFLAGS="$LOGIND_CFLAGS" |
23397 |
elif test -n "$PKG_CONFIG"; then |
23398 |
if test -n "$PKG_CONFIG" && \ |
23399 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelogind\""; } >&5 |
23400 |
($PKG_CONFIG --exists --print-errors "libelogind") 2>&5 |
23401 |
ac_status=$? |
23402 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
23403 |
test $ac_status = 0; }; then |
23404 |
pkg_cv_LOGIND_CFLAGS=`$PKG_CONFIG --cflags "libelogind" 2>/dev/null` |
23405 |
test "x$?" != "x0" && pkg_failed=yes |
23406 |
else |
23407 |
pkg_failed=yes |
23408 |
fi |
23409 |
else |
23410 |
pkg_failed=untried |
23411 |
fi |
23412 |
if test -n "$LOGIND_LIBS"; then |
23413 |
pkg_cv_LOGIND_LIBS="$LOGIND_LIBS" |
23414 |
elif test -n "$PKG_CONFIG"; then |
23415 |
if test -n "$PKG_CONFIG" && \ |
23416 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelogind\""; } >&5 |
23417 |
($PKG_CONFIG --exists --print-errors "libelogind") 2>&5 |
23418 |
ac_status=$? |
23419 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
23420 |
test $ac_status = 0; }; then |
23421 |
pkg_cv_LOGIND_LIBS=`$PKG_CONFIG --libs "libelogind" 2>/dev/null` |
23422 |
test "x$?" != "x0" && pkg_failed=yes |
23423 |
else |
23424 |
pkg_failed=yes |
23425 |
fi |
23426 |
else |
23427 |
pkg_failed=untried |
23428 |
fi |
23429 |
|
23430 |
|
23431 |
|
23432 |
if test $pkg_failed = yes; then |
23433 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23434 |
$as_echo "no" >&6; } |
23435 |
|
23436 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
23437 |
_pkg_short_errors_supported=yes |
23438 |
else |
23439 |
_pkg_short_errors_supported=no |
23440 |
fi |
23441 |
if test $_pkg_short_errors_supported = yes; then |
23442 |
LOGIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libelogind" 2>&1` |
23443 |
else |
23444 |
LOGIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libelogind" 2>&1` |
23445 |
fi |
23446 |
# Put the nasty error message in config.log where it belongs |
23447 |
echo "$LOGIND_PKG_ERRORS" >&5 |
23448 |
|
23449 |
have_logind=no |
23450 |
elif test $pkg_failed = untried; then |
23451 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23452 |
$as_echo "no" >&6; } |
23453 |
have_logind=no |
23454 |
else |
23455 |
LOGIND_CFLAGS=$pkg_cv_LOGIND_CFLAGS |
23456 |
LOGIND_LIBS=$pkg_cv_LOGIND_LIBS |
23457 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
23458 |
$as_echo "yes" >&6; } |
23459 |
have_logind=yes |
23460 |
fi |
23461 |
|
23462 |
else |
23463 |
LOGIND_CFLAGS=$pkg_cv_LOGIND_CFLAGS |
23464 |
LOGIND_LIBS=$pkg_cv_LOGIND_LIBS |
23465 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
23466 |
$as_echo "yes" >&6; } |
23467 |
have_logind=yes |
23468 |
fi |
23469 |
|
23470 |
else |
23471 |
LOGIND_CFLAGS=$pkg_cv_LOGIND_CFLAGS |
23472 |
LOGIND_LIBS=$pkg_cv_LOGIND_LIBS |
23473 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
23474 |
$as_echo "yes" >&6; } |
23475 |
have_logind=yes |
23476 |
fi |
23045 |
fi |
23477 |
fi |
23046 |
|
23478 |
|
23047 |
if test x$have_logind = xyes; then |
23479 |
if test x$have_logind = xyes; then |
23048 |
|
23480 |
|
23049 |
$as_echo "#define HAVE_LOGIND 1" >>confdefs.h |
23481 |
$as_echo "#define HAVE_LOGIND 1" >>confdefs.h |
23050 |
|
23482 |
|
|
|
23483 |
else |
23484 |
if test x$enable_logind = xyes; then |
23485 |
as_fn_error $? "logind support requested but neither systemd or elogind were not found" "$LINENO" 5 |
23486 |
fi |
23051 |
fi |
23487 |
fi |
23052 |
|
23488 |
|
23053 |
|
23489 |
|