diff configure.in @ 76:c0c698873ce1 r20-0b33

Import from CVS: tag r20-0b33
author cvs
date Mon, 13 Aug 2007 09:05:10 +0200
parents 54cc21c15cbb
children 1ce6082ce73f
line wrap: on
line diff
--- a/configure.in	Mon Aug 13 09:04:39 2007 +0200
+++ b/configure.in	Mon Aug 13 09:05:10 2007 +0200
@@ -2770,12 +2770,11 @@
 AC_HEADER_CHECK(nlist.h, AC_DEFINE(NLIST_STRUCT), )
 
 # AIX export list
-for export in /usr/lpp/X11/bin/smt.exp /usr/bin/X11/smt.exp ; do
-  if test -f "$export" ; then
-    AC_DEFINE(AIX_SMT_EXP, -bI:$export)
-    break
-  fi
-done
+if test -f /usr/lpp/X11/bin/smt.exp ; then
+  AC_DEFINE(AIX_SMT_EXP, -bI:/usr/lpp/X11/bin/smt.exp)
+elif test -f /usr/bin/X11/smt.exp ; then
+  AC_DEFINE(AIX_SMT_EXP, -bI:/usr/bin/X11/smt.exp)
+fi
 
 dnl # Set up the CFLAGS for real compilation, so we can substitute it.
 CFLAGS="$REAL_CFLAGS"