apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oden Eriksson <oden.eriks...@kvikkjokk.net>
Subject MAJOR_VERSION ?
Date Sat, 30 Nov 2002 19:41:53 GMT
Hi.

I'm confused here... I'm trying to make the apr and apr-util honor major 
version, but I can't find what's wrong here.

This works as expected (--with-layout=oden)

cat >> srclib/apr/config.layout << EOF
<Layout oden>
    prefix:        /etc/httpd
    exec_prefix:   /usr
    bindir:        /usr/bin
    sbindir:       /usr/sbin
    libdir:        /usr/lib
    libexecdir:    /usr/lib/apache
    mandir:        /usr/share/man
    sysconfdir:    /etc/httpd/conf
    datadir:       /var/www
    installbuilddir: /usr/lib/apache/build
    includedir:    /usr/include/apache
    localstatedir: /var
    libsuffix:     -\${APR_MAJOR_VERSION}
</Layout>
EOF

cat >> srclib/apr-util/config.layout << EOF
<Layout oden>
    prefix:        /etc/httpd
    exec_prefix:   /usr
    bindir:        /usr/bin
    sbindir:       /usr/sbin
    libdir:        /usr/lib
    libexecdir:    /usr/lib/apache
    mandir:        /usr/share/man
    sysconfdir:    /etc/httpd/conf
    datadir:       /var/www
    installbuilddir: /usr/lib/apache/build
    includedir:    /usr/include/apache
    localstatedir: /var
    libsuffix:     -\${APRUTIL_MAJOR_VERSION}
</Layout>
EOF

But this don't work:

cat > srclib/apr/config.layout << EOF
<Layout oden>
    prefix:        /etc/httpd
    exec_prefix:   /usr
    bindir:        /usr/bin
    sbindir:       /usr/sbin
    libdir:        /usr/lib
    libexecdir:    /usr/lib/apache
    mandir:        /usr/share/man
    sysconfdir:    /etc/httpd/conf
    datadir:       /var/www
    installbuilddir: /usr/lib/apache/build
    includedir:    /usr/include/apache
    localstatedir: /var
    libsuffix:     -\${APR_MAJOR_VERSION}
</Layout>
EOF

cat > srclib/apr-util/config.layout << EOF
<Layout oden>
    prefix:        /etc/httpd
    exec_prefix:   /usr
    bindir:        /usr/bin
    sbindir:       /usr/sbin
    libdir:        /usr/lib
    libexecdir:    /usr/lib/apache
    mandir:        /usr/share/man
    sysconfdir:    /etc/httpd/conf
    datadir:       /var/www
    installbuilddir: /usr/lib/apache/build
    includedir:    /usr/include/apache
    localstatedir: /var
    libsuffix:     -\${APRUTIL_MAJOR_VERSION}
</Layout>
EOF

WTF?

-- 
Regards // Oden Eriksson
http://www.deserve-it.com


Mime
View raw message