Changeset 20906
- Timestamp:
- 11/08/07 20:45:35 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/branches/2.2/modules/gadgeteer/configure.ac
r20711 r20906 174 174 [AC_MSG_ERROR([*** GMTL required for Gadgeteer ***])]) 175 175 176 AC_PATH_XTRA177 178 176 gadget_use_x11='no' 179 177 gadget_use_cocoa='no' 180 178 181 if test "x$have_x" = "xyes" ; then 182 AH_TEMPLATE([GADGET_USE_X11], [Define if the X Window System will be used]) 183 184 if test "x$PLATFORM" = "xDarwin" ; then 185 if test "x$XWIN_UI" = "xyes" ; then 179 AH_TEMPLATE([GADGET_USE_X11], [Define if the X Window System will be used]) 180 181 if test "x$PLATFORM" = "xDarwin" ; then 182 if test "x$XWIN_UI" = "xyes" ; then 183 AC_PATH_XTRA 184 185 if test "x$have_x" = "xyes" ; then 186 186 gadget_use_x11='yes' 187 187 AC_DEFINE([GADGET_USE_X11],) 188 # If --enable-xwindows was passed on the command line but X11 was not 189 # found, then we have a problem. 188 190 else 189 gadget_use_cocoa='yes' 190 AC_DEFINE([GADGET_USE_COCOA], , [Define if Cocoa will be used]) 191 AC_MSG_ERROR([*** Use of the X Window System requested, but it was not found ***]) 191 192 fi 192 elif test "x$OS_TYPE" = "xUNIX" ; then 193 else 194 gadget_use_cocoa='yes' 195 AC_DEFINE([GADGET_USE_COCOA], , [Define if Cocoa will be used]) 196 fi 197 elif test "x$OS_TYPE" = "xUNIX" ; then 198 AC_PATH_XTRA 199 200 if test "x$have_x" = "xyes" ; then 193 201 gadget_use_x11='yes' 194 202 AC_DEFINE([GADGET_USE_X11],) 203 else 204 AC_MSG_ERROR([*** Use of the X Window System is required ***]) 195 205 fi 196 # If --enable-xwindows was passed on the command line but X11 was not found,197 # then we have a problem.198 elif test "x$XWIN_UI" = "xyes" ; then199 AC_MSG_ERROR([*** Use of the X Window System requested, but it was not found ***])200 206 fi 201 207
