Mercurial > hg > xemacs-beta
comparison configure @ 3428:e322b2abb755
[xemacs-hg @ 2006-05-27 18:30:48 by stephent]
Forget to commit a couple days ago, thanks for reminder, Malcolm!
author | stephent |
---|---|
date | Sat, 27 May 2006 18:30:48 +0000 |
parents | a1f50481569f |
children | bf3ba03cef15 |
comparison
equal
deleted
inserted
replaced
3427:afe9383d2c07 | 3428:e322b2abb755 |
---|---|
9 # gives unlimited permission to copy, distribute and modify it. | 9 # gives unlimited permission to copy, distribute and modify it. |
10 # | 10 # |
11 # Configuration script for XEmacs. Largely divergent from FSF. | 11 # Configuration script for XEmacs. Largely divergent from FSF. |
12 # Guess values for system-dependent variables and create Makefiles. | 12 # Guess values for system-dependent variables and create Makefiles. |
13 # | 13 # |
14 # Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. | 14 # Copyright (C) 1992-1999, 2001-2006 Free Software Foundation, Inc. |
15 # Copyright (C) 1997, 1998, 1999, 2001, 2002 Free Software Foundation, Inc. | |
16 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. | |
17 # Copyright (C) 1993, 1994, 1995 Board of Trustees, University of Illinois. | 15 # Copyright (C) 1993, 1994, 1995 Board of Trustees, University of Illinois. |
18 # Copyright (C) 1996, 1997 Sun Microsystems, Inc. | 16 # Copyright (C) 1996, 1997 Sun Microsystems, Inc. |
19 # Copyright (C) 1995, 1996, 2002, 2003, 2004 Ben Wing. | 17 # Copyright (C) 1995, 1996, 2002, 2003, 2004 Ben Wing. |
20 # Copyright (C) 2000, 2001 Martin Buchholz. | 18 # Copyright (C) 2000, 2001 Martin Buchholz. |
21 # Copyright (C) 1998, 1999 J. Kean Johnston. | 19 # Copyright (C) 1998, 1999 J. Kean Johnston. |
1354 gives unlimited permission to copy, distribute and modify it. | 1352 gives unlimited permission to copy, distribute and modify it. |
1355 | 1353 |
1356 Configuration script for XEmacs. Largely divergent from FSF. | 1354 Configuration script for XEmacs. Largely divergent from FSF. |
1357 Guess values for system-dependent variables and create Makefiles. | 1355 Guess values for system-dependent variables and create Makefiles. |
1358 | 1356 |
1359 Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. | 1357 Copyright (C) 1992-1999, 2001-2006 Free Software Foundation, Inc. |
1360 Copyright (C) 1997, 1998, 1999, 2001, 2002 Free Software Foundation, Inc. | |
1361 Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. | |
1362 Copyright (C) 1993, 1994, 1995 Board of Trustees, University of Illinois. | 1358 Copyright (C) 1993, 1994, 1995 Board of Trustees, University of Illinois. |
1363 Copyright (C) 1996, 1997 Sun Microsystems, Inc. | 1359 Copyright (C) 1996, 1997 Sun Microsystems, Inc. |
1364 Copyright (C) 1995, 1996, 2002, 2003, 2004 Ben Wing. | 1360 Copyright (C) 1995, 1996, 2002, 2003, 2004 Ben Wing. |
1365 Copyright (C) 2000, 2001 Martin Buchholz. | 1361 Copyright (C) 2000, 2001 Martin Buchholz. |
1366 Copyright (C) 1998, 1999 J. Kean Johnston. | 1362 Copyright (C) 1998, 1999 J. Kean Johnston. |
38993 for var in extra_objs c_switch_general c_switch_window_system c_switch_all ld_switch_general ld_switch_window_system ld_switch_all ld_libs_general ld_libs_window_system ld_libs_all; do eval "echo \"$var = '\$$var'\""; done | 38989 for var in extra_objs c_switch_general c_switch_window_system c_switch_all ld_switch_general ld_switch_window_system ld_switch_all ld_libs_general ld_libs_window_system ld_libs_all; do eval "echo \"$var = '\$$var'\""; done |
38994 echo "" | 38990 echo "" |
38995 fi | 38991 fi |
38996 | 38992 |
38997 | 38993 |
38998 if test -f "$srcdir/src/.gdbinit.in" -a ! -f "src/.gdbinit.in"; then | 38994 if test -f "$srcdir/etc/gdbinit.in"; then |
38999 test "$verbose" = "yes" && echo "creating src/.gdbinit.in" | 38995 test "$verbose" = "yes" && echo "creating src/.gdbinit.in" |
39000 echo "source $srcdir/src/.gdbinit.in" > "src/.gdbinit.in" | 38996 cp $srcdir/etc/gdbinit.in src/.gdbinit.in |
39001 fi | 38997 fi |
39002 | 38998 |
39003 if test -f "$srcdir/src/.dbxrc.in" -a ! -f "src/.dbxrc.in"; then | 38999 if test -f "$srcdir/etc/dbxrc.in"; then |
39004 test "$verbose" = "yes" && echo "creating src/.dbxrc.in" | 39000 test "$verbose" = "yes" && echo "creating src/.dbxrc.in" |
39005 echo ". $srcdir/src/.dbxrc.in" > "src/.dbxrc.in" | 39001 echo ". $srcdir/etc/dbxrc.in" > "src/.dbxrc.in" |
39006 fi | 39002 fi |
39007 | 39003 |
39008 if test -f "$srcdir/TAGS" -a ! -f "TAGS"; then | 39004 if test -f "$srcdir/TAGS" -a ! -f "TAGS"; then |
39009 test "$verbose" = "yes" && echo "creating TAGS" | 39005 test "$verbose" = "yes" && echo "creating TAGS" |
39010 echo " | 39006 echo " |
41086 -e '/^[ ]*$/d' \ | 41082 -e '/^[ ]*$/d' \ |
41087 -e '/^\"/ { | 41083 -e '/^\"/ { |
41088 s/\\\([\"]\)/\1/g | 41084 s/\\\([\"]\)/\1/g |
41089 s/^[ TAB]*\"// | 41085 s/^[ TAB]*\"// |
41090 s/\"[ TAB]*$// | 41086 s/\"[ TAB]*$// |
41091 }' > Makefile.new | 41087 }' \ |
41088 -e 's/^XCOMM /\# /' > Makefile.new | |
41092 chmod 444 Makefile.new | 41089 chmod 444 Makefile.new |
41093 mv -f Makefile.new Makefile | 41090 mv -f Makefile.new Makefile |
41094 | 41091 |
41095 echo creating $dir/GNUmakefile | 41092 echo creating $dir/GNUmakefile |
41096 $CPP -I. -I${srcdir}/src -DUSE_GNU_MAKE junk.c \ | 41093 $CPP -I. -I${srcdir}/src -DUSE_GNU_MAKE junk.c \ |
41100 -e '/^[ ]*$/d' \ | 41097 -e '/^[ ]*$/d' \ |
41101 -e '/^\"/ { | 41098 -e '/^\"/ { |
41102 s/\\\([\"]\)/\1/g | 41099 s/\\\([\"]\)/\1/g |
41103 s/^[ TAB]*\"// | 41100 s/^[ TAB]*\"// |
41104 s/\"[ TAB]*$// | 41101 s/\"[ TAB]*$// |
41105 }' > Makefile.new | 41102 }' \ |
41103 -e 's/^XCOMM /\# /' > Makefile.new | |
41106 chmod 444 Makefile.new | 41104 chmod 444 Makefile.new |
41107 mv -f Makefile.new GNUmakefile | 41105 mv -f Makefile.new GNUmakefile |
41108 | 41106 |
41109 if test -r ".gdbinit.in"; then | 41107 if test -r ".gdbinit.in"; then |
41110 rm -f junk.c | 41108 rm -f junk.c |
41131 -e '/^[ ]*$/d' \ | 41129 -e '/^[ ]*$/d' \ |
41132 -e '/^\"/ { | 41130 -e '/^\"/ { |
41133 s/\\\([\"]\)/\1/g | 41131 s/\\\([\"]\)/\1/g |
41134 s/^[ TAB]*\"// | 41132 s/^[ TAB]*\"// |
41135 s/\"[ TAB]*$// | 41133 s/\"[ TAB]*$// |
41136 }' > Makefile.new | 41134 }' \ |
41135 -e 's/^XCOMM /\# /' > Makefile.new | |
41137 chmod 444 Makefile.new | 41136 chmod 444 Makefile.new |
41138 mv -f Makefile.new .gdbinit | 41137 mv -f Makefile.new .gdbinit |
41139 | 41138 |
41140 fi | 41139 fi |
41141 if test -r ".dbxrc.in"; then | 41140 if test -r ".dbxrc.in"; then |
41163 -e '/^[ ]*$/d' \ | 41162 -e '/^[ ]*$/d' \ |
41164 -e '/^\"/ { | 41163 -e '/^\"/ { |
41165 s/\\\([\"]\)/\1/g | 41164 s/\\\([\"]\)/\1/g |
41166 s/^[ TAB]*\"// | 41165 s/^[ TAB]*\"// |
41167 s/\"[ TAB]*$// | 41166 s/\"[ TAB]*$// |
41168 }' > Makefile.new | 41167 }' \ |
41168 -e 's/^XCOMM /\# /' > Makefile.new | |
41169 chmod 444 Makefile.new | 41169 chmod 444 Makefile.new |
41170 mv -f Makefile.new .dbxrc | 41170 mv -f Makefile.new .dbxrc |
41171 | 41171 |
41172 fi | 41172 fi |
41173 if test -r "xemacs.def.in"; then | 41173 if test -r "xemacs.def.in"; then |
41181 -e '/^[ ]*$/d' \ | 41181 -e '/^[ ]*$/d' \ |
41182 -e '/^\"/ { | 41182 -e '/^\"/ { |
41183 s/\\\([\"]\)/\1/g | 41183 s/\\\([\"]\)/\1/g |
41184 s/^[ TAB]*\"// | 41184 s/^[ TAB]*\"// |
41185 s/\"[ TAB]*$// | 41185 s/\"[ TAB]*$// |
41186 }' > Makefile.new | 41186 }' \ |
41187 -e 's/^XCOMM /\# /' > Makefile.new | |
41187 chmod 444 Makefile.new | 41188 chmod 444 Makefile.new |
41188 mv -f Makefile.new xemacs.def | 41189 mv -f Makefile.new xemacs.def |
41189 | 41190 |
41190 fi | 41191 fi |
41191 rm -f junk.c | 41192 rm -f junk.c |