OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tk/] [unix/] [configure.in] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
! /bin/bash -norc
2
dnl     This file is an input file used by the GNU "autoconf" program to
3
dnl     generate the file "configure", which is run during Tk installation
4
dnl     to configure the system for the local environment.
5
 
6
# CYGNUS LOCAL, autoconf 2.5 or higher to get --bindir et al
7
AC_PREREQ(2.5)
8
# END CYGNUS LOCAL
9
 
10
AC_INIT(../generic/tk.h)
11
# SCCS: @(#) configure.in 1.90 97/11/20 12:45:45
12
 
13
# CYGNUS LOCAL tromey - find config.guess/config.sub in our tree
14
AC_CONFIG_AUX_DIR($srcdir/../..)
15
AC_CANONICAL_SYSTEM
16
AC_PROG_CC
17
AC_PROG_INSTALL
18
# END CYGNUS LOCAL
19
 
20
TK_VERSION=8.0
21
TK_MAJOR_VERSION=8
22
TK_MINOR_VERSION=0
23
TK_PATCH_LEVEL=".4"
24
VERSION=${TK_VERSION}
25
 
26
if test "${prefix}" = "NONE"; then
27
    prefix=/usr/local
28
fi
29
if test "${exec_prefix}" = "NONE"; then
30
    exec_prefix=$prefix
31
fi
32
TK_SRC_DIR=`cd $srcdir/..; pwd`
33
 
34
AC_PROG_RANLIB
35
AC_ARG_ENABLE(gcc, [  --enable-gcc            allow use of gcc if available],
36
    [tk_ok=$enableval], [tkl_ok=no])
37
if test "$tk_ok" = "yes"; then
38
    AC_PROG_CC
39
else
40
    CC=${CC-cc}
41
AC_SUBST(CC)
42
fi
43
AC_HAVE_HEADERS(unistd.h limits.h)
44
 
45
# set the warning flags depending on whether or not we are using gcc
46
if test "${GCC}" = "yes" ; then
47
    # leave -Wimplicit-int out, the X libs generate so many of these warnings
48
    # that they obscure everything else.
49
 
50
    CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int"
51
else
52
    CFLAGS_WARNING=""
53
fi
54
 
55
#--------------------------------------------------------------------
56
#       See if there was a command-line option for where Tcl is;  if
57
#       not, assume that its top-level directory is a sibling of ours.
58
#--------------------------------------------------------------------
59
 
60
AC_ARG_WITH(tcl, [  --with-tcl=DIR          use Tcl 8.0 binaries from DIR],
61
        TCL_BIN_DIR=$withval, TCL_BIN_DIR=`cd ../../tcl/unix; pwd`)
