On Thu, Jan 7, 2010 at 4:16 PM, Matt Turner <[email protected]> wrote:
> On Thu, Jan 7, 2010 at 3:06 PM, Gaetan Nadon <[email protected]> wrote:
>> This patch to xserver configure.ac is to increase code portability to
>> non POSIX system by using backticks rather than $() for command
>> substitution for BUILD_DATE and BUILD_TIME.
>>
>> Signed-off-by: Gaetan Nadon <[email protected]>
>> ---
>>  configure.ac |    4 ++--
>>  1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index 7e2c6a5..eb92251 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -2094,9 +2094,9 @@ AC_TRY_COMPILE([
>>
>>  AC_DEFINE_DIR(PROJECTROOT, prefix, [Overall prefix])
>>
>> -BUILD_DATE="$(date +'%Y%m%d')"
>> +BUILD_DATE="`date +'%Y%m%d'`"
>>  AC_SUBST([BUILD_DATE])
>> -BUILD_TIME="$(date +'1%H%M%S')"
>> +BUILD_TIME="`date +'1%H%M%S'`"
>>  AC_SUBST([BUILD_TIME])
>>
>>  DIX_CFLAGS="-DHAVE_DIX_CONFIG_H $XSERVER_CFLAGS"
>> --
>> 1.6.0.4
>
> What kind of systems would these be?

Older Solaris was definitely the common case where it would come up.

--
Dan
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to