* David Kastrup (2005-08-12) writes:

> We had all of this already IIRC.  Basically, the trick was to call
> AC_SHELL_QUOTIFY only after the recursion.

Hm, how do you do that?  In configure.ac the AC_SHELL_QUOTIFY calls
are after the recursion:

140:   AC_CONFIG_SUBDIRS(preview)
141: fi
142: AC_SUBST(subdirs)
143:
144: AC_SHELL_QUOTIFY(prefix)
[...]

(That's where I added the AC_SHELL_QUOTIFY calls for `packagelispdir'
and `packagedatadir' as well.)

But in the configure script produced by autoconf (2.56 or 2.59) it's
the other way round:

2646: subdirs="$subdirs preview"
2647: 
2648: fi
2649: 
2650: 
2651: prefix="`sed
2652: 's/[^-0-9a-zA-Z_./:$]/\\\\&/g;s/[$]\\\\[{(]\\([^)}]*\\)\\\\[})]/${\\1}/g'
2653: <<EOF
2654: $prefix
2655: EOF
2656: `"
[...]
3641: # CONFIG_SUBDIRS section.
[...]
3687: echo "$as_me: configuring in $ac_dir" >&6;}
[...]
3773:       eval $ac_sub_configure $ac_sub_configure_args \
3774:            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3775:         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for 
$ac_dir" >&5

I can work around this problem by disabling the export statement for
those variables just as in the `EMACS' case.  But I'd rather like to
find a way to do without such a kludge.

-- 
Ralf


_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to