comparison configure.ac @ 11351:23f5b11fd9eb

[gaim-migrate @ 13570] *** empty log message *** committer: Tailor Script <tailor@pidgin.im>
author Piotr Zielinski <zielaj>
date Fri, 26 Aug 2005 18:36:19 +0000
parents 519dc2186438
children 0b746a52238d
comparison
equal deleted inserted replaced
11350:b073da869a55 11351:23f5b11fd9eb
360 else 360 else
361 echo "Building without DBUS support" 361 echo "Building without DBUS support"
362 fi 362 fi
363 363
364 AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes") 364 AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes")
365
366 dnl Here we locate the directory containing DBus .service files for
367 dnl the session bus. Adapted from the guifications project.
368
369 AC_ARG_WITH(dbus-session-dir, [ --with-dbus-session-dir=<dir> Location of the D-BUS session directory.])
370
371 AC_MSG_CHECKING([location of the D-BUS session directory])
372 if ! test -z "$with_dbus_session_dir"; then
373 if ! test -d "$with_dbus_session_dir"; then
374 AC_MSG_ERROR([$with_dbus_session_dir does not exist, if this is the correct location please make sure that it exists.])
375 fi
376
377 DBUS_SESSION_DIR="$with_dbus_session_dir"
378 else
379 dnl # add more to this as needed
380 servicesprefixes="$DATADIR $LIBDIR /usr/share /usr/local/share"
381 DBUS_SESSION_DIR=""
382
383 for p in $servicesprefixes; do
384 dir="$p/dbus-1/services"
385 if test -d $dir; then
386 DBUS_SESSION_DIR="$dir"
387 break
388 fi
389 done
390
391 if test -z $DBUS_SESSION_DIR; then
392 AC_MSG_ERROR([D-BUS session directory was not found! Please use --with-dbus-session-dir and specify it's location.])
393 fi
394 fi
395 AC_MSG_RESULT([$DBUS_SESSION_DIR])
396 AC_SUBST(DBUS_SESSION_DIR)
365 397
366 398
367 dnl ####################################################################### 399 dnl #######################################################################
368 dnl # Check for startup notification 400 dnl # Check for startup notification
369 dnl ####################################################################### 401 dnl #######################################################################
1334 echo Build with Tcl support........ : $enable_tcl 1366 echo Build with Tcl support........ : $enable_tcl
1335 echo Build with Tk support......... : $enable_tk 1367 echo Build with Tk support......... : $enable_tk
1336 echo Build with Audio support...... : $enable_audio 1368 echo Build with Audio support...... : $enable_audio
1337 echo Build with GtkSpell support... : $enable_gtkspell 1369 echo Build with GtkSpell support... : $enable_gtkspell
1338 echo Build with DBUS support....... : $enable_dbus 1370 echo Build with DBUS support....... : $enable_dbus
1371 if test x$enable_dbus = xyes ; then
1372 echo DBUS session directory........ : $DBUS_SESSION_DIR
1373 fi
1339 echo Has you....................... : yes 1374 echo Has you....................... : yes
1340 echo 1375 echo
1341 echo Use kerberos 4 with zephyr.... : $kerberos 1376 echo Use kerberos 4 with zephyr.... : $kerberos
1342 echo Use external libzephyr........ : $zephyr 1377 echo Use external libzephyr........ : $zephyr
1343 echo 1378 echo