On Fri, Apr 04, 2008 at 06:04:27PM +0200, Jean-Marc Lasgouttes wrote:
> Enrico Forestieri <[EMAIL PROTECTED]> writes:
[...]
> > This test needs to be done after checking for X, though.
> 
> There is no check for X anymore :) Either the qt version was designed
> for X, either it was not...

I mean that "configure --help" still says:

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)

and this code snippet:

  -without-* | --without-*)
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid package name: $ac_package" >&2
   { (exit 1); exit 1; }; }
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    eval with_$ac_package=no ;;

should set with_x=no when specifying --without-x to configure.
Am I right?

> Are you sure that we need that?

Actually, there's no Qt4/X11 on cygwin, but I think that sooner or
later there will be. In this case, we need to know whether specifying
--spec=cygwin-g++ or --spec=cygwin-g++-win32. If I am wrong about
--without-x, there is another way to distinguish the two cases, but
needs a bit more code. BTW, isn't there a X11 version for the Mac,
or, would it be possible to build such a version?

-- 
Enrico

Reply via email to