[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109658: Auto-commit of generated fil
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109658: Auto-commit of generated files. |
Date: |
Fri, 17 Aug 2012 06:17:30 -0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109658
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2012-08-17 06:17:30 -0400
message:
Auto-commit of generated files.
modified:
autogen/config.in
autogen/configure
=== modified file 'autogen/config.in'
--- a/autogen/config.in 2012-08-14 10:17:30 +0000
+++ b/autogen/config.in 2012-08-17 10:17:30 +0000
@@ -731,6 +731,9 @@
/* Define to 1 if you have the `posix_memalign' function. */
#undef HAVE_POSIX_MEMALIGN
+/* Define to 1 if you have the `posix_openpt' function. */
+#undef HAVE_POSIX_OPENPT
+
/* Define if you have the /proc filesystem. */
#undef HAVE_PROCFS
=== modified file 'autogen/configure'
--- a/autogen/configure 2012-08-16 10:17:33 +0000
+++ b/autogen/configure 2012-08-17 10:17:30 +0000
@@ -13258,12 +13258,14 @@
# PTY-related GNU extensions.
-for ac_func in getpt
+for ac_func in getpt posix_openpt
do :
- ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"
-if test "x$ac_cv_func_getpt" = x""yes; then :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+eval as_val=\$$as_ac_var
+ if test "x$as_val" = x""yes; then :
cat >>confdefs.h <<_ACEOF
-#define HAVE_GETPT 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
@@ -14883,7 +14885,7 @@
;;
- darwin )
+ darwin )
$as_echo "#define PTY_ITERATION int i; for (i = 0; i < 1; i++)"
>>confdefs.h
$as_echo "#define FIRST_PTY_LETTER 'p'" >>confdefs.h
@@ -14896,12 +14898,12 @@
;;
- gnu | freebsd | netbsd | openbsd )
+ gnu | openbsd )
$as_echo "#define FIRST_PTY_LETTER 'p'" >>confdefs.h
;;
- gnu-linux | gnu-kfreebsd )
+ gnu-linux | gnu-kfreebsd | freebsd | netbsd )
if test "x$ac_cv_func_grantpt" = xyes; then
$as_echo "#define UNIX98_PTYS 1" >>confdefs.h
@@ -14910,7 +14912,12 @@
$as_echo "#define PTY_TTY_NAME_SPRINTF { char *ptyname;
sigblock (sigmask (SIGCHLD)); if (grantpt (fd) == -1 || unlockpt (fd) == -1 ||
!(ptyname = ptsname(fd))) { sigunblock (sigmask (SIGCHLD)); close (fd); return
-1; } snprintf (pty_name, sizeof pty_name, \"%s\", ptyname); sigunblock
(sigmask (SIGCHLD)); }" >>confdefs.h
- if test "x$ac_cv_func_getpt" = xyes; then
+ if test "x$ac_cv_func_posix_openpt" = xyes; then
+ $as_echo "#define PTY_OPEN fd = posix_openpt (O_RDWR | O_NOCTTY)"
>>confdefs.h
+
+ $as_echo "#define PTY_NAME_SPRINTF /**/" >>confdefs.h
+
+ elif test "x$ac_cv_func_getpt" = xyes; then
$as_echo "#define PTY_OPEN fd = getpt ()" >>confdefs.h
$as_echo "#define PTY_NAME_SPRINTF /**/" >>confdefs.h
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109658: Auto-commit of generated files.,
Glenn Morris <=