[Mesa-dev] [PATCH 5/6] configure: remove IN_DRI_DRIVER

Brian Paul brianp at vmware.com
Fri Apr 19 16:36:26 PDT 2013


On 04/19/2013 01:56 PM, Andreas Boll wrote:
> From: Brian Paul<brianp at vmware.com>

I don't recall authoring this particular patch.  But AFAICT, 
IN_DRI_DRIVER is no loger used, as you indidate.

-Brian

> Not used anymore.
>
> v2: Andreas Boll<andreas.boll.dev at gmail.com>
>      - split patch into two patches
> 	- remove more unused code
> ---
>   configure.ac |   15 +++++----------
>   1 file changed, 5 insertions(+), 10 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index cdc8fd9..228c324 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -731,11 +731,6 @@ if test "x$enable_dri" = xno; then
>       enable_shared_glapi=no
>   fi
>
> -if test "x$enable_shared_glapi" = xyes; then
> -    # libGL will use libglapi for function lookups (IN_DRI_DRIVER means to use
> -    # the remap table)
> -    DEFINES="$DEFINES -DIN_DRI_DRIVER"
> -fi
>   AM_CONDITIONAL(HAVE_SHARED_GLAPI, test "x$enable_shared_glapi" = xyes)
>
>   dnl
> @@ -959,7 +954,7 @@ if test "x$enable_dri" = xyes; then
>       # Platform specific settings and drivers to build
>       case "$host_os" in
>       linux*)
> -        DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER"
> +        DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1"
>           DEFINES="$DEFINES -DHAVE_ALIAS"
>
>           case "$host_cpu" in
> @@ -984,21 +979,21 @@ if test "x$enable_dri" = xyes; then
>           ;;
>       freebsd* | dragonfly* | *netbsd*)
>           DEFINES="$DEFINES -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1"
> -        DEFINES="$DEFINES -DIN_DRI_DRIVER -DHAVE_ALIAS"
> +        DEFINES="$DEFINES -DHAVE_ALIAS"
>
>           if test "x$DRI_DIRS" = "xyes"; then
>               DRI_DIRS="i915 i965 nouveau r200 radeon swrast"
>           fi
>           ;;
>       gnu*)
> -        DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER"
> +        DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1"
>           DEFINES="$DEFINES -DHAVE_ALIAS"
>   	;;
>       solaris*)
> -        DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER"
> +        DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1"
>           ;;
>       cygwin*)
> -        DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER"
> +        DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1"
>           if test "x$DRI_DIRS" = "xyes"; then
>               DRI_DIRS="swrast"
>           fi



More information about the mesa-dev mailing list