--- XSB.orig/build/configure.in 2006-06-25 13:08:48.000000000 +1200 +++ XSB/build/configure.in 2007-02-08 21:01:15.000000000 +1300 @@ -258,9 +258,9 @@ dnl prefix given by the user. The prefix variable will later get dnl the subdirectory added in. orig_prefix= -if test "$prefix" = "NONE" -o -z "$prefix" ; then +if test true ; then + install_prefix=$prefix/lib/xsb prefix=$topdir - orig_prefix=$prefix else dnl strip any trailing slashes in prefix prefix=`echo "${prefix}" | sed 's,\([[^/]]\)/*$,\1,'` @@ -321,7 +321,7 @@ fi config_prefix=${topdir}/config -install_config_prefix=${prefix}/config +install_config_prefix=${install_prefix}/config if test "$config_tag" != "NONE" -a -n "$config_tag" ; then config_tag="-$config_tag" @@ -431,11 +431,11 @@ config_dot_h_templ=def_config.in dnl Check configuration for a Unix variant - if test "$configuration" = "NONE" ; then - echo ' -- You did not tell me what kind of host system you want to configure. -- I will attempt to guess the kind of system this is. -' 1>&6 + if test "NONE$configuration" = "NONE" ; then +# echo ' +#- You did not tell me what kind of host system you want to configure. +#- I will attempt to guess the kind of system this is. +#' 1>&6 AC_CANONICAL_HOST canonical=$host configuration=$host_alias @@ -502,7 +502,7 @@ # site-specific directories # where the site is -test "$site_prefix" = "NONE" && site_prefix=${orig_prefix}/site +test "NONE$site_prefix" = "NONE" && site_prefix=${install_prefix}/site # site-specific config-independent XSB libraries site_libdir=${site_prefix}/lib # site-specific config-dependent stuff goes @@ -511,17 +511,17 @@ site_config_libdir=${site_config_prefix}/lib # Installation directories: We only check if they exist -install_libdir=${prefix}/lib -install_syslibdir=${prefix}/syslib -install_cmplibdir=${prefix}/cmplib -install_emudir=${prefix}/emu -install_scriptdir=${prefix}/bin # where the xsb invocation script goes -install_builddir=${prefix}/build # where the config detection scripts go -install_prolog_includes=${prefix}/prolog_includes -install_pkgdir=${prefix}/packages -install_pkgxmcdir=${prefix}/packages/xmc -install_examples=${prefix}/examples -install_etcdir=${prefix}/etc +install_libdir=${install_prefix}/lib +install_syslibdir=${install_prefix}/syslib +install_cmplibdir=${install_prefix}/cmplib +install_emudir=${install_prefix}/emu +install_scriptdir=${install_prefix}/bin # where the xsb invocation script goes +install_builddir=${install_prefix}/build # where the config detection scripts go +install_prolog_includes=${install_prefix}/prolog_includes +install_pkgdir=${install_prefix}/packages +install_pkgxmcdir=${install_prefix}/packages/xmc +install_examples=${install_prefix}/examples +install_etcdir=${install_prefix}/etc arch_install_config_prefix=${install_config_prefix}/${full_config_name} arch_install_bindir=${arch_install_config_prefix}/bin @@ -550,7 +550,7 @@ rm -f buildxsb.lock exit 1 fi - +if false ; then # Test if directories exist echo "Checking installation directories..." @@ -670,7 +670,7 @@ test -f .missingdirs.tmp && exit 1 echo "Checking installation directories ... Done" - +fi AC_PROG_CC AC_PROG_CPP @@ -986,7 +986,7 @@ ODBCSRC="" ODBCOBJ="" -if test "${with_odbc+set}" = "set"; then +if test "${with_odbc}" = "yes"; then if test -n "$with_os" ; then echo -n "" # AC_DEFINE(XSB_ODBC) @@ -1024,11 +1024,11 @@ # with_odbc=no # else # AC_DEFINE(XSB_ODBC) - cat <