Re: [PATCH] Have to configure and build inside the source directory.

Subject: Re: [PATCH] Have to configure and build inside the source directory.

Date: Sat, 29 Jan 2011 06:58:59 +1000

To: Thomas Schwinge, notmuch@notmuchmail.org

Cc: Thomas Schwinge

From: Carl Worth


> +if ! { : < configure; } 2> /dev/null; then
> +    cat <<EOF
> +*** Error: You have to configure and build in the source directory.
> +
> +EOF
> +    exit 1
> +fi

Rather than documenting a limitation here, why don't we do what people
actually want.

What do other build systems generally do when running configure from
some other directory? Copy/link the Makefiles and then construct them
carefully such that they can find all the source files?

That doesn't sound like it would be that hard.

-Carl

-- 
carl.d.worth@intel.com
part-000.sig (application/pgp-signature)

Thread: