diff options
author | Andrew T. Veliath <andrewtv@src.gnome.org> | 1998-10-21 00:02:54 +0800 |
---|---|---|
committer | Andrew T. Veliath <andrewtv@src.gnome.org> | 1998-10-21 00:02:54 +0800 |
commit | 450e506e9d3040b3a54cd0554af2c33fbffec14f (patch) | |
tree | 44652d0aec8ed2592a9f8845537decdb2f900764 /macros/gnome-orbit-check.m4 | |
parent | b12b9818d596677a6f279e769494f5b7174849b0 (diff) | |
download | gsoc2013-evolution-450e506e9d3040b3a54cd0554af2c33fbffec14f.tar gsoc2013-evolution-450e506e9d3040b3a54cd0554af2c33fbffec14f.tar.gz gsoc2013-evolution-450e506e9d3040b3a54cd0554af2c33fbffec14f.tar.bz2 gsoc2013-evolution-450e506e9d3040b3a54cd0554af2c33fbffec14f.tar.lz gsoc2013-evolution-450e506e9d3040b3a54cd0554af2c33fbffec14f.tar.xz gsoc2013-evolution-450e506e9d3040b3a54cd0554af2c33fbffec14f.tar.zst gsoc2013-evolution-450e506e9d3040b3a54cd0554af2c33fbffec14f.zip |
Add ORBIT_IDL detection; fix failure flag.
* gnome-orbit-check.m4 (GNOME_ORBIT_HOOK): Add ORBIT_IDL
detection; fix failure flag.
svn path=/trunk/; revision=454
Diffstat (limited to 'macros/gnome-orbit-check.m4')
-rw-r--r-- | macros/gnome-orbit-check.m4 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/macros/gnome-orbit-check.m4 b/macros/gnome-orbit-check.m4 index 95f4eaa8e5..71faacdbae 100644 --- a/macros/gnome-orbit-check.m4 +++ b/macros/gnome-orbit-check.m4 @@ -1,14 +1,15 @@ dnl -dnl GNOME_ORBIT_HOOK (script-if-orbit-found, failflat) +dnl GNOME_ORBIT_HOOK (script-if-orbit-found, failflag) dnl dnl if failflag is "failure" it aborts if orbit is not found. dnl AC_DEFUN([GNOME_ORBIT_HOOK],[ AC_PATH_PROG(ORBIT_CONFIG,orbit-config,no) - if test x$ORBIT_CONFIG = xno; then - if test x$2 = failure; then - AC_MSG_ERROR(Could not find orbit-config) + AC_PATH_PROG(ORBIT_IDL,orbit-idl,no) + if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then + if test x$2 = xfailure; then + AC_MSG_ERROR(Could not find orbit-config or orbit-idl) fi else $1 |