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

Andreas Boll andreas.boll.dev at gmail.com
Sat Apr 20 02:25:55 PDT 2013


2013/4/20 Brian Paul <brianp at vmware.com>

> 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
>
>
See
http://cgit.freedesktop.org/~brianp/mesa/commit/?h=remove-mfeatures&id=22c61a33a29bf3f26cc2dacad6eb8ea6ea6ff864

Andreas.

>
>  Not used anymore.
>>
>> v2: Andreas Boll<andreas.boll.dev at gmail.**com<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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130420/0b6fd516/attachment.html>


More information about the mesa-dev mailing list