[3102] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[barnowl/barnowl] b14f8c: Make the barnowl shell script work in Solaris

daemon@ATHENA.MIT.EDU (noreply@github.com)
Sun Jun 19 01:03:08 2011

Date: Sat, 18 Jun 2011 22:03:06 -0700
To: barnowl-dev@mit.edu
From: noreply@github.com

  Branch: refs/heads/master
  Home:   https://github.com/barnowl/barnowl

  Commit: b14f8cb653b1fe2fceef27a11f94daf59dbf3f9d
      https://github.com/barnowl/barnowl/commit/b14f8cb653b1fe2fceef27a11f94daf59dbf3f9d
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-18 (Sat, 18 Jun 2011)

  Changed paths:
    M barnowl

  Log Message:
  -----------
  Make the barnowl shell script work in Solaris

Apparently their shell is lame. In case someone wanted to run this thing
on Solaris or something absurd like that.


  Commit: 4f5e38f21e47c38220a1df0800c3cbbf76df8510
      https://github.com/barnowl/barnowl/commit/4f5e38f21e47c38220a1df0800c3cbbf76df8510
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-18 (Sat, 18 Jun 2011)

  Changed paths:
    M scripts/locker-build

  Log 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.


  Commit: d1d68e0d5a724a136d48b27d8ebf9bd29131b478
      https://github.com/barnowl/barnowl/commit/d1d68e0d5a724a136d48b27d8ebf9bd29131b478
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-18 (Sat, 18 Jun 2011)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Build with C99

This allows (and even requires) us to use -D_XOPEN_SOURCE=600 on
Solaris. It also makes the Solaris stdbool.h actually work.


  Commit: fe73d0c8bf42966a7f576c0ee9158753d7685592
      https://github.com/barnowl/barnowl/commit/fe73d0c8bf42966a7f576c0ee9158753d7685592
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-18 (Sat, 18 Jun 2011)

  Changed paths:
    M configure.ac
  M libfaim/aim.h
  M owl.h
  M window.h

  Log Message:
  -----------
  Just require stdbool.h and tell ncurses to use it

Now that Solaris' stdbool.h works for us, we may as well just require
it. The preamble is repetitive and didn't actually work anyway. (It
conflicts with ncurses' attempts to redefine bool when stdbool.h is
unavailable or disabled.)

We may need to add a different preamble later if we care about including
these headers in C++ (Solaris has a C++-incompatible stdbool.h), but we
can deal with that later.


Compare: https://github.com/barnowl/barnowl/compare/e93dd78...fe73d0c

home help back first fref pref prev next nref lref last post