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
f2b64d35
Commit
f2b64d35
authored
Apr 24, 1998
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up configure so that it properly (I hope?) GUESSes the template to
use, if not stipulated via --with-template
parent
491b7601
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
332 additions
and
316 deletions
+332
-316
src/configure
src/configure
+309
-301
src/configure.in
src/configure.in
+23
-15
No files found.
src/configure
View file @
f2b64d35
This diff is collapsed.
Click to expand it.
src/configure.in
View file @
f2b64d35
...
@@ -77,8 +77,16 @@ AC_ARG_WITH(template,
...
@@ -77,8 +77,16 @@ AC_ARG_WITH(template,
[ --with-template=TEMPLATE
[ --with-template=TEMPLATE
use operating system template file
use operating system template file
see template directory],
see template directory],
[ TEMPLATE=template/$withval ],
[ TEMPLATE=$withval ],
[ TEMPLATE=template/`uname -s | tr A-Z a-z` ])
[ host_no_ver=`echo "$host" | sed 's/[[0-9.]]*$//'`
GUESS=`grep "$host_no_ver" template/.similar | sed 's/.*=//' 2>/dev/null`
if test "$GUESS"
then
TEMPLATE=$GUESS
else
TEMPLATE=`uname -s | tr A-Z a-z`
fi
])
AC_MSG_RESULT($TEMPLATE)
AC_MSG_RESULT($TEMPLATE)
if test "$TEMPLATE" = "linux-elf"; then
if test "$TEMPLATE" = "linux-elf"; then
...
@@ -89,7 +97,7 @@ fi
...
@@ -89,7 +97,7 @@ fi
AC_SUBST(LINUX_ELF)
AC_SUBST(LINUX_ELF)
export TEMPLATE
export TEMPLATE
if test ! -f "$TEMPLATE"; then
if test ! -f "
template/
$TEMPLATE"; then
echo ""
echo ""
echo "$TEMPLATE does not exist"
echo "$TEMPLATE does not exist"
echo ""
echo ""
...
@@ -100,18 +108,18 @@ if test ! -f "$TEMPLATE"; then
...
@@ -100,18 +108,18 @@ if test ! -f "$TEMPLATE"; then
exit
exit
fi
fi
AROPT=`grep '^AROPT:' $TEMPLATE | awk -F: '{print $2}'`
AROPT=`grep '^AROPT:'
template/
$TEMPLATE | awk -F: '{print $2}'`
SHARED_LIB=`grep '^SHARED_LIB:' $TEMPLATE | awk -F: '{print $2}'`
SHARED_LIB=`grep '^SHARED_LIB:'
template/
$TEMPLATE | awk -F: '{print $2}'`
CFLAGS=`grep '^CFLAGS:' $TEMPLATE | awk -F: '{print $2}'`
CFLAGS=`grep '^CFLAGS:'
template/
$TEMPLATE | awk -F: '{print $2}'`
SRCH_INC=`grep '^SRCH_INC:' $TEMPLATE | awk -F: '{print $2}'`
SRCH_INC=`grep '^SRCH_INC:'
template/
$TEMPLATE | awk -F: '{print $2}'`
SRCH_LIB=`grep '^SRCH_LIB:' $TEMPLATE | awk -F: '{print $2}'`
SRCH_LIB=`grep '^SRCH_LIB:'
template/
$TEMPLATE | awk -F: '{print $2}'`
USE_LOCALE=`grep '^USE_LOCALE:' $TEMPLATE | awk -F: '{print $2}'`
USE_LOCALE=`grep '^USE_LOCALE:'
template/
$TEMPLATE | awk -F: '{print $2}'`
DLSUFFIX=`grep '^DLSUFFIX:' $TEMPLATE | awk -F: '{print $2}'`
DLSUFFIX=`grep '^DLSUFFIX:'
template/
$TEMPLATE | awk -F: '{print $2}'`
DL_LIB=`grep '^DL_LIB:' $TEMPLATE | awk -F: '{print $2}'`
DL_LIB=`grep '^DL_LIB:'
template/
$TEMPLATE | awk -F: '{print $2}'`
YACC=`grep '^YACC:' $TEMPLATE | awk -F: '{print $2}'`
YACC=`grep '^YACC:'
template/
$TEMPLATE | awk -F: '{print $2}'`
YFLAGS=`grep '^YFLAGS:' $TEMPLATE | awk -F: '{print $2}'`
YFLAGS=`grep '^YFLAGS:'
template/
$TEMPLATE | awk -F: '{print $2}'`
CC=`grep '^CC:' $TEMPLATE | awk -F: '{print $2}'`
CC=`grep '^CC:'
template/
$TEMPLATE | awk -F: '{print $2}'`
LIBS=`grep '^LIBS:' $TEMPLATE | awk -F: '{print $2}'`
LIBS=`grep '^LIBS:'
template/
$TEMPLATE | awk -F: '{print $2}'`
AC_ARG_WITH(includes,
AC_ARG_WITH(includes,
...
...
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