You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jim Jagielski <ji...@jaguNET.com> on 2013/12/20 14:04:14 UTC
FreeBSD make
OK... this is weird, FreeBSD 9.2 make doesn't like
http://svn.apache.org/viewvc?view=revision&revision=1327907
gmake works fine. :/
(can't grab what the exact error is right now, but something
like needs an operator or something like that... it doesn't
like the 'ifdef' statement... or the 'else')
Re: FreeBSD make
Posted by Jim Jagielski <ji...@jaguNET.com>.
Fixed in : http://svn.apache.org/r1552779
But still get an error on FreeBSD about "-DCROSS_COMPILE... can't find file"
or some such...
Will continue to look.
On Dec 20, 2013, at 12:50 PM, Jim Jagielski <ji...@jaguNET.com> wrote:
> Currently, configure.in looks like it tries to
> work around this, but just for BSDI:
>
> dnl If we are running on BSD/OS, we need to use the BSD .include syntax.
>
> BSD_MAKEFILE=no
> ap_make_include=include
> ap_make_delimiter=' '
> case $host in
> *bsdi*)
> # Check whether they've installed GNU make
> if make --version > /dev/null 2>&1; then
> true
> else
> BSD_MAKEFILE=yes
> ap_make_include=.include
> ap_make_delimiter='"'
> fi
> ;;
> esac
> AC_SUBST(ap_make_include)
> AC_SUBST(ap_make_delimiter)
>
> Let me take a look...
>
> On Dec 20, 2013, at 9:21 AM, Jim Riggs <ap...@riggs.me> wrote:
>
>> On 20 Dec 2013, at 07:04, Jim Jagielski <ji...@jaguNET.com> wrote:
>>
>>> OK... this is weird, FreeBSD 9.2 make doesn't like
>>>
>>> http://svn.apache.org/viewvc?view=revision&revision=1327907
>>>
>>> gmake works fine. :/
>>>
>>> (can't grab what the exact error is right now, but something
>>> like needs an operator or something like that... it doesn't
>>> like the 'ifdef' statement... or the 'else')
>>
>> BSD's make needs dot-prefixed .ifdef, .else, and .endif. I don't believe there is a good cross-make compatible way to do this. See <http://stackoverflow.com/questions/9096018/make-gmake-compatible-if-else-statment>.
>>
>
Re: FreeBSD make
Posted by Jim Jagielski <ji...@jaguNET.com>.
Currently, configure.in looks like it tries to
work around this, but just for BSDI:
dnl If we are running on BSD/OS, we need to use the BSD .include syntax.
BSD_MAKEFILE=no
ap_make_include=include
ap_make_delimiter=' '
case $host in
*bsdi*)
# Check whether they've installed GNU make
if make --version > /dev/null 2>&1; then
true
else
BSD_MAKEFILE=yes
ap_make_include=.include
ap_make_delimiter='"'
fi
;;
esac
AC_SUBST(ap_make_include)
AC_SUBST(ap_make_delimiter)
Let me take a look...
On Dec 20, 2013, at 9:21 AM, Jim Riggs <ap...@riggs.me> wrote:
> On 20 Dec 2013, at 07:04, Jim Jagielski <ji...@jaguNET.com> wrote:
>
>> OK... this is weird, FreeBSD 9.2 make doesn't like
>>
>> http://svn.apache.org/viewvc?view=revision&revision=1327907
>>
>> gmake works fine. :/
>>
>> (can't grab what the exact error is right now, but something
>> like needs an operator or something like that... it doesn't
>> like the 'ifdef' statement... or the 'else')
>
> BSD's make needs dot-prefixed .ifdef, .else, and .endif. I don't believe there is a good cross-make compatible way to do this. See <http://stackoverflow.com/questions/9096018/make-gmake-compatible-if-else-statment>.
>
Re: FreeBSD make
Posted by Jim Riggs <ap...@riggs.me>.
On 20 Dec 2013, at 07:04, Jim Jagielski <ji...@jaguNET.com> wrote:
> OK... this is weird, FreeBSD 9.2 make doesn't like
>
> http://svn.apache.org/viewvc?view=revision&revision=1327907
>
> gmake works fine. :/
>
> (can't grab what the exact error is right now, but something
> like needs an operator or something like that... it doesn't
> like the 'ifdef' statement... or the 'else')
BSD's make needs dot-prefixed .ifdef, .else, and .endif. I don't believe there is a good cross-make compatible way to do this. See <http://stackoverflow.com/questions/9096018/make-gmake-compatible-if-else-statment>.