source: lab.git/Dev/utvpn/utvpn-unix-v101-7101-public/configure

Last change on this file was a1bae3e, checked in by mitty <mitty@…>, 13 years ago
  • copy vendor drop to trunk

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@147 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

  • Property mode set to 100755
File size: 1.4 KB
Line 
1#!/bin/sh
2
3echo '-------------------------------------------------------------'
4echo 'SoftEther UT-VPN for Unix'
5echo
6echo 'Copyright (C) 2004-2010 SoftEther Corporation.'
7echo 'Copyright (C) 2004-2010 University of Tsukuba, Japan.'
8echo 'Copyright (C) 2003-2010 Daiyuu Nobori. All Rights Reserved.'
9echo
10echo 'This program is free software; you can redistribute it and/or'
11echo 'modify it under the terms of the GNU General Public License'
12echo 'version 2 as published by the Free Software Foundation.'
13echo '-------------------------------------------------------------'
14echo
15
16echo 'Please select your Operating System below:'
17echo ' 1: Linux'
18echo ' 2: FreeBSD'
19echo ' 3: Solaris'
20echo ' 4: Mac OS X'
21echo
22echo 'Which is your operating system (1-4): '
23read TMP
24echo
25OS=""
26if test "$TMP" = "1"
27then
28    OS="linux"
29fi
30if test "$TMP" = "2"
31then
32    OS="freebsd"
33fi
34if test "$TMP" = "3"
35then
36    OS="solaris"
37fi
38if test "$TMP" = "4"
39then
40    OS="macos"
41fi
42
43if test "$OS" = ""
44then
45    echo "Wrong number."
46    exit 1
47fi
48
49echo 'Please select your CPU Bits below:'
50echo ' 1: 32-bit'
51echo ' 2: 64-bit'
52echo
53echo 'Which is the bits of your CPU (1-2): '
54read TMP
55echo
56CPU=""
57if test "$TMP" = "1"
58then
59    CPU="32bit"
60fi
61if test "$TMP" = "2"
62then
63    CPU="64bit"
64fi
65
66if test "$CPU" = ""
67then
68    echo "Wrong number."
69    exit 1
70fi
71
72LANGUAGE="ja"
73
74cp makefiles/${OS}_${CPU}_${LANGUAGE}.mak Makefile
75
76echo "Makefile is generated. Please execute 'make' to build UT-VPN."
77
Note: See TracBrowser for help on using the repository browser.