62
if test -z "$TCL_BIN_DIR"; then
63
    AC_MSG_ERROR(couldn't find Tcl build directory in ../../tcl/unix)
64
fi
65
if test ! -d $TCL_BIN_DIR; then
66
    AC_MSG_ERROR(Tcl directory $TCL_BIN_DIR doesn't exist)
67
fi
68
if test ! -f $TCL_BIN_DIR/Makefile; then
69
    AC_MSG_ERROR(There's no Makefile in $TCL_BIN_DIR;  perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?)
70
fi
71
 
72
#--------------------------------------------------------------------
73
#       Read in configuration information generated by Tcl for shared
74
#       libraries, and arrange for it to be substituted into our
75
#       Makefile.
76
#--------------------------------------------------------------------
77
 
78
file=$TCL_BIN_DIR/tclConfig.sh
79
. $file
80
SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
81
SHLIB_LD=$TCL_SHLIB_LD
82
SHLIB_LD_LIBS=$TCL_SHLIB_LD_LIBS
83
SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX
84
SHLIB_VERSION=$TCL_SHLIB_VERSION
85
DL_LIBS=$TCL_DL_LIBS
86
LD_FLAGS=$TCL_LD_FLAGS
87
 
88
LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
89
 
90
# If Tcl and Tk are installed in different places, adjust the library
91
# search path to reflect this.
92
 
93
if test "$TCL_EXEC_PREFIX" != "$exec_prefix"; then
94
    LIB_RUNTIME_DIR="${LIB_RUNTIME_DIR}:${TCL_EXEC_PREFIX}"
95
fi
96
 
97
#--------------------------------------------------------------------
98
#       Supply a substitute for stdlib.h if it doesn't define strtol,
99
#       strtoul, or strtod (which it doesn't in some versions of SunOS).
100
#--------------------------------------------------------------------
101
 
102
AC_MSG_CHECKING(stdlib.h)
103
AC_HEADER_EGREP(strtol, stdlib.h, tk_ok=yes, tk_ok=no)
104
AC_HEADER_EGREP(strtoul, stdlib.h, , tk_ok=no)
105
AC_HEADER_EGREP(strtod, stdlib.h, , tk_ok=no)
106
if test $tk_ok = no; then
107
    AC_DEFINE(NO_STDLIB_H)
108
fi
109
AC_MSG_RESULT($tk_ok)
110
 
111
#--------------------------------------------------------------------
112
#       Include sys/select.h if it exists and if it supplies things
113
#       that appear to be useful and aren't already in sys/types.h.
114
#       This appears to be true only on the RS/6000 under AIX.  Some
115
#       systems like OSF/1 have a sys/select.h that's of no use, and
116
#       other systems like SCO UNIX have a sys/select.h that's
117
#       pernicious.  If "fd_set" isn't defined anywhere then set a
118
#       special flag.
119
#--------------------------------------------------------------------
120
 
121
AC_MSG_CHECKING([fd_set and sys/select])
122
AC_TRY_COMPILE([#include ],
123
        [fd_set readMask, writeMask;], tk_ok=yes, tk_ok=no)
124
if test $tk_ok = no; then
125
    AC_HEADER_EGREP(fd_mask, sys/select.h, tk_ok=yes)
126
    if test $tk_ok = yes; then
127
        AC_DEFINE(HAVE_SYS_SELECT_H)
128
    fi
129
fi
130
AC_MSG_RESULT($tk_ok)
131
if test $tk_ok = no; then
132
    AC_DEFINE(NO_FD_SET)
133
fi
134
 
135
#--------------------------------------------------------------------
136
#       Check for various typedefs and provide substitutes if
137
#       they don't exist.
138
#--------------------------------------------------------------------
139
 
140
AC_MODE_T
141
AC_PID_T
142
AC_SIZE_T
143
AC_UID_T
144
 
145
#------------------------------------------------------------------------------
146
#       Find out about time handling differences.
147
#------------------------------------------------------------------------------
148
 
149
AC_CHECK_HEADERS(sys/time.h)
150
AC_HEADER_TIME
151
 
152
#--------------------------------------------------------------------
153
#       Locate the X11 header files and the X11 library archive.  Try
154
#       the ac_path_x macro first, but if it doesn't find the X stuff
155
#       (e.g. because there's no xmkmf program) then check through
156
#       a list of possible directories.  Under some conditions the
157
#       autoconf macro will return an include directory that contains
158
#       no include files, so double-check its result just to be safe.
159
#--------------------------------------------------------------------
160
 
161
AC_PATH_X
162
not_really_there=""
163
if test "$no_x" = ""; then
164
    if test "$x_includes" = ""; then
165
        AC_TRY_CPP([#include ], , not_really_there="yes")
166
    else
167
        if test ! -r $x_includes/X11/Intrinsic.h; then
168
            not_really_there="yes"
169
        fi
170
    fi
171
fi
172
if test "$no_x" = "yes" -o "$not_really_there" = "yes"; then
173
    AC_MSG_CHECKING(for X11 header files)
174
    XINCLUDES="# no special path needed"
175
    AC_TRY_CPP([#include ], , XINCLUDES="nope")
176
    if test "$XINCLUDES" = nope; then
177
        dirs="/usr/unsupported/include /usr/local/include /usr/X386/include /usr/X11R6/include /usr/X11R5/include /usr/include/X11R5 /usr/include/X11R4 /usr/openwin/include /usr/X11/include /usr/sww/include"
178
        for i in $dirs ; do
179
            if test -r $i/X11/Intrinsic.h; then
180
                AC_MSG_RESULT($i)
181
                XINCLUDES=" -I$i"
182
                break
183
            fi
184
        done
185
    fi
186
else
187
    if test "$x_includes" != ""; then
188
        XINCLUDES=-I$x_includes
189
    else
190
        XINCLUDES="# no special path needed"
191
    fi
192
fi
193
if test "$XINCLUDES" = nope; then
194
    AC_MSG_RESULT(couldn't find any!)
195
    XINCLUDES="# no include files found"
196
fi
197
 
198
if test "$no_x" = yes; then
199
    AC_MSG_CHECKING(for X11 libraries)
200
    XLIBSW=nope
201
    dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib /usr/X11R6/lib /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4 /usr/openwin/lib /usr/X11/lib /usr/sww/X11/lib"
202
    for i in $dirs ; do
203
        if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl; then
204
            AC_MSG_RESULT($i)
205
            XLIBSW="-L$i -lX11"
206
            x_libraries="$i"
207
            break
208
        fi
209
    done
210
else
211
    if test "$x_libraries" = ""; then
212
        XLIBSW=-lX11
213
    else
214
        XLIBSW="-L$x_libraries -lX11"
215
    fi
216
fi
217
if test "$XLIBSW" = nope ; then
218
    AC_CHECK_LIB(Xwindow, XCreateWindow, XLIBSW=-lXwindow)
219
fi
220
if test "$XLIBSW" = nope ; then
221
    AC_MSG_RESULT(couldn't find any!  Using -lX11.)
222
    XLIBSW=-lX11
223
fi
224
 
225
#--------------------------------------------------------------------
226
#       Various manipulations on the search path used at runtime to
227
#       find shared libraries:
228
#       1. If the X library binaries are in a non-standard directory,
229
#          add the X library location into that search path.
230
#       2. On systems such as AIX and Ultrix that use "-L" as the
231
#          search path option, colons cannot be used to separate
232
#          directories from each other. Change colons to " -L".
233
#       3. Create two sets of search flags, one for use in cc lines
234
#          and the other for when the linker is invoked directly.  In
235
#          the second case, '-Wl,' must be stripped off and commas must
236
#          be replaced by spaces.
237
#--------------------------------------------------------------------
238
 
239
if test "x${x_libraries}" != "x"; then
240
    LIB_RUNTIME_DIR="${LIB_RUNTIME_DIR}:${x_libraries}"
241
fi
242
if test "${TCL_LD_SEARCH_FLAGS}" = '-L${LIB_RUNTIME_DIR}'; then
243
    LIB_RUNTIME_DIR=`echo ${LIB_RUNTIME_DIR} |sed -e 's/:/ -L/g'`
244
fi
245
 
246
# The statement below is very tricky!  It actually *evaluates* the
247
# string in TCL_LD_SEARCH_FLAGS, which causes a substitution of the
248
# variable LIB_RUNTIME_DIR.
249
 
250
eval "TK_CC_SEARCH_FLAGS=\"$TCL_LD_SEARCH_FLAGS\""
251
TK_LD_SEARCH_FLAGS=`echo ${TK_CC_SEARCH_FLAGS} |sed -e "s|-Wl,||g" -e "s|,| |g"`
252
 
253
# CYGNUS LOCAL: Don't hack TK_LD_SEARCH_FLAGS if SHLIB_LD is gcc.
254
case "${SHLIB_LD}" in
255
  *gcc*) TK_LD_SEARCH_FLAGS="${TK_CC_SEARCH_FLAGS}" ;;
256
esac
257
 
258
#
259
# CYGNUS LOCAL:  statically link on Solaris, HPUX & SunOS so that
260
#                we don't have problems with people not having libraries
261
#                installed or not having LD_LIBRARY_PATH set.
262
#
263
 
264
    case "$host" in
265
#
266
# gdb linked statically w/ Solaris iff GCC and GNU ld are used,
267
# otherwise dynamic
268
#
269
        *-*-solaris2*)
270
            sol_xlibsw=
271
            if test "x$GCC" = "xyes" ; then
272
               # This is probably the simplest way to test for GNU ld.
273
               # It only works with relatively recent versions of GNU
274
               # ld.
275
               gld_text=`$CC -Wl,--version 2>&1 | sed 1q`
276
               case "$gld_text" in
277
                GNU* | *BFD*)
278
                    # sol2.* has libX*.so files in /usr/lib,
279
                    # but not libX*.a files, so we need to force a
280
                    # -L/usr/openwin/lib option, sometimes.
281
                    # FIXME: this won't work right if someone has
282
                    # their own X libraries in say /usr/local/lib.
283
                    case "$XLIBSW" in
284
                    *-L*) ;;
285
                    *) if test ! -f /usr/lib/libXt.a; then
286
                            XLIBSW="-L/usr/openwin/lib $XLIBSW"
287
                        fi
288
                        ;;
289
                    esac
290
 
291
                   # Why do we link against libX11 twice?  Because the
292
                   # Openwin X11 and Xext libraries are seriously broken.
293
                   sol_xlibsw="-Wl,-Bstatic $XLIBSW -lXext -lX11 -Wl,-Bdynamic"
294
                   ;;
295
               esac
296
            fi
297
            if test -z "$sol_xlibsw"; then
298
              if test "x$x_libraries" != "x"; then
299
                XLIBSW="$XLIBSW -R$x_libraries"
300
              fi
301
            else
302
               XLIBSW=$sol_xlibsw
303
               suppress_enable_shared=yes
304
            fi
305
            ;;
306
#
307
# gdb linked statically w/ SunOS or HPUX, but not hpux11 wide
308
#
309
        hppa*64*-hp-hpux*)
310
            ;;
311
 
312
        m68k-hp-hpux*|hppa*-hp-hpux*|sparc-sun-sunos*)
313
            if test "x$x_libraries" != "x" ;
314
            then
315
               XLIBSW="$x_libraries/libX11.a"
316
            else
317
               XLIBSW="/usr/lib/libX11.a"
318
            fi
319
            suppress_enable_shared=yes
320
            ;;
321
#
322
# default is to link dynamically
323
#
324
        *)
325
           ;;
326
    esac
327
#
328
# END CYGNUS LOCAL
329
 
330
#--------------------------------------------------------------------
331
#       Check for the existence of various libraries.  The order here
332
#       is important, so that then end up in the right order in the
333
#       command line generated by make.  The -lsocket and -lnsl libraries
334
#       require a couple of special tricks:
335
#       1. Use "connect" and "accept" to check for -lsocket, and
336
#          "gethostbyname" to check for -lnsl.
337
#       2. Use each function name only once:  can't redo a check because
338
#          autoconf caches the results of the last check and won't redo it.
339
#       3. Use -lnsl and -lsocket only if they supply procedures that
340
#          aren't already present in the normal libraries.  This is because
341
#          IRIX 5.2 has libraries, but they aren't needed and they're
342
#          bogus:  they goof up name resolution if used.
343
#       4. On some SVR4 systems, can't use -lsocket without -lnsl too.
344
#          To get around this problem, check for both libraries together
345
#          if -lsocket doesn't work by itself.
346
#--------------------------------------------------------------------
347
 
348
AC_CHECK_LIB(Xbsd, main, [LIBS="$LIBS -lXbsd"])
349
 
350
# CYGNUS LOCAL: Store any socket library(ies) in the cache, and don't
351
# mess up the cache values of the functions we check for.
352
AC_CACHE_CHECK([for socket libraries], tcl_cv_lib_sockets,
353
 [tcl_cv_lib_sockets=
354
  tk_checkBoth=0
355
  unset ac_cv_func_connect
356
  AC_CHECK_FUNC(connect, tk_checkSocket=0, tk_checkSocket=1)
357
  if test "$tk_checkSocket" = 1; then
358
      unset ac_cv_func_connect
359
      AC_CHECK_LIB(socket, main, tcl_cv_lib_sockets="-lsocket",
360
                   tk_checkBoth=1)
361
  fi
362
  if test "$tk_checkBoth" = 1; then
363
      tk_oldLibs=$LIBS
364
      LIBS="$LIBS -lsocket -lnsl"
365
      unset ac_cv_func_accept
366
      AC_CHECK_FUNC(accept,
367
                    [tcl_checkNsl=0
368
                     tcl_cv_lib_sockets="-lsocket -lnsl"])
369
      unset ac_cv_func_accept
370
      LIBS=$tk_oldLibs
371
  fi
372
  unset ac_cv_func_gethostbyname
373
  tk_oldLibs=$LIBS
374
  LIBS="$LIBS $tk_cv_lib_sockets"
375
  AC_CHECK_FUNC(gethostbyname, ,
376
                [AC_CHECK_LIB(nsl, main,
377
                              [tcl_cv_lib_sockets="$tcl_cv_lib_sockets -lnsl"])])
378
  unset ac_cv_func_gethostbyname
379
  LIBS=$tcl_oldLIBS
380
])
381
test -z "$tcl_cv_lib_sockets" || LIBS="$LIBS $tcl_cv_lib_sockets"
382
 
383
#--------------------------------------------------------------------
384
# One more check related to the X libraries.  The standard releases
385
# of Ultrix don't support the "xauth" mechanism, so send won't work
386
# unless TK_NO_SECURITY is defined.  However, there are usually copies
387
# of the MIT X server available as well, which do support xauth.
388
# Check for the MIT stuff and use it if it exists.
389
#
390
# Note: can't use ac_check_lib macro (at least, not in Autoconf 2.1)
391
# because it can't deal with the "-" in the library name.
392
#--------------------------------------------------------------------
393
 
394
if test -d /usr/include/mit ; then
395
    AC_MSG_CHECKING([MIT X libraries])
396
    tk_oldCFlags=$CFLAGS
397
    CFLAGS="$CFLAGS -I/usr/include/mit"
398
    tk_oldLibs=$LIBS
399
    LIBS="$LIBS -lX11-mit"
400
    AC_TRY_LINK([
401
        #include 
402
    ], [
403
        XOpenDisplay(0);
404
    ], [
405
        AC_MSG_RESULT(yes)
406
        XLIBSW="-lX11-mit"
407
        XINCLUDES="-I/usr/include/mit"
408
    ], AC_MSG_RESULT(no))
409
    CFLAGS=$tk_oldCFlags
410
    LIBS=$tk_oldLibs
411
fi
412
 
413
#--------------------------------------------------------------------
414
#       On a few very rare systems, all of the libm.a stuff is
415
#       already in libc.a.  Set compiler flags accordingly.
416
#       Also, Linux requires the "ieee" library for math to
417
#       work right (and it must appear before "-lm").
418
#--------------------------------------------------------------------
419
 
420
MATH_LIBS=""
421
AC_CHECK_FUNC(sin, , MATH_LIBS="-lm")
422
AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"])
423
 
424
#--------------------------------------------------------------------
425
#       Figure out whether "char" is unsigned.  If so, set a
426
#       #define for __CHAR_UNSIGNED__.
427
#--------------------------------------------------------------------
428
 
429
AC_C_CHAR_UNSIGNED
430
 
431
#--------------------------------------------------------------------
432
#       Under Solaris 2.4, strtod returns the wrong value for the
433
#       terminating character under some conditions.  Check for this
434
#       and if the problem exists use a substitute procedure
435
#       "fixstrtod" (provided by Tcl) that corrects the error.
436
#--------------------------------------------------------------------
437
 
438
AC_CHECK_FUNC(strtod, tk_strtod=1, tk_strtod=0)
439
if test "$tk_strtod" = 1; then
440
    AC_MSG_CHECKING([for Solaris 2.4 strtod bug])
441
    AC_TRY_RUN([
442
        extern double strtod();
443
        int main()
444
        {
445
            char *string = "NaN";
446
            char *term;
447
            strtod(string, &term);
448
            if ((term != string) && (term[-1] == 0)) {
449
                exit(1);
450
            }
451
            exit(0);
452
        }], tk_ok=1, tk_ok=0, tk_ok=0)
453
    if test "$tk_ok" = 1; then
454
        AC_MSG_RESULT(ok)
455
    else
456
        AC_MSG_RESULT(buggy)
457
        AC_DEFINE(strtod, fixstrtod)
458
    fi
459
fi
460
 
461
#--------------------------------------------------------------------
462
#       The statements below define a collection of symbols related to
463
#       building libtk as a shared library instead of a static library.
464
#--------------------------------------------------------------------
465
 
466
AC_ARG_ENABLE(shared,
467
    [  --enable-shared         build libtk as a shared library],
468
    [ok=$enableval], [ok=no])
469
 
470
# CYGNUS LOCAL: on machines where static linking of libX11 is important,
471
# it is also important to build a static libtk.
472
if test -n "$suppress_enable_shared"; then
473
   ok=no
474
fi
475
# END CYGNUS LOCAL
476
 
477
TK_SHARED_LIB_FILE=
478
TK_UNSHARED_LIB_FILE=
479
if test "$ok" = "yes" -a "${SHLIB_SUFFIX}" != ""; then
480
    TK_SHARED_BUILD=1
481
    TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
482
    eval "TK_LIB_FILE=libtk${TCL_SHARED_LIB_SUFFIX}"
483
    TK_SHARED_LIB_FILE="$TK_LIB_FILE"
484
    MAKE_LIB="\${SHLIB_LD} -o ${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${SHLIB_LD_LIBS}"
485
    RANLIB=":"
486
else
487
    TK_SHARED_BUILD=0
488
    TK_SHLIB_CFLAGS=""
489
    eval "TK_LIB_FILE=libtk${TCL_UNSHARED_LIB_SUFFIX}"
490
    TK_UNSHARED_LIB_FILE="$TK_LIB_FILE"
491
    MAKE_LIB="ar cr ${TK_LIB_FILE} \${OBJS}"
492
fi
493
 
494
dnl CYGNUS LOCAL
495
TK_BUILD_INCLUDES="-I`cd $srcdir/../generic; pwd`"
496
dnl END CYGNUS LOCAL
497
 
498
# Note:  in the following variable, it's important to use the absolute
499
# path name of the Tcl directory rather than "..":  this is because
500
# AIX remembers this path and will attempt to use it at run-time to look
501
# up the Tcl library.
502
 
503
if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
504
    TK_BUILD_LIB_SPEC="-L`pwd` -ltk${VERSION}"
505
    TK_LIB_FLAG="-ltk${VERSION}\${TK_DBGX}"
506
else
507
    TK_BUILD_LIB_SPEC="-L`pwd` -ltk`echo ${VERSION} | tr -d .`"
508
    TK_LIB_FLAG="-ltk`echo ${VERSION} | tr -d .`\${TK_DBGX}"
509
fi
510
 
511
TK_LIB_FULL_PATH="`pwd`/${TK_LIB_FILE}"
512
 
513
AC_SUBST(DL_LIBS)
514
AC_SUBST(LD_FLAGS)
515
AC_SUBST(MATH_LIBS)
516
AC_SUBST(MAKE_LIB)
517
AC_SUBST(SHLIB_CFLAGS)
518
AC_SUBST(SHLIB_LD)
519
AC_SUBST(SHLIB_LD_LIBS)
520
AC_SUBST(SHLIB_SUFFIX)
521
AC_SUBST(SHLIB_VERSION)
522
AC_SUBST(TCL_BIN_DIR)
523
AC_SUBST(TCL_BUILD_LIB_SPEC)
524
AC_SUBST(TCL_SRC_DIR)
525
AC_SUBST(TCL_VERSION)
526
dnl CYGNUS LOCAL
527
AC_SUBST(TK_BUILD_INCLUDES)
528
dnl END CYGNUS LOCAL
529
AC_SUBST(TK_BUILD_LIB_SPEC)
530
AC_SUBST(TK_CC_SEARCH_FLAGS)
531
AC_SUBST(TK_LD_SEARCH_FLAGS)
532
AC_SUBST(TK_LIB_FULL_PATH)
533
AC_SUBST(TK_LIB_FILE)
534
AC_SUBST(TK_LIB_FLAG)
535
AC_SUBST(TK_LIB_SPEC)
536
AC_SUBST(TK_MAJOR_VERSION)
537
AC_SUBST(TK_MINOR_VERSION)
538
AC_SUBST(TK_PATCH_LEVEL)
539
AC_SUBST(TK_SHLIB_CFLAGS)
540
AC_SUBST(TK_SRC_DIR)
541
AC_SUBST(TK_VERSION)
542
AC_SUBST(XINCLUDES)
543
AC_SUBST(XLIBSW)
544
AC_SUBST(TK_SHARED_BUILD)
545
# CYGNUS LOCAL
546
# Need more variables to keep shared/static linking separate.
547
AC_SUBST(TCL_SHARED_LIB_SUFFIX)
548
AC_SUBST(TCL_UNSHARED_LIB_SUFFIX)
549
AC_SUBST(TK_SHARED_LIB_FILE)
550
AC_SUBST(TK_UNSHARED_LIB_FILE)
551
# END CYGNUS LOCAL
552
 
553
AC_OUTPUT(Makefile tkConfig.sh)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.