Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lyskom-server-ceder-1616-generations-topgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
07794dff
Commit
07794dff
authored
31 years ago
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
A lot of debugging later... This configure.in now works on a Sun-3
running SunOS 4.1.3, and *almost* on Linux.
parent
00d8ec47
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.in
+34
-23
34 additions, 23 deletions
configure.in
with
34 additions
and
23 deletions
configure.in
+
34
−
23
View file @
07794dff
...
@@ -2,11 +2,11 @@ dnl Process this file with autoconf to produce a configure script.
...
@@ -2,11 +2,11 @@ dnl Process this file with autoconf to produce a configure script.
dnl This configure.in was derived from the configure.in in the
dnl This configure.in was derived from the configure.in in the
dnl GNU regex package, rel 0.11. Since LysKOM uses that package,
dnl GNU regex package, rel 0.11. Since LysKOM uses that package,
dnl this configure script must include everything it needs.
dnl this configure script must include everything it needs.
AC_REVISION($Id: configure.in,v 1.
3
1993/10/
08 18:33:04 linus
Exp $)
AC_REVISION($Id: configure.in,v 1.
4
1993/10/
10 11:20:23 ceder
Exp $)
AC_INIT(src/server/lyskomd.h)
AC_INIT(src/server/lyskomd.h)
AC_PROG_CC
AC_PROG_CC
AC_SUBST(TOPDIR)
[SRCTOPDIR=`cd $srcdir;pwd`]
[TOPDIR=`
cd $srcdir;
pwd`]
[
BUILD
TOPDIR=`pwd`]
dnl
dnl
dnl descend(foo) will define FOO_DESCEND as a Makefile excerpt
dnl descend(foo) will define FOO_DESCEND as a Makefile excerpt
dnl
dnl
...
@@ -22,8 +22,11 @@ $1: [do]$1 \
...
@@ -22,8 +22,11 @@ $1: [do]$1 \
']])dnl
']])dnl
dnl
dnl
descend(binaries)
descend(binaries)
descend(mostlyclean)
descend(clean)
descend(clean)
descend(distclean)
descend(distclean)
descend(realclean)
descend(pure)
descend(depend)
descend(depend)
descend(includes)
descend(includes)
descend(libraries)
descend(libraries)
...
@@ -32,8 +35,11 @@ dnl
...
@@ -32,8 +35,11 @@ dnl
dnl Define CLEAN to handle all the "make *clean" rules.
dnl Define CLEAN to handle all the "make *clean" rules.
dnl
dnl
AC_SUBST(CLEAN)
AC_SUBST(CLEAN)
[CLEAN="$CLEAN_DESCEND\\
[CLEAN="$MOSTLYCLEAN_DESCEND\\
$DISTCLEAN_DESCEND"]
$CLEAN_DESCEND\\
$DISTCLEAN_DESCEND\\
$REALCLEAN_DESCEND\\
$PURE_DESCEND"]
dnl
dnl
dnl Enhance "make depend"
dnl Enhance "make depend"
dnl
dnl
...
@@ -55,13 +61,14 @@ AC_PROG_YACC
...
@@ -55,13 +61,14 @@ AC_PROG_YACC
AC_PROG_LEX
AC_PROG_LEX
AC_STDC_HEADERS
AC_STDC_HEADERS
AC_PROGRAMS_CHECK(SED, /usr/gnu/bin/sed /usr/local/gnu/bin/sed sed)
AC_PROGRAMS_CHECK(SED, /usr/gnu/bin/sed /usr/local/gnu/bin/sed sed)
AC_HAVE_HEADERS(string.h memory.h)
AC_HAVE_HEADERS(string.h memory.h sys/param.h sys/time.h)
AC_TIME_WITH_SYS_TIME
dnl AC_USG is used by regex, but is obsolete.
dnl AC_USG is used by regex, but is obsolete.
AC_USG
AC_USG
AC_ALLOCA
AC_ALLOCA
AC_HAVE_LIBRARY(resolv)
AC_HAVE_LIBRARY(resolv)
AC_HAVE_LIBRARY(authuser)
AC_HAVE_LIBRARY(authuser)
AC_HAVE_FUNCS(difftime getdtablesize)
AC_HAVE_FUNCS(difftime getdtablesize
sysconf getcwd
)
AC_REPLACE_FUNCS(memcpy difftime mktime strerror)
AC_REPLACE_FUNCS(memcpy difftime mktime strerror)
[DEFS="$DEFS -DBUGGY_INET_NTOA=1 -DHAVE_LOCALE=1 -DENCRYPT_PASSWORDS=1 \
[DEFS="$DEFS -DBUGGY_INET_NTOA=1 -DHAVE_LOCALE=1 -DENCRYPT_PASSWORDS=1 \
-DSERVER=1"]
-DSERVER=1"]
...
@@ -74,10 +81,11 @@ $DEPEND_DESCEND\\
...
@@ -74,10 +81,11 @@ $DEPEND_DESCEND\\
$CLEAN\\
$CLEAN\\
"]
"]
AC_SUBST(CFLAGS)
AC_SUBST(CFLAGS)
[CFLAGS="$CFLAGS -I$TOPDIR/include -I$TOPDIR/include/server "]
[CFLAGS="$CFLAGS -I$
BUILD
TOPDIR/include -I$
BUILD
TOPDIR/include/server
-I.
"]
[CFLAGS="$CFLAGS -g -O -Wall -ansi -pipe
$
DEFS" ]
[CFLAGS="$CFLAGS -g -O -Wall -ansi -pipe
\$(
DEFS
)
" ]
AC_SUBST(STDLYSKOM)
AC_SUBST(STDLYSKOM)
[STDLYSKOM="SHELL = /bin/sh \\
[STDLYSKOM="# BEGIN section from @STDLYSKOM@\\
SHELL = /bin/sh \\
\\
\\
AWK = $AWK\\
AWK = $AWK\\
CC = $CC\\
CC = $CC\\
...
@@ -94,24 +102,25 @@ SYMLINK = $LN_S\\
...
@@ -94,24 +102,25 @@ SYMLINK = $LN_S\\
TOUCHLIB = $RANLIB\\
TOUCHLIB = $RANLIB\\
YACC = $YACC\\
YACC = $YACC\\
\\
\\
srcdir = $srcdir\\
INCLUDEDIR = $BUILDTOPDIR/include\\
VPATH = $srcdir\\
LIBDIR = $BUILDTOPDIR/lib\\
INCLUDEDIR = $TOPDIR/include\\
LIBDIR = $TOPDIR/lib\\
prefix = /usr/lyskom\\
prefix = /usr/lyskom\\
exec_prefix =
$
prefix\\
exec_prefix =
\$(
prefix
)
\\
bindir =
$
exec_prefix/bin\\
bindir =
\$(
exec_prefix
)
/bin\\
dbdir =
$
exec_prefix/db\\
dbdir =
\$(
exec_prefix
)
/db\\
etcdir =
$
exec_prefix/etc\\
etcdir =
\$(
exec_prefix
)
/etc\\
coredir =
$
exec_prefix/cores\\
coredir =
\$(
exec_prefix
)
/cores\\
\\
\\
DEFS = $DEFS\\
DEFS = $DEFS\\
LDFLAGS = $LDFLAGS\\
LDFLAGS = $LDFLAGS\\
SCRIPTDIR = $TOPDIR/scripts\\
SCRIPTDIR = $SRCTOPDIR/scripts\\
GENERIC-MOSTLYCLEAN = *.o lib*.a core temp-Makefile temp-?-Makefile\\
GENERIC-DISTCLEAN = *~ TAGS dependencies Makefile\\
# END section from @STDLYSKOM@\\
"]
"]
[rm -rf $
srcdir
/include
[rm -rf $
BUILDTOPDIR
/include
mkdir $
srcdir
/include]
mkdir $
BUILDTOPDIR
/include]
[mkdir $
srcdir
/lib]
[mkdir $
BUILDTOPDIR
/lib]
AC_OUTPUT(Makefile
AC_OUTPUT(Makefile
doc/Makefile
doc/Makefile
doc/man/Makefile
doc/man/Makefile
...
@@ -126,5 +135,7 @@ src/libraries/libisc-new/Makefile
...
@@ -126,5 +135,7 @@ src/libraries/libisc-new/Makefile
src/libraries/libisc-new/src/Makefile
src/libraries/libisc-new/src/Makefile
src/libraries/libmisc/Makefile
src/libraries/libmisc/Makefile
src/libraries/regex/Makefile
src/libraries/regex/Makefile
src/libraries/regex/doc/Makefile
src/libraries/regex/test/Makefile
src/server/Makefile
src/server/Makefile
)
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment