Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
2219c230
Commit
2219c230
authored
Apr 17, 1998
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of the TEMPLATE verbosity and make it so that --with-template is
documented in ./configure --help
parent
89731922
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
323 additions
and
384 deletions
+323
-384
src/configure
src/configure
+305
-332
src/configure.in
src/configure.in
+18
-52
No files found.
src/configure
View file @
2219c230
This diff is collapsed.
Click to expand it.
src/configure.in
View file @
2219c230
...
@@ -69,63 +69,29 @@ else
...
@@ -69,63 +69,29 @@ else
ECHO_C='\c'
ECHO_C='\c'
fi
fi
cat <<EOT
**************************************************************
PostreSQL v6.3.2 Installation Program
Welcome to the new improved PostgreSQL installation program.
This configuration program is for version 6.3.2 of the
PostgreSQL software.
EOT
dnl this part selects the template from the one in the
dnl this part selects the template from the one in the
dnl template directory.
dnl template directory.
if test "X$with_template" != "X"
AC_MSG_CHECKING(setting template to)
then
AC_ARG_WITH(template,
TEMPLATE=template/$with_template
[ --with-template=TEMPLATE
else
use operating system template file
TEMPLATE=DO_NOT_CHANGE_THIS_INVALID_FILENAME
see template directory],
fi
[ TEMPLATE=template/$withval ],
[ TEMPLATE=template/`uname -s | tr A-Z a-z` ])
if test ! -f $TEMPLATE
AC_MSG_RESULT($TEMPLATE)
then
cat <<EOT
export TEMPLATE
Please select a template from the ones listed below. If no
if test ! -f "$TEMPLATE"; then
template is available, then select the 'generic' one and
echo ""
consider emailling scrappy@hub.org with the above line which
echo "$TEMPLATE does not exist"
starts 'checking host system type...'
echo ""
**************************************************************
echo "Available Templates (set using --with-template):"
EOT
echo ""
TEMPLATE=generic
GUESS=`grep "^$host_no_ver=" template/.similar 2>/dev/null`
if test ! "$GUESS"
then host_no_ver=`echo "$host" | sed 's/[[0-9.]]*$//'`
GUESS=`grep "$host_no_ver" template/.similar 2>/dev/null`
fi
if test "$GUESS"
then
TEMPLATE=`echo $GUESS | sed 's/.*=//'`
fi
export TEMPLATE
ls template
ls template
echo "**************************************************************"
echo ""
$ECHO_N "Appropriate template file { $TEMPLATE }: $ECHO_C"
exit
read a
if test "$a." != "."
then
TEMPLATE=$a
fi
if test ! -f template/$TEMPLATE
then
echo "You must choose an appropriate template file."
exit
fi
TEMPLATE=template/$TEMPLATE
fi
fi
export TEMPLATE
echo ""
AROPT=`grep '^AROPT:' $TEMPLATE | awk -F: '{print $2}'`
AROPT=`grep '^AROPT:' $TEMPLATE | awk -F: '{print $2}'`
SHARED_LIB=`grep '^SHARED_LIB:' $TEMPLATE | awk -F: '{print $2}'`
SHARED_LIB=`grep '^SHARED_LIB:' $TEMPLATE | awk -F: '{print $2}'`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment