| # | Line 37 | Line 37 | AC_FUNC_REALLOC | |
|---|---|---|
| 37 | # We define the name of the OS so the code can act accordingly | |
| 38 | # We also need to add the right LDFLAGS | |
| 39 | case $host_os in | |
| 40 | + | solaris2.[[6-7]]) |
| 41 | + | AC_CHECK_HEADERS([kstat.h],,[AC_MSG_ERROR([need kstat.h])]) |
| 42 | + | AC_DEFINE(SOLARIS, , [Building on Solaris 2.x]) |
| 43 | + | AC_DEFINE(SOL7, , [Building on Solaris 2.7]) |
| 44 | + | LDFLAGS="$LDFLAGS -lkstat" |
| 45 | + | ;; |
| 46 | solaris2.*) | |
| 47 | AC_CHECK_HEADERS([kstat.h],,[AC_MSG_ERROR([need kstat.h])]) | |
| 48 | AC_DEFINE(SOLARIS, , [Building on Solaris 2.x]) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |