annotate m4/gnome-orbit-check.m4 @ 2406:184a7b05fd02

[gaim-migrate @ 2419] (09:34:45) ***warmenhoven returns (09:35:09) black_bmc: warmenhoven at least! (09:35:27) black_bmc: warmenhoven i need something from you -) (09:35:44) warmenhoven: ok (09:35:44) black_bmc: look in ru.po in gaim/po/ directory (09:35:50) ***murley snickers, thinks warmenhoven should rewrtie gaim in java, heh (09:35:56) warmenhoven: oh yeah. (09:36:06) warmenhoven: because you know i love java so much. (09:36:11) warmenhoven: and then it'd be cross-platform. (09:36:11) black_bmc: "Content-Type: text/plain; charset=ISO-8859-5\n" (09:36:17) black_bmc: you see that ? (09:36:20) murley: that way we could all use a slow nasty hiddious looking program (09:36:25) warmenhoven: yep (09:36:39) warmenhoven: i take it that's not correct (09:36:40) black_bmc: warmenhoven here must be "Content-Type: text/plain; charset=KOI8-R\n" (09:37:02) warmenhoven: okie dokie (09:37:05) warmenhoven: that the only change? (09:37:07) murley: I'm a sysadmin, and I just found out a user installed a java tomcat webserver on my server, it was eating 400MB or ram (09:37:09) black_bmc: yes (09:37:26) black_bmc: warmenhoven why somebody change it to ISO ? (09:37:38) warmenhoven: i don't know (09:37:49) murley: Then i began to wonder why 2000 websites went to a scretching halt. :) (09:37:56) black_bmc: warmenhoven heh. -) (09:38:08) murley: kill -9 is my friend, the world is good now :) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 01 Oct 2001 16:39:10 +0000
parents 68b230f8da5f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
1 dnl
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
2 dnl GNOME_ORBIT_HOOK (script-if-orbit-found, failflag)
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
3 dnl
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
4 dnl if failflag is "failure" it aborts if orbit is not found.
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
5 dnl
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
6
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
7 AC_DEFUN([GNOME_ORBIT_HOOK],[
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
8 AC_PATH_PROG(ORBIT_CONFIG,orbit-config,no)
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
9 AC_PATH_PROG(ORBIT_IDL,orbit-idl,no)
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
10 AC_CACHE_CHECK([for working ORBit environment],gnome_cv_orbit_found,[
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
11 if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
12 gnome_cv_orbit_found=no
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
13 else
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
14 gnome_cv_orbit_found=yes
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
15 fi
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
16 ])
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
17 AM_CONDITIONAL(HAVE_ORBIT, test x$gnome_cv_orbit_found = xyes)
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
18 if test x$gnome_cv_orbit_found = xyes; then
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
19 $1
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
20 ORBIT_CFLAGS=`orbit-config --cflags client server`
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
21 ORBIT_LIBS=`orbit-config --use-service=name --libs client server`
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
22 AC_SUBST(ORBIT_CFLAGS)
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
23 AC_SUBST(ORBIT_LIBS)
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
24 else
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
25 if test x$2 = xfailure; then
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
26 AC_MSG_ERROR(ORBit not installed or installation problem)
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
27 fi
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
28 fi
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
29 ])
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
30
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
31 AC_DEFUN([GNOME_ORBIT_CHECK], [
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
32 GNOME_ORBIT_HOOK([],failure)
68b230f8da5f [gaim-migrate @ 11]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
33 ])