summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-14 09:10:50 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-14 09:10:50 +0000
commitad3d96f8b792149d4a623584f8b403d40bd60331 (patch)
treea642f520af5de3923c499f886e068e0b9bbdcef3 /extra
parent50b14f6bf77048f65377f26fe8737b9bfb8512a1 (diff)
Patch from Brian Stafford <brian@stafford.uklinux.net> to fixup
support for Unix98 PTYs, and optionally exclude the older junk.
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.arm18
-rw-r--r--extra/Configs/Config.cross.arm.uclinux18
-rw-r--r--extra/Configs/Config.i38618
-rw-r--r--extra/Configs/Config.m68k16
-rw-r--r--extra/Configs/Config.m68k.coff16
-rw-r--r--extra/Configs/Config.mips18
-rw-r--r--extra/Configs/Config.mipsel18
-rw-r--r--extra/Configs/Config.powerpc18
-rw-r--r--extra/Configs/Config.sh18
-rw-r--r--extra/Configs/Config.v850e16
10 files changed, 150 insertions, 24 deletions
diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
index 2ef160fda..ba0023367 100644
--- a/extra/Configs/Config.arm
+++ b/extra/Configs/Config.arm
@@ -25,10 +25,11 @@
# other sundry sources. Files within this library are copyright by their
# respective copyright holders.
+NATIVE_CC = gcc
+
# If you are running a cross compiler, you may want to set this
# to something more interesting... Target architecture is determined
# by asking this compiler what arch it compiles stuff for.
-NATIVE_CC = gcc
CROSS = #arm-linux-
CC = $(CROSS)gcc
AR = $(CROSS)ar
@@ -128,10 +129,21 @@ INCLUDE_RPC = false
# Protocol: IP version 6, enable this. This is off by default.
INCLUDE_IPV6 = false
-# If you want to compile the library as PIC code, turn this on.
-DOPIC = true
+# If you want to support only Unix 98 PTYs enable this. Some older
+# applications may need this disabled. For most current programs,
+# you can generally leave this true.
+UNIX98PTY_ONLY = true
+
+# Enable this if /dev/pts is on a devpts or devfs file system. Both
+# these filesystems automatically manage permissions on the /dev/pts
+# devices. You may need to mount this fs on /dev/pts for this to work.
+# This is true by default.
+ASSUME_DEVPTS = true
+# If you want to compile the library as PIC code, turn this on.
+# This is automagically enabled when HAVE_SHARED is true
+DOPIC = false
# Enable support for shared libraries? If this is false, you can
# ignore all the rest of the options in this file...
diff --git a/extra/Configs/Config.cross.arm.uclinux b/extra/Configs/Config.cross.arm.uclinux
index 3a122b1e0..2c3f8163f 100644
--- a/extra/Configs/Config.cross.arm.uclinux
+++ b/extra/Configs/Config.cross.arm.uclinux
@@ -25,10 +25,11 @@
# other sundry sources. Files within this library are copyright by their
# respective copyright holders.
+NATIVE_CC = gcc
+
# If you are running a cross compiler, you may want to set this
# to something more interesting... Target architecture is determined
# by asking this compiler what arch it compiles stuff for.
-NATIVE_CC = gcc
CROSS = arm-elf-
CC = $(CROSS)gcc
AR = $(CROSS)ar
@@ -124,10 +125,21 @@ INCLUDE_RPC = false
# Protocol: IP version 6, enable this. This is off by default.
INCLUDE_IPV6 = false
-# If you want to compile the library as PIC code, turn this on.
-DOPIC = false
+# If you want to support only Unix 98 PTYs enable this. Some older
+# applications may need this disabled. For most current programs,
+# you can generally leave this true.
+UNIX98PTY_ONLY = true
+
+# Enable this if /dev/pts is on a devpts or devfs file system. Both
+# these filesystems automatically manage permissions on the /dev/pts
+# devices. You may need to mount this fs on /dev/pts for this to work.
+# This is true by default.
+ASSUME_DEVPTS = true
+# If you want to compile the library as PIC code, turn this on.
+# This is automagically enabled when HAVE_SHARED is true
+DOPIC = false
# Enable support for shared libraries? If this is false, you can
# ignore all the rest of the options in this file...
diff --git a/extra/Configs/Config.i386 b/extra/Configs/Config.i386
index 74d7236e5..7d77441d7 100644
--- a/extra/Configs/Config.i386
+++ b/extra/Configs/Config.i386
@@ -25,10 +25,11 @@
# other sundry sources. Files within this library are copyright by their
# respective copyright holders.
+NATIVE_CC = gcc
+
# If you are running a cross compiler, you may want to set this
# to something more interesting... Target architecture is determined
# by asking this compiler what arch it compiles stuff for.
-NATIVE_CC = gcc
CROSS = #$(TARGET_ARCH)-linux-
CC = $(CROSS)gcc
AR = $(CROSS)ar
@@ -124,10 +125,21 @@ INCLUDE_RPC = false
# Protocol: IP version 6, enable this. This is off by default.
INCLUDE_IPV6 = false
-# If you want to compile the library as PIC code, turn this on.
-DOPIC = false
+# If you want to support only Unix 98 PTYs enable this. Some older
+# applications may need this disabled. For most current programs,
+# you can generally leave this true.
+UNIX98PTY_ONLY = true
+
+# Enable this if /dev/pts is on a devpts or devfs file system. Both
+# these filesystems automatically manage permissions on the /dev/pts
+# devices. You may need to mount this fs on /dev/pts for this to work.
+# This is true by default.
+ASSUME_DEVPTS = true
+# If you want to compile the library as PIC code, turn this on.
+# This is automagically enabled when HAVE_SHARED is true
+DOPIC = false
# Enable support for shared libraries? If this is false, you can
# ignore all the rest of the options in this file...
diff --git a/extra/Configs/Config.m68k b/extra/Configs/Config.m68k
index 7ffbf7b12..a2afa37e3 100644
--- a/extra/Configs/Config.m68k
+++ b/extra/Configs/Config.m68k
@@ -25,10 +25,11 @@
# other sundry sources. Files within this library are copyright by their
# respective copyright holders.
+NATIVE_CC = gcc
+
# If you are running a cross compiler, you may want to set this
# to something more interesting... Target architecture is determined
# by asking this compiler what arch it compiles stuff for.
-NATIVE_CC = gcc
#CROSS = m68k-elf-
CC = $(CROSS)gcc
AR = $(CROSS)ar
@@ -124,7 +125,20 @@ INCLUDE_RPC = true
# Protocol: IP version 6, enable this. This is off by default.
INCLUDE_IPV6 = false
+# If you want to support only Unix 98 PTYs enable this. Some older
+# applications may need this disabled. For most current programs,
+# you can generally leave this true.
+UNIX98PTY_ONLY = true
+
+# Enable this if /dev/pts is on a devpts or devfs file system. Both
+# these filesystems automatically manage permissions on the /dev/pts
+# devices. You may need to mount this fs on /dev/pts for this to work.
+# This is true by default.
+ASSUME_DEVPTS = true
+
+
# If you want to compile the library as PIC code, turn this on.
+# This is automagically enabled when HAVE_SHARED is true
DOPIC = false
#
diff --git a/extra/Configs/Config.m68k.coff b/extra/Configs/Config.m68k.coff
index 09bb1061d..f18aef30e 100644
--- a/extra/Configs/Config.m68k.coff
+++ b/extra/Configs/Config.m68k.coff
@@ -25,10 +25,11 @@
# other sundry sources. Files within this library are copyright by their
# respective copyright holders.
+NATIVE_CC = gcc
+
# If you are running a cross compiler, you may want to set this
# to something more interesting... Target architecture is determined
# by asking this compiler what arch it compiles stuff for.
-NATIVE_CC = gcc
CROSS = m68k-coff-
CC = $(CROSS)gcc
AR = $(CROSS)ar
@@ -124,7 +125,20 @@ INCLUDE_RPC = true
# Protocol: IP version 6, enable this. This is off by default.
INCLUDE_IPV6 = false
+# If you want to support only Unix 98 PTYs enable this. Some older
+# applications may need this disabled. For most current programs,
+# you can generally leave this true.
+UNIX98PTY_ONLY = true
+
+# Enable this if /dev/pts is on a devpts or devfs file system. Both
+# these filesystems automatically manage permissions on the /dev/pts
+# devices. You may need to mount this fs on /dev/pts for this to work.
+# This is true by default.
+ASSUME_DEVPTS = true
+
+
# If you want to compile the library as PIC code, turn this on.
+# This is automagically enabled when HAVE_SHARED is true
DOPIC = false
#
diff --git a/extra/Configs/Config.mips b/extra/Configs/Config.mips
index 05544d7a2..a7ff1f0c6 100644
--- a/extra/Configs/Config.mips
+++ b/extra/Configs/Config.mips
@@ -25,10 +25,11 @@
# other sundry sources. Files within this library are copyright by their
# respective copyright holders.
+NATIVE_CC = gcc
+
# If you are running a cross compiler, you may want to set this
# to something more interesting... Target architecture is determined
# by asking this compiler what arch it compiles stuff for.
-NATIVE_CC = gcc
CROSS = mipsel-linux-
CC = $(CROSS)gcc
AR = $(CROSS)ar
@@ -123,10 +124,21 @@ INCLUDE_RPC = false
# Protocol: IP version 6, enable this. This is off by default.
INCLUDE_IPV6 = false
-# If you want to compile the library as PIC code, turn this on.
-DOPIC = false
+# If you want to support only Unix 98 PTYs enable this. Some older
+# applications may need this disabled. For most current programs,
+# you can generally leave this true.
+UNIX98PTY_ONLY = true
+
+# Enable this if /dev/pts is on a devpts or devfs file system. Both
+# these filesystems automatically manage permissions on the /dev/pts
+# devices. You may need to mount this fs on /dev/pts for this to work.
+# This is true by default.
+ASSUME_DEVPTS = true
+# If you want to compile the library as PIC code, turn this on.
+# This is automagically enabled when HAVE_SHARED is true
+DOPIC = false
# Enable support for shared libraries? If this is false, you can
# ignore all the rest of the options in this file...
diff --git a/extra/Configs/Config.mipsel b/extra/Configs/Config.mipsel
index 05544d7a2..a7ff1f0c6 100644
--- a/extra/Configs/Config.mipsel
+++ b/extra/Configs/Config.mipsel
@@ -25,10 +25,11 @@
# other sundry sources. Files within this library are copyright by their
# respective copyright holders.
+NATIVE_CC = gcc
+
# If you are running a cross compiler, you may want to set this
# to something more interesting... Target architecture is determined
# by asking this compiler what arch it compiles stuff for.
-NATIVE_CC = gcc
CROSS = mipsel-linux-
CC = $(CROSS)gcc
AR = $(CROSS)ar
@@ -123,10 +124,21 @@ INCLUDE_RPC = false
# Protocol: IP version 6, enable this. This is off by default.
INCLUDE_IPV6 = false
-# If you want to compile the library as PIC code, turn this on.
-DOPIC = false
+# If you want to support only Unix 98 PTYs enable this. Some older
+# applications may need this disabled. For most current programs,
+# you can generally leave this true.
+UNIX98PTY_ONLY = true
+
+# Enable this if /dev/pts is on a devpts or devfs file system. Both
+# these filesystems automatically manage permissions on the /dev/pts
+# devices. You may need to mount this fs on /dev/pts for this to work.
+# This is true by default.
+ASSUME_DEVPTS = true
+# If you want to compile the library as PIC code, turn this on.
+# This is automagically enabled when HAVE_SHARED is true
+DOPIC = false
# Enable support for shared libraries? If this is false, you can
# ignore all the rest of the options in this file...
diff --git a/extra/Configs/Config.powerpc b/extra/Configs/Config.powerpc
index 64b1190c6..16cc2d8b2 100644
--- a/extra/Configs/Config.powerpc
+++ b/extra/Configs/Config.powerpc
@@ -25,10 +25,11 @@
# other sundry sources. Files within this library are copyright by their
# respective copyright holders.
+NATIVE_CC = gcc
+
# If you are running a cross compiler, you may want to set this
# to something more interesting... Target architecture is determined
# by asking this compiler what arch it compiles stuff for.
-NATIVE_CC = gcc
CROSS = #$(TARGET_ARCH)-linux-
CC = $(CROSS)gcc
AR = $(CROSS)ar
@@ -124,10 +125,21 @@ INCLUDE_RPC = false
# Protocol: IP version 6, enable this. This is off by default.
INCLUDE_IPV6 = false
-# If you want to compile the library as PIC code, turn this on.
-DOPIC = false
+# If you want to support only Unix 98 PTYs enable this. Some older
+# applications may need this disabled. For most current programs,
+# you can generally leave this true.
+UNIX98PTY_ONLY = true
+
+# Enable this if /dev/pts is on a devpts or devfs file system. Both
+# these filesystems automatically manage permissions on the /dev/pts
+# devices. You may need to mount this fs on /dev/pts for this to work.
+# This is true by default.
+ASSUME_DEVPTS = true
+# If you want to compile the library as PIC code, turn this on.
+# This is automagically enabled when HAVE_SHARED is true
+DOPIC = false
# Enable support for shared libraries? If this is false, you can
# ignore all the rest of the options in this file...
diff --git a/extra/Configs/Config.sh b/extra/Configs/Config.sh
index b4fcf58fd..e93b998f6 100644
--- a/extra/Configs/Config.sh
+++ b/extra/Configs/Config.sh
@@ -25,10 +25,11 @@
# other sundry sources. Files within this library are copyright by their
# respective copyright holders.
+NATIVE_CC = gcc
+
# If you are running a cross compiler, you may want to set this
# to something more interesting... Target architecture is determined
# by asking this compiler what arch it compiles stuff for.
-NATIVE_CC = gcc
CROSS = /usr/cygnus/yapp-001013/H-i686-pc-linux-gnulibc2.1/bin/sh-linux-gnu-
CC = $(CROSS)gcc
AR = $(CROSS)ar
@@ -148,10 +149,21 @@ INCLUDE_RPC = false
# Protocol: IP version 6, enable this. This is off by default.
INCLUDE_IPV6 = false
-# If you want to compile the library as PIC code, turn this on.
-DOPIC = false
+# If you want to support only Unix 98 PTYs enable this. Some older
+# applications may need this disabled. For most current programs,
+# you can generally leave this true.
+UNIX98PTY_ONLY = true
+
+# Enable this if /dev/pts is on a devpts or devfs file system. Both
+# these filesystems automatically manage permissions on the /dev/pts
+# devices. You may need to mount this fs on /dev/pts for this to work.
+# This is true by default.
+ASSUME_DEVPTS = true
+# If you want to compile the library as PIC code, turn this on.
+# This is automagically enabled when HAVE_SHARED is true
+DOPIC = false
# Enable support for shared libraries? If this is false, you can
# ignore all the rest of the options in this file...
diff --git a/extra/Configs/Config.v850e b/extra/Configs/Config.v850e
index e7bc97ab9..7e0135707 100644
--- a/extra/Configs/Config.v850e
+++ b/extra/Configs/Config.v850e
@@ -30,10 +30,11 @@ PROJ_UCLINUX=/proj/soft2/uclinux
# Cross compile on i386-pc-linux-gnu
DESTDIR=$(PROJ_UCLINUX)/i386-pc-linux-gnu/v850e-linux
+NATIVE_CC = gcc
+
# If you are running a cross compiler, you may want to set this
# to something more interesting... Target architecture is determined
# by asking this compiler what arch it compiles stuff for.
-NATIVE_CC = gcc
CROSS = v850e-elf-
CC = $(CROSS)gcc
AR = $(CROSS)ar
@@ -129,7 +130,20 @@ INCLUDE_RPC = false
# Protocol: IP version 6, enable this. This is off by default.
INCLUDE_IPV6 = false
+# If you want to support only Unix 98 PTYs enable this. Some older
+# applications may need this disabled. For most current programs,
+# you can generally leave this true.
+UNIX98PTY_ONLY = true
+
+# Enable this if /dev/pts is on a devpts or devfs file system. Both
+# these filesystems automatically manage permissions on the /dev/pts
+# devices. You may need to mount this fs on /dev/pts for this to work.
+# This is true by default.
+ASSUME_DEVPTS = true
+
+
# If you want to compile the library as PIC code, turn this on.
+# This is automagically enabled when HAVE_SHARED is true
DOPIC = false
# String prefixed to all user symbol names by the C compiler. Usually