• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

fermisurfer Git


Commit MetaInfo

修訂277cc23e99fa79f9ec91bf32b7cca03e5dd416bb (tree)
時間2020-04-30 21:34:40
作者mitsuaki1987 <kawamitsuaki@gmai...>
Commitermitsuaki1987

Log Message

Run autoreconf on macos

should be > >

Change Summary

差異

--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1354,8 +1354,8 @@ AC_DEFUN([WX_CONFIG_CHECK],
13541354 AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version ($5)])
13551355 fi
13561356
1357- dnl don't add the libraries (4th argument) to this variable as this would
1358- dnl result in an error when it's used with --version below
1357+ dnl don't add the libraries ($4) to this variable as this would result in
1358+ dnl an error when it's used with --version below
13591359 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $5"
13601360
13611361 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
@@ -1663,7 +1663,7 @@ AC_DEFUN([WX_ARG_ENABLE_YESNOAUTO],
16631663 $2=0
16641664 elif test "$enableval" = "auto" ; then
16651665 AC_MSG_RESULT([will be automatically detected])
1666- $2=""
1666+ $2="auto"
16671667 else
16681668 AC_MSG_ERROR([
16691669 Unrecognized option value (allowed values: yes, no, auto)
@@ -1689,7 +1689,7 @@ AC_DEFUN([WX_ARG_WITH_YESNOAUTO],
16891689 $2=0
16901690 elif test "$withval" = "auto" ; then
16911691 AC_MSG_RESULT([will be automatically detected])
1692- $2=""
1692+ $2="auto"
16931693 else
16941694 AC_MSG_ERROR([
16951695 Unrecognized option value (allowed values: yes, auto)
@@ -1741,17 +1741,17 @@ AC_DEFUN([WX_STANDARD_OPTIONS],
17411741 AC_MSG_CHECKING([for the --with-toolkit option])
17421742 if test "$withval" = "auto" ; then
17431743 AC_MSG_RESULT([will be automatically detected])
1744- TOOLKIT=""
1744+ TOOLKIT="auto"
17451745 else
17461746 TOOLKIT="$withval"
17471747
17481748 dnl PORT must be one of the allowed values
1749- if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a "$TOOLKIT" != "gtk3" -a \
1749+ if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
17501750 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
17511751 "$TOOLKIT" != "osx_carbon" -a "$TOOLKIT" != "osx_cocoa" -a \
1752- "$TOOLKIT" != "dfb" -a "$TOOLKIT" != "x11" -a "$TOOLKIT" != "base"; then
1752+ "$TOOLKIT" != "dfb" -a "$TOOLKIT" != "x11"; then
17531753 AC_MSG_ERROR([
1754- Unrecognized option value (allowed values: auto, gtk1, gtk2, gtk3, msw, motif, osx_carbon, osx_cocoa, dfb, x11, base)
1754+ Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, osx_carbon, osx_cocoa, dfb, x11)
17551755 ])
17561756 fi
17571757
@@ -1815,7 +1815,7 @@ AC_DEFUN([WX_STANDARD_OPTIONS],
18151815 AC_MSG_CHECKING([for the --with-wxversion option])
18161816 if test "$withval" = "auto" ; then
18171817 AC_MSG_RESULT([will be automatically detected])
1818- WX_RELEASE=""
1818+ WX_RELEASE="auto"
18191819 else
18201820
18211821 wx_requested_major_version=`echo $withval | \
@@ -1850,7 +1850,7 @@ dnl ---------------------------------------------------------------------------
18501850 dnl WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS
18511851 dnl
18521852 dnl Sets the WXCONFIG_FLAGS string using the SHARED,DEBUG,UNICODE variable values
1853-dnl which were specified.
1853+dnl which are different from "auto".
18541854 dnl Thus this macro needs to be called only once all options have been set.
18551855 dnl ---------------------------------------------------------------------------
18561856 AC_DEFUN([WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS],
@@ -1874,11 +1874,11 @@ AC_DEFUN([WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS],
18741874 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
18751875 fi
18761876
1877- if test -n "$TOOLKIT" ; then
1877+ if test "$TOOLKIT" != "auto" ; then
18781878 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
18791879 fi
18801880
1881- if test -n "$WX_RELEASE" ; then
1881+ if test "$WX_RELEASE" != "auto" ; then
18821882 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_RELEASE "
18831883 fi
18841884
@@ -1892,16 +1892,16 @@ AC_DEFUN([WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS],
18921892
18931893
18941894 dnl ---------------------------------------------------------------------------
1895-dnl _WX_SELECTEDCONFIG_CHECKFOR([RESULTVAR], [STRING], [MSG])
1895+dnl _WX_SELECTEDCONFIG_CHECKFOR([RESULTVAR], [STRING], [MSG]
1896+dnl [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
18961897 dnl
1897-dnl Sets WX_$RESULTVAR to the value of $RESULTVAR if it's defined. Otherwise,
1898-dnl auto-detect the value by checking for the presence of STRING in
1899-dnl $WX_SELECTEDCONFIG (which is supposed to be set by caller) and set
1900-dnl WX_$RESULTVAR to either 0 or 1, also outputting "yes" or "no" after MSG.
1898+dnl Outputs the given MSG. Then searches the given STRING in the wxWidgets
1899+dnl additional CPP flags and put the result of the search in WX_$RESULTVAR
1900+dnl also adding the "yes" or "no" message result to MSG.
19011901 dnl ---------------------------------------------------------------------------
19021902 AC_DEFUN([_WX_SELECTEDCONFIG_CHECKFOR],
19031903 [
1904- if test -z "$$1" ; then
1904+ if test "$$1" = "auto" ; then
19051905
19061906 dnl The user does not have particular preferences for this option;
19071907 dnl so we will detect the wxWidgets relative build setting and use it
@@ -1916,9 +1916,11 @@ AC_DEFUN([_WX_SELECTEDCONFIG_CHECKFOR],
19161916 if test "$WX_$1" != "0"; then
19171917 WX_$1=1
19181918 AC_MSG_RESULT([yes])
1919+ ifelse([$4], , :, [$4])
19191920 else
19201921 WX_$1=0
19211922 AC_MSG_RESULT([no])
1923+ ifelse([$5], , :, [$5])
19221924 fi
19231925 else
19241926
@@ -1965,16 +1967,19 @@ AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES],
19651967 echo "[[dbg]] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
19661968 fi
19671969
1970+
19681971 dnl we could test directly for WX_SHARED with a line like:
19691972 dnl _WX_SELECTEDCONFIG_CHECKFOR([SHARED], [shared],
19701973 dnl [if wxWidgets was built in SHARED mode])
19711974 dnl but wx-config --selected-config DOES NOT outputs the 'shared'
19721975 dnl word when wx was built in shared mode; it rather outputs the
19731976 dnl 'static' word when built in static mode.
1974- if test "$WX_SHARED" = "1"; then
1977+ if test $WX_SHARED = "1"; then
19751978 STATIC=0
1976- elif test "$WX_SHARED" = "0"; then
1979+ elif test $WX_SHARED = "0"; then
19771980 STATIC=1
1981+ elif test $WX_SHARED = "auto"; then
1982+ STATIC="auto"
19781983 fi
19791984
19801985 dnl Now set the WX_UNICODE, WX_DEBUG, WX_STATIC variables
@@ -1997,7 +2002,7 @@ AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES],
19972002 AC_SUBST(WX_SHARED)
19982003
19992004 dnl detect the WX_PORT to use
2000- if test -z "$TOOLKIT" ; then
2005+ if test "$TOOLKIT" = "auto" ; then
20012006
20022007 dnl The user does not have particular preferences for this option;
20032008 dnl so we will detect the wxWidgets relative build setting and use it
@@ -2005,26 +2010,22 @@ AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES],
20052010
20062011 WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
20072012 WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
2008- WX_GTKPORT3=$(expr "$WX_SELECTEDCONFIG" : ".*gtk3.*")
20092013 WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
20102014 WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
20112015 WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
20122016 WX_OSXCARBONPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_carbon.*")
20132017 WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
20142018 WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
2015- WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")
20162019
20172020 WX_PORT="unknown"
20182021 if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
20192022 if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
2020- if test "$WX_GTKPORT3" != "0"; then WX_PORT="gtk3"; fi
20212023 if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
20222024 if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
20232025 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
20242026 if test "$WX_OSXCARBONPORT" != "0"; then WX_PORT="osx_carbon"; fi
20252027 if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
20262028 if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
2027- if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi
20282029
20292030 dnl NOTE: backward-compatible check for wx2.8; in wx2.9 the mac
20302031 dnl ports are called 'osx_cocoa' and 'osx_carbon' (see above)
@@ -2042,8 +2043,14 @@ AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES],
20422043
20432044 AC_MSG_RESULT([$WX_PORT])
20442045 else
2046+
20452047 dnl Use the setting given by the user
2046- WX_PORT=$TOOLKIT
2048+ if test -z "$TOOLKIT" ; then
2049+ WX_PORT=$TOOLKIT
2050+ else
2051+ dnl try with PORT
2052+ WX_PORT=$PORT
2053+ fi
20472054 fi
20482055
20492056 AC_SUBST(WX_PORT)
@@ -2074,29 +2081,35 @@ AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES],
20742081 ])
20752082 fi
20762083
2077- dnl now we can finally update the options to their final values if they
2078- dnl were not already set
2079- if test -z "$UNICODE" ; then
2084+ dnl now we can finally update the DEBUG,UNICODE,SHARED options
2085+ dnl to their final values if they were set to 'auto'
2086+ if test "$DEBUG" = "auto"; then
2087+ DEBUG=$WX_DEBUG
2088+ fi
2089+ if test "$UNICODE" = "auto"; then
20802090 UNICODE=$WX_UNICODE
20812091 fi
2082- if test -z "$SHARED" ; then
2092+ if test "$SHARED" = "auto"; then
20832093 SHARED=$WX_SHARED
20842094 fi
2085- if test -z "$TOOLKIT" ; then
2095+ if test "$TOOLKIT" = "auto"; then
20862096 TOOLKIT=$WX_PORT
20872097 fi
20882098
2089- dnl respect the DEBUG variable adding the optimize/debug flags and also
2090- dnl define a BUILD variable in case the user wants to use it
2091- dnl
2099+ dnl in case the user needs a BUILD=debug/release var...
2100+ if test "$DEBUG" = "1"; then
2101+ BUILD="debug"
2102+ elif test "$DEBUG" = "0" -o "$DEBUG" = ""; then
2103+ BUILD="release"
2104+ fi
2105+
2106+ dnl respect the DEBUG variable adding the optimize/debug flags
20922107 dnl NOTE: the CXXFLAGS are merged together with the CPPFLAGS so we
20932108 dnl don't need to set them, too
20942109 if test "$DEBUG" = "1"; then
2095- BUILD="debug"
20962110 CXXFLAGS="$CXXFLAGS -g -O0"
20972111 CFLAGS="$CFLAGS -g -O0"
2098- elif test "$DEBUG" = "0"; then
2099- BUILD="release"
2112+ else
21002113 CXXFLAGS="$CXXFLAGS -O2"
21012114 CFLAGS="$CFLAGS -O2"
21022115 fi
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
11 #! /bin/sh
22 # Guess values for system-dependent variables and create Makefiles.
3-# Generated by GNU Autoconf 2.69 for fermisurfer 2.0.0.
3+# Generated by GNU Autoconf 2.69 for fermisurfer 2.1.0.
44 #
55 # Report bugs to <mkawamura@issp.u-tokyo.ac.jp>.
66 #
@@ -580,8 +580,8 @@ MAKEFLAGS=
580580 # Identity of this package.
581581 PACKAGE_NAME='fermisurfer'
582582 PACKAGE_TARNAME='fermisurfer'
583-PACKAGE_VERSION='2.0.0'
584-PACKAGE_STRING='fermisurfer 2.0.0'
583+PACKAGE_VERSION='2.1.0'
584+PACKAGE_STRING='fermisurfer 2.1.0'
585585 PACKAGE_BUGREPORT='mkawamura@issp.u-tokyo.ac.jp'
586586 PACKAGE_URL=''
587587
@@ -1315,7 +1315,7 @@ if test "$ac_init_help" = "long"; then
13151315 # Omit some internal or obsolete options to make the list less imposing.
13161316 # This message is too long to be a string in the A/UX 3.1 sh.
13171317 cat <<_ACEOF
1318-\`configure' configures fermisurfer 2.0.0 to adapt to many kinds of systems.
1318+\`configure' configures fermisurfer 2.1.0 to adapt to many kinds of systems.
13191319
13201320 Usage: $0 [OPTION]... [VAR=VALUE]...
13211321
@@ -1385,7 +1385,7 @@ fi
13851385
13861386 if test -n "$ac_init_help"; then
13871387 case $ac_init_help in
1388- short | recursive ) echo "Configuration of fermisurfer 2.0.0:";;
1388+ short | recursive ) echo "Configuration of fermisurfer 2.1.0:";;
13891389 esac
13901390 cat <<\_ACEOF
13911391
@@ -1502,7 +1502,7 @@ fi
15021502 test -n "$ac_init_help" && exit $ac_status
15031503 if $ac_init_version; then
15041504 cat <<\_ACEOF
1505-fermisurfer configure 2.0.0
1505+fermisurfer configure 2.1.0
15061506 generated by GNU Autoconf 2.69
15071507
15081508 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1842,7 +1842,7 @@ cat >config.log <<_ACEOF
18421842 This file contains any messages produced by compilers while
18431843 running configure, to aid debugging if configure makes a mistake.
18441844
1845-It was created by fermisurfer $as_me 2.0.0, which was
1845+It was created by fermisurfer $as_me 2.1.0, which was
18461846 generated by GNU Autoconf 2.69. Invocation command line was
18471847
18481848 $ $0 $@
@@ -2705,7 +2705,7 @@ fi
27052705
27062706 # Define the identity of the package.
27072707 PACKAGE='fermisurfer'
2708- VERSION='2.0.0'
2708+ VERSION='2.1.0'
27092709
27102710
27112711 cat >>confdefs.h <<_ACEOF
@@ -7563,7 +7563,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75637563 # report actual input values of CONFIG_FILES etc. instead of their
75647564 # values after options handling.
75657565 ac_log="
7566-This file was extended by fermisurfer $as_me 2.0.0, which was
7566+This file was extended by fermisurfer $as_me 2.1.0, which was
75677567 generated by GNU Autoconf 2.69. Invocation command line was
75687568
75697569 CONFIG_FILES = $CONFIG_FILES
@@ -7629,7 +7629,7 @@ _ACEOF
76297629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76307630 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
76317631 ac_cs_version="\\
7632-fermisurfer config.status 2.0.0
7632+fermisurfer config.status 2.1.0
76337633 configured by $0, generated by GNU Autoconf 2.69,
76347634 with options \\"\$ac_cs_config\\"
76357635
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
11 AC_PREREQ([2.69])
2-AC_INIT([fermisurfer], [2.0.0], [mkawamura@issp.u-tokyo.ac.jp])
2+AC_INIT([fermisurfer], [2.1.0], [mkawamura@issp.u-tokyo.ac.jp])
33 AC_CONFIG_AUX_DIR([config])
44 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
55 AC_CONFIG_HEADERS([config.h])
--- a/doc/en/conf.py
+++ b/doc/en/conf.py
@@ -54,9 +54,9 @@ copyright = u'2017, kawamura'
5454 # built documents.
5555 #
5656 # The short X.Y version.
57-version = '2.0'
57+version = '2.1'
5858 # The full version, including alpha/beta/rc tags.
59-release = '2.0.0'
59+release = '2.1.0'
6060
6161 # The language for content autogenerated by Sphinx. Refer to documentation
6262 # for a list of supported languages.
--- a/doc/ja/conf.py
+++ b/doc/ja/conf.py
@@ -54,9 +54,9 @@ copyright = u'2017, kawamura'
5454 # built documents.
5555 #
5656 # The short X.Y version.
57-version = '2.0'
57+version = '2.1'
5858 # The full version, including alpha/beta/rc tags.
59-release = '2.0.0'
59+release = '2.1.0'
6060
6161 # The language for content autogenerated by Sphinx. Refer to documentation
6262 # for a list of supported languages.
--- a/src/calc_nodeline.cpp
+++ b/src/calc_nodeline.cpp
@@ -48,7 +48,7 @@ THE SOFTWARE.
4848 void calc_nodeline()
4949 {
5050 int ib, itri, i, j, ithread, nnl0;
51- std::vector<std::vector<std::vector<std::vector<GLfloat>>>> kvnl_v;
51+ std::vector<std::vector<std::vector<std::vector<GLfloat> > > > kvnl_v;
5252
5353 kvnl_v.resize(nthreads);
5454
--- a/src/equator.cpp
+++ b/src/equator.cpp
@@ -46,7 +46,7 @@ THE SOFTWARE.
4646 */
4747 void equator() {
4848 int ib, itri, i, j, ithread, nequator0;
49- std::vector<std::vector<std::vector<std::vector<GLfloat>>>> kveq_v;
49+ std::vector<std::vector<std::vector<std::vector<GLfloat> > > > kveq_v;
5050
5151 kveq_v.resize(nthreads);
5252
@@ -59,7 +59,7 @@ void equator() {
5959 {
6060 int sw[3];
6161 GLfloat a[3][3], prod[3];
62- std::vector<std::vector<GLfloat>> kveq_0;
62+ std::vector<std::vector<GLfloat> > kveq_0;
6363
6464 kveq_0.resize(2);
6565 for (i = 0; i < 2; i++) kveq_0.at(i).resize(3);
--- a/src/section.cpp
+++ b/src/section.cpp
@@ -275,7 +275,7 @@ void calc_2dbz() {
275275 */
276276 void calc_section() {
277277 int i, j, ib, itri, ithread, n2d0;
278- std::vector<std::vector<std::vector<std::vector<GLfloat>>>> kv2d_v, clr2d_v;
278+ std::vector<std::vector<std::vector<std::vector<GLfloat> > > > kv2d_v, clr2d_v;
279279
280280 kv2d_v.resize(nthreads);
281281 clr2d_v.resize(nthreads);
@@ -291,7 +291,7 @@ private(itri,i,j,ithread)
291291 {
292292 int sw[3];
293293 GLfloat norm[3], a[3][3];
294- std::vector<std::vector<GLfloat>> kv2d_0, clr2d_0;
294+ std::vector<std::vector<GLfloat> > kv2d_0, clr2d_0;
295295
296296 kv2d_0.resize(2);
297297 clr2d_0.resize(2);