httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: FreeBSD make
Date Fri, 20 Dec 2013 17:50:09 GMT
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 <apache-lists@riggs.me> wrote:

> On 20 Dec 2013, at 07:04, Jim Jagielski <jim@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>.
> 


Mime
View raw message