>>>> In
<3.0.5.32.19991020161726.0099e100(a)london.beasys.com>
>>>> Andy Piper <andy(a)xemacs.org> wrote:
--- configure.in~ Fri Sep 24 12:05:38 1999
+++ configure.in Wed Oct 20 16:16:25 1999
@@ -2919,7 +2919,10 @@
AC_DEFINE(LWLIB_USES_ATHENA)
AC_DEFINE(NEED_ATHENA)
XE_APPEND(lwlib-Xaw.o, lwlib_objs)
- XE_PREPEND(-lXaw3d, libs_x) ;;
+ if test "$have_xaw3d"; then
+ XE_PREPEND(-lXaw3d, libs_x)
+ else
+ XE_PREPEND(-lXaw, libs_x) ;;
*athena* )
AC_DEFINE(LWLIB_USES_ATHENA)
AC_DEFINE(NEED_ATHENA)
It causes an error as below:
./configure: syntax error at line 7717: `;;' unexpected
This is how I fix it.
--- configure.in.orig Thu Oct 21 22:28:07 1999
+++ configure.in Thu Oct 21 23:00:43 1999
@@ -2922,7 +2922,8 @@
if test "$have_xaw3d"; then
XE_PREPEND(-lXaw3d, libs_x)
else
- XE_PREPEND(-lXaw, libs_x) ;;
+ XE_PREPEND(-lXaw, libs_x)
+ fi ;;
*athena* )
AC_DEFINE(LWLIB_USES_ATHENA)
AC_DEFINE(NEED_ATHENA)