Browse Source

fix misplaced HAS_LIBUTIL knob

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 14 years ago
parent
commit
5530578d87
1 changed files with 25 additions and 24 deletions
  1. 25 24
      extra/Configs/Config.in

+ 25 - 24
extra/Configs/Config.in

@@ -725,6 +725,31 @@ config UCLIBC_HAS_GETPT
 	def_bool y
 endif
 
+config UCLIBC_HAS_LIBUTIL
+	bool "Provide libutil library and functions"
+	depends on UCLIBC_HAS_PTY
+	default n
+	help
+	  Provide a libutil library.
+	  This non-standard conforming library provides the following
+	  utility functions:
+
+	  forkpty(): combines openpty(), fork(2), and login_tty() to
+	               create a new process operating in a pseudo-terminal.
+	  login(): write utmp and wtmp entries
+	  login_tty(): prepares for a login on the tty fd by creating a
+	               new session, making fd the controlling terminal for
+	               the calling process, setting fd to be the standard
+	               input, output, and error streams of the current
+	               process, and closing fd.
+	  logout(): write utmp and wtmp entries
+	  logwtmp(): constructs a utmp structure and calls updwtmp() to
+	               append the structure to the utmp file.
+	  openpty(): finds an available pseudo-terminal and returns
+	               file descriptors for the master and slave
+
+	  This library adds about 3k-4k to your system.
+
 config UCLIBC_HAS_TM_EXTENSIONS
 	bool "Support 'struct tm' timezone extension fields"
 	default y
@@ -1197,30 +1222,6 @@ config UCLIBC_HAS_LIBNSL_STUB
 	help
 	  Provide a dummy nsl library.
 
-config UCLIBC_HAS_LIBUTIL
-	bool "Provide libutil library and functions"
-	default n
-	help
-	  Provide a libutil library.
-	  This non-standard conforming library provides the following
-	  utility functions:
-
-	  forkpty(): combines openpty(), fork(2), and login_tty() to
-	               create a new process operating in a pseudo-terminal.
-	  login(): write utmp and wtmp entries
-	  login_tty(): prepares for a login on the tty fd by creating a
-	               new session, making fd the controlling terminal for
-	               the calling process, setting fd to be the standard
-	               input, output, and error streams of the current
-	               process, and closing fd.
-	  logout(): write utmp and wtmp entries
-	  logwtmp(): constructs a utmp structure and calls updwtmp() to
-	               append the structure to the utmp file.
-	  openpty(): finds an available pseudo-terminal and returns
-	               file descriptors for the master and slave
-
-	  This library adds about 3k-4k to your system.
-
 endif