###
# set up path searching
###
dnl *** X11 ***
if test "x$bc_with_x11_val" != "x" ; then
BC_RETRY_DIRECTORY([$bc_with_x11_val])
elif test "x$bc_with_x11" = "xyes" -o "x$bc_with_x11" = "xauto" ; then
# search /usr/X11R6 for X11
BC_SEARCH_DIRECTORY([/usr/X11R6], [X11])
# if we hit a wall, retry configure with these
BC_RETRY_DIRECTORY([/opt/X11R6], [X11])
BC_RETRY_DIRECTORY([/opt/X11], [X11])
BC_RETRY_DIRECTORY([/usr/X11], [X11])
fi
AC_PATH_X
AC_PATH_XTRA
dnl automatically scan /usr/local (e.g. BSD uses /usr/local for ports)
BC_SEARCH_DIRECTORY([/usr/local])
dnl search several additional locations if configure happens to fail