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
f2b98c46
Commit
f2b98c46
authored
Apr 12, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for [] escaping pointed out by Adrian
parent
32523e4c
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
277 additions
and
319 deletions
+277
-319
src/configure
src/configure
+232
-277
src/configure.in
src/configure.in
+45
-36
src/scripts/convert_inc
src/scripts/convert_inc
+0
-1
src/scripts/convert_lib
src/scripts/convert_lib
+0
-1
src/scripts/last_field
src/scripts/last_field
+0
-4
No files found.
src/configure
View file @
f2b98c46
This diff is collapsed.
Click to expand it.
src/configure.in
View file @
f2b98c46
...
...
@@ -67,7 +67,6 @@ then
else
TEMPLATE=DO_NOT_CHANGE_THIS_INVALID_FILENAME
fi
export TEMPLATE
if test ! -f $TEMPLATE
then
...
...
@@ -98,8 +97,10 @@ EOT
echo "You must choose an appropriate template file."
exit
fi
TEMPLATE=template/$TEMPLATE
export TEMPLATE
TEMPLATE=template/$TEMPLATE
fi
export TEMPLATE
echo ""
AROPT=`grep AROPT $TEMPLATE | awk -F: '{print $2}'`
SHARED_LIB=`grep SHARED_LIB $TEMPLATE | awk -F: '{print $2}'`
...
...
@@ -112,9 +113,6 @@ DL_LIB=`grep DL_LIB $TEMPLATE | awk -F: '{print $2}'`
YACC=`grep YACC $TEMPLATE | awk -F: '{print $2}'`
YFLAGS=`grep YFLAGS $TEMPLATE | awk -F: '{print $2}'`
export AROPT SHARED_LIB CFLAGS SRCH_INC SRCH_LIB USE_LOCALE DLSUFFIX
export DL_LIB YACC YFLAGS
dnl We now need to check for additional directories (include
dnl and library directories.
...
...
@@ -125,30 +123,43 @@ echo "you don't know the answers to these questions, then just
echo "hit enter and we will try and figure it out. If things
echo "don't compile because of missing libraries or include
echo "files, then you probably need to enter something here.
echo "enter 'none' or new directories to override default"
echo ""
$ECHO_N "Additional directories to search for include files {
none
}: $ECHO_C"
$ECHO_N "Additional directories to search for include files {
$SRCH_INC
}: $ECHO_C"
read a
if test "$a."
!= "
."
if test "$a."
= "none
."
then
SRCH_INC=$a
CPPFLAGS=`echo "$SRCH_INC" | sed 's@ *@ @g; s@^\([^ ]\)@-I\1@; s@ \([^ ]\)@ -I\1@g'`
else
SRCH_INC=
CPPFLAGS=
else
if test "$a." = "."
then
a=$SRCH_INC
fi
CPPFLAGS=`echo "$a" | sed 's@ *@ @g; s@^\([[^ ]]\)@-I\1@; s@ \([[^ ]]\)@ -I\1@g'`
fi
export SRCH_INC CPPFLAGS
export CPPFLAGS
echo setting CPPFLAGS=$CPPFLAGS
echo ""
$ECHO_N "Additional directories to search for library files {
none
}: $ECHO_C"
$ECHO_N "Additional directories to search for library files {
$SRCH_LIB
}: $ECHO_C"
read a
if test "$a."
!= "
."
if test "$a."
= "none
."
then
SRCH_LIB=$a
LDFLAGS=`echo "$SRCH_LIB" | sed 's@ *@ @g; s@^\([^ ]\)@-L\1@; s@ \([^ ]\)@ -L\1@g'`
else
SRCH_LIB=
LDFLAGS=
else
if test "$a." = "."
then
a=$SRCH_LIB
fi
LDFLAGS=`echo "$a" | sed 's@ *@ @g; s@^\([[^ ]]\)@-L\1@; s@ \([[^ ]]\)@ -L\1@g'`
fi
export SRCH_LIB LDFLAGS
export LDFLAGS
echo setting LDFLAGS=$LDFLAGS
echo ""
echo "**************************************************************"
dnl We have read the default value of USE_LOCALE from the template
...
...
@@ -257,26 +268,24 @@ dnl ****************************************************************
HAVECXX='HAVE_Cplusplus=false'
AC_SUBST(HAVECXX)
dnl AC_PROG_INSTALL was broken on my machine (NAT), so here's an
dnl alternative, built from the various portname options
AC_PATH_PROG(INSTALL, install, , /usr/bin:/usr/ucb:/home/tools/bin)
AC_PATH_PROG(BSDINST, bsdinst, ,/usr/bin/X11:/usr/X11/bin:/sbin:/opt/X11/bin:/usr/X11R6/bin)
AC_PATH_PROG(INSTALLBSD, installbsd, , /bin:/usr/bin:/usr/ucb)
INSTLOPTS="-m 444"
INSTL_EXE_OPTS="-m 555"
INSTL_LIB_OPTS="-m 664"
if test -f "$INSTALLBSD"; then
INSTALL=$INSTALLBSD
elif test -f "$INSTALL"; then
INSTLOPTS="-c $INSTLOPTS"
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS"
elif test -f "$BSDINST"; then
INSTALL=$BSDINST
else
echo "- No Install Script found - aborting."
exit 0;
AC_PATH_PROGS(INSTALL, installbsd install bsdinst, NONE, $PATH)
if test $INSTALL = "NONE"
then
echo "- No Install Script found - aborting."
exit 0;
fi
INSTLOPTS="-m 444"
INSTL_EXE_OPTS="-m 555"
INSTL_LIB_OPTS="-m 664"
if test "`echo $INSTALL | awk '{ i=split($1, a, "/"); print a[[i]] }'`." = "install."
then
INSTLOPTS="-c $INSTLOPTS"
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS"
fi
echo "- Using $INSTALL"
AC_SUBST(INSTALL)
AC_SUBST(INSTLOPTS)
...
...
src/scripts/convert_inc
deleted
100644 → 0
View file @
32523e4c
s@ *@ @g; s@^\([^ ]\)@-I\1@; s@ \([^ ]\)@ -I\1@g
src/scripts/convert_lib
deleted
100644 → 0
View file @
32523e4c
s@ *@ @g; s@^\([^ ]\)@-L\1@; s@ \([^ ]\)@ -L\1@g
src/scripts/last_field
deleted
100644 → 0
View file @
32523e4c
{
i=split($1, a, "/")
print a[i]
}
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