-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter Michaux wrote:
> AC_SUBST(XJS_LOAD_PATH)
> if [[ -z "${XJS_LOAD_PATH}" ]]
> then
> XJS_LOAD_PATH=".:~/lib/xjs:/usr/local/lib/xjs:/usr/lib/xjs:/lib/xjs"
> fi
>
> I have a feeling this might not be the normal way to do this.
>
> For one thing, the double brackets are just single brackets in my
> configure file. That is ok but how to quote brackets? Do I just want
> four brackets on each side?
You could just use "test":
test -z "${XJS_LOADPATH}" && XJS_LOAD_PATH="..."
AC_SUBST(XJS_LOAD_PATH)
Regards,
John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFILfehdcgqmRY/OH8RAkB/AJ0apEj3vjfBhqT2v0AhIP9Ed9uNIQCglqMw
tB8ijRiqXbdMpxnjJosYlv0=
=yKFG
-----END PGP SIGNATURE-----
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf