754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
|
void version_cmd(void){
fossil_print("This is fossil version " RELEASE_VERSION " "
MANIFEST_VERSION " " MANIFEST_DATE " UTC\n");
if(!find_option("verbose","v",0)){
return;
}else{
int count = 0;
fossil_print("Compiled with the following features enabled:\n",
COMPILER_NAME);
#if defined(FOSSIL_ENABLE_SSL)
++count;
fossil_print("\tSSL\n");
#endif
#if defined(FOSSIL_ENABLE_TCL)
++count;
fossil_print("\tTCL\n");
#endif
#if defined(FOSSIL_ENABLE_JSON)
++count;
fossil_print("\tJSON\n");
#endif
if(!count){
fossil_print("\tno optional features enabled.\n");
}
}
}
/*
|
|
>
>
>
>
>
|
>
>
>
|
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
|
void version_cmd(void){
fossil_print("This is fossil version " RELEASE_VERSION " "
MANIFEST_VERSION " " MANIFEST_DATE " UTC\n");
if(!find_option("verbose","v",0)){
return;
}else{
int count = 0;
fossil_print("Compiled using %s with the following features enabled:\n",
COMPILER_NAME);
#if defined(FOSSIL_ENABLE_SSL)
++count;
fossil_print("\tSSL\n");
#endif
#if defined(FOSSIL_ENABLE_TCL)
++count;
fossil_print("\tTCL\n");
#endif
#if defined(FOSSIL_ENABLE_TCL_STUBS)
++count;
fossil_print("\tTCL_STUBS\n");
#endif
#if defined(FOSSIL_ENABLE_JSON)
++count;
fossil_print("\tJSON\n");
#endif
#if defined(FOSSIL_ENABLE_MARKDOWN)
++count;
fossil_print("\tMARKDOWN\n");
#endif
if( !count ){
fossil_print("\tno optional features enabled.\n");
}
}
}
/*
|