Changeset f216307


Ignore:
Timestamp:
Apr 5, 2011, 3:44:57 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Children:
eeab49c
Parents:
9b7b535
git-author:
David Benjamin <davidben@mit.edu> (04/05/11 12:34:52)
git-committer:
David Benjamin <davidben@mit.edu> (04/05/11 15:44:57)
Message:
Properly discover things when /usr/athena != /usr

On Solaris, by an accident of configure and krb5-config, we manage to
discover libzephyr and libcom_err, but not com_err.h. Thankfully the
latter is not fatal and we relied on C's defaulting everything to int.
And by accident we were searching for libzephyr, and not zephyr.h.

Also use CPPFLAGS instead of CFLAGS to pull in our bundled header files,
otherwise autoconf warns about a discrepancy between the preprocessor
and compiler.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/locker-build

    r0fd5bd5 rf216307  
    102102    esac
    103103
    104     CFLAGS="-I$BARNOWL/include" \
    105         LDFLAGS="-L$BARNOWL/lib $opt_rpath$BARNOWL/lib" \
     104    CPPFLAGS="-I$BARNOWL/include -I/usr/athena/include" \
     105        LDFLAGS="-L$BARNOWL/lib -L/usr/athena/lib $opt_rpath$BARNOWL/lib" \
    106106        ./configure --exec-prefix="/mit/barnowl/arch/$ATHENA_SYS" \
    107107        --prefix="/mit/barnowl/builds/barnowl-$VERS" --mandir=/mit/barnowl/man \
Note: See TracChangeset for help on using the changeset viewer.