Re: FreeBSD make

2013-12-22 Thread Jim Jagielski
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 j...@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 21; 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 apache-li...@riggs.me wrote:
 
 On 20 Dec 2013, at 07:04, Jim Jagielski j...@jagunet.com wrote:
 
 OK... this is weird, FreeBSD 9.2 make doesn't like
 
 http://svn.apache.org/viewvc?view=revisionrevision=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.
 
 



FreeBSD make

2013-12-20 Thread Jim Jagielski
OK... this is weird, FreeBSD 9.2 make doesn't like

http://svn.apache.org/viewvc?view=revisionrevision=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

2013-12-20 Thread Jim Riggs
On 20 Dec 2013, at 07:04, Jim Jagielski j...@jagunet.com wrote:

 OK... this is weird, FreeBSD 9.2 make doesn't like
 
   http://svn.apache.org/viewvc?view=revisionrevision=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

2013-12-20 Thread Jim Jagielski
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 21; 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 apache-li...@riggs.me wrote:

 On 20 Dec 2013, at 07:04, Jim Jagielski j...@jagunet.com wrote:
 
 OK... this is weird, FreeBSD 9.2 make doesn't like
 
  http://svn.apache.org/viewvc?view=revisionrevision=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.