-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some changes to improve compatibility with MacOS X.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@231 0da03de8-d603-11dd-86c2-0f8696b7b6f9
- Loading branch information
1 parent
81af285
commit 3018230
Showing
18 changed files
with
242 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ AC_PREREQ(2.57) | |
|
||
dnl This is the one location where the authoritative version number is stored | ||
AC_INIT(shellinabox, 2.10, [email protected]) | ||
VCS_REVISION=230 | ||
VCS_REVISION=231 | ||
AC_SUBST(VCS_REVISION) | ||
AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}", | ||
[Most recent revision number in the version control system]) | ||
|
@@ -34,7 +34,7 @@ AC_CHECK_FUNCS([strlcat]) | |
|
||
dnl Prefer thread-safe functions, if available | ||
AC_CHECK_FUNCS([getgrgid_r getgrnam_r gethostbyname_r getpwnam_r getpwuid_r \ | ||
openpty strcasestr ]) | ||
openpty strcasestr getresuid getresgid setresuid setresgid ]) | ||
|
||
dnl We prefer ptsname_r(), but will settle for ptsname() if necessary | ||
AC_TRY_LINK([#ifndef _XOPEN_SOURCE | ||
|
@@ -78,6 +78,12 @@ AC_TRY_LINK([void x(void) { }; | |
[AC_DEFINE(HAVE_ATTRIBUTE_ALIAS, 1, | ||
Define to 1 if you have support for symbol aliasing)]) | ||
|
||
dnl Check if the compiler has support to mark parameters as unused | ||
AC_TRY_LINK([void x(int i __attribute__((unused))) __attribute__((unused));], | ||
[], | ||
[AC_DEFINE(HAVE_ATTRIBUTE_UNUSED, 1, | ||
Define to 1 if you have support for the "unused" attribute)]) | ||
|
||
dnl On some systems, calling /bin/login does not work. Disable the LOGIN | ||
dnl feature, if the user tells us that it does not do the right thing. | ||
AC_ARG_ENABLE(login, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